/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #CC0000; /* Brand red for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Hero Intro Section */
.page-about__hero-intro-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #CC0000, #333333);
  text-align: center;
  padding-top: 0; /* Assuming shared.css handles body padding-top, so hero does not need it */
}

.page-about__main-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #CC0000;
  color: #ffffff;
  border: 2px solid #CC0000;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #CC0000;
}

.page-about__btn-link {
  background-color: transparent;
  color: #CC0000;
  border: 1px solid #CC0000;
  padding: 10px 20px;
  font-size: 14px;
  margin-top: 15px;
}

.page-about__btn-link:hover {
  background-color: #CC0000;
  color: #ffffff;
}

/* Dark Section styles */
.page-about__dark-section {
  background-color: #333333;
  color: #ffffff;
  padding: 60px 0;
}

.page-about__dark-section .page-about__section-title {
  color: #CC0000;
}

/* Mission & Vision Section */
.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 24px;
  color: #CC0000;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px;
}

/* Why Choose Section */
.page-about__why-choose-section {
  background-color: #1a1a1a; /* Match body background */
  padding: 60px 0;
}

.page-about__why-choose-section .page-about__section-title {
  color: #CC0000;
}

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

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-about__feature-title {
  font-size: 20px;
  color: #CC0000;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 15px;
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-about__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__text-content {
  flex: 1;
}

.page-about__text-content p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-about__list li {
  margin-bottom: 8px;
}

.page-about__image-content {
  flex: 1;
  text-align: center;
}

.page-about__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Match body background */
}

.page-about__faq-section .page-about__section-title {
  color: #CC0000;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Dark background for question */
  border: 1px solid #CC0000; /* Red border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #444444;
  border-color: #FFD700; /* Gold hover for contrast */
}

.page-about__faq-question:active {
  background: #222222;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #CC0000;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #2a2a2a; /* Slightly lighter dark for answer background */
  color: #f0f0f0;
  border-radius: 0 0 5px 5px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

/* Contact Section */
.page-about__contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__contact-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__contact-info {
  margin-bottom: 40px;
}

.page-about__contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-about__contact-info strong {
  color: #CC0000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 40px;
  }

  .page-about__section-title {
    font-size: 30px;
  }

  .page-about__content-flex {
    flex-direction: column;
  }

  .page-about__image-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  .page-about__hero-intro-section {
    padding: 60px 0;
  }

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-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__dark-section,
  .page-about__why-choose-section,
  .page-about__faq-section,
  .page-about__contact-section {
    padding: 40px 0;
  }

  .page-about__mission-vision-grid,
  .page-about__features-grid {
    gap: 20px;
  }

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

  .page-about__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }

  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-about__faq-answer {
    padding: 0 15px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }}