.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__section {
  padding: 80px 0;
}

.page-about__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than #000 for better depth */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with dark-bg */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFB800; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #E44D26; /* Orange for sub titles */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-about__paragraph--centered {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFB800; /* Gold for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

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

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

.page-about__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word; /* Ensure text wraps */
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #E44D26; /* Main brand color */
  color: #ffffff;
  border: 2px solid #E44D26;
}

.page-about__btn-primary:hover {
  background-color: #FFB800; /* Auxiliary brand color on hover */
  border-color: #FFB800;
  color: #000000; /* Ensure contrast on hover */
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFB800; /* Auxiliary brand color */
  border: 2px solid #FFB800;
}

.page-about__btn-secondary:hover {
  background-color: #FFB800;
  color: #000000; /* Ensure contrast on hover */
}

.page-about__btn-inline {
  margin-top: 20px;
}

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

.page-about__cta-center--video {
  margin-top: 30px;
}

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

/* Content Grid */
.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-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.3);
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #FFB800;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Responsible Gaming List */
.page-about__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

/* Video Section */
.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
  cursor: pointer;
}

.page-about__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Above the video but below controls */
  cursor: pointer;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker card background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  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.25em;
  color: #FFB800;
  margin: 0;
  font-weight: bold;
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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 show content */
  padding: 15px 25px 20px;
}

.page-about__faq-answer .page-about__paragraph {
  margin-bottom: 10px;
}

.page-about__faq-answer a {
  color: #E44D26;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #FFB800;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-about__hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

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

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

  .page-about__hero-buttons {
    justify-content: center;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .page-about__section {
    padding: 50px 0;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: auto;
  }

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 25px;
  }

  .page-about__feature-title {
    font-size: 1.3em;
  }

  /* Image Responsive Fix */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Video Responsive Fix */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__video-wrapper {
    padding-left: 0 !important; /* Remove container padding if any */
    padding-right: 0 !important;
  }

  .page-about__video-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

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

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

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