:root {
  --primary-color: #1a1a1a;
  --secondary-color: #e44d26;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color-light: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__light-bg {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-cockfighting__section-title--light {
  color: var(--text-light);
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__section-description--light {
  color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__center-text {
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 700px; /* Fixed height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__main-title {
  font-size: 56px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-description {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-cockfighting__btn-primary:hover {
  background-color: #d1441d;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-cockfighting__about-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 17px;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.85);
}

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

.page-cockfighting__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-light);
}

.page-cockfighting__feature-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 20px;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-item h3 {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-cockfighting__step-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-cockfighting__bet-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__bet-list li {
  background-color: var(--card-bg-dark);
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 17px;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__bet-list li strong {
  color: var(--secondary-color);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-cockfighting__advantage-card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__advantage-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__advantage-card h3 {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-cockfighting__advantage-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-cockfighting__promotion-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__promotion-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-cockfighting__card-content {
  padding: 25px;
}

.page-cockfighting__card-content h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__card-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-cockfighting__card-content .page-cockfighting__btn-primary {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
}

/* Video Player Section */
.page-cockfighting__video-player-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 50px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 0;
}

.page-cockfighting__video-click-hint {
  font-size: 24px;
  color: var(--text-light);
  background-color: rgba(228, 77, 38, 0.8);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-cta {
  text-align: center;
  margin-top: 30px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__play-now-button:hover {
  background-color: #d1441d;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg-dark);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-cockfighting__faq-question h3 {
  font-size: 18px;
  color: var(--text-light);
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px 20px 25px;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-cockfighting__hero-section {
    height: 600px;
  }

  .page-cockfighting__main-title {
    font-size: 48px;
  }

  .page-cockfighting__hero-description {
    font-size: 20px;
  }

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

  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }

  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-cockfighting__image-block {
    margin-top: 30px;
  }

  .page-cockfighting__advantages-grid,
  .page-cockfighting__promotion-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset-mobile, 80px);
  }

  .page-cockfighting__main-title {
    font-size: 38px;
  }

  .page-cockfighting__hero-description {
    font-size: 18px;
  }

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

  .page-cockfighting__cta-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
  }

  .page-cockfighting__section-description {
    font-size: 16px;
  }

  .page-cockfighting__content-area {
    padding: 40px 15px;
  }

  .page-cockfighting__steps-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__step-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }

  .page-cockfighting__promotion-card img {
    height: 200px;
  }

  .page-cockfighting__card-content h3 {
    font-size: 20px;
  }

  .page-cockfighting__play-now-button {
    font-size: 18px;
    padding: 12px 30px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    height: 450px;
  }

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

  .page-cockfighting__hero-description {
    font-size: 16px;
  }

  .page-cockfighting__section-title {
    font-size: 24px;
  }

  .page-cockfighting__cta-button {
    width: 90%;
  }

  .page-cockfighting__play-now-button {
    width: 90%;
    max-width: 300px;
  }
}