:root {
    /* Base Colors from prompt */
    --color-primary: #2F6BFF;
    --color-secondary: #6FA3FF;
    --color-card-bg: #FFFFFF;
    --color-background-light: #F4F7FB;
    --color-text-main: #1F2D3D;
    --color-text-black: #000000;
    --color-border: #D6E2FF;
    --color-glow: #A5C4FF;

    /* 3WIN style specific - Deep red/burgundy background */
    --color-3win-dark-bg: #2d0000; /* Example deep red */
    --color-3win-accent-yellow: #d6d604; /* Yellow-green/lemon yellow accent */

    /* Header offset, handled by shared.css body padding-top */
    --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

.page-cockfighting {
    background-color: var(--color-3win-dark-bg); /* Deep red/burgundy background */
    color: var(--color-text-main); /* Default text color, will be overridden for sections */
    padding-bottom: 40px; /* Some bottom padding */
}

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

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding as per rule */
    background-color: var(--color-background-light); /* Light background for hero block itself */
    color: var(--color-text-black);
    text-align: center;
    padding-bottom: 40px;
    border-radius: 0 0 12px 12px; /* Rounded bottom corners for hero section */
    margin-bottom: 30px;
}

.page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
    overflow: hidden; /* Ensure image doesn't break layout */
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-black);
    margin-bottom: 15px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.page-cockfighting__hero-cta-button,
.page-cockfighting__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__hero-cta-button:hover,
.page-cockfighting__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-cockfighting__cta-button--centered {
    margin-top: 30px;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-3win-accent-yellow); /* Accent color for titles */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__responsible-gaming-section {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    color: #FFFFFF; /* White text on dark background */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border-radius: 12px;
}

.page-cockfighting__text-content {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    color: #E0E0E0; /* Lighter text for dark background */
}

.page-cockfighting__image-in-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size for desktop */
    min-height: 200px; /* Enforce min size for desktop */
}

.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter card on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-secondary); /* Using a blue from the palette */
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #D0D0D0;
}

.page-cockfighting__how-to-play-section .page-cockfighting__text-content {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-3win-accent-yellow); /* Accent color */
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #C0C0C0;
}

.page-cockfighting__responsible-gaming-section {
    text-align: center;
}

.page-cockfighting__text-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

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

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

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-content {
        font-size: 0.95rem;
    }

    .page-cockfighting__feature-list,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Important: Mobile overflow prevention for images */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
    /* Remove min-width/height for content images on mobile to prevent overflow */
    .page-cockfighting__image-in-content {
        min-width: unset; 
        min-height: unset;
    }
}

/* Ensure no CSS filter is used for images */
.page-cockfighting img {
    filter: none; /* Explicitly set to none to ensure no filters are applied */
}