.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #000; /* Ensure consistency with body background */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting__section-title strong {
  color: #FFD700;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px; /* Adjusted padding-top for header offset */
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Blend brand colors */
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
}

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for H1 title */
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red text for contrast */
  border: 2px solid #FFD700;
  margin: 10px;
}

.page-cockfighting__btn-primary:hover {
  background-color: #ffe066;
  border-color: #ffe066;
  color: #6a0000;
  transform: translateY(-3px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin: 10px;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000; /* Dark Red text */
  transform: translateY(-3px);
}

.page-cockfighting__introduction-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for light text */
  color: #f0f0f0; /* Light text */
}

.page-cockfighting__features-section,
.page-cockfighting__cta-section,
.page-cockfighting__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly darker background */
  color: #ffffff; /* White text */
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-cockfighting__text-block a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__text-block a:hover {
  text-decoration: underline;
}

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-cockfighting__feature-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__strategy-list li {
  background-color: #0d0d0d;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-cockfighting__strategy-list li strong {
  color: #FFD700;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #2a2a2a;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-cockfighting__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

.page-cockfighting__responsible-gaming-section {
  background-color: #0d0d0d;
  color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__responsible-gaming-section .page-cockfighting__description {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
}

.page-cockfighting__responsible-gaming-section a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__responsible-gaming-section a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px 40px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    margin: 5px 0;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__responsible-gaming-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Mobile image responsive adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
}

/* Color Contrast Fixes (if needed, but already designed for dark bg) */
.page-cockfighting__dark-bg {
  color: #ffffff;
}

.page-cockfighting__light-bg {
  color: #f0f0f0;
}

.page-cockfighting__text-block p,
.page-cockfighting__strategy-list li,
.page-cockfighting__faq-answer p,
.page-cockfighting__responsible-gaming-section .page-cockfighting__description {
  color: #f0f0f0;
}