.page-cockfighting {
    background-color: #F4F7FB;
    color: #1F2D3D;
    padding-top: 10px; /* Small top padding for first section */
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #F4F7FB;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 20px;
}

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

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

.page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #1F2D3D;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-cockfighting__hero-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    min-width: 200px; /* Ensure min size */
    min-height: 44px; /* Ensure touch target size */
}

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

/* Overview Section */
.page-cockfighting__overview-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
    margin-bottom: 40px;
}

.page-cockfighting__overview-section .page-cockfighting__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__overview-image {
    flex-shrink: 0;
    width: 50%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-cockfighting__step-card {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-title {
    font-size: 1.5rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: #1F2D3D;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__step-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    min-width: 120px;
    min-height: 44px; /* Ensure touch target size */
    line-height: 24px; /* Adjust line-height for better vertical alignment */
}

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

/* Game Gallery Section */
.page-cockfighting__game-gallery-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
}

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

.page-cockfighting__game-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-cockfighting__game-tile:hover {
    transform: translateY(-5px);
}

.page-cockfighting__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    min-width: 200px;
    min-height: 200px;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-cockfighting__feature-card {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    color: #1F2D3D;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__feature-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    min-width: 120px;
    min-height: 44px; /* Ensure touch target size */
    line-height: 24px; /* Adjust line-height for better vertical alignment */
}

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

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Primary Color */
    color: #FFFFFF;
}

.page-cockfighting__cta-section .page-cockfighting__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-cockfighting__cta-content {
    flex: 1;
    text-align: left;
}

.page-cockfighting__cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__cta-description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #D6E2FF; /* Border color for subtle contrast */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Same as hero CTA for consistency */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    min-width: 200px;
    min-height: 44px; /* Ensure touch target size */
}

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

.page-cockfighting__cta-image {
    flex-shrink: 0;
    width: 45%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    }
    .page-cockfighting__overview-section .page-cockfighting__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__overview-image {
        width: 100%;
        max-width: 600px;
    }
    .page-cockfighting__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2 columns on smaller screens */
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2 columns on smaller screens */
    }
    .page-cockfighting__cta-section .page-cockfighting__container {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__cta-content {
        order: 2; /* Content after image on mobile */
    }
    .page-cockfighting__cta-image {
        order: 1;
        width: 100%;
        max-width: 600px;
        margin-bottom: 30px;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-cockfighting__hero-cta-button, .page-cockfighting__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__game-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__overview-section .page-cockfighting__content-wrapper {
        gap: 20px;
    }
    .page-cockfighting__overview-image, .page-cockfighting__cta-image, .page-cockfighting__feature-image, .page-cockfighting__step-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-cockfighting__hero-image {
        min-height: 200px;
    }
    /* Ensure all content area images are responsive and don't cause overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}