/* style/cockfighting.css */

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

/* Base Styles for Page Cockfighting */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-bg);
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px); /* H1 font size constraint */
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-cockfighting__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text-link {
  color: var(--page-cockfighting-glow);
  text-decoration: underline;
}

.page-cockfighting__text-link:hover {
  color: var(--page-cockfighting-gold);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-cockfighting-bg);
}

.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.6); /* Darken image for text contrast */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font size constraint */
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-light-bg, #ffffff);
  color: var(--page-cockfighting-dark-text, #333333);
}

.page-cockfighting__intro-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  color: var(--page-cockfighting-dark-text, #333333);
}

.page-cockfighting__image-text-block {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-cockfighting__image-text-block .page-cockfighting__content-image {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__image-text-block .page-cockfighting__text-content {
  flex: 1;
}

/* Game Types Section */
.page-cockfighting__game-types {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-bg);
}

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

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

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

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

.page-cockfighting__card-text {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 25px;
}

.page-cockfighting__card-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-light-bg, #ffffff);
  color: var(--page-cockfighting-dark-text, #333333);
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__guide-section .page-cockfighting__text-block {
  color: var(--page-cockfighting-dark-text, #333333);
}

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

.page-cockfighting__step-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-cockfighting__step-title {
  font-size: 20px;
  color: var(--page-cockfighting-deep-green);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-item p {
  color: var(--page-cockfighting-dark-text, #333333);
}

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

.page-cockfighting__cta-center .page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-bg);
}

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

.page-cockfighting__strategy-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-light-bg, #ffffff);
  color: var(--page-cockfighting-dark-text, #333333);
}

.page-cockfighting__benefits-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__benefits-section .page-cockfighting__text-block {
  color: var(--page-cockfighting-dark-text, #333333);
}

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

.page-cockfighting__benefit-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__benefit-card .page-cockfighting__card-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__benefit-card .page-cockfighting__card-text {
  color: var(--page-cockfighting-dark-text, #333333);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-bg);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  color: var(--page-cockfighting-text-main);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item:hover {
  background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--page-cockfighting-gold);
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--page-cockfighting-glow);
}

.page-cockfighting__faq-answer {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  padding-top: 15px;
  border-top: 1px solid var(--page-cockfighting-divider);
  margin-top: 15px;
}

.page-cockfighting__contact-cta {
  margin-top: 50px;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-light-bg, #ffffff);
  color: var(--page-cockfighting-dark-text, #333333);
  text-align: center;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  color: var(--page-cockfighting-dark-text, #333333);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Image & Video Responsiveness (Desktop base for CLS, mobile via media query) */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-cockfighting__hero-section {
    min-height: 60vh;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(28px, 8vw, 42px) !important;
  }

  .page-cockfighting__description {
    font-size: clamp(16px, 4vw, 18px) !important;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    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__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting__type-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__strategy-list,
  .page-cockfighting__benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Force responsive for all images and containers */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

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

  .page-cockfighting__faq-question {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
  }

  .page-cockfighting__faq-answer {
    font-size: 14px;
  }
}