/* style/about.css */
/* Base styles for the About Us page */
.page-about {
  background-color: #0A0A0A; /* Custom Background */
  color: #FFF6D6; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

/* Section styling */
.page-about__hero-section,
.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__future-vision-section,
.page-about__cta-section,
.page-about__faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden; /* For image positioning */
  color: #FFF6D6; /* Ensure text is visible on hero */
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Custom Glow color for emphasis */
}

.page-about__lead-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom Button */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

.page-about__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Custom Glow */
  border: 2px solid #FFD36B; /* Custom Glow */
}

.page-about__btn-secondary:hover {
  background: #FFD36B; /* Custom Glow */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
}

.page-about__dark-section {
  background-color: #111111; /* Custom Card BG */
  color: #FFF6D6; /* Custom Text Main */
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #FFD36B; /* Custom Glow */
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #FFF6D6;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr; /* Default for mobile */
}

@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .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__image-block {
    grid-area: image;
  }
}

.page-about__text-block {
  padding: 20px 0;
}

.page-about__text-block p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-about__text-block a {
  color: #FFD36B; /* Custom Glow for links */
  text-decoration: underline;
}

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

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

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

.page-about__feature-card {
  background-color: #111111; /* Custom Card BG */
  border: 1px solid #3A2A12; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Custom Main Color */
}

.page-about__card p {
  color: #FFF6D6;
}

.page-about__card a {
  color: #FFD36B; /* Custom Glow for links */
  text-decoration: underline;
}

.page-about__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FAQ Section */
.page-about__faq-section {
  text-align: left;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #111111; /* Custom Card BG */
  border: 1px solid #3A2A12; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Custom Card BG */
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Custom Main Color */
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Custom Glow */
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0A0A0A; /* Darker background for answer */
  color: #FFF6D6;
  text-align: left;
}