.page-cockfighting {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
  line-height: 1.6;
  direction: ltr;
}

/* Base styles for all links to ensure contrast */
.page-cockfighting a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #F2C14E; /* Gold color on hover */
}

/* Headings */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6 {
  color: #F2FFF6; /* Main text color for headings */
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: bold;
}

.page-cockfighting__main-title {
  /* H1 font size is not hardcoded, relying on font-weight and line-height */
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #F2FFF6;
  font-weight: 700;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #F2FFF6;
  font-weight: 600;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #A7D9B8; /* Secondary text color */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__highlight-text {
  color: #F2C14E; /* Gold for highlights */
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  margin: 0 10px;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow color */
  border: 2px solid #57E38D; /* Glow color */
  margin: 0 10px;
}

.page-cockfighting__btn-secondary:hover {
  background: #57E38D; /* Glow color */
  color: #08160F; /* Background color */
  transform: translateY(-2px);
}

.page-cockfighting__btn-link {
  background: none;
  border: none;
  color: #F2C14E; /* Gold for link buttons */
  padding: 5px 0;
  margin-top: 10px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-link:hover {
  text-decoration: underline;
}

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

/* Sections */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-video-wrapper {
  width: 100%;
  max-height: 80vh; /* Limit video height for responsiveness */
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Space between video and content */
}

.page-cockfighting__hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

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

.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__dark-bg {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

/* Image Text Block */
.page-cockfighting__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__image-text-block img {
  width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-cockfighting__image-text-block .page-cockfighting__text-content {
  width: 50%;
}

.page-cockfighting__image-text-block .page-cockfighting__text-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-cockfighting__image-text-block .page-cockfighting__text-content ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #A7D9B8; /* Secondary Text Color */
}

.page-cockfighting__image-text-block .page-cockfighting__text-content ul li::before {
  content: '✔';
  color: #2AD16F; /* Button top color */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Grid Cards */
.page-cockfighting__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main Text Color */
  margin-bottom: 15px;
  flex-grow: 0; /* Prevent title from growing */
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary Text Color */
  flex-grow: 1; /* Allow text to grow */
}

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

.page-cockfighting__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  color: #A7D9B8;
  margin-bottom: 15px;
}

.page-cockfighting__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

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

.page-cockfighting__strategy-card {
  background-color: #08160F; /* Background color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__strategy-card .page-cockfighting__card-title {
  color: #F2C14E; /* Gold for strategy titles */
}

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

.page-cockfighting__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__promo-title {
  font-size: 1.6rem;
  color: #57E38D; /* Glow color for promo titles */
  margin-bottom: 15px;
}

.page-cockfighting__promo-text {
  color: #A7D9B8; /* Secondary Text Color */
}

.page-cockfighting__image-full {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-cockfighting__image-bottom-margin {
  margin-bottom: 40px;
}

.page-cockfighting__image-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-cockfighting__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-direction: row;
}

.page-cockfighting__security-text {
  flex: 1;
}

.page-cockfighting__security-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-cockfighting__security-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #A7D9B8;
}

.page-cockfighting__security-text ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #2AD16F;
}

.page-cockfighting__security-image {
  width: 40%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid #2E7A4E; /* Divider */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: #08160F; /* Background color */
  color: #A7D9B8; /* Secondary Text Color */
  font-size: 1rem;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 15px;
}

.page-cockfighting__faq-answer .page-cockfighting__btn-link {
  margin-left: 0;
  text-align: left;
}

/* Utility classes */
.page-cockfighting__text-center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  .page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
  }
  .page-cockfighting__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__image-text-block img,
  .page-cockfighting__image-text-block .page-cockfighting__text-content {
    width: 100%;
  }
  .page-cockfighting__image-text-block .page-cockfighting__text-content ul {
    text-align: left;
  }
  .page-cockfighting__security-content {
    flex-direction: column-reverse; /* Image below text on smaller screens */
    text-align: center;
  }
  .page-cockfighting__security-image {
    width: 80%;
  }
  .page-cockfighting__security-text ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .page-cockfighting__section-description {
    font-size: 1rem;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles header offset, small decorative padding here */
  }

  /* Images responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers responsive */
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__image-text-block,
  .page-cockfighting__grid-cards,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__security-content,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important; /* Remove horizontal margin */
    padding: 15px 10px !important;
  }
  .page-cockfighting__btn-link {
    text-align: center !important;
  }

  /* Ensure card images are not too small */
  .page-cockfighting__card-image {
    height: 200px; /* Minimum height for cards */
  }

  .page-cockfighting__security-text ul li::before {
    top: 3px; /* Adjust checkmark position for smaller text */
  }
}

/* Ensure no filter on images */
.page-cockfighting img,
.page-cockfighting video {
  filter: none !important;
}

/* Desktop video container width */
.page-cockfighting__hero-video-wrapper {
  width: 100%; /* Ensure desktop width is also 100% */
}