.page-cockfighting {
    background-color: var(--background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-bottom: 40px; /* Space for content below image */
    background-color: #2F6BFF; /* Main color for hero background */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Enforce min size */
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 30px 20px;
    color: #FFFFFF; /* White text for hero */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main-color, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-cockfighting__text-content {
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #D6E2FF);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-image {
    width: 100%;
    max-width: 400px; /* Recommended size for content images */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    display: block; /* Ensure image takes full width */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
    opacity: 0.8;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding-bottom: 60px;
}

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

.page-cockfighting__step-item {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
    opacity: 0.8;
}

.page-cockfighting__action-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    padding: 15px 40px;
    border-radius: 8px;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__action-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* CTA Banner */
.page-cockfighting__cta-banner {
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 0; /* No radius for full width banner */
}

.page-cockfighting__cta-content {
    max-width: 900px;
}

.page-cockfighting__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-cockfighting__cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-cockfighting__cta-button--large {
    padding: 18px 45px;
    font-size: 1.2rem;
    /* Using a strong accent yellow for this specific CTA for visual impact, 
       as per section 3's suggestion for 'yellow/lemon yellow' accent. */
    background: #FFD700; 
    color: #1F2D3D; /* Dark text on bright button */
    font-weight: 800;
}

.page-cockfighting__cta-button--large:hover {
    background: #FFC107; /* Slightly darker on hover */
}

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

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

    .page-cockfighting__description {
        font-size: 1rem;
    }

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

    .page-cockfighting__text-content {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__step-item {
        padding: 20px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__step-title {
        font-size: 1.2rem;
    }

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

    .page-cockfighting__cta-button--large {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .page-cockfighting__cta-banner {
        padding: 40px 15px;
    }

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

    .page-cockfighting__cta-text {
        font-size: 1rem;
    }

    /* All images within .page-cockfighting must be responsive and not smaller than 200px */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
}

/* Ensure no CSS filter is applied to images */
.page-cockfighting img {
    filter: none;
}

/* Content area images CSS dimensions lower bound */
/* This ensures that any image within the .page-cockfighting content area 
   (excluding shared components like header/footer icons) is at least 200x200px. */
.page-cockfighting img:not([class*="shared-"]) {
    min-width: 200px;
    min-height: 200px;
}