.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main); /* Ensure text is visible on darkened image */
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting__highlight {
  color: var(--text-main);
  font-weight: bold;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
  object-fit: cover;
}

.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__tips-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-color);
}

.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--card-bg);
}

.page-cockfighting__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  min-width: 60px;
  min-height: 60px;
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--divider);
  color: var(--text-secondary);
}

.page-cockfighting__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--divider);
  color: var(--text-secondary);
}

.page-cockfighting__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.page-cockfighting__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-cockfighting__tip-list,
.page-cockfighting__promotion-list,
.page-cockfighting__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-cockfighting__tip-item,
.page-cockfighting__promotion-item,
.page-cockfighting__responsibility-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid var(--divider);
  color: var(--text-secondary);
}

.page-cockfighting__tip-title,
.page-cockfighting__promotion-title,
.page-cockfighting__responsibility-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--border-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--text-main);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cockfighting__faq-item summary {
  list-style: none;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-cockfighting__introduction-section .page-cockfighting__container,
  .page-cockfighting__features-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__promotions-section .page-cockfighting__container,
  .page-cockfighting__responsible-gaming-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__conclusion-section .page-cockfighting__container {
    text-align: left;
  }
  .page-cockfighting__introduction-section .page-cockfighting__image-content,
  .page-cockfighting__features-section .page-cockfighting__image-content,
  .page-cockfighting__bet-types-section .page-cockfighting__image-content,
  .page-cockfighting__guide-section .page-cockfighting__image-content,
  .page-cockfighting__promotions-section .page-cockfighting__image-content,
  .page-cockfighting__responsible-gaming-section .page-cockfighting__image-content {
    float: right;
    margin-left: 40px;
    width: 50%;
    max-width: 500px;
  }
  .page-cockfighting__features-section .page-cockfighting__container .page-cockfighting__image-content {
    float: left;
    margin-right: 40px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__sub-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__card-grid,
  .page-cockfighting__step-list,
  .page-cockfighting__tip-list,
  .page-cockfighting__promotion-list,
  .page-cockfighting__responsibility-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__promotion-item,
  .page-cockfighting__responsibility-item {
    padding: 20px;
  }

  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

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

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }
  
  .page-cockfighting__video-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Custom Color Palette */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-cockfighting {
  color: var(--text-secondary);
}

.page-cockfighting__dark-section .page-cockfighting__text-block, 
.page-cockfighting__dark-section .page-cockfighting__text-secondary {
  color: var(--text-secondary);
}

.page-cockfighting__dark-section .page-cockfighting__highlight {
  color: var(--text-main);
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

.page-cockfighting__feature-item {
  background-color: var(--card-bg);
}

.page-cockfighting__step-item {
  background-color: var(--card-bg);
}

.page-cockfighting__tip-item,
.page-cockfighting__promotion-item,
.page-cockfighting__responsibility-item {
  background-color: var(--card-bg);
}

.page-cockfighting__faq-answer {
  background-color: var(--card-bg);
}