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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-cockfighting-text-secondary); /* Default text color for light backgrounds, overridden by specific sections */
    background-color: var(--page-cockfighting-background); /* Body background is handled by shared.css */
}

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

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-main);
    text-align: center;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: -80px; /* Adjust to slightly overlap the image, but text is below */
    padding: 20px;
    background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

/* --- General Section Styles --- */
.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-cockfighting-primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-cockfighting__subsection-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--page-cockfighting-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
}

/* --- Background Colors for Sections --- */
.page-cockfighting__dark-bg {
    background-color: var(--page-cockfighting-background);
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-cockfighting__card-bg {
    background-color: var(--page-cockfighting-card-bg);
    color: var(--page-cockfighting-text-secondary);
}

/* --- Text Colors --- */
.page-cockfighting__text-main {
    color: var(--page-cockfighting-text-main);
}

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

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff; /* Always white text on green gradient */
    border: 2px solid var(--page-cockfighting-glow-color);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--page-cockfighting-glow-color);
    color: var(--page-cockfighting-background);
    transform: translateY(-3px);
}

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

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

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

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__card-description {
    font-size: 1em;
    margin: 0 20px 20px;
    line-height: 1.6;
}

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

.page-cockfighting__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    background: var(--page-cockfighting-button-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-cockfighting__step-number {
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.page-cockfighting__advantage-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__advantage-card .page-cockfighting__card-image {
    width: 100%;
    max-width: 250px; /* Constrain image size within card */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-background);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
    font-weight: 600;
    font-size: 1.15em;
    border-bottom: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__faq-question:hover {
    background-color: #0A5B3C;
}

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

.page-cockfighting__faq-item summary {
    list-style: none;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--page-cockfighting-text-secondary);
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__types-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
}

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

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

    /* Buttons */
    .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;
        padding-right: 15px;
    }
    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__center-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* General text and sections */
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__types-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__advantages-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__step-item,
    .page-cockfighting__type-card,
    .page-cockfighting__advantage-card {
        padding: 20px;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}