.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #000000; /* Adjusted for WCAG AA contrast with #C30808 */
  border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

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

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

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: inherit;
}

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

.page-cockfighting__feature-card, .page-cockfighting__game-type-card, .page-cockfighting__strategy-card {
  background: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for light background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfishing__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfishing__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__feature-image,
.page-cockfighting__game-type-image,
.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__feature-heading,
.page-cockfighting__game-type-heading,
.page-cockfighting__strategy-heading {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: inherit;
}

.page-cockfighting__feature-text,
.page-cockfighting__game-type-text,
.page-cockfighting__strategy-text {
  font-size: 1em;
  color: inherit;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-cockfighting__step-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__step-heading {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555555;
}

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

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

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

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

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1.1em;
}

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

.page-cockfighting__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: inherit;
}

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

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }

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

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__video-wrapper {
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }

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

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

  .page-cockfighting__content-area {
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__section-description {
    font-size: 0.95em;
  }

  .page-cockfighting__feature-grid, .page-cockfighting__game-types-grid, .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card, .page-cockfighting__game-type-card, .page-cockfighting__strategy-card {
    padding: 20px;
    text-align: center;
    align-items: center;
  }

  .page-cockfighting__feature-heading,
  .page-cockfighting__game-type-heading,
  .page-cockfighting__strategy-heading {
    font-size: 1.4em;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__game-type-image,
  .page-cockfighting__strategy-image {
    min-width: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__step-item {
    padding: 20px;
  }

  .page-cockfighting__step-heading {
    font-size: 1.5em;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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

  .page-cockfighting__cta-section {
    padding: 50px 15px;
  }

  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.6em;
  }
}