:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000000; /* Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --dark-bg-1: #0d0d0d; /* Assuming this is from shared.css */
    --dark-bg-2: #1a1a1a;
    --light-bg-1: #f8f9fa;
    --light-bg-2: #e9ecef;
}

/* Base styles for the page content, ensuring contrast with shared.css body background */
.page-cockfighting-live {
    color: var(--text-light); /* Light text for dark body background */
    background-color: var(--dark-bg-1); /* Inherited or set from shared.css */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 120px; /* Padding for fixed header desktop */
}

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

/* Section titles */
.page-cockfighting-live__section-title {
    font-size: 2.5em;
    color: var(--primary-color); /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Sub titles */
.page-cockfighting-live__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

/* Text blocks */
.page-cockfighting-live__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-align: justify;
}

/* Cards */
.page-cockfighting-live__card {
    background: var(--dark-bg-2); /* Slightly lighter dark background for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold border */
}

.page-cockfighting-live__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.page-cockfighting-live__cta-button,
.page-cockfighting-live__btn-primary,
.page-cockfighting-live__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting-live__cta-button--primary,
.page-cockfighting-live__btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
}

.page-cockfighting-live__cta-button--primary:hover,
.page-cockfighting-live__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live__cta-button--secondary,
.page-cockfighting-live__btn-secondary {
    background: transparent;
    color: var(--primary-color); /* Gold text on transparent button */
    border: 2px solid var(--primary-color);
}

.page-cockfighting-live__cta-button--secondary:hover,
.page-cockfighting-live__btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1); /* Subtle gold background on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-cockfighting-live__hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:king79 4, truc tiep da ga, online betting, mobile]'), var(--secondary-color);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 20px;
    border-bottom: 5px solid var(--primary-color);
}

.page-cockfighting-live__main-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.page-cockfighting-live__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-live__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure responsiveness */
}

/* About Section */
.page-cockfighting-live__about-section {
    padding: 60px 0;
    background: var(--dark-bg-1);
}

.page-cockfighting-live__about-section .page-cockfighting-live__container {
    background: var(--dark-bg-2);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-cockfighting-live__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting-live__image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure image has enough space */
}

.page-cockfighting-live__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-height: 250px;
}

.page-cockfighting-live__text-content {
    flex: 1;
}

.page-cockfighting-live__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-cockfighting-live__feature-list li {
    background: var(--dark-bg-1);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-cockfighting-live__feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
}

.page-cockfighting-live__list-highlight {
    color: var(--primary-color);
}

/* How To Section */
.page-cockfighting-live__how-to-section {
    background: var(--dark-bg-2);
    padding: 80px 0;
}

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

.page-cockfighting-live__step-item {
    text-align: center;
    padding: 40px 25px;
}

.page-cockfighting-live__step-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(255, 215, 0, 0.4));
}

.page-cockfighting-live__step-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting-live__step-description {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Tips Section */
.page-cockfighting-live__tips-section {
    background: var(--dark-bg-1);
    padding: 80px 0;
}

.page-cockfighting-live__dark-section .page-cockfighting-live__container {
    background: var(--dark-bg-2);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-cockfighting-live__tip-item {
    padding: 30px;
    text-align: left;
}

.page-cockfighting-live__tip-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting-live__tip-description {
    color: var(--text-light);
}

/* Promotions Section */
.page-cockfighting-live__promotions-section {
    background: var(--dark-bg-2);
    padding: 80px 0;
}

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

.page-cockfighting-live__promo-item {
    text-align: center;
    padding: 35px 25px;
}

.page-cockfighting-live__promo-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting-live__promo-description {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* FAQ Section */
.page-cockfighting-live__faq-section {
    background: var(--dark-bg-1);
    padding: 80px 0;
}

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

.page-cockfighting-live__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: var(--dark-bg-2);
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.page-cockfighting-live__faq-question:hover {
    background: #2a2a2a;
}

.page-cockfighting-live__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__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-cockfighting-live__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: var(--dark-bg-1);
    color: var(--text-light);
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting-live__faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-light);
}

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

.page-cockfighting-live__contact-cta-section .page-cockfighting-live__section-title {
    color: var(--secondary-color); /* Dark text on gold background */
    text-shadow: none;
}

.page-cockfighting-live__contact-cta-section .page-cockfighting-live__text-block {
    color: var(--secondary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-cockfighting-live__contact-cta-section .page-cockfighting-live__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting-live__contact-cta-section .page-cockfighting-live__cta-button--primary:hover {
    background: #333333;
    color: var(--primary-color);
    border-color: #333333;
}

/* Responsive Design */
/* Mobile */
@media (max-width: 768px) {
    .page-cockfighting-live {
        padding-top: 100px !important; /* Padding for fixed header mobile */
        font-size: 15px;
    }

    .page-cockfighting-live__container {
        padding: 25px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting-live__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-cockfighting-live__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

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

    .page-cockfighting-live__cta-button,
    .page-cockfighting-live__btn-primary,
    .page-cockfighting-live__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-cockfighting-live__about-section .page-cockfighting-live__container {
        padding: 30px;
    }

    .page-cockfighting-live__image-text-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-cockfighting-live__image-wrapper {
        min-width: unset;
    }

    .page-cockfighting-live__image {
        min-height: 200px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting-live__feature-list li {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-cockfighting-live__how-to-section,
    .page-cockfighting-live__tips-section,
    .page-cockfighting-live__promotions-section,
    .page-cockfighting-live__faq-section,
    .page-cockfighting-live__contact-cta-section {
        padding: 50px 0;
    }

    .page-cockfighting-live__step-grid,
    .page-cockfighting-live__tips-grid,
    .page-cockfighting-live__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-cockfighting-live__step-item,
    .page-cockfighting-live__tip-item,
    .page-cockfighting-live__promo-item {
        padding: 30px 20px;
    }

    .page-cockfighting-live__step-icon {
        width: 100px;
        height: 100px;
    }

    .page-cockfighting-live__step-title,
    .page-cockfighting-live__tip-title,
    .page-cockfighting-live__promo-title {
        font-size: 1.3em;
    }

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

    .page-cockfighting-live__faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting-live__faq-question h3 {
        font-size: 1.1em;
    }

    .page-cockfighting-live__faq-toggle {
        font-size: 1.8em;
        width: 25px;
        height: 25px;
    }

    .page-cockfighting-live__faq-answer {
        padding: 0 20px;
    }

    .page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
        padding: 15px 20px !important;
    }

    .page-cockfighting-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting-live__image-wrapper,
    .page-cockfighting-live__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-cockfighting-live {
        padding-top: 110px; /* Adjust for tablet fixed header */
    }

    .page-cockfighting-live__container {
        padding: 30px 25px;
    }

    .page-cockfighting-live__main-title {
        font-size: 2.8em;
    }

    .page-cockfighting-live__hero-description {
        font-size: 1.2em;
    }

    .page-cockfighting-live__section-title {
        font-size: 2.2em;
    }

    .page-cockfighting-live__image-text-grid {
        flex-direction: column;
    }
}