/* style/cockfighting.css */

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

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--okchoi-text-main); /* Default text color for dark background */
  background-color: var(--okchoi-background);
}

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

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Ensure content padding */
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for titles */
  margin-bottom: 20px;
  color: var(--okchoi-text-main);
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--okchoi-text-secondary);
}

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

.page-cockfighting__text-content,
.page-cockfighting__card-text,
.page-cockfighting p,
.page-cockfighting li {
  color: var(--okchoi-text-secondary);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
}

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

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

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

.page-cockfighting__light-bg {
  background-color: #f8f8f8; /* A very light background for contrast */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  min-height: 500px;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Max size for H1, responsive */
  font-weight: 700;
  color: var(--okchoi-gold);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
  font-size: 1.2em;
  color: var(--okchoi-text-main);
  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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--okchoi-button-gradient);
  color: #ffffff; /* White text for contrast */
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--okchoi-primary);
  border: 2px solid var(--okchoi-primary);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: var(--okchoi-primary);
  color: #ffffff;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__why-choose-us .page-cockfighting__section-title {
  color: #333333;
}

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

.page-cockfighting__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #555555;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  background-color: var(--okchoi-background);
}

.page-cockfighting__content-block {
  margin-bottom: 50px;
  text-align: left;
}

.page-cockfighting__content-block .page-cockfighting__sub-title {
  color: var(--okchoi-text-main);
  border-bottom: 2px solid var(--okchoi-divider);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.page-cockfighting__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--okchoi-text-secondary);
}

.page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--okchoi-secondary);
  font-weight: bold;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto 20px;
  display: block;
  border-radius: 8px;
}

/* Betting Guide Section */
.page-cockfighting__betting-guide-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__betting-guide-section .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__betting-guide-section .page-cockfighting__section-intro {
  color: #555555;
}

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

.page-cockfighting__guide-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__guide-card .page-cockfighting__card-title {
  color: var(--okchoi-primary);
}

.page-cockfighting__guide-card .page-cockfighting__card-text {
  color: #555555;
  flex-grow: 1;
}

.page-cockfighting__guide-card .page-cockfighting__btn-primary {
  margin-top: 20px;
  align-self: center;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--okchoi-background);
}

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

.page-cockfighting__promo-card {
  background-color: var(--okchoi-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--okchoi-border);
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  color: var(--okchoi-text-main);
  font-size: 1.3em;
}

.page-cockfighting__promo-card .page-cockfighting__card-text {
  color: var(--okchoi-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  align-self: center;
  width: fit-content;
}

/* Tips & Strategy Section */
.page-cockfighting__tips-strategy-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__tips-strategy-section .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__tips-strategy-section .page-cockfighting__section-intro {
  color: #555555;
}

.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: left;
}

.page-cockfighting__tip-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-item .page-cockfighting__sub-title {
  color: var(--okchoi-primary);
  margin-top: 0;
}

.page-cockfighting__tip-item .page-cockfighting__text-content {
  color: #555555;
}

.page-cockfighting__tip-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-top: 20px;
  border-radius: 8px;
  display: block;
}

/* Security & Fairness Section */
.page-cockfighting__security-fairness-section {
  background-color: var(--okchoi-deep-green);
}

.page-cockfighting__security-fairness-section .page-cockfighting__section-title,
.page-cockfighting__security-fairness-section .page-cockfighting__section-intro {
  color: var(--okchoi-text-main);
}

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

.page-cockfighting__security-item {
  text-align: left;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent background */
  border-radius: 10px;
  border: 1px solid var(--okchoi-border);
}

.page-cockfighting__security-item .page-cockfighting__sub-title {
  color: var(--okchoi-text-main);
  font-size: 1.3em;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-intro {
  color: #555555;
}

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: var(--okchoi-primary);
  list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--okchoi-secondary);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change to X or minus sign */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: #555555;
  font-size: 0.95em;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  background-color: var(--okchoi-background);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--okchoi-text-main);
}

.page-cockfighting__conclusion-section .page-cockfighting__description {
  color: var(--okchoi-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
  width: fit-content;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

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

  .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: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid,
  .page-cockfighting__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.2em;
  }

  .page-cockfighting__list li {
    font-size: 0.95em;
  }

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

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

  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  /* Ensure flex items wrap */
  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Desktop specific for video container (if present) */
.page-cockfighting__video-container {
  width: 100%; /* Ensure desktop width is 100% within its max-width */
}