:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --bg-card: #11271B;
  --bg-main: #08160F; /* This is var(--site-bg) from shared.css */
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page content, contrasting with --bg-main */
  background-color: var(--bg-main); /* Ensure consistency with body background */
}

.page-about__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.page-about__dark-section {
  background-color: var(--deep-green); /* Use deep green for darker sections */
  color: var(--text-main);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Use clamp for H2 */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg-main);
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-about__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* Match wrapper */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(32px, 5vw, 56px); /* Using clamp for H1 */
}

.page-about__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--btn-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

/* Mission &amp; Vision */
.page-about__mission-vision .page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-about__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.page-about__card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum image size */
  min-width: 200px;
}

/* Why Choose Us */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  text-align: center;
  padding: 25px;
}

.page-about__feature-card img {
  width: 100%;
  height: auto;
  max-width: 300px; /* Max width for feature images */
  margin: 0 auto 20px;
  min-height: 200px; /* Enforce minimum image size */
  min-width: 200px;
}

/* Our Team */
.page-about__team-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-height: 200px; /* Enforce minimum image size */
  min-width: 200px;
}

/* Responsible Gaming */
.page-about__responsible-gaming-section .page-about__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__responsible-gaming-section .page-about__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--bg-card); /* Darker text on gold background */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Contact &amp; Support */
.page-about__contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__contact-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-about__contact-icon {
  font-size: 48px;
  color: var(--gold-color);
  margin-bottom: 15px;
  display: block;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: bold;
  font-size: 18px;
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-green); /* Slightly different background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  text-align: left;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 50px 15px;
    padding-top: 10px;
  }
  .page-about__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__section {
    padding: 50px 15px;
  }
  .page-about__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }
  .page-about__section-description {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-about__card-title {
    font-size: 22px;
  }
  .page-about__card p {
    font-size: 15px;
  }
  .page-about__cta-button,
  .page-about__responsible-gaming-section .page-about__btn-secondary {
    padding: 14px 35px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image-wrapper img {
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 15px;
  }
  .page-about__section-description {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__contact-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-about__card p {
    font-size: 14px;
  }
  .page-about__feature-card img {
    margin-bottom: 15px;
  }
  .page-about__team-image {
    margin: 30px auto;
    border-radius: 8px;
  }
  .page-about__cta-button,
  .page-about__responsible-gaming-section .page-about__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }

  /* Image responsive rules for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-container,
  .page-about__hero-image-wrapper,
  .page-about__hero-content,
  .page-about__contact-channels,
  .page-about__contact-item,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}