:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
    --card-bg: #11271B;
    --bg-color-page: #08160F; /* Specific page background, if different from shared */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--bg-color-page); /* Page specific background */
    line-height: 1.6;
    padding-bottom: 40px; /* Some padding at the bottom */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block a {
    color: var(--gold-color);
    text-decoration: underline;
}
.page-cockfighting__text-block a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    padding-top: 10px; /* Small padding, body handles header offset */
    margin-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Max height for desktop */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-cockfighting__hero-image-wrapper img {
    width: 100%;
    height: auto; /* Let height adjust to maintain aspect ratio */
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px; /* Use container padding */
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-cockfighting__description {
    font-size: clamp(1em, 1.5vw, 1.2em); /* Responsive font size */
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--bg-color-page);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
    text-align: center;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us-section {
    padding: 60px 0;
    background-color: var(--deep-green-color); /* Darker background for this section */
    color: var(--text-main);
}

.page-cockfighting__why-choose-us-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__why-choose-us-section .page-cockfighting__text-block {
    color: var(--text-secondary);
}

.page-cockfighting__features-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); /* Card background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-card img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--glow-color)); /* Subtle glow effect */
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__type-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-cockfighting__type-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How to Bet Section */
.page-cockfighting__how-to-bet-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Use primary color for this section */
    color: #ffffff; /* White text for contrast */
}

.page-cockfighting__how-to-bet-section .page-cockfighting__section-title {
    color: #ffffff; /* White title */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.page-cockfighting__how-to-bet-section .page-cockfighting__text-block {
    color: rgba(255, 255, 255, 0.9);
}
.page-cockfighting__how-to-bet-section .page-cockfighting__text-block a {
    color: var(--gold-color);
    text-decoration: underline;
}
.page-cockfighting__how-to-bet-section .page-cockfighting__text-block a:hover {
    color: var(--text-main);
}

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

.page-cockfighting__step-item {
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent dark background */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 5px solid var(--gold-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: var(--text-main);
    line-height: 1.6;
}

.page-cockfighting__step-description a {
    color: var(--gold-color);
    text-decoration: underline;
}
.page-cockfighting__step-description a:hover {
    color: var(--text-main);
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-color-page);
}

.page-cockfighting__video-wrapper {
    width: 100%;
    max-width: 800px; /* Max width for video container */
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold-color);
}

.page-cockfighting__video-link {
    display: block; /* Make the whole video clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.page-cockfighting__video-cta {
    margin-top: 30px;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__tip-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-cockfighting__tip-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tip-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
    color: var(--text-main);
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__promotions-section .page-cockfighting__text-block {
    color: var(--text-secondary);
}

.page-cockfighting__promotions-section .page-cockfighting__text-block a {
    color: var(--gold-color);
    text-decoration: underline;
}
.page-cockfighting__promotions-section .page-cockfighting__text-block a:hover {
    color: var(--text-main);
}

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

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

.page-cockfighting__promo-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: auto; /* Push button to bottom */
}

.page-cockfighting__promo-cta {
    margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: left;
    overflow: hidden; /* For smooth transition */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: var(--gold-color);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--deep-green-color);
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar for open state */
}

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

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

.page-cockfighting__faq-answer a {
    color: var(--gold-color);
    text-decoration: underline;
}
.page-cockfighting__faq-answer a:hover {
    color: var(--primary-color);
}


/* Bottom CTA Section */
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-green-color);
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-cockfighting__description {
        font-size: clamp(1em, 1.8vw, 1.1em);
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 300px; /* Adjust max height for mobile */
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-image-wrapper img {
        height: 100%; /* Fill the constrained height */
        object-fit: cover;
    }
    .page-cockfighting__hero-content {
        padding: 0 15px; /* Adjust padding for mobile container */
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-section {
        padding-top: 0; /* No top padding for hero on mobile, as content is below image */
        margin-bottom: 20px;
    }

    .page-cockfighting__main-title {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    .page-cockfighting__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure buttons take full width */
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        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__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__type-list,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__type-item,
    .page-cockfighting__promo-card,
    .page-cockfighting__tip-item {
        padding: 25px;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important; /* Small padding, not header offset */
        padding-left: 0;
        padding-right: 0;
    }

    .page-cockfighting__video-wrapper {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__steps-list {
        padding: 0 15px;
    }
    .page-cockfighting__step-item {
        padding: 20px;
    }
    .page-cockfighting__step-title {
        font-size: 1.2em;
    }
    .page-cockfighting__step-description {
        font-size: 0.95em;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .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__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
}