.page-cockfighting {
    background-color: var(--background-color); /* Lighter background for overall page */
    color: var(--text-main-color);
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-cockfighting__hero-section {
    background-color: var(--dark-bg-color); /* Deep red/wine background for hero */
    color: var(--card-bg-color); /* White text for contrast */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--accent-color); /* Yellow-green accent for H1 */
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--card-bg-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--glow-color);
}

.page-cockfighting__cta-button--secondary {
    background: var(--primary-color);
}

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

.page-cockfighting__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__how-to-join-section,
.page-cockfighting__tips-section,
.page-cockfighting__final-cta-section {
    padding: 40px 0;
    background-color: var(--card-bg-color);
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__features-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.page-cockfighting__feature-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--glow-color);
}

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

.page-cockfighting__card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 15px 10px;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    padding: 0 15px 25px;
}

.page-cockfighting__bet-list,
.page-cockfighting__steps-list,
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__bet-item,
.page-cockfighting__step-item,
.page-cockfighting__tip-item {
    background-color: var(--background-color);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.6;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-cockfighting__bet-item strong,
.page-cockfighting__step-item strong,
.page-cockfighting__tip-item strong {
    color: var(--primary-color);
}

.page-cockfighting__image-inset {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
    margin-top: 20px;
}

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

.page-cockfighting__final-cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--card-bg-color);
    border-radius: 0 0 12px 12px; /* Adjust border-radius for the last section */
    margin-bottom: 0; /* Remove bottom margin for the last section */
}

.page-cockfighting__final-cta-section .page-cockfighting__section-title {
    color: var(--accent-color); /* Yellow-green accent for H2 */
}

.page-cockfighting__final-cta-section .page-cockfighting__paragraph {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__paragraph,
    .page-cockfighting__card-description,
    .page-cockfighting__bet-item,
    .page-cockfighting__step-item,
    .page-cockfighting__tip-item {
        font-size: 0.95rem;
    }

    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__feature-image {
        height: 200px;
    }

    .page-cockfighting__image-inset {
        max-width: 100%;
        height: auto;
    }

    /* Enforce min-size for content images on mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }

    /* Specific override for hero image if needed to ensure it's not too small, but still responsive */
    .page-cockfighting__hero-image {
        min-width: unset;
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-top: 30px;
        margin-bottom: 25px;
    }
}

/* Color definitions */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --card-bg-color: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --accent-color: #d6d604; /* Yellow-green/lemon yellow from 3WIN style */
    --dark-bg-color: #0a0909; /* Very dark background to coordinate with 3WIN deep red/wine */
}