.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--bg-color);
  padding-bottom: 40px;
}

.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-section {
  background-color: var(--bg-color-dark);
  color: var(--text-main-color);
}

.page-cockfighting__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main-color);
  line-height: 1.2;
}

.page-cockfighting__description,
.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 10px 0 80px 0; /* body padding-top handles header offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--text-main-color);
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-main-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-content .page-cockfighting__description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  margin-bottom: 30px;
  color: var(--text-main-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--bg-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-large {
  padding: 16px 35px;
  font-size: 1.2em;
}

/* Card Styles */
.page-cockfighting__card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

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

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.page-cockfighting__features-grid,
.page-cockfighting__types-list,
.page-cockfighting__safety-grid,
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-cockfighting__guide-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-cockfighting__guide-step-description {
  font-size: 1em;
  color: var(--text-secondary-color);
}

.page-cockfighting__guide-item a {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__guide-item a:hover {
  text-decoration: underline;
}

/* Strategy List */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__strategy-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-cockfighting__strategy-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-cockfighting__strategy-description {
  font-size: 1em;
  color: var(--text-secondary-color);
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--primary-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary-color);
  text-align: left;
}

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

/* Hide default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Copyright */
.page-cockfighting__copyright-info {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: var(--text-secondary-color);
  background-color: var(--bg-color-dark);
  border-top: 1px solid var(--divider-color);
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    max-width: 95%;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-cockfighting__hero-content .page-cockfighting__description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

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

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__hero-section {
    padding: 10px 0 60px 0;
    min-height: 450px;
  }

  .page-cockfighting__hero-image {
    filter: brightness(0.5);
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-content .page-cockfighting__description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px; /* Constrain buttons in mobile */
    margin: 0 auto;
  }

  .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-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-cockfighting__description,
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-list,
  .page-cockfighting__safety-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

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

  .page-cockfighting__type-image {
    height: 250px;
  }

  .page-cockfighting__guide-item,
  .page-cockfighting__strategy-item {
    padding: 20px;
  }

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

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

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-section .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__hero-content {
    padding: 0;
  }

  /* Specific overrides for containers that shouldn't have padding-left/right if already handled by parent */
  .page-cockfighting__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Custom Color Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --bg-color-dark: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Ensure body background is set in shared.css and text color matches */
/* Assuming shared.css sets body background to var(--bg-color-dark) or similar dark tone */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__card-text,
.page-cockfighting__guide-step-description,
.page-cockfighting__strategy-description,
.page-cockfighting__faq-answer {
  color: var(--text-secondary-color);
}

.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6,
.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__card-title,
.page-cockfighting__guide-step-title,
.page-cockfighting__strategy-title,
.page-cockfighting__faq-qtext {
  color: var(--text-main-color);
}

/* Overrides for specific elements to use gold where appropriate */
.page-cockfighting__section-title,
.page-cockfighting__main-title {
    color: var(--gold-color);
}

.page-cockfighting__faq-question {
    color: var(--text-main-color);
}
.page-cockfighting__faq-question:hover .page-cockfighting__faq-qtext {
    color: var(--text-main-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: var(--deep-green-color);
}

.page-cockfighting__faq-question .page-cockfighting__faq-qtext {
  color: var(--text-main-color);
}