:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-background: #08160F; /* Main background */
    --color-card-bg: #11271B;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-cockfighting a {
    color: var(--color-gold);
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
    color: var(--color-glow);
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--color-deep-green);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Slightly transparent card background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-border);
}

.page-cockfighting__main-title {
    color: var(--color-gold);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-background);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: none;
    border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
    opacity: 0.9;
}

.page-cockfighting__section-title {
    color: var(--color-gold);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-glow);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__about-section {
    background-color: var(--color-card-bg);
    padding: 60px 0;
}

.page-cockfighting__why-choose-section {
    background-color: var(--color-deep-green);
    padding: 60px 0;
}

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

.page-cockfighting__feature-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
    color: var(--color-text-main);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-cockfighting__card-text {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.page-cockfighting__how-to-play-section {
    background-color: var(--color-background);
    padding: 60px 0;
}

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

.page-cockfighting__step-card {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
}

.page-cockfighting__video-section {
    background-color: var(--color-deep-green);
    padding: 60px 0;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%; /* Ensure width is 100% on desktop as well */
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-cockfighting__video-description {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__btn-video-cta {
    margin-top: 20px;
    max-width: 300px;
    width: 100%;
}

.page-cockfighting__promotions-section {
    background-color: var(--color-background);
    padding: 60px 0;
}

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

.page-cockfighting__promo-card {
    background-color: var(--color-card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-text {
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-small {
    margin-top: auto;
}

.page-cockfighting__btn-full-width {
    display: block;
    width: fit-content;
    max-width: 400px;
    margin: 40px auto 0 auto;
}

.page-cockfighting__faq-section {
    background-color: var(--color-deep-green);
    padding: 60px 0;
}

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

.page-cockfighting__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    background-color: rgba(17, 39, 27, 0.7);
    border-bottom: 1px solid var(--color-divider);
    list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-left: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

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

.page-cockfighting__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-cockfighting__cta-bottom-section {
    background-color: var(--color-background);
    padding: 60px 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important;
        height: 0 !important;
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 20px auto !important;
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .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 !important;
        padding-right: 15px !important;
        margin-bottom: 10px;
    }
    
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

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

    .page-cockfighting__hero-section,
    .page-cockfighting__about-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__video-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 30px 0 !important;
        padding-top: 10px !important;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr !important;
    }

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

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    
    .page-cockfighting__btn-full-width {
        width: 100% !important;
        max-width: 100% !important;
    }
}