/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main-color, #1F2D3D);
    background-color: var(--background-color, #F4F7FB);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for content pages */
}

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

/* Hero Section (Main Title Area) */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column; /* Ensure image is above content initially */
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--card-bg-color, #FFFFFF); /* Changed to white background for contrast */
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* Max width for the image container */
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    width: 100%;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
    min-width: 200px; /* Ensure button is not too small */
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* Sections */
.page-cockfighting__about-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__faq-section {
    padding: 50px 0;
    margin-bottom: 30px;
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__features-section {
    padding: 50px 0;
    margin-bottom: 30px;
    background-color: transparent; /* Background color from the main page */
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.3;
}

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

.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);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-image {
    width: 100%;
    max-width: 280px; /* Constrain image width within card */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
}

/* How-to-play Section */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__step-item {
    background-color: var(--background-color, #F4F7FB); /* Lighter background for steps */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--main-color, #2F6BFF);
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__step-description a {
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__step-description a:hover {
    text-decoration: underline;
    color: var(--accent-color, #d6d604);
}

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

.page-cockfighting__cta-button--secondary {
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using auxiliary color for secondary CTA */
    box-shadow: 0 4px 15px rgba(111, 163, 255, 0.3);
}

.page-cockfighting__cta-button--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 163, 255, 0.4);
}

/* FAQ Section */
.page-cockfighting__faq-item {
    background-color: var(--background-color, #F4F7FB);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-cockfighting__faq-question {
    font-size: 1.2rem;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer; /* Indicate it's clickable for potential expand/collapse */
}

.page-cockfighting__faq-answer {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__faq-answer a {
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
    color: var(--accent-color, #d6d604);
}

/* Global variable definitions (should ideally be in shared.css, but for isolated component, define here if not available globally) */
:root {
    --main-color: #2F6BFF;
    --auxiliary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --accent-color: #d6d604; /* Yellow-green accent color */
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .page-cockfighting__container {
        padding: 15px;
    }

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

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }
}

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

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

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

    .page-cockfighting__features-list {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-cockfighting__feature-item {
        padding: 25px;
    }

    .page-cockfighting__feature-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        min-width: 200px; /* Enforce min size for content images */
        min-height: 200px; /* Enforce min size for content images */
    }

    .page-cockfighting__step-item,
    .page-cockfighting__faq-item {
        padding: 18px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
    }

    /* Enforce image responsiveness for all images within .page-cockfighting */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }
}