/* style/about.css */
/* --- General Styling --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-size: 16px;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  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; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Main Color highlight */
  border: 2px solid #2E7A4E; /* Border */
}

.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;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #F2FFF6; /* Text Main */
}

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

.page-about__subtitle {
  font-size: 1.3em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

/* --- Mission & Vision Section --- */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__card-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__card-title a:hover {
  color: #2AD16F; /* Main Color highlight */
  text-decoration: underline;
}

.page-about__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  flex-grow: 1;
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-about__grid-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-about__content-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__image-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image-full-width {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
}

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

.page-about__list-item {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-about__list-item::before {
  content: '✓'; /* Unicode checkmark */
  color: #2AD16F; /* Main Color highlight */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* --- Games Section --- */
.page-about__games-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

.page-about__game-cards .page-about__card {
  text-align: center;
  padding: 20px;
}

.page-about__game-cards .page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-about__game-cards .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* --- Security Section --- */
.page-about__security-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-about__security-list .page-about__list-item {
  padding-left: 35px;
}

.page-about__security-list .page-about__list-item::before {
  content: attr(data-icon);
  font-size: 1.2em;
  left: 0;
  color: #57E38D; /* Glow */
}

.page-about__security-list .page-about__list-item:nth-child(1)::before { content: '🔒'; }
.page-about__security-list .page-about__list-item:nth-child(2)::before { content: '🛡️'; }
.page-about__security-list .page-about__list-item:nth-child(3)::before { content: '⚖️'; }
.page-about__security-list .page-about__list-item:nth-child(4)::before { content: '✅'; }
.page-about__security-list .page-about__list-item:nth-child(5)::before { content: '⚙️'; }

/* --- Customer Support Section --- */
.page-about__customer-support {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-about__support-channels .page-about__card {
  text-align: center;
  padding: 30px 20px;
}

.page-about__contact-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

/* --- Responsible Gaming Section --- */
.page-about__responsible-gaming {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-about__faq-item {
  background-color: #08160F; /* Background */
  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: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

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

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

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

details[open] .page-about__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

details[open] .page-about__faq-question {
  border-bottom: 1px solid transparent;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__grid-reverse {
    grid-template-columns: 1fr;
  }
  .page-about__content-column {
    align-items: center;
    text-align: center;
  }
  .page-about__list-item {
    padding-left: 0;
    text-align: left;
  }
  .page-about__list-item::before {
    position: static;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 15px;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-about__subtitle {
    font-size: 1.1em;
  }
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-us,
  .page-about__games-section,
  .page-about__security-section,
  .page-about__customer-support,
  .page-about__responsible-gaming,
  .page-about__faq-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .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;
  }
  .page-about__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-column,
  .page-about__card,
  .page-about__support-channels,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-about__subtitle {
    font-size: 1em;
  }
  .page-about__card-title {
    font-size: 1.4em;
  }
}