/* style/cockfighting-live.css */

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

.page-cockfighting-live {
    background-color: var(--vp777-background-color); /* Matches body background if shared.css sets body to --background-color */
    color: var(--vp777-text-main); /* Ensure contrast with dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting-live__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    min-height: 600px;
}

.page-cockfighting-live__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-cockfighting-live__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not color change */
    display: block;
}

.page-cockfighting-live__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

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

.page-cockfighting-live__hero-description {
    font-size: 1.15rem;
    color: var(--vp777-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-cockfighting-live__btn-primary,
.page-cockfighting-live__btn-secondary,
.page-cockfighting-live__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting-live__btn-primary {
    background: var(--vp777-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting-live__btn-secondary {
    background: #ffffff;
    color: var(--vp777-primary-color);
    border: 2px solid var(--vp777-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: var(--vp777-primary-color);
    color: #ffffff;
}

.page-cockfighting-live__btn-text {
    background: transparent;
    color: var(--vp777-gold-color);
    border: 1px solid var(--vp777-gold-color);
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

.page-cockfighting-live__btn-text:hover {
    background: var(--vp777-gold-color);
    color: var(--vp777-background-color);
}

.page-cockfighting-live__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}


/* General Section Styling */
.page-cockfighting-live__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--vp777-gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live__section-description {
    font-size: 1.1rem;
    color: var(--vp777-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

/* Video Section */
.page-cockfighting-live__video-section {
    background-color: var(--vp777-deep-green);
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    text-align: center;
}

.page-cockfighting-live__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%; /* Explicitly set width for desktop */
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting-live__video-caption {
    font-style: italic;
    color: var(--vp777-text-secondary);
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.page-cockfighting-live__why-choose-us {
    padding: 80px 0;
    background-color: var(--vp777-card-bg); /* Darker background */
}

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

.page-cockfighting-live__feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vp777-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--vp777-text-main);
}

.page-cockfighting-live__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--vp777-glow-color);
}

.page-cockfighting-live__feature-icon {
    width: 200px; /* Enforce minimum size 200x200px */
    height: 200px; /* Enforce minimum size 200x200px */
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--vp777-glow-color));
}

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

.page-cockfighting-live__feature-description {
    font-size: 0.95rem;
    color: var(--vp777-text-secondary);
}

/* Bet Types Section */
.page-cockfighting-live__bet-types {
    padding: 80px 0;
    background-color: var(--vp777-background-color);
}

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

.page-cockfighting-live__bet-type-card {
    background: var(--vp777-card-bg);
    border: 1px solid var(--vp777-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--vp777-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

/* Guide Section */
.page-cockfighting-live__guide-section {
    padding: 80px 0;
    background-color: var(--vp777-deep-green);
}

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

.page-cockfighting-live__step-item {
    background: var(--vp777-card-bg);
    border: 1px solid var(--vp777-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--vp777-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting-live__step-number {
    background: var(--vp777-gold-color);
    color: var(--vp777-background-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.page-cockfighting-live__step-description {
    font-size: 0.95rem;
    color: var(--vp777-text-secondary);
    flex-grow: 1; /* Pushes button to bottom */
}

/* Promotions Section */
.page-cockfighting-live__promotions {
    padding: 80px 0;
    background-color: var(--vp777-background-color);
}

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

.page-cockfighting-live__promo-card {
    background: var(--vp777-card-bg);
    border: 1px solid var(--vp777-border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--vp777-text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting-live__promo-image {
    width: 100%;
    height: 200px; /* Enforce minimum size 200x200px for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

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

.page-cockfighting-live__promo-description {
    font-size: 0.95rem;
    color: var(--vp777-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting-live__faq-section {
    padding: 80px 0;
    background-color: var(--vp777-deep-green);
}

.page-cockfighting-live__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

.page-cockfighting-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--vp777-text-main);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-cockfighting-live__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-cockfighting-live__faq-qtext {
    flex-grow: 1;
}

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

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

.page-cockfighting-live__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--vp777-text-secondary);
    line-height: 1.7;
}

/* Contact CTA */
.page-cockfighting-live__contact-cta {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--vp777-background-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-live__hero-content {
        padding: 15px;
    }
    .page-cockfighting-live__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting-live__hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-live__hero-section {
        padding: 40px 15px;
        padding-top: 10px; /* Small top padding */
        min-height: 500px;
    }

    .page-cockfighting-live__hero-content {
        padding: 15px;
    }

    .page-cockfighting-live__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-cockfighting-live__hero-description {
        font-size: 0.95rem;
    }

    .page-cockfighting-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-cockfighting-live__btn-primary,
    .page-cockfighting-live__btn-secondary,
    .page-cockfighting-live__btn-text {
        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-live__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-cockfighting-live__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .page-cockfighting-live__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .page-cockfighting-live__video-section,
    .page-cockfighting-live__why-choose-us,
    .page-cockfighting-live__bet-types,
    .page-cockfighting-live__guide-section,
    .page-cockfighting-live__promotions,
    .page-cockfighting-live__faq-section,
    .page-cockfighting-live__contact-cta {
        padding: 40px 15px;
    }
    .page-cockfighting-live__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

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

    /* Image/Video/Content containers responsiveness */
    .page-cockfighting-live__section,
    .page-cockfighting-live__card,
    .page-cockfighting-live__container,
    .page-cockfighting-live__features-grid,
    .page-cockfighting-live__bet-type-grid,
    .page-cockfighting-live__guide-steps,
    .page-cockfighting-live__promo-cards {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    /* Specific overrides for video wrapper if it uses padding-bottom for aspect ratio */
    .page-cockfighting-live__video-wrapper {
        padding-left: 0 !important; /* The wrapper itself should not add horizontal padding if its parent already does */
        padding-right: 0 !important;
        /* Ensure max-width and width for the wrapper itself */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-cockfighting-live__feature-icon {
        width: 200px; /* Maintain minimum size */
        height: 200px; /* Maintain minimum size */
    }

    .page-cockfighting-live__promo-image {
        height: 200px; /* Maintain minimum size */
    }
    .page-cockfighting-live__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting-live__faq-answer {
        padding: 0 20px 15px 20px;
    }
}