/* style/about.css */

/* --- General Styles --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: #e9b340; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* --- 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
  background-color: #e9b340; /* Auxiliary color for primary button */
  color: #1a1a2e; /* Dark text for light button */
  border: 2px solid #e9b340;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #e9b340; /* Auxiliary color for secondary button text */
  border: 2px solid #e9b340;
}

.page-about__btn-secondary:hover {
  background-color: #e9b340;
  color: #1a1a2e;
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('[GALLERY:hero_main:1920x1080:69vin game,online gambling,about us,modern,dynamic]') center center / cover no-repeat;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
  z-index: 1;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #e9b340; /* Auxiliary color for hero title */
  line-height: 1.2;
}

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

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

/* --- Mission &amp; Vision Section --- */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Main color for dark section */
  color: #ffffff;
}

.page-about__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards in dark section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff; /* Ensure text is white on dark card */
}

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

.page-about__card-title {
  font-size: 1.8em;
  color: #e9b340; /* Auxiliary color for card titles */
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1.05em;
  color: #f0f0f0;
}

/* --- Why Choose Section --- */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Match body background */
  color: #ffffff;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for features */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-about__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__feature-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px auto;
  display: block;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #e9b340;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Responsible Gaming Section --- */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Match body background */
  color: #ffffff;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a2e; /* Main color for FAQ question background */
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  font-size: 1.2em;
  color: #e9b340; /* Auxiliary color for FAQ titles */
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #e9b340;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-about__faq-text {
  font-size: 1em;
  color: #f0f0f0;
  margin: 0;
}

/* --- Call to Action Section --- */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-content {
  max-width: 800px;
}

.page-about__cta-title {
  font-size: 2.5em;
  color: #e9b340;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* --- Responsive Design --- */

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

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

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

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

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 20px !important;
  }

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

  .page-about__card,
  .page-about__feature-item,
  .page-about__faq-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__feature-title {
    font-size: 1.4em;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-title {
    font-size: 1.1em;
  }

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

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

  .page-about__cta-description {
    font-size: 1em;
  }

  /* Image responsive rules for mobile */
  .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__mission-vision-section,
  .page-about__why-choose-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 !important;
  }

  .page-about__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}