/* style/cockfighting.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Ensure main content area respects body background */
  line-height: 1.6;
  padding-top: 120px; /* Space for fixed header */
}

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

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

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

.page-cockfighting__section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-description {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust based on actual header height */
  background-color: var(--bg-dark);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent link */
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 1;
}

.page-cockfighting__video-click-hint {
  color: var(--text-light);
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 10px;
  white-space: nowrap;
  pointer-events: none;
}

.page-cockfighting__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-cockfighting__play-now-button:hover {
  background: #e0c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-cockfighting__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary-color) 100%);
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: 3.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary {
  background: var(--primary-color);
  color: var(--bg-dark);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background: #e0c200;
  border-color: #e0c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background: #e0c200;
  transform: translateY(-2px);
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting__features-section .page-cockfighting__section-title, 
.page-cockfighting__features-section .page-cockfighting__section-description {
  color: var(--text-dark);
}

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

.page-cockfighting__feature-card {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__feature-card .page-cockfighting__card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-card p {
  font-size: 1.1em;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Game Types Section */
.page-cockfighting__game-types-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__game-types-section .page-cockfighting__section-description {
  color: var(--text-light);
}

.page-cockfighting__game-card {
  background: var(--card-bg-dark);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-cockfighting__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__game-card .page-cockfighting__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__game-card p {
  font-size: 1.1em;
  color: var(--text-light);
  line-height: 1.6;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-title, 
.page-cockfighting__how-to-play-section .page-cockfighting__section-description {
  color: var(--text-dark);
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.page-cockfighting__step-icon {
  background: var(--primary-color);
  color: var(--bg-dark);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-right: 25px;
  flex-shrink: 0;
}

.page-cockfighting__step-content h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-content p {
  font-size: 1.1em;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Strategies Section */
.page-cockfighting__strategies-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

.page-cockfighting__strategies-section .page-cockfighting__section-description {
  color: var(--text-light);
}

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

.page-cockfighting__strategy-item {
  background: var(--card-bg-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-cockfighting__strategy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__strategy-item h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__strategy-item p {
  font-size: 1.1em;
  color: var(--text-light);
  line-height: 1.6;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-cockfighting__benefits-section .page-cockfighting__section-title, 
.page-cockfighting__benefits-section .page-cockfighting__section-description {
  color: var(--text-dark);
}

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

.page-cockfighting__benefit-item {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__benefit-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__benefit-item p {
  font-size: 1.1em;
  color: var(--text-dark);
  line-height: 1.6;
}

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: var(--primary-color);
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, #a01010 100%);
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: linear-gradient(90deg, #a01010 0%, var(--secondary-color) 100%);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: var(--card-bg-dark);
  color: var(--text-light);
  border-radius: 0 0 10px 10px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
  padding: 80px 0;
}

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

.page-cockfighting__cta-final-section .page-cockfighting__section-description {
  color: var(--text-light);
  margin-bottom: 50px;
}

.page-cockfighting__cta-button.large {
  padding: 22px 60px;
  font-size: 1.4em;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__cta-button.large:hover {
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  transform: translateY(-4px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description,
  .page-cockfighting__section-description,
  .page-cockfighting__feature-card p,
  .page-cockfighting__game-card p,
  .page-cockfighting__step-content p,
  .page-cockfighting__strategy-item p,
  .page-cockfighting__benefit-item p,
  .page-cockfighting__faq-answer p {
    font-size: 1em;
  }
  .page-cockfighting__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-cockfighting__play-now-button {
    padding: 15px 40px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px; /* Mobile: Space for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on mobile header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px;
    overflow: hidden !important;
  }

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }

  .page-cockfighting__video-cta {
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 30px !important;
    font-size: 1.1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

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

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

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__game-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__benefit-item {
    padding: 25px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
    width: calc(100% - 30px);
    box-sizing: border-box;
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    padding: 25px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
    width: calc(100% - 30px);
    box-sizing: border-box;
  }

  .page-cockfighting__step-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .page-cockfighting__step-content {
    text-align: center;
  }
  
  .page-cockfighting__step-content h3 {
    font-size: 1.5em;
  }

  .page-cockfighting__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    font-size: 0.9em !important;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 1.1em;
    width: calc(100% - 40px);
  }

  .page-cockfighting__faq-toggle {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.8em;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

  .page-cockfighting__cta-final-section .page-cockfighting__cta-button.large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 25px !important;
    font-size: 1.2em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__hero-section,
  .page-cockfighting__features-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 2em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__play-now-button {
    font-size: 1em !important;
    padding: 12px 25px !important;
  }
  .page-cockfighting__hero-section {
    padding: 50px 0;
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
  .page-cockfighting__feature-card .page-cockfighting__card-title,
  .page-cockfighting__game-card .page-cockfighting__card-title,
  .page-cockfighting__strategy-item h3,
  .page-cockfighting__benefit-item h3,
  .page-cockfighting__step-content h3 {
    font-size: 1.3em;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.5em;
    width: 25px;
    height: 25px;
  }
}