:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --background-light: #F4F7FB;
    --text-main: #1F2D3D;
    --card-bg: #FFFFFF;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-the-thao-cac-loai-keo-cuoc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-light); /* Default light background */
}

.page-the-thao-cac-loai-keo-cuoc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Rely on body for header offset */
    padding-bottom: 60px;
    color: #ffffff;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-the-thao-cac-loai-keo-cuoc__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-the-thao-cac-loai-keo-cuoc__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-the-thao-cac-loai-keo-cuoc__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Clamp for responsive H1 */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-the-thao-cac-loai-keo-cuoc__description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-the-thao-cac-loai-keo-cuoc__hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary,
.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

.page-the-thao-cac-loai-keo-cuoc__section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-the-thao-cac-loai-keo-cuoc__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 25px;
}

.page-the-thao-cac-loai-keo-cuoc__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-the-thao-cac-loai-keo-cuoc ul,
.page-the-thao-cac-loai-keo-cuoc ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-the-thao-cac-loai-keo-cuoc li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.page-the-thao-cac-loai-keo-cuoc__figure {
    margin: 30px 0;
    text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-the-thao-cac-loai-keo-cuoc__figcaption {
    font-style: italic;
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-list {
    margin-top: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-the-thao-cac-loai-keo-cuoc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.page-the-thao-cac-loai-keo-cuoc__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao-cac-loai-keo-cuoc__faq-qtext {
    flex-grow: 1;
}

.page-the-thao-cac-loai-keo-cuoc__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-the-thao-cac-loai-keo-cuoc__faq-item[open] .page-the-thao-cac-loai-keo-cuoc__faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao-cac-loai-keo-cuoc__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
}

.page-the-thao-cac-loai-keo-cuoc__faq-answer p {
    margin-bottom: 0;
}

.page-the-thao-cac-loai-keo-cuoc__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-the-thao-cac-loai-keo-cuoc__hero-content {
        padding: 0 30px;
    }

    .page-the-thao-cac-loai-keo-cuoc__main-title {
        font-size: 2.5rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__description {
        font-size: 1.1rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__article-wrap {
        padding: 0 30px;
    }

    .page-the-thao-cac-loai-keo-cuoc__section-title {
        font-size: 2rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__sub-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-the-thao-cac-loai-keo-cuoc {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-the-thao-cac-loai-keo-cuoc__hero-section {
        padding-top: 10px !important; /* Fixed header offset handled by body, small top padding for section */
        padding-bottom: 40px;
    }

    .page-the-thao-cac-loai-keo-cuoc__main-title {
        font-size: 2rem; /* Adjusted for mobile */
        margin-bottom: 10px;
    }

    .page-the-thao-cac-loai-keo-cuoc__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-the-thao-cac-loai-keo-cuoc__hero-cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 10px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

    .page-the-thao-cac-loai-keo-cuoc__btn-primary,
    .page-the-thao-cac-loai-keo-cuoc__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-the-thao-cac-loai-keo-cuoc__section {
        padding: 40px 0;
    }

    .page-the-thao-cac-loai-keo-cuoc__article-wrap {
        padding: 0 15px !important; /* Ensure padding for content */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao-cac-loai-keo-cuoc__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .page-the-thao-cac-loai-keo-cuoc__sub-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-the-thao-cac-loai-keo-cuoc p,
    .page-the-thao-cac-loai-keo-cuoc li {
        font-size: 1rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    .page-the-thao-cac-loai-keo-cuoc__faq-question {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-the-thao-cac-loai-keo-cuoc__cta-bottom {
        margin-top: 40px;
    }
}