/* style/cockfighting.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0d0d0d; /* Assuming shared.css var(--dark-bg) is dark */
    --card-bg-light: #ffffff;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency with shared.css */
}

.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(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-color: var(--background-dark);
    padding-bottom: 60px;
    overflow: hidden;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__gameplay-section,
.page-cockfighting__video-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    padding: 80px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-cockfighting__feature-card,
.page-cockfighting__promo-card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__feature-image,
.page-cockfighting__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-light);
    padding: 0 15px;
}

.page-cockfighting__content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-cockfighting__text-content {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__image-container {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__responsive-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-cockfighting__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-cockfighting__btn-full-width {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 30px;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin-top: 40px;
}

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

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

.page-cockfighting__dark-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--primary-color);
}

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

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg-dark);
    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;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 60vh;
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-cockfighting__about-section,
    .page-cockfighting__features-section,
    .page-cockfighting__gameplay-section,
    .page-cockfighting__video-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__ordered-list li,
    .page-cockfighting__card-description {
        font-size: 0.95em;
    }

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

    .page-cockfighting__feature-image,
    .page-cockfighting__promo-image {
        height: 200px;
    }

    .page-cockfighting__card-title {
        font-size: 1.5em;
    }

    .page-cockfighting__content-flex {
        flex-direction: column;
    }

    .page-cockfighting__image-container {
        order: -1; /* Image above text on mobile */
    }

    .page-cockfighting__video-wrapper {
        margin-top: 20px;
    }

    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing on mobile */
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all content containers are responsive */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* General image styling to prevent small icons */
.page-cockfighting img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensures images fill their space without distortion */
}

.page-cockfighting__hero-image {
    min-width: 100%;
    min-height: 100%;
}

.page-cockfighting__feature-image,
.page-cockfighting__promo-image,
.page-cockfighting__responsive-image {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter on images */
.page-cockfighting img {
    filter: none !important;
}