.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Inherited from shared.css */
}

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

.page-about__dark-section {
  background-color: #1A237E; /* Main brand color */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
  padding: 80px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__highlight {
  color: #FFC107; /* Accent color */
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-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: bold;
  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-color: #FFC107; /* Accent color */
  color: #1A237E; /* Main brand color for text */
  border: 2px solid #FFC107;
}

.page-about__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFC107; /* Accent color */
  border: 2px solid #FFC107;
}

.page-about__btn-secondary:hover {
  background-color: #FFC107;
  color: #1A237E; /* Main brand color for text */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Introduction Section */
.page-about__introduction-section .page-about__text-block {
  text-align: left;
}

.page-about__introduction-section .page-about__text-block:first-of-type {
  margin-top: 30px;
}

.page-about__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  color: #ffffff;
}

.page-about__value-title {
  font-size: 1.8em;
  color: #FFC107;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  line-height: 1.8;
}

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

.page-about__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-about__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__game-title {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-about__game-title a {
  color: #1A237E;
  text-decoration: none;
}

.page-about__game-title a:hover {
  text-decoration: underline;
}

.page-about__game-description {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Customer Experience Section */
.page-about__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-about__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #FFC107;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.page-about__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-about__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__promo-title {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-about__promo-title a {
  color: #1A237E;
  text-decoration: none;
}

.page-about__promo-title a:hover {
  text-decoration: underline;
}

.page-about__promo-description {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-top: 30px;
}

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

.page-about__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #1A237E;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-question:hover {
  background-color: #e5e5e5;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
  text-align: left;
}

.page-about__faq-link {
  color: #1A237E;
  text-decoration: underline;
}

.page-about__faq-link:hover {
  color: #FFC107;
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

  .page-about__hero-description {
    font-size: 1.2em;
  }

  .page-about__section-title {
    font-size: 2em;
  }
}

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

  .page-about__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

  .page-about__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 300px !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__dark-section,
  .page-about__light-bg {
    padding: 60px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 1em;
    text-align: left;
    padding: 0 15px;
  }

  .page-about__introduction-section .page-about__text-block {
    text-align: left;
  }

  .page-about__image-content {
    margin: 30px auto;
  }

  .page-about__values-grid,
  .page-about__game-cards-grid,
  .page-about__feature-grid,
  .page-about__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-about__value-card,
  .page-about__game-card,
  .page-about__feature-card,
  .page-about__promo-card {
    padding: 25px;
  }

  .page-about__game-image,
  .page-about__promo-image {
    height: 200px;
  }

  .page-about__feature-icon {
    max-width: 150px;
  }

  .page-about__faq-list {
    padding: 0 15px;
  }

  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Force responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__game-ecosystem-section,
  .page-about__customer-experience-section,
  .page-about__promotions-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}