/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Aspect ratio for 16:9 at 1200px width */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  display: inline-block;
  margin-top: 15px;
  transition: all 0.3s ease;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__background {
  background-color: #08160F; /* Background */
  padding: 80px 0;
}

.page-cockfighting__dark-bg {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Video Section */
.page-cockfighting__video-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%; /* Ensure width is 100% on desktop */
  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-top: 40px;
  border-radius: 12px;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(87, 227, 141, 0.4); /* Glow */
  width: 100%; /* Ensure width is 100% on desktop */
  max-width: 100%;
  box-sizing: border-box;
}

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

/* Features Section */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* Betting Types Section */
.page-cockfighting__betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__betting-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

/* Guide Section */
.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-cockfighting__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

details[open] .page-cockfighting__faq-question {
  background-color: rgba(87, 227, 141, 0.05);
}

/* Responsible Gaming Section */
.page-cockfighting__responsible-gaming-section {
  padding-bottom: 80px;
  text-align: center;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-cockfighting__hero-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__background,
  .page-cockfighting__dark-bg {
    padding: 40px 0;
  }

  .page-cockfighting__hero-content {
    margin-top: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__betting-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

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

  .page-cockfighting__card-description {
    font-size: 0.9rem;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .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__video-section,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__betting-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio on mobile */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9rem;
  }
}