/* style/cockfighting-live-stream.css */

/* Root variables for consistent theming */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #B22222; /* Firebrick */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0d0d0d; /* Body background from shared.css */
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --border-color-light: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting-live-stream {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

/* Container for content sections */
.page-cockfighting-live-stream__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-cockfighting-live-stream__intro-section,
.page-cockfighting-live-stream__why-choose-section,
.page-cockfighting-live-stream__how-to-section,
.page-cockfighting-live-stream__features-highlight-section,
.page-cockfighting-live-stream__promotions-section,
.page-cockfighting-live-stream__security-section,
.page-cockfighting-live-stream__faq-section,
.page-cockfighting-live-stream__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting-live-stream__why-choose-section,
.page-cockfighting-live-stream__features-highlight-section,
.page-cockfighting-live-stream__security-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for differentiation */
}

/* Titles */
.page-cockfighting-live-stream__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.page-cockfighting-live-stream__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px var(--shadow-dark);
}

.page-cockfighting-live-stream__description,
.page-cockfighting-live-stream p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Links within text */
.page-cockfighting-live-stream__link,
.page-cockfighting-live-stream__link-text {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting-live-stream__link:hover,
.page-cockfighting-live-stream__link-text:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Images */
.page-cockfighting-live-stream__hero-image,
.page-cockfighting-live-stream__feature-icon,
.page-cockfighting-live-stream__step-image,
.page-cockfighting-live-stream__highlight-image,
.page-cockfighting-live-stream__promo-image,
.page-cockfighting-live-stream__security-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow-dark);
    object-fit: cover;
}

.page-cockfighting-live-stream__hero-image {
    max-width: 1000px;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.page-cockfighting-live-stream__feature-icon {
    width: 250px; /* Larger size for content images */
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

/* CTA Buttons */
.page-cockfighting-live-stream__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting-live-stream__cta-buttons--center {
    margin-top: 40px;
}

.page-cockfighting-live-stream__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-dark);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-cockfighting-live-stream__btn-primary:hover {
    background-color: #e6c200; /* Darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.page-cockfighting-live-stream__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting-live-stream__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

/* Feature Grid */
.page-cockfighting-live-stream__feature-grid,
.page-cockfighting-live-stream__highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-live-stream__feature-item,
.page-cockfighting-live-stream__highlight-item {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-live-stream__feature-item:hover,
.page-cockfighting-live-stream__highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-cockfighting-live-stream__feature-title,
.page-cockfighting-live-stream__highlight-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Step by Step Guide */
.page-cockfighting-live-stream__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting-live-stream__step-item {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    text-align: left;
}

.page-cockfighting-live-stream__step-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting-live-stream__step-image {
    max-width: 600px;
}

/* Promotion List */
.page-cockfighting-live-stream__promo-list,
.page-cockfighting-live-stream__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-cockfighting-live-stream__promo-item,
.page-cockfighting-live-stream__security-item {
    background-color: var(--card-background-dark);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-dark);
    font-size: 1.05em;
    color: var(--text-light);
}

.page-cockfighting-live-stream__promo-item strong,
.page-cockfighting-live-stream__security-item strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-cockfighting-live-stream__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-cockfighting-live-stream__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-dark);
}

.page-cockfighting-live-stream__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--card-background-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting-live-stream__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.page-cockfighting-live-stream__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-cockfighting-live-stream__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-cockfighting-live-stream__faq-item.active .page-cockfighting-live-stream__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-cockfighting-live-stream__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0 0 8px 8px;
    color: var(--text-light);
}

.page-cockfighting-live-stream__faq-item.active .page-cockfighting-live-stream__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting-live-stream__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting-live-stream__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-live-stream {
        padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
        font-size: 15px;
    }
    .page-cockfighting-live-stream__container {
        padding: 20px 15px;
    }
    .page-cockfighting-live-stream__main-title {
        font-size: 2em;
        line-height: 1.3;
    }
    .page-cockfighting-live-stream__section-title {
        font-size: 1.8em;
        line-height: 1.3;
    }
    .page-cockfighting-live-stream__description,
    .page-cockfighting-live-stream p,
    .page-cockfighting-live-stream li {
        font-size: 1em;
    }
    
    /* Images */
    .page-cockfighting-live-stream img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin: 20px auto !important;
    }
    .page-cockfighting-live-stream__feature-icon {
        width: 180px !important;
        height: 120px !important;
        padding: 15px !important;
    }

    /* Buttons */
    .page-cockfighting-live-stream__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-cockfighting-live-stream__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Grids */
    .page-cockfighting-live-stream__feature-grid,
    .page-cockfighting-live-stream__highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting-live-stream__feature-item,
    .page-cockfighting-live-stream__highlight-item,
    .page-cockfighting-live-stream__step-item,
    .page-cockfighting-live-stream__promo-item,
    .page-cockfighting-live-stream__security-item {
        padding: 20px;
    }

    /* FAQ */
    .page-cockfighting-live-stream__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting-live-stream__faq-question h3 {
        font-size: 1.1em;
    }
    .page-cockfighting-live-stream__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
        margin-left: 15px;
    }
    .page-cockfighting-live-stream__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting-live-stream__faq-item.active .page-cockfighting-live-stream__faq-answer {
        padding: 15px 20px !important;
    }
    .page-cockfighting-live-stream__promo-list,
    .page-cockfighting-live-stream__security-list {
        margin: 20px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .page-cockfighting-live-stream__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting-live-stream__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting-live-stream__feature-icon {
        width: 150px !important;
        height: 100px !important;
        padding: 10px !important;
    }
}