.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
}

.page-cockfighting__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    text-align: justify;
}

.page-cockfighting__dark-section {
    background-color: #08160F; /* Background */
    padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__image-with-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__content-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-cockfighting__text-content {
    width: 50%;
}

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

.page-cockfighting__list-icon {
    color: #2AD16F; /* A brighter green for icons */
    font-weight: bold;
    margin-right: 10px;
}

.page-cockfighting__list li {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

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

.page-cockfighting__gameshow-card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__gameshow-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.page-cockfighting__gameshow-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-cockfighting__gameshow-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
}

.page-cockfighting__gameshow-title a:hover {
    color: #2AD16F; /* Brighter green on hover */
}

.page-cockfighting__gameshow-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.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: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

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

.page-cockfighting__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    padding: 0 15px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
}

.page-cockfighting__promo-title a:hover {
    color: #2AD16F; /* Brighter green on hover */
}

.page-cockfighting__promo-description {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-tertiary {
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

.page-cockfighting__view-all-button {
    text-align: center;
    margin-top: 40px;
}

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

.page-cockfighting__safety-item {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__safety-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(87, 227, 141, 0.5)); /* Glow */
}

.page-cockfighting__safety-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-cockfighting__safety-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    position: relative;
    list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question::marker {
    display: none;
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #F2C14E; /* Gold */
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

.page-cockfighting__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

.page-cockfighting__faq-answer a {
    color: #2AD16F;
    text-decoration: underline;
}

.page-cockfighting__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-cockfighting__cta-buttons--centered {
    margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Brighter green */
    border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6; /* Text Main */
    transform: translateY(-3px);
}

.page-cockfighting__btn-tertiary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 30px;
}

.page-cockfighting__btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.4);
}

/* Image styles to prevent filter */
.page-cockfighting img {
    filter: none; /* Ensure no CSS filter changes image color */
}

/* Responsive Styles for Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

    .page-cockfighting__section-title {
        font-size: 2em;
    }

    .page-cockfighting__image-with-text {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__content-image,
    .page-cockfighting__text-content {
        width: 100%;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }

    .page-cockfighting__gameshow-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Styles for Mobile (max-width: 768px) - MUST INCLUDE ALL REQUIRED MODULES */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 40px;
    }

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

    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-tertiary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

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

    .page-cockfighting__sub-title {
        font-size: 1.4em;
    }

    .page-cockfighting__text-block {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .page-cockfighting__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    /* General image and container rules for mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-cockfighting__image-with-text {
        flex-direction: column;
        gap: 20px;
    }

    .page-cockfighting__content-image,
    .page-cockfighting__text-content {
        width: 100%;
    }

    /* Product display (gameshow) layout for mobile */
    .page-cockfighting__gameshow-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-cockfighting__gameshow-card {
        margin: 0 auto;
        max-width: 350px; /* Optional: constrain card width if desired */
    }

    .page-cockfighting__promotions-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__safety-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }

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

    .page-cockfighting__safety-icon {
        width: 80px;
        height: 80px;
    }

    .page-cockfighting__safety-title,
    .page-cockfighting__step-title {
        font-size: 1.3em;
    }
}