.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D); /* Use text-main */
    background-color: var(--background, #F4F7FB); /* Use background color */
    padding-top: 10px; /* Small top padding for first section, body padding-top is handled by shared */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0a0909; /* Deep red/dark background for hero */
    padding-bottom: 40px; /* Space below content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 20px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 675px; /* Limit height to maintain aspect ratio and not be too tall */
}

.page-cockfighting__hero-content {
    text-align: center;
    color: #FFFFFF; /* White text on dark background */
    padding: 0 20px;
    max-width: 900px;
}

.page-cockfighting__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on clamp if needed, otherwise browser default + weight */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Example using clamp for responsive H1 */
}

.page-cockfighting__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0E0E0;
}

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

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

/* General Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__gameplay-guide,
.page-cockfighting__seo-text {
    padding: 60px 0;
    background-color: var(--card-b-g, #FFFFFF); /* Use Card BG for sections */
    margin-bottom: 20px; /* Space between sections */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__text-content {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
    text-align: justify;
}

/* Features Section */
.page-cockfighting__features-section {
    background-color: var(--background, #F4F7FB); /* Use background for this section */
}

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

.page-cockfighting__feature-card {
    background-color: var(--card-b-g, #FFFFFF);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid var(--border, #D6E2FF); /* Use border color */
}

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

.page-cockfighting__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

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

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

/* Gameplay Guide */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-step;
}

.page-cockfighting__guide-item {
    background-color: var(--card-b-g, #FFFFFF);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    position: relative;
    padding-left: 70px; /* Space for step number */
    border: 1px solid var(--border, #D6E2FF);
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-step;
    content: "Bước " counter(guide-step);
    position: absolute;
    left: 20px;
    top: 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--main-color, #2F6BFF); /* Use primary color */
    background-color: var(--glow, #A5C4FF); /* Use glow color */
    padding: 5px 10px;
    border-radius: 5px;
}

.page-cockfighting__guide-step-title {
    font-size: 1.25em;
    font-weight: bold;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 10px;
}

.page-cockfighting__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

.page-cockfighting__cta-button--secondary {
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Use auxiliary color for secondary CTA */
}

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

/* SEO Text Section */
.page-cockfighting__seo-text {
    background-color: var(--card-b-g, #FFFFFF);
    margin-bottom: 0; /* Last section, no bottom margin */
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 30px;
    }

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

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

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

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

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__gameplay-guide,
    .page-cockfighting__seo-text {
        padding: 40px 0;
    }

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

    .page-cockfighting__feature-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-cockfighting__guide-item {
        padding-left: 60px;
    }

    .page-cockfighting__guide-item::before {
        left: 15px;
        font-size: 1.1em;
        padding: 4px 8px;
    }

    /* Ensure all content area images are responsive */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content images meet minimum size for larger screens */
@media (min-width: 769px) {
    .page-cockfighting__feature-image {
        min-width: 200px;
        min-height: 200px;
    }
}