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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:cockfighting,thomo,online_gambling,arena,excitement]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  color: #26A9E0; /* Brand color for section titles */
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

/* General Section Styling */
.page-about__introduction-section,
.page-about__values-section,
.page-about__why-choose-us,
.page-about__team-section,
.page-about__video-section,
.page-about__faq-section,
.page-about__cta-bottom-section {
  padding: 80px 0;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Introduction Section */
.page-about__introduction-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__introduction-section .page-about__section-title::after {
  background-color: #26A9E0;
}

.page-about__introduction-section p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__introduction-section a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__introduction-section a:hover {
  text-decoration: underline;
}

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

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Values Section */
.page-about__values-section .page-about__section-title {
  color: #ffffff;
}

.page-about__values-section .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-about__value-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__value-card a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__value-card a:hover {
  text-decoration: underline;
}

/* Why Choose Us Section */
.page-about__why-choose-us .page-about__section-title {
  color: #26A9E0;
}

.page-about__why-choose-us .page-about__section-title::after {
  background-color: #26A9E0;
}

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

.page-about__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-about__feature-item:hover {
  transform: translateY(-10px);
}

.page-about__feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__feature-item p {
  font-size: 1em;
  color: #555555;
}

.page-about__feature-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__feature-item a:hover {
  text-decoration: underline;
}

/* Team Section */
.page-about__team-section .page-about__section-title {
  color: #ffffff;
}

.page-about__team-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__team-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-about__team-description a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__team-description a:hover {
  text-decoration: underline;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.8em;
  margin-bottom: 5px;
  color: #26A9E0;
}

.page-about__member-role {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 1em;
  color: #cccccc;
}

.page-about__member-bio a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__member-bio a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-about__video-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__video-section .page-about__section-title::after {
  background-color: #26A9E0;
}

.page-about__video-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

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

/* FAQ Section */
.page-about__faq-section .page-about__section-title {
  color: #ffffff;
}

.page-about__faq-section .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  background-color: #2a2a2a; /* Darker background for questions */
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #3a3a3a;
}

.page-about__faq-title {
  margin: 0;
  color: #ffffff;
}

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

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

.page-about__faq-answer {
  background-color: #333333; /* Slightly lighter for answers */
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

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

.page-about__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:cta_bottom:1920x1080:cockfighting,cta,register,bonus,excitement]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-bottom-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__cta-description a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__cta-description a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
}

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

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

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__why-choose-us,
  .page-about__team-section,
  .page-about__video-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding: 60px 0;
  }

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

  .page-about__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__image-wrapper,
  .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: hidden !important;
  }

  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
  }

  .page-about__value-card,
  .page-about__feature-item,
  .page-about__team-member {
    padding: 20px;
  }

  .page-about__card-icon,
  .page-about__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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

  .page-about p,
  .page-about li,
  .page-about__hero-description,
  .page-about__introduction-section p,
  .page-about__team-description,
  .page-about__video-description,
  .page-about__cta-description {
    font-size: 0.95em;
  }

  .page-about__team-photo {
    width: 150px;
    height: 150px;
  }
}

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