:root {
  --pog79-primary-color: #11A84E;
  --pog79-secondary-color: #22C768;
  --pog79-bg-color: #08160F;
  --pog79-card-bg: #11271B;
  --pog79-text-main: #F2FFF6;
  --pog79-text-secondary: #A7D9B8;
  --pog79-border-color: #2E7A4E;
  --pog79-glow-color: #57E38D;
  --pog79-gold-color: #F2C14E;
  --pog79-divider-color: #1E3A2A;
  --pog79-deep-green: #0A4B2C;

  --pog79-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-about__section-spacing {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font size rule applied to H2 here */
  color: var(--pog79-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__section-description {
  text-align: center;
  font-size: 1.1em;
  color: var(--pog79-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit height for aesthetic */
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Space between image and content */
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive H1 */
  color: var(--pog79-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

.page-about__btn-primary {
  background: var(--pog79-btn-gradient);
  color: var(--pog79-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.3);
}

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

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

.page-about__btn-secondary:hover {
  background: var(--pog79-primary-color);
  color: var(--pog79-text-main);
  transform: translateY(-2px);
}

.page-about__btn-link {
  background: transparent;
  color: var(--pog79-primary-color);
  border: 1px solid var(--pog79-primary-color);
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-about__btn-link:hover {
  background: var(--pog79-primary-color);
  color: var(--pog79-text-main);
}

.page-about__cta-button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* --- Content Grid for Text & Image --- */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__text-block {
  grid-area: text;
}

.page-about__content-grid--reverse .page-about__content-image {
  grid-area: image;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: var(--pog79-text-main);
}

.page-about__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Values Section --- */
.page-about__dark-section {
  background-color: var(--pog79-deep-green); /* Use Deep Green for dark sections */
  color: var(--pog79-text-main);
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-card {
  background-color: var(--pog79-card-bg); /* Dark card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid var(--pog79-border-color);
}

.page-about__value-title {
  font-size: 1.5em;
  color: var(--pog79-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  color: var(--pog79-text-secondary);
}

/* --- Game Offerings Section --- */
.page-about__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__game-card {
  background-color: var(--pog79-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--pog79-border-color);
  display: flex;
  flex-direction: column;
}

.page-about__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-about__game-card-title {
  font-size: 1.3em;
  color: var(--pog79-gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-about__game-card-description {
  color: var(--pog79-text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- FAQ Section --- */
.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: var(--pog79-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--pog79-border-color);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--pog79-text-main);
  cursor: pointer;
  background-color: var(--pog79-card-bg);
  position: relative;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  color: var(--pog79-gold-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or just use '-' */
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--pog79-text-secondary);
  line-height: 1.6;
}

/* --- Final CTA Section --- */
.page-about__cta-content {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--pog79-card-bg);
  border-radius: 10px;
  border: 1px solid var(--pog79-border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    grid-template-areas: unset; /* Reset grid area for single column */
  }

  .page-about__content-grid--reverse .page-about__text-block,
  .page-about__content-grid--reverse .page-about__content-image {
    grid-area: unset;
  }
}

@media (max-width: 768px) {
  .page-about__section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
  }

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

  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__cta-button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Force responsive for all images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force responsive for all content containers */
  .page-about__container,
  .page-about__hero-content,
  .page-about__text-block,
  .page-about__value-card,
  .page-about__game-card,
  .page-about__faq-item,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Video section specific padding, small value, not --header-offset */
  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Force responsive for all buttons */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important; /* Add padding to prevent text touching edges */
    padding-right: 15px !important;
  }

  .page-about__cta-button-group {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-spacing {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-about__hero-image {
    max-height: 400px;
  }
}