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

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for dark background */
  background-color: var(--color-background-dark);
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-bg {
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Using a light background for contrast sections */
  color: #333333; /* Dark text for light background */
}

.page-about__heading {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-about__light-bg .page-about__heading {
  color: var(--color-deep-green);
  text-shadow: none;
}

.page-about__text-block {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--color-text-secondary);
}

.page-about__light-bg .page-about__text-block {
  color: #555555;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-about__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 10;
  padding-top: 40px; /* Space between image and content */
  text-align: center;
  max-width: 900px;
}

.page-about__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
  /* No hardcoded font-size for H1, relying on responsive scaling */
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for green gradient button */
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-about__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Introduction Section */
.page-about__introduction {
  padding-top: 80px;
}

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

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-title {
  font-size: 1.8em;
  color: var(--color-deep-green);
  margin-bottom: 15px;
}

.page-about__feature-description,
.page-about__value-list {
  font-size: 1em;
  color: #555555;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about__value-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__value-list li::before {
  content: '✔';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Why Choose Section */
.page-about__why-choose {
  background-color: var(--color-card-bg);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__benefit-card {
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-about__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__card-description {
  font-size: 1em;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.page-about__game-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about__game-list li {
  margin-bottom: 8px;
  color: var(--color-text-secondary);
  position: relative;
  padding-left: 20px;
}

.page-about__game-list li::before {
  content: '•';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__game-list li a {
  color: var(--color-primary);
  text-decoration: none;
}

.page-about__game-list li a:hover,
.page-about__btn-text-link:hover {
  text-decoration: underline;
  color: var(--color-glow);
}

.page-about__btn-text-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-about__responsible-gaming .page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}

.page-about__responsible-gaming .page-about__feature-title {
  color: var(--color-deep-green);
}

.page-about__responsible-gaming .page-about__feature-description,
.page-about__tool-list {
  color: #555555;
}

.page-about__tool-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about__tool-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__tool-list li::before {
  content: '•';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Future Section */
.page-about__future {
  background-color: var(--color-card-bg);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__future-vision {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__future-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__future-text {
  text-align: left;
  max-width: 800px;
}

.page-about__future-text .page-about__feature-title {
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-about__future-text .page-about__feature-description {
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

/* FAQ Section */
.page-about__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--color-deep-green);
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #555555;
}

/* Bottom CTA */
.page-about__cta-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__heading {
    font-size: 2.2em;
  }
  .page-about__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__heading {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__hero-content {
    padding-top: 20px;
  }
  .page-about__future-vision {
    flex-direction: column;
  }

  /* Mobile image and video responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .page-about__future-vision {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__feature-item,
  .page-about__benefit-card,
  .page-about__responsible-gaming .page-about__feature-item {
    padding: 20px;
  }
  .page-about__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .page-about__heading {
    font-size: 1.5em;
  }
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__text-block {
    font-size: 0.95em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
  }
}