:root {
    --background: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

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

.page-cockfighting__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    margin-top: 20px;
}

.page-cockfighting__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

.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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2);
    color: #ffffff;
}

.page-cockfighting__video-section {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--card-bg);
    text-align: center;
    padding-top: 10px; /* Small top padding */
    box-sizing: border-box;
}

.page-cockfighting__video-container {
    width: 100%; /* Desktop width */
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%; /* Ensure wrapper is full width */
    max-width: 100%; /* Ensure wrapper is full width */
    box-sizing: border-box;
}

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

.page-cockfighting__video-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

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

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-cockfighting__text-block strong {
    color: var(--text-main);
}

.page-cockfighting__image-card {
    text-align: center;
    margin-bottom: 40px;
}

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

.page-cockfighting__image-caption {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.page-cockfighting__grid-container,
.page-cockfighting__steps-grid,
.page-cockfighting__features-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 40px;
}

.page-cockfighting__card,
.page-cockfighting__step-card,
.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid var(--divider);
}

.page-cockfighting__card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__card-title,
.page-cockfighting__step-title,
.page-cockfighting__feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-cockfighting__card-text,
.page-cockfighting__step-text,
.page-cockfighting__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-cockfighting__strategy-list li {
    background-color: var(--card-bg);
    border-left: 4px solid var(--deep-green);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__strategy-list li strong {
    color: var(--text-main);
}

.page-cockfighting__cta-buttons--center {
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting__faq-section {
    background-color: var(--background);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.1rem;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.1);
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px;
    padding-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-cockfighting__hero-content,
    .page-cockfighting__video-container,
    .page-cockfighting__content-area,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__grid-container,
    .page-cockfighting__steps-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 30px;
        padding-top: 10px !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__content-area {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Mobile image/video overrides */
    .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-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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