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

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

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

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

.page-cockfighting__cta-buttons--centered {
    margin-top: 40px;
}

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

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-cockfighting__advantages-section,
.page-cockfighting__leagues-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-cockfighting__advantage-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__advantage-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 8px;
    min-height: 200px;
}

.page-cockfighting__advantage-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__advantage-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.page-cockfighting__league-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__league-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

.page-cockfighting__league-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-cockfighting__league-text {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0 20px 20px 20px;
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px;
    color: var(--text-main);
}

.page-cockfighting__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.7);
}

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

.page-cockfighting__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-cockfighting__strategy-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.page-cockfighting__strategy-image {
    flex: 1 1 400px;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    min-height: 200px;
}

.page-cockfighting__strategy-text-block {
    flex: 1 1 450px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__strategy-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__strategy-text-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-cockfighting__strategy-text-block .page-cockfighting__btn-secondary {
    margin-top: 20px;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

.page-cockfighting__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
    background-color: var(--deep-green);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 4rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    }
    .page-cockfighting__strategy-content {
        flex-direction: column;
        align-items: center;
    }
    .page-cockfighting__strategy-image,
    .page-cockfighting__strategy-text-block {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__leagues-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    
    .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
    .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__advantage-card,
    .page-cockfighting__league-card,
    .page-cockfighting__step-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .page-cockfighting__advantage-title,
    .page-cockfighting__league-title,
    .page-cockfighting__step-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__advantage-text,
    .page-cockfighting__league-text,
    .page-cockfighting__step-text,
    .page-cockfighting__strategy-text-block p,
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }

    .page-cockfighting__strategy-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important;
    }
    
    .page-cockfighting__strategy-text-block {
        padding: 25px;
    }

    .page-cockfighting__strategy-subtitle {
        font-size: 1.2rem;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-cockfighting__faq-toggle {
        font-size: 1.5rem;
    }

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

    /* Video containers mobile adaptation */
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video section top padding for mobile */
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    
    /* Content area image size minimum */
    .page-cockfighting__advantage-icon,
    .page-cockfighting__league-image,
    .page-cockfighting__strategy-image {
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust proportionally */
    }
    
    /* All containers that might hold images/buttons */
    .page-cockfighting__hero-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__leagues-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__league-cards,
    .page-cockfighting__guide-steps,
    .page-cockfighting__strategy-content,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}