.page-cockfighting {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
  flex-direction: column;
}

.page-cockfighting__hero-content {
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  line-height: 1.6;
}

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

.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;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

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

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__benefits-section .page-cockfighting__section-title {
  color: #017439;
}

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

.page-cockfighting__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-cockfighting__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  text-align: center;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__how-to-play-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-title {
  color: #017439;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 30px;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00;
  padding: 25px;
  border-radius: 8px;
  color: #ffffff;
}

.page-cockfighting__list-item-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-cockfighting__list-item-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-cockfighting__step-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__btn-small {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-cockfighting__strategies-section .page-cockfighting__section-title {
  color: #ffffff;
}

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

.page-cockfighting__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 5px solid #FFFF00;
  color: #ffffff;
}

.page-cockfighting__strategy-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-cockfighting__strategy-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #017439;
}

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

.page-cockfighting__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-cockfighting__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__support-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #017439;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
}

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

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

.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;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  line-height: 1.7;
}

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

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

  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-cockfighting__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 500px;
  }

  .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__text-block {
    font-size: 0.95em;
  }

  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__step-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-buttons,
  .page-cockfighting__contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__container,
  .page-cockfighting__dark-bg,
  .page-cockfighting__light-bg {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

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