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

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body padding-top handles header offset, this is for visual spacing */
  background-color: var(--pg88-deep-green);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -150px; /* Overlap image slightly for visual effect, but text is below */
  background: rgba(0, 0, 0, 0.4); /* Subtle background for text readability */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--pg88-border-color);
}

.page-cockfighting__main-title {
  color: var(--pg88-gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__description {
  color: var(--pg88-text-main);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--pg88-button-gradient);
  color: var(--pg88-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--pg88-gold-color);
  border: 2px solid var(--pg88-gold-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--pg88-gold-color);
  color: var(--pg88-background);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__btn-block {
  width: 100%;
  max-width: 300px;
  margin: 20px auto 0 auto;
}

.page-cockfighting__content-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--pg88-divider-color);
}

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

.page-cockfighting__dark-bg {
  background-color: var(--pg88-card-bg);
  color: var(--pg88-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(1.8rem, 3vw, 2.8rem);
  color: var(--pg88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card {
  background-color: var(--pg88-background);
  border: 1px solid var(--pg88-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--pg88-text-secondary);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--pg88-text-secondary);
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: var(--pg88-card-bg);
  border-left: 5px solid var(--pg88-gold-color);
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__step-item p {
  color: var(--pg88-text-secondary);
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-cockfighting__strategy-title {
  font-size: 1.4rem;
  color: var(--pg88-gold-color);
  margin-bottom: 10px;
}

.page-cockfighting__strategy-item p {
  color: var(--pg88-text-secondary);
}

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

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

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

.page-cockfighting__benefit-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--pg88-gold-color);
}

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

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

.page-cockfighting__faq-list {
  margin-top: 40px;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--pg88-text-main);
  background-color: var(--pg88-card-bg);
  border-bottom: 1px solid var(--pg88-divider-color);
}

.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-qtext {
  flex-grow: 1;
  color: var(--pg88-text-main);
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--pg88-text-secondary);
  border-top: 1px solid var(--pg88-divider-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  border-top: none;
}

.page-cockfighting__video-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--pg88-deep-green);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--pg88-background);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-caption {
  color: var(--pg88-text-secondary);
  margin-top: 20px;
  font-style: italic;
  font-size: 0.95rem;
}

/* General text styles */
.page-cockfighting p {
  margin-bottom: 1em;
  color: var(--pg88-text-secondary);
}

.page-cockfighting h2,
.page-cockfighting h3 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

.page-cockfighting ul,
.page-cockfighting ol {
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-cockfighting li {
  margin-bottom: 0.5em;
  color: var(--pg88-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
}

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

  .page-cockfighting__hero-content {
    padding: 15px;
    margin-top: -80px;
  }

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

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

  .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 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-section {
    padding: 60px 0;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 30px;
  }

  .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__video-section,
  .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__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

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

  .page-cockfighting__step-item {
    padding: 20px;
  }

  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__strategy-item {
    padding: 15px;
  }

  .page-cockfighting__strategy-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__benefit-icon {
    font-size: 2.5rem;
  }

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

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

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

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

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

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* height auto will be applied by wrapper padding-bottom */
  }

  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 16px;
    line-height: 1.6;
  }
}