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

.page-cockfighting__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-cockfighting__light-bg {
  background: #0A4B2C; /* Deep Green for contrast */
  color: var(--text-main);
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--gold);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  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 for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__video-container {
  width: 100%; /* Desktop must have width: 100% */
  max-width: 1000px;
  margin: 0 auto;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 80px 20px;
}

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

.page-cockfighting__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  height: 100%; /* Ensure cards are same height */
}

.page-cockfighting__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow);
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 20px;
}

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

.page-cockfighting__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  height: 100%;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--glow);
}

.page-cockfighting__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 80px 20px;
}

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

.page-cockfighting__bet-type-card {
  height: 100%;
}

.page-cockfighting__bet-type-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--glow);
}

.page-cockfighting__bet-type-description {
  font-size: 1em;
  color: var(--text-secondary);
}

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

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

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

.page-cockfighting__tip-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--glow);
}

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

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
  margin-top: 40px;
}

/* Global Image Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
}

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

  .page-cockfighting__content-container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Videos */
  .page-cockfighting video,
  .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__video-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__bet-type-grid,
  .page-cockfighting__tips-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-cockfighting__feature-icon {
    width: 100% !important;
    max-width: 250px !important; /* Allow some sizing, but still large */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
}