.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

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

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

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

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

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

.page-cockfighting__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for main title */
}

.page-cockfighting__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

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

.page-cockfighting__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  cursor: pointer;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-cockfighting__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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
  border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
  background-color: #C30808; /* Custom color for Login */
  color: #FFFF00; /* Custom font color for Login */
  border: 2px solid #C30808;
}

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

/* Content Grid */
.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-cockfighting__image-block--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

/* Types Section */
.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-cockfighting__type-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__type-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__type-card p {
  font-size: 1em;
  color: #555555;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  text-align: left;
  padding: 0;
  margin-bottom: 40px;
}

.page-cockfighting__guide-list .page-cockfighting__list-item {
  counter-increment: guide-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 1.1em;
  color: #333333;
}

.page-cockfighting__guide-list .page-cockfighting__list-item strong {
  font-size: 1.2em;
  color: #017439;
  display: block;
  margin-bottom: 5px;
}

.page-cockfighting__guide-list .page-cockfighting__list-item::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting__guide-list .page-cockfighting__list-item a {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__guide-list .page-cockfighting__list-item p {
  color: #555555;
}

/* Advantages Section */
.page-cockfighting__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 40px;
}

.page-cockfighting__advantage-card {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
  color: #017439;
}

.page-cockfighting__advantage-card p {
  color: #555555;
}

/* Promotions List & Responsible List */
.page-cockfighting__promotion-list,
.page-cockfighting__responsible-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 40px;
}

.page-cockfighting__promotion-list .page-cockfighting__list-item,
.page-cockfighting__responsible-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #ffffff;
}

.page-cockfighting__promotion-list .page-cockfighting__list-item strong,
.page-cockfighting__responsible-list .page-cockfighting__list-item strong {
  color: #FFFF00; /* Highlight for list item titles */
  display: block;
  margin-bottom: 5px;
}

.page-cockfighting__promotions-section .page-cockfighting__list-item {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__promotions-section .page-cockfighting__list-item strong {
  color: #017439;
}

.page-cockfighting__responsible-gambling-section .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-cockfighting__responsible-gambling-section .page-cockfighting__list-item strong {
  color: #FFFF00;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
  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 accommodate content */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #FFFF00;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__intro-text {
    font-size: 1.1em;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid:nth-child(even) {
    flex-direction: column;
  }
  .page-cockfighting__image-block--full-width {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    height: 80vh;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting__intro-text {
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__types-grid,
  .page-cockfighting__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__guide-list .page-cockfighting__list-item {
    padding-left: 45px;
  }
  .page-cockfighting__guide-list .page-cockfighting__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
  .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;
  }
  
  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__hero-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__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure hero section starts below header */
  }
  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}