.page-cockfighting {
    background-color: #08160F;
    color: #F2FFF6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 10px; /* Small padding-top, as body padding-top is handled by shared */
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content stays in normal flow */
    z-index: 1;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem); /* Using clamp for responsive H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold for main title */
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px; /* Ensure sufficient touch area */
    min-height: 44px;
    box-sizing: border-box;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4); /* Glow color for shadow */
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-cockfighting__section-paragraph {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
}

.page-cockfighting__inline-cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 60px auto;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.page-cockfighting__inline-cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-cockfighting__features-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__gallery-section,
.page-cockfighting__faq-section {
    padding: 20px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-cockfighting__feature-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(87, 227, 141, 0.3); /* Glow color for shadow */
}

.page-cockfighting__feature-icon {
    width: 100%; /* Ensure images are not small icons */
    max-width: 400px; /* Example max-width for feature images */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    min-width: 200px; /* Minimum size enforcement */
    min-height: 200px;
    object-fit: cover;
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__bet-type-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-cockfighting__bet-type-title {
    font-size: 1.6rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__bet-type-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__step-card {
    background-color: #0A4B2C; /* Deep Green */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 1px solid #2E7A4E;
}

.page-cockfighting__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #F2C14E; /* Gold */
    color: #08160F; /* Background color for contrast */
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__cta-button--bottom {
    margin-top: 60px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 6 -> 3 -> 2 */
    gap: 20px;
    margin-top: 40px;
}

.page-cockfighting__game-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E;
}

.page-cockfighting__game-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(87, 227, 141, 0.4); /* Glow color */
}

.page-cockfighting__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size enforcement */
    min-height: 200px;
    border-radius: 12px; /* For consistency, although overflow hidden handles corners */
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-question {
    font-size: 1.2rem;
    color: #F2FFF6; /* Text Main */
    padding: 20px 25px;
    margin: 0;
    position: relative;
    font-weight: bold;
}

.page-cockfighting__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: #F2C14E; /* Gold */
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.is-active .page-cockfighting__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-cockfighting__faq-answer {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 25px 20px 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
}

.page-cockfighting__faq-item.is-active .page-cockfighting__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting__hero-section {
        display: flex;
        flex-direction: column; /* Image above text for mobile hero */
        padding-bottom: 0; /* No extra padding for hero */
    }

    .page-cockfighting__hero-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3; /* Example aspect ratio for mobile hero visual */
        object-fit: cover;
        object-position: center;
        border-radius: 0; /* No border-radius on hero image itself */
    }

    .page-cockfighting__hero-content {
        padding: 30px 15px;
        text-align: left; /* Adjust alignment for mobile readability */
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        text-align: center;
    }

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

    .page-cockfighting__cta-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        font-size: 1rem;
        padding: 12px 20px;
    }

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

    .page-cockfighting__section-paragraph {
        font-size: 0.95rem;
    }

    .page-cockfighting__inline-cta-button {
        font-size: 0.95rem;
        padding: 10px 20px;
        margin: 30px auto 40px auto;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__bet-types-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust grid for smaller screens */
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__bet-type-card,
    .page-cockfighting__step-card {
        padding: 20px;
    }

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

    .page-cockfighting__bet-type-title {
        font-size: 1.4rem;
    }

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

    .page-cockfighting__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* More images per row on slightly larger mobile */
        gap: 15px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-question::after {
        right: 20px;
        font-size: 1.5rem;
    }

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__features-grid,
    .page-cockfighting__bet-types-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }

    .page-cockfighting__game-grid {
        grid-template-columns: 1fr; /* Single column for very small screens */
        gap: 10px;
    }

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

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

/* Ensure content area images are not too small */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Global minimum for content images */
    min-height: 200px;
    object-fit: cover;
}

/* Mobile content image overflow prevention */
@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}