.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default to light text for dark background */
  background-color: var(--background, #08160F); /* Dark background */
}

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

.page-cockfighting__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__text-main {
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__text-secondary {
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
  color: var(--deep-green, #0A4B2C);
  border-color: var(--deep-green, #0A4B2C);
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  margin-bottom: 40px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
}

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
}

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

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  text-align: center;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Gameplay Guide */
.page-cockfighting__gameplay-guide {
  padding: 80px 0;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.page-cockfighting__step-item {
  padding: 25px;
  border-radius: 8px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-cockfighting__step-item .page-cockfighting__btn-primary {
  margin-top: 20px;
}

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--deep-green, #0A4B2C);
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
}

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

.page-cockfighting__tip-item {
  text-align: center;
}

.page-cockfighting__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Responsible Gambling */
.page-cockfighting__responsible-gambling {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__responsible-gambling .page-cockfighting__btn-primary {
  margin-top: 30px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  background-color: var(--card-bg, #11271B);
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question::marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
}

/* CTA Bottom */
.page-cockfighting__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-bottom .page-cockfighting__btn-primary {
  margin-top: 30px;
}

/* Media Queries for Responsiveness */
@media (min-width: 769px) {
  .page-cockfighting__gameplay-guide .page-cockfighting__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-image {
    margin-bottom: 20px;
  }

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

  .page-cockfighting__description {
    font-size: 16px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }

  .page-cockfighting__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__gameplay-guide,
  .page-cockfighting__tips-section,
  .page-cockfighting__responsible-gambling,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding: 50px 0;
  }

  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container,
  .page-cockfighting__hero-content,
  .page-cockfighting__intro-section > .page-cockfighting__container,
  .page-cockfighting__features-section > .page-cockfighting__container,
  .page-cockfighting__gameplay-guide > .page-cockfighting__container,
  .page-cockfighting__tips-section > .page-cockfighting__container,
  .page-cockfighting__responsible-gambling > .page-cockfighting__container,
  .page-cockfighting__faq-section > .page-cockfighting__container,
  .page-cockfighting__cta-bottom > .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px;
  }

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

  .page-cockfighting__feature-title,
  .page-cockfighting__tip-title,
  .page-cockfighting__step-title {
    font-size: 20px;
  }
}