/* style/cockfighting.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212;
  --background-light: #f8f9fa;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08);
  --border-color-dark-mode: rgba(255, 255, 255, 0.15);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 10px; /* Default padding for desktop, adjusted in media queries */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Video Section Styles */
.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 */
  background-color: var(--background-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: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  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.4);
  border-radius: 10px;
  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: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: var(--primary-color);
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.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(--primary-color);
  color: var(--text-color-dark-bg);
  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.3);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-cockfighting__play-now-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

/* Hero Section Styles */
.page-cockfighting__hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  padding-top: 120px; /* Adjust for fixed header */
}

.page-cockfighting__hero-section.page-cockfighting__dark-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a3d62 100%);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-cockfighting__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.page-cockfighting__btn-primary:hover {
  background-color: #e0ac00;
  border-color: #e0ac00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--text-color-dark-bg);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Features Section Styles */
.page-cockfighting__features-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

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

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Guide Section Styles */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__step-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.page-cockfighting__step-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Strategy Section Styles */
.page-cockfighting__strategy-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-cockfighting__strategy-card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__strategy-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cockfighting__strategy-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section Styles */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

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

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

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

.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.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color-dark-mode);
  border-top: none;
}

/* Blog Section Styles */
.page-cockfighting__blog-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.page-cockfighting__blog-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__blog-item-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 20px 10px 20px;
  line-height: 1.3;
}

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

.page-cockfighting__blog-item-date {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 20px;
}

/* General card styling for consistency */
.page-cockfighting__card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 40px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__description {
    font-size: 17px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__strategy-title {
    font-size: 22px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 17px;
  }
  .page-cockfighting__blog-item-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed header height */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed header height */
    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: 6px;
    overflow: hidden !important;
  }
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    object-fit: contain;
  }
  .page-cockfighting__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }
  .page-cockfighting__video-cta {
    margin-top: 25px;
    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__hero-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__blog-section {
    padding: 60px 0;
  }
  .page-cockfighting__main-title {
    font-size: 32px;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-cockfighting__description {
    font-size: 16px;
  }
  .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 !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__feature-item, .page-cockfighting__step-item, .page-cockfighting__strategy-card {
    padding: 25px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__strategy-title {
    font-size: 20px;
  }
  .page-cockfighting__feature-text, .page-cockfighting__step-text, .page-cockfighting__strategy-text {
    font-size: 15px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting__blog-image {
    height: 180px;
  }
  .page-cockfighting__blog-item-title {
    font-size: 18px;
    margin: 0 15px 10px 15px;
  }
  .page-cockfighting__blog-item-excerpt {
    font-size: 14px;
    margin: 0 15px 15px 15px;
  }
  .page-cockfighting__blog-item-date {
    margin: 0 15px;
  }
  .page-cockfighting img, .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container,
  .page-cockfighting__features-grid, .page-cockfighting__guide-steps, .page-cockfighting__strategy-grid,
  .page-cockfighting__blog-list, .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__faq-item {
    border-radius: 6px;
  }
  .page-cockfighting__faq-question {
    border-radius: 6px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    border-radius: 0 0 6px 6px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
  }
  .page-cockfighting__description {
    font-size: 15px;
  }
  .page-cockfighting__play-now-button {
    font-size: 15px !important;
    padding: 10px 25px !important;
  }
  .page-cockfighting__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  .page-cockfighting__features-grid, .page-cockfighting__guide-steps, .page-cockfighting__strategy-grid, .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-item, .page-cockfighting__step-item, .page-cockfighting__strategy-card {
    padding: 20px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__strategy-title {
    font-size: 18px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
  .page-cockfighting__blog-item-title {
    font-size: 16px;
  }
  .page-cockfighting__blog-item-excerpt {
    font-size: 13px;
  }
}