:root {
  --main-color: #FF8C1A;
  --accent-color: #FFA53A;
  --card-bg: #17191F;
  --bg-color: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
  padding-bottom: 60px;
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-cockfighting__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 0 15px;
}

.page-cockfighting__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-cockfighting__hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.page-cockfighting__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, var(--deep-orange) 0%, var(--accent-color) 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--main-color);
  color: #ffffff;
}

/* General Section Styling */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 15px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--text-main);
}

/* About Section */
.page-cockfighting__about-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-cockfighting__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-cockfighting__image-block {
  flex: 1 1 35%;
  min-width: 250px;
  text-align: center;
}

.page-cockfighting__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: var(--card-bg); /* Card BG for this section */
  color: var(--text-main);
}

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

.page-cockfighting__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--main-color);
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main);
}

/* Guide Section */
.page-cockfighting__guide-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--main-color);
}

.page-cockfighting__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main);
}

.page-cockfighting__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__promo-card .page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  padding: 15px 20px 10px;
  font-size: 1.6em;
  color: var(--main-color);
  text-align: left;
}

.page-cockfighting__promo-card .page-cockfighting__card-text {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
  color: var(--text-main);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--main-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--accent-color);
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

/* Call to Action Bottom Section */
.page-cockfighting__cta-bottom-section {
  background-color: var(--bg-color);
  padding-bottom: 80px;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__container {
  background-color: var(--main-color);
  border-radius: 15px;
  text-align: center;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title,
.page-cockfighting__cta-bottom-section .page-cockfighting__section-description {
  color: #ffffff; /* White text on orange background */
}

/* General image responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* HERO Section (1) */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__hero-content {
    order: 2; /* Content below image */
  }

  .page-cockfighting__hero-image {
    order: 1; /* Image above content */
  }

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

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

  /* Buttons mobile adaptation (6) */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important; /* Ensure container is full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* General content sections (4) */
  .page-cockfighting__section-title {
    font-size: 2em;
  }

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

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__image-block {
    min-width: unset;
    flex: 1 1 100%;
  }

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

  /* Features Grid (3) */
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr; /* Single column for grids */
  }

  /* Guide Steps (3) */
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr; /* Single column for grids */
  }

  /* Promotions Grid (3) */
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr; /* Single column for grids */
  }

  .page-cockfighting__promo-card .page-cockfighting__card-image {
    height: 180px; /* Adjust promo image height for mobile */
  }

  /* FAQ Section (4) */
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-cockfighting__cta-bottom-section .page-cockfighting__container {
    padding: 40px 20px;
  }

  /* Universal image responsiveness for content area (5) */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* No __icon-box-media for this non-homepage */
}

/* Color contrast fixes for specific elements */
.page-cockfighting__dark-section {
  background: var(--main-color);
  color: #ffffff; /* Forced white text */
}
.page-cockfighting__text-contrast-fix {
  color: #ffffff; /* Forced white text on dark background */
}