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

.page-cockfighting {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main); /* Ensure light text on dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly for visual effect, but not on image */
    background: rgba(17, 40, 27, 0.9); /* Darker semi-transparent background for text block */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

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

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

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

.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main);
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main); /* White text on green gradient */
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-gold); /* Gold text */
    border: 2px solid var(--page-cockfighting-gold);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-bg); /* Dark text on gold hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Features Grid */
.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(--page-cockfighting-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(--page-cockfighting-border);
    transition: transform 0.3s ease;
    color: var(--page-cockfighting-text-main);
}

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

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

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

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
}

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

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

.page-cockfighting__cta-buttons--video {
    margin-top: 30px;
}

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

.page-cockfighting__step-item {
    background-color: var(--page-cockfighting-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--page-cockfighting-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--page-cockfighting-text-main);
}

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

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

/* Strategy List */
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__strategy-item {
    background-color: var(--page-cockfighting-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--page-cockfighting-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__strategy-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-cockfighting-gold);
    cursor: pointer;
    background-color: var(--page-cockfighting-deep-green);
    border-bottom: 1px solid var(--page-cockfighting-border);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: "−";
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    text-align: center;
    padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -100px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 25px;
        width: calc(100% - 30px); /* Adjust width to account for padding */
    }

    .page-cockfighting__main-title {
        font-size: 2rem;
    }

    .page-cockfighting__description {
        font-size: 1rem;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px; /* Limit button group width */
        margin: 0 auto;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }

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

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__image-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile video responsiveness */
    .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-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }

    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }

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

    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }

    .page-cockfighting__step-title,
    .page-cockfighting__strategy-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 400px; /* Adjust hero image height for mobile */
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8rem;
    }
    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
    }
}