.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000 (dark), so text must be light */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  background-color: #26A9E0; /* Brand color as background for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay to ensure text readability */
}

.page-cockfighting__hero-section .page-cockfighting__container {
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-cockfighting__hero-cta-buttons,
.page-cockfighting__cta-buttons-bottom,
.page-cockfighting__download-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 30px;
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-cockfighting__btn-play {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-play:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark background */
}

.page-cockfighting__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #ffffff; /* Default for dark background */
}

/* Light background sections */
.page-cockfighting__light-bg {
  background-color: #ffffff; /* Auxiliary color */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-text,
.page-cockfighting__light-bg .page-cockfighting__list-item,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__feature-description,
.page-cockfighting__light-bg .page-cockfighting__promo-title,
.page-cockfighting__light-bg .page-cockfighting__promo-description,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-description,
.page-cockfighting__light-bg .page-cockfighting__download-note {
  color: #333333; /* Ensure dark text on light background */
}

/* Dark background sections */
.page-cockfighting__dark-bg {
  background-color: #000000; /* Body background color */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__section-text,
.page-cockfighting__dark-bg .page-cockfighting__list-item,
.page-cockfighting__dark-bg .page-cockfighting__card-title,
.page-cockfighting__dark-bg .page-cockfighting__card-text,
.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-description,
.page-cockfighting__dark-bg .page-cockfighting__promo-title,
.page-cockfighting__dark-bg .page-cockfighting__promo-description,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__step-description,
.page-cockfighting__dark-bg .page-cockfighting__download-note {
  color: #ffffff; /* Ensure light text on dark background */
}

/* Card Grid Layouts */
.page-cockfighting__card-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__security-features,
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__security-item,
.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for these cards */
}

.page-cockfighting__light-bg .page-cockfighting__card,
.page-cockfighting__light-bg .page-cockfighting__promo-card,
.page-cockfighting__light-bg .page-cockfighting__security-item,
.page-cockfighting__light-bg .page-cockfighting__step-card {
  background-color: #f8f8f8; /* Light background for cards in light sections */
  color: #333333; /* Dark text for these cards */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__security-item:hover,
.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image,
.page-cockfighting__feature-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-cockfighting__card-title,
.page-cockfighting__promo-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-cockfighting__card-text,
.page-cockfighting__promo-description,
.page-cockfighting__feature-description,
.page-cockfighting__step-description {
  font-size: 1em;
  color: inherit; /* Inherit text color from parent card */
}

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

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 4px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__list-item {
  background-color: #f0f0f0;
  color: #333333;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer; /* Indicates clickability */
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.page-cockfighting__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__light-bg .page-cockfighting__step-card .page-cockfighting__step-number {
  background-color: #e0e0e0;
}

.page-cockfighting__download-note {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__download-note {
  color: #333333;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 15px 20px;
  font-size: 1em;
  color: #e0e0e0; /* Slightly dimmer text for answers */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: inherit;
}

.page-cockfighting__copyright-note {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9em;
  color: #999999;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-text {
    font-size: 0.95em;
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons-bottom,
  .page-cockfighting__download-cta {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}