/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for fixed header */
}

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

.page-about__section {
  padding: 40px 0;
}

.page-about__section-title,
.page-about__main-title,
.page-about__cta-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F2FFF6;
  text-align: center;
}

.page-about__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-section {
  padding: 10px 0 60px;
  background-color: #0A4B2C; /* Deep Green */
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Cards */
.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-about__card p {
  color: #A7D9B8; /* Text Secondary */
}

/* Mission Vision Section */
.page-about__mission-vision .page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Why Choose Section */
.page-about__why-choose .page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  text-align: center;
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-about__feature-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__feature-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-about__feature-item p {
  color: #A7D9B8; /* Text Secondary */
}

/* Values Commitment Section */
.page-about__values-commitment .page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Team Section */
.page-about__team-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsible Gaming */
.page-about__responsible-list {
  list-style: disc;
  padding-left: 25px;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 20px;
}

.page-about__responsible-list li {
  margin-bottom: 10px;
  color: #A7D9B8;
}

/* CTA Section */
.page-about__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
  text-align: center;
}

.page-about__cta-title {
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__cta-description {
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-about__cta-button--large {
  padding: 18px 40px;
  font-size: 20px;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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(46, 122, 78, 0.3); /* Border with transparency */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Text Secondary */
}

/* General text color for p and li in the page */
.page-about p,
.page-about li {
  color: #A7D9B8;
}

/* Media Queries for responsiveness */
@media (max-width: 1023px) {
  /* No specific game trial/promo strip/hot games for inner page */
}

@media (min-width: 1024px) {
  /* No specific game trial/promo strip/hot games for inner page */
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-image-wrapper {
    height: 300px;
  }

  .page-about__main-title {
    font-size: 28px;
  }

  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__section-title,
  .page-about__cta-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
  }

  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

  .page-about__card,
  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__responsible-list {
    padding-left: 20px;
  }

  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__cta-button--large {
    padding: 15px 30px;
    font-size: 16px;
  }

  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

  /* Responsive images */
  .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-image-wrapper,
  .page-about__feature-item,
  .page-about__value-item,
  .page-about__team-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-image-wrapper { padding-left: 0; padding-right: 0; }

  /* Responsive buttons */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    display: flex;
    flex-direction: column;
  }
}

/* Color contrast safety checks (already integrated into styles) */
/* The main body background is dark (#08160F), so text is light (#F2FFF6, #A7D9B8) */
/* Card backgrounds are also dark (#11271B), so text is light (#F2FFF6, #A7D9B8, #F2C14E) */
/* Buttons have a gradient background with white text, ensuring contrast */