:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-cockfighting {
    color: var(--text-main-color); /* Assuming shared.css sets a dark body background */
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 10px;
}

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

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

.page-cockfighting__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #000000; /* Contrast with gradient */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color);
    color: #000000; /* Contrast with secondary-color background */
    transform: translateY(-2px);
}

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

.page-cockfighting__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main-color);
}

.page-cockfighting__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-cockfighting__image-section {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__step-by-step {
    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: 30px;
    text-align: center;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: #000000;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__step-item .page-cockfighting__btn-primary {
    margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
}
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(255, 255, 255, 0.05);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.5em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
        width: 100% !important; /* Mobile button full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__step-by-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card,
    .page-cockfighting__step-item {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    /* Mobile image adaptation */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-section,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__grid-container,
    .page-cockfighting__step-by-step {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-list {
        padding: 0 15px;
    }
}