/* style/cockfighting.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E34234;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0f0f0f;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --border-color-light: rgba(255, 255, 255, 0.15);
  --button-hover-dark: #071a47;
  --button-hover-light: #c2372d;
}

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

/* --- 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 fixed header height */
}

.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: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.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.4);
  border-radius: 8px;
  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: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(0, 123, 255, 0.8); /* Use a vibrant blue for visibility */
  border-radius: 5px;
  white-space: nowrap;
}

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

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Bright red for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-cockfighting__play-now-button:hover {
  background: var(--button-hover-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- General Section & Container Styles --- */
.page-cockfighting__title-section,
.page-cockfighting__about-cockfighting-section,
.page-cockfighting__features-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section,
.page-cockfighting__brand-section,
.page-cockfighting__blog-section {
  padding: 60px 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__title-container,
.page-cockfighting__about-cockfighting-container,
.page-cockfighting__features-container,
.page-cockfighting__guide-container,
.page-cockfighting__faq-container,
.page-cockfighting__brand-container,
.page-cockfighting__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* --- H1 Title Section --- */
.page-cockfighting__title-section {
  text-align: center;
  padding-top: 40px; /* Additional spacing after video */
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__title-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.85);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 14px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-cockfighting__cta-button--large:hover {
  background: var(--button-hover-light);
  border-color: var(--button-hover-light);
}

/* --- About Cockfighting Section --- */
.page-cockfighting__about-cockfighting-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
}

.page-cockfighting__about-cockfighting-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-cockfighting__about-cockfighting-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__about-cockfighting-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting__about-cockfighting-text {
  flex: 1;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

.page-cockfighting__about-cockfighting-text p {
  margin-bottom: 15px;
}

/* --- Features Section --- */
.page-cockfighting__features-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__features-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

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

.page-cockfighting__feature-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-light);
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__feature-item-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
}

/* --- Guide Section --- */
.page-cockfighting__guide-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
}

.page-cockfighting__guide-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

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

.page-cockfighting__guide-step-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  border: 1px solid var(--border-color-light);
}

.page-cockfighting__guide-step-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  font-size: 1.8em;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--text-light);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 60px; /* Make space for the step number */
}

.page-cockfighting__guide-step-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
}

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

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__faq-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color-light);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-radius: 8px;
}

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.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: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid var(--border-color-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* --- Brand Section --- */
.page-cockfighting__brand-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
}

.page-cockfighting__brand-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
}

.page-cockfighting__brand-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__brand-image {
  flex: 1;
  max-width: 400px; /* Smaller image for brand logo/icon */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.page-cockfighting__brand-text {
  flex: 2;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

.page-cockfighting__brand-text p {
  margin-bottom: 15px;
}

/* --- Blog Section --- */
.page-cockfighting__blog-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__blog-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-cockfighting__blog-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.85);
}

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

.page-cockfighting__blog-item {
  background: var(--card-background-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-light);
}

.page-cockfighting__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-cockfighting__blog-item-image {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
  display: block;
}

.page-cockfighting__blog-item-content {
  padding: 20px;
}

.page-cockfighting__blog-item-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-cockfighting__blog-item-excerpt {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.page-cockfighting__blog-item-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  text-align: right;
}

.page-cockfighting__blog-all-posts-cta {
  text-align: center;
  margin-top: 50px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__about-cockfighting-title,
  .page-cockfighting__features-title,
  .page-cockfighting__guide-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__brand-title,
  .page-cockfighting__blog-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed 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: 4px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-cockfighting__video-cta {
    margin-top: 20px;
    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: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-cockfighting__title-description {
    font-size: 1em;
  }

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

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

  .page-cockfighting__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-cockfighting__about-cockfighting-content,
  .page-cockfighting__brand-content {
    flex-direction: column;
  }

  .page-cockfighting__about-cockfighting-image,
  .page-cockfighting__brand-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__about-cockfighting-title,
  .page-cockfighting__features-title,
  .page-cockfighting__guide-title,
  .page-cockfighting__faq-title,
  .page-cockfighting__brand-title,
  .page-cockfighting__blog-title {
    font-size: 1.8em;
  }

  .page-cockfighting__about-cockfighting-text,
  .page-cockfighting__brand-text,
  .page-cockfighting__feature-item p,
  .page-cockfighting__guide-step-item p,
  .page-cockfighting__blog-item-excerpt {
    font-size: 0.95em;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
  }

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

  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-cockfighting__blog-item-image {
    height: 180px;
  }

  /* General mobile padding for sections */
  .page-cockfighting__title-section,
  .page-cockfighting__about-cockfighting-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__brand-section,
  .page-cockfighting__blog-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__title-container,
  .page-cockfighting__about-cockfighting-container,
  .page-cockfighting__features-container,
  .page-cockfighting__guide-container,
  .page-cockfighting__faq-container,
  .page-cockfighting__brand-container,
  .page-cockfighting__blog-container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__feature-item-title,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__blog-item-title {
    font-size: 1.2em;
  }
}