/* style/about.css */

/* BEM Naming Convention: .page-about__element-name */
/* Colors: #11A84E, #22C768, #08160F, #11271B, #F2FFF6, #A7D9B8, #2E7A4E, #57E38D, #F2C14E, #1E3A2A, #0A4B2C */

.page-about {
  background-color: #08160F;
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #A7D9B8; /* Secondary text color */
  font-size: 18px;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: #F2FFF6;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about p {
  margin-bottom: 15px;
  color: #A7D9B8;
}

.page-about strong {
  color: #F2FFF6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for visual spacing */
  overflow: hidden;
  background-color: #08160F;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
  color: #F2FFF6;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #F2C14E; /* Gold for main H1 */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-about__intro-text {
  font-size: 1.25em;
  margin-bottom: 40px;
  color: #A7D9B8;
}

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

.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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-about__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
  box-shadow: 0 0 15px #2E7A4E;
}

/* Content Grid */
.page-about__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
  color: #A7D9B8;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 0 auto;
}

/* Mission & Vision Section */
.page-about__mission-vision .page-about__content-grid {
  margin-bottom: 0;
}

/* Games Diversity Section */
.page-about__games-diversity {
  background-color: #11271B; /* Card BG color */
}

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

.page-about__game-card {
  background-color: #0A4B2C; /* Deep Green for game cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-about__game-title {
  font-size: 24px;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-about__game-card p {
  color: #A7D9B8;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #11A84E;
  color: #F2FFF6;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-about__btn-link:hover {
  background-color: #22C768;
}

/* Promotions Section */
.page-about__promotions {
  background-color: #08160F;
}

.page-about__promotion-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__promotion-item {
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__promotion-title {
  font-size: 22px;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__promotion-item p {
  color: #A7D9B8;
}

.page-about__cta-center {
  text-align: center;
}

/* Customer Support Section */
.page-about__customer-support {
  background-color: #11271B;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-about__contact-list li {
  margin-bottom: 10px;
  color: #A7D9B8;
  font-size: 1.1em;
}

.page-about__contact-label {
  color: #F2C14E;
}

/* FAQ Section */
.page-about__faq {
  background-color: #08160F;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15em;
  color: #F2FFF6;
  position: relative;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  background-color: #0A4B2C; /* Deep Green for answer background */
  color: #A7D9B8;
  font-size: 1em;
  line-height: 1.6;
}

.page-about__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-about__call-to-action {
  text-align: center;
  background-color: #11271B;
  padding: 80px 20px;
}

.page-about__call-to-action .page-about__section-title {
  color: #F2C14E;
}

.page-about__call-to-action .page-about__section-description {
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-about__main-title {
    font-size: 36px;
  }
  .page-about__intro-text {
    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-left: 15px;
    padding-right: 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Images and Video Responsive */
  .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__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__game-card {
    padding: 20px;
  }
  .page-about__promotion-item {
    padding: 20px;
  }
  .page-about__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
}