.page-cockfighting {
    background-color: #08162B; /* Deep Navy as main background */
    color: #F3F8FF; /* Text Main */
}

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

.page-cockfighting__section-spacing {
    padding: 60px 0;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #F2C14E 0%, #FF8C00 100%); /* Gold gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-cockfighting__paragraph {
    font-size: 1rem;
    line-height: 1.6;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-cockfighting__paragraph-centered {
    font-size: 1rem;
    line-height: 1.6;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-link {
    color: #1D5FD1; /* Auxiliary color */
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #113B7A; /* Main color for hero background */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content for mobile */
    align-items: center;
    justify-content: center;
    min-height: clamp(420px, 70vh, 600px);
}

.page-cockfighting__hero-visual {
    width: 100%;
    max-height: 500px; /* Limit height of visual on desktop */
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 500px; /* Ensure image itself doesn't exceed this */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-cockfighting__intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    text-align: center;
}

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

/* About Section */
.page-cockfighting__about-section {
    background-color: #10233F; /* Card BG */
}

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__text-block {
    order: 2; /* Text below image on mobile by default */
}

.page-cockfighting__image-block {
    text-align: center;
    order: 1; /* Image above text on mobile by default */
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-cockfighting__game-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #244D84; /* Border color */
}

.page-cockfighting__game-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px #4FA8FF; /* Glow */
}

.page-cockfighting__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* Maintain aspect ratio for game images */
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    background-color: #08162B; /* Deep Navy */
}

.page-cockfighting__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__feature-item {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #AFC4E8; /* Text Secondary */
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    background-color: #10233F; /* Card BG */
}

.page-cockfighting__step-by-step-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__image-block--left {
    order: 2; /* Image below text on mobile */
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__step-item {
    background-color: #08162B; /* Deep Navy */
    border-left: 5px solid #1D5FD1; /* Auxiliary color */
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: border-color 0.3s ease;
}

.page-cockfighting__step-item:hover {
    border-color: #F2C14E; /* Gold on hover */
}

.page-cockfighting__step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #AFC4E8; /* Text Secondary */
}

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

/* Responsible Gaming Section */
.page-cockfighting__responsible-gaming-section {
    background-color: #08162B; /* Deep Navy */
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #10233F; /* Card BG */
}

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background-color: #08162B; /* Deep Navy */
    border: 1px solid #1B3357; /* Divider */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    width: 100%;
    display: block;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F3F8FF; /* Text Main */
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(29, 95, 209, 0.1); /* Slight hover effect with Auxiliary color */
}

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

.page-cockfighting__faq-question[aria-expanded="true"]::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation needed for '-' */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #AFC4E8; /* Text Secondary */
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.page-cockfighting__faq-answer[aria-expanded="true"] {
    max-height: 200px; /* Adjust as needed for content */
    opacity: 1;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-cockfighting__text-block {
        order: 1; /* Text on left for desktop */
    }
    .page-cockfighting__image-block {
        order: 2; /* Image on right for desktop */
    }
    .page-cockfighting__image-block--left {
        order: 1; /* Image on left for desktop */
    }
    .page-cockfighting__step-by-step-content {
        grid-template-columns: 1fr 1fr;
    }
    .page-cockfighting__hero-section {
        flex-direction: row; /* Desktop layout for hero */
        min-height: clamp(420px, 50vw, 800px);
        align-items: center;
        justify-content: space-around;
        padding: 60px 20px;
    }
    .page-cockfighting__hero-visual {
        flex: 1;
        max-width: 50%;
        max-height: none; /* Let image fill its flex container */
        text-align: right;
    }
    .page-cockfighting__hero-image {
        max-height: 600px; /* Adjust max height for desktop hero image */
        width: auto;
        margin-left: auto;
        margin-right: 0;
    }
    .page-cockfighting__hero-content {
        flex: 1;
        text-align: left;
        padding-left: 40px;
        max-width: 50%;
    }
    .page-cockfighting__main-title {
        text-align: left;
    }
    .page-cockfighting__intro-text {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    .page-cockfighting__cta-button {
        margin-left: 0;
    }
}

@media (max-width: 849px) {
    .page-cockfighting__hero-visual {
        aspect-ratio: 16/9;
        width: 100%;
        max-height: none;
    }
    .page-cockfighting__hero-image {
        max-width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
        max-height: none;
    }
    .page-cockfighting__hero-section {
        min-height: auto;
        padding: 0;
    }
    .page-cockfighting__hero-content {
        padding: 30px 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-cockfighting__intro-text {
        font-size: 1rem;
    }
    .page-cockfighting__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-cockfighting__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* More compact on smaller screens */
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-cockfighting__content-image {
        min-width: 200px; /* Ensure content images meet min size */
        min-height: 200px;
    }
    .page-cockfighting__game-tile img {
        min-width: 200px;
        min-height: 200px;
    }
    .page-cockfighting__feature-item {
        min-width: 200px;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__game-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__section-spacing {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        margin-bottom: 30px;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-question::after {
        right: 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__hero-content {
        padding: 20px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-cockfighting__intro-text {
        font-size: 0.95rem;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    /* Ensure all images within .page-cockfighting are responsive and don't overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /* Content area images CSS dimensions lower bound */
    .page-cockfighting__content-image, 
    .page-cockfighting__game-tile img,
    .page-cockfighting__hero-image {
        min-width: 200px; /* Enforce min width for content images */
        min-height: 200px;
    }
}

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

/* Ensure content area images meet min size requirements */
.page-cockfighting__container img, 
.page-cockfighting__content-grid img, 
.page-cockfighting__game-grid img, 
.page-cockfighting__step-by-step-content img {
    min-width: 200px;
    min-height: 200px;
}