/* style/about.css */

/* Base styles for page-about */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 40px;
}

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

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

.page-about__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-about__subsection-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-about__text-block strong {
  color: #F2FFF6;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: none;
}

.page-about__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #2AD16F;
  transform: translateY(-2px);
}

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

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

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

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

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark sections */
.page-about__dark-section {
  background-color: #11271B; /* Card BG */
}

/* Flex containers for two-column layouts */
.page-about__flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__flex-container--reverse {
  flex-direction: row-reverse;
}

.page-about__content-column,
.page-about__image-column {
  flex: 1;
  min-width: 300px;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Values Grid */
.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: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__value-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Feature List */
.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__feature-item strong {
  color: #57E38D; /* Glow */
}

/* Game Cards Grid */
.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: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__game-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-about__game-title a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-about__game-title a:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

.page-about__game-description {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__image-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

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

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

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #13994A;
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__flex-container {
    flex-direction: column;
  }
  .page-about__flex-container--reverse {
    flex-direction: column;
  }
  .page-about__content-column,
  .page-about__image-column {
    min-width: unset;
    width: 100%;
  }
}

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

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

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: 1.8rem;
  }

  .page-about__subsection-title {
    font-size: 1.4rem;
  }

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

  .page-about__hero-content {
    margin-top: -60px;
  }

  /* Mobile 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__value-card,
  .page-about__game-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__game-diversity-section,
  .page-about__security-section,
  .page-about__support-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Mobile responsive buttons */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
}