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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background); /* #08160F */
    line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for visual separation */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    box-sizing: border-box;
    margin-top: -100px; /* Pull content up slightly over image for visual appeal, but not overlapping text */
    background: linear-gradient(to bottom, rgba(8, 22, 15, 0.8), rgba(8, 22, 15, 1)); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    color: var(--gold); /* #F2C14E */
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive H1 font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--gold); /* #F2C14E */
    border: 2px solid var(--gold); /* #F2C14E */
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold); /* #F2C14E */
    color: var(--background); /* #08160F */
    transform: translateY(-2px);
}

.page-cockfighting__center-btn {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block; /* Make it block to center with margin auto */
    max-width: 300px; /* Limit width for centering */
}

/* General Section Styling */
.page-cockfighting__section-title {
    color: var(--gold); /* #F2C14E */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-cockfighting__sub-title {
    color: var(--text-main); /* #F2FFF6 */
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 15px;
}

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

.page-cockfighting__dark-section {
    background-color: var(--card-bg); /* #11271B */
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-cockfighting__light-bg {
    background-color: var(--text-main); /* #F2FFF6 */
    color: var(--background); /* #08160F */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image with text grid */
.page-cockfighting__image-text-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__image-text-grid .page-cockfighting__image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__image-text-grid .page-cockfighting__text-content {
    flex: 1;
}

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

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

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

.page-cockfighting__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    max-width: 100%;
}

.page-cockfighting__card-title {
    color: var(--gold); /* #F2C14E */
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-cockfighting__feature-card p {
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 0.95rem;
}

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

.page-cockfighting__betting-card {
    background-color: var(--card-bg); /* #11271B */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color); /* #2E7A4E */
    color: var(--text-main); /* #F2FFF6 */
}

.page-cockfighting__betting-card .page-cockfighting__card-title {
    color: var(--gold); /* #F2C14E */
    text-align: center;
    margin-bottom: 15px;
}

.page-cockfighting__betting-card p {
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 0.95rem;
    text-align: center;
}

/* Video Section */
.page-cockfighting__video-section {
    background-color: var(--background); /* #08160F */
    padding: 60px 0;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px; /* Small top padding */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    width: 100%; /* Important for desktop flex container */
}

.page-cockfighting__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* Strategies Section */
.page-cockfighting__strategies-section {
    padding: 60px 0;
    background-color: var(--background); /* #08160F */
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-cockfighting__strategy-list li {
    background-color: var(--card-bg); /* #11271B */
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--deep-green); /* #0A4B2C */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    line-height: 1.7;
}

.page-cockfighting__list-strong {
    color: var(--text-main); /* #F2FFF6 */
}

.page-cockfighting__center-image {
    display: block;
    margin: 40px auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* #11271B */
}

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

.page-cockfighting__promo-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: var(--gold); /* #F2C14E */
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-cockfighting__promo-card p {
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 0.95rem;
    padding: 0 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin: 20px auto;
    width: calc(100% - 40px);
    max-width: 200px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--background); /* #08160F */
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg); /* #11271B */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main); /* #F2FFF6 */
    font-size: 1.1rem;
    list-style: none; /* For details/summary */
    user-select: none;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    color: var(--gold); /* #F2C14E */
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 1rem;
    line-height: 1.7;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}


/* Call to Action Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green); /* #0A4B2C */
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 20px;
        padding-top: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }
    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }

    .page-cockfighting__image-text-grid {
        flex-direction: column;
        gap: 20px;
    }
    .page-cockfighting__image-text-grid .page-cockfighting__image {
        min-width: unset;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__betting-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile specific image/video/button responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-cockfighting__about-section,
    .page-cockfighting__features-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-cockfighting__container {
        padding: 0 !important; /* Container handles padding now */
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__betting-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__faq-item {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important; /* Add internal padding for cards if needed */
        padding-right: 15px !important;
    }
    
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }

    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__video-wrapper {
        padding-bottom: 60% !important; /* Slightly more height for mobile if needed */
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .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-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-cockfighting__cta-buttons {
        display: flex;
    }

    .page-cockfighting__promo-card .page-cockfighting__btn-secondary {
        width: calc(100% - 30px); /* Adjust for mobile padding */
        max-width: none;
    }
}