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

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative top padding */
  min-height: 550px;
  overflow: hidden;
  background: var(--deep-green);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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 {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--gold);
  color: var(--background);
  transform: translateY(-2px);
}

/* General Content Sections */
.page-cockfighting__introduction-section {
  background-color: var(--background);
}

.page-cockfighting__bet-types-section {
  background-color: var(--card-b-g);
}

.page-cockfighting__how-to-bet-section {
  background-color: var(--background);
}

.page-cockfighting__tips-section {
  background-color: var(--card-b-g);
}

.page-cockfighting__promotions-section {
  background-color: var(--background);
}

.page-cockfighting__safety-section {
  background-color: var(--card-b-g);
}

.page-cockfighting__faq-section {
  background-color: var(--background);
}

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

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item:last-child {
  margin-bottom: 0;
}

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

.page-cockfighting__list-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  text-align: left;
}

.page-cockfighting__card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  text-align: center;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-cockfighting__card-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

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

.page-cockfighting__promotion-cards .page-cockfighting__card {
  padding: 20px;
}

.page-cockfighting__promotion-cards .page-cockfighting__btn-primary {
  margin-top: 20px;
  width: auto;
  padding: 10px 20px;
  font-size: 16px;
}

.page-cockfighting__features-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  text-align: left;
}

.page-cockfighting__feature-item {
  background-color: var(--background);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
}

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

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--background);
}

/* Dark background sections for contrast */
.page-cockfighting__dark-section {
  background-color: var(--card-b-g);
  color: var(--text-main);
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__list-title {
  color: var(--gold);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    min-height: 450px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-cockfighting__list--grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-cockfighting__features-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-cockfighting__text-block {
    font-size: 15px;
  }

  .page-cockfighting__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__features-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__list--grid,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__features-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-cockfighting__list-item {
    padding: 15px;
  }
  .page-cockfighting__list-title {
    font-size: 20px;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
  .page-cockfighting__card-image {
    height: 180px; /* Maintain aspect ratio */
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(14px, 4vw, 16px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(20px, 7vw, 30px);
  }
  .page-cockfighting__text-block {
    font-size: 14px;
  }
}