/* Base styles for page-cockfighting */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body padding-top handles header offset */
}

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

.page-cockfighting__section-title {
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__text-secondary {
  color: var(--text-secondary);
}

.page-cockfighting__highlight {
  color: var(--gold);
  font-weight: 700;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(var(--border-rgb), 0.2);
  transform: translateY(-2px);
}

.page-cockfighting__btn-link {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1em;
  padding: 10px 0;
  text-align: left;
  justify-content: flex-start;
}

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

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

/* Section styles */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Aligns with common padding rules */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-cockfighting__hero-description {
  font-size: 1.25em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  background-color: var(--background);
  padding: 60px 0;
  color: var(--text-main);
}

.page-cockfighting__bet-types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__safety-section,
.page-cockfighting__conclusion-section {
  background-color: var(--card-bg);
  padding: 60px 0;
  color: var(--text-main);
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__main-title {
  color: var(--text-main);
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: var(--text-secondary);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-cockfighting__card-description {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* 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: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-cockfighting__step-icon img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--deep-green);
  padding: 10px;
  box-sizing: content-box;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: none;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-cockfighting__list-item:hover {
  transform: translateX(5px);
}

.page-cockfighting__list-title {
  font-size: 1.4em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__list-description {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  border: none;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

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

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--deep-green-rgb), 0.2);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--deep-green);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--deep-green-rgb), 0.1);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px 30px;
  }

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

  .page-cockfighting__main-title {
    font-size: 3em;
  }

  .page-cockfighting__hero-section {
    padding: 60px 0;
  }

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

  .page-cockfighting__grid-columns,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__features-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  /* Hero Section */
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px; /* Ensures small top padding */
  }
  .page-cockfighting__hero-image {
    object-fit: contain !important; /* For 849px contain */
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* CTA Buttons */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* Card Grids */
  .page-cockfighting__grid-columns,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-item {
    padding: 25px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promo-card .page-cockfighting__card-title,
  .page-cockfighting__feature-title {
    font-size: 1.3em;
  }

  .page-cockfighting__card-description,
  .page-cockfighting__step-description,
  .page-cockfighting__promo-card .page-cockfighting__card-description,
  .page-cockfighting__feature-description {
    font-size: 0.95em;
  }

  .page-cockfighting__promo-card img {
    
  }

  /* Tips List */
  .page-cockfighting__list-item {
    padding: 20px;
  }

  .page-cockfighting__list-title {
    font-size: 1.2em;
  }

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

  /* FAQ Section */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.8em;
    width: 25px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }

  /* General Images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !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 category-lobby or blog-slider on this page. */
  /* The following are general responsive rules based on the prompt's universal requirements. */
  /* Placeholder for category-lobby if it were present */
  .page-cockfighting__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .page-cockfighting__category-card-link img {
    aspect-ratio: 1/1 !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Placeholder for blog-slider if it were present */
  .page-cockfighting__blog-slider-track {
    display: flex !important;
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 10px !important;
  }
  .page-cockfighting__blog-slider-track > * {
    flex: 0 0 auto !important;
    width: 80% !important; /* Single card visible */
    margin-right: 16px !important;
    scroll-snap-align: start !important;
  }
  .page-cockfighting__blog-slider-controls {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
  }
  .page-cockfighting__blog-slider-prev,
  .page-cockfighting__blog-slider-next {
    background: var(--deep-green) !important;
    color: var(--text-main) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.5em !important;
    margin: 0 10px !important;
  }
}

/* Custom colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
  --deep-green-rgb: 10, 75, 44;
}

/* Ensure images don't have filters */
.page-cockfighting img {
  filter: none; /* Explicitly remove any potential filters */
}

/* Fixed body padding for header offset, if shared.css doesn't provide it */
/* If shared.css already has body { padding-top: var(--header-offset); }, then this should be commented out or removed */
/* body {
  padding-top: var(--header-offset, 120px);
} */