/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000 (dark), so use light text */
  background-color: transparent; /* Inherit from body or shared.css */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  color: #ffffff;
  background-color: #000080; /* Auxiliary color for a rich background */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly transparent to let text stand out */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Dark text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  color: #000066;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

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

.page-about__container--two-col {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-block {
  flex: 1;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__image--full-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 40px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-about__text-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-about__text-link:hover {
  color: #e6c200;
}

.page-about__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-about__intro-section,
.page-about__why-choose-us-section,
.page-about__responsible-gaming-section,
.page-about__cta-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for content sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-about__mission-vision-section,
.page-about__video-section,
.page-about__faq-section {
  background-color: #000080; /* Auxiliary color for darker sections */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-about__responsible-gaming-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 960px; /* Max width for video */
  background: #000;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-about__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #f0f0f0;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-about__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__paragraph,
  .page-about__list-item,
  .page-about__card-description {
    font-size: 1em;
  }
  .page-about__container--two-col {
    flex-direction: column;
  }
  .page-about__container--reversed-on-mobile {
    flex-direction: column-reverse;
  }
  .page-about__hero-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__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section is below header on mobile */
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__sub-title {
    font-size: 1.3em;
  }
}