.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg-color); /* From shared.css, assumed dark */
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    margin-top: 30px;
    background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
    border-radius: 10px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 15px;
    line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--glow); /* #57E38D */
    color: var(--bg-color); /* Dark background */
    transform: translateY(-2px);
}

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cockfighting__sub-title {
    font-size: 1.8rem;
    color: var(--glow); /* #57E38D */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-cockfighting__dark-section {
    background-color: var(--card-bg); /* #11271B */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--deep-green); /* #0A4B2C */
    border-radius: 10px;
    margin-top: 30px;
    width: 100%; /* Ensure desktop width: 100% is present */
}

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

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

.page-cockfighting__feature-card,
.page-cockfighting__promotion-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon,
.page-cockfighting__promotion-image {
    width: 100%;
    max-width: 200px; /* Smaller for icons/feature images */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--card-bg); /* #11271B */
    position: relative;
    user-select: none;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow); /* #57E38D */
    transition: transform 0.3s ease;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
        background: rgba(17, 39, 27, 0.9); /* Slightly less transparent */
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
    }
    .page-cockfighting__description {
        font-size: 0.95rem;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 0 auto; /* Center buttons if they are not full width */
    }
    .page-cockfighting__container {
        padding: 30px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__text-block p {
        font-size: 0.9rem;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-cockfighting__video-wrapper,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__video-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__feature-icon,
    .page-cockfighting__promotion-image {
        max-width: 100% !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-cockfighting__feature-card a.page-cockfighting__btn-primary,
    .page-cockfighting__promotion-card a.page-cockfighting__btn-primary {
        width: auto !important; /* Allow buttons in cards to shrink */
        max-width: 100% !important;
        padding: 10px 20px;
        margin-top: 15px;
    }
    .page-cockfighting__cta-buttons {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}