/* style/the-thao-ca-cuoc-esports.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-login-register: #FFFF00;
    --background-default: #FFFFFF;
}

.page-the-thao-ca-cuoc-esports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-default);
}

.page-the-thao-ca-cuoc-esports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-the-thao-ca-cuoc-esports__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-the-thao-ca-cuoc-esports__light-bg {
    background-color: var(--background-default);
    color: var(--text-dark);
}

.page-the-thao-ca-cuoc-esports__section-title {
    font-size: clamp(2em, 5vw, 2.5em);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
    line-height: 1.2;
}

.page-the-thao-ca-cuoc-esports__text-block {
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-the-thao-ca-cuoc-esports__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000; /* Dark background for visual contrast */
}

.page-the-thao-ca-cuoc-esports__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for desktop hero */
    overflow: hidden;
}

.page-the-thao-ca-cuoc-esports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-the-thao-ca-cuoc-esports__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    color: var(--text-light);
    background-color: var(--primary-color); /* Use primary color for hero content background */
    width: 100%;
    box-sizing: border-box;
}

.page-the-thao-ca-cuoc-esports__main-title {
    font-size: clamp(2.5em, 6vw, 3em); /* Using clamp for responsive font size */
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-the-thao-ca-cuoc-esports__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-the-thao-ca-cuoc-esports__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.page-the-thao-ca-cuoc-esports__btn-primary,
.page-the-thao-ca-cuoc-esports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-the-thao-ca-cuoc-esports__btn-primary {
    background-color: var(--button-register);
    color: var(--button-font-login-register);
    border: 2px solid var(--button-register);
}

.page-the-thao-ca-cuoc-esports__btn-primary:hover {
    background-color: #9c0606;
    border-color: #9c0606;
}

.page-the-thao-ca-cuoc-esports__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-the-thao-ca-cuoc-esports__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Games Section */
.page-the-thao-ca-cuoc-esports__games-section {
    padding: 60px 0;
    background-color: var(--background-default);
}

.page-the-thao-ca-cuoc-esports__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao-ca-cuoc-esports__game-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao-ca-cuoc-esports__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-the-thao-ca-cuoc-esports__game-card-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 15px 10px;
}

.page-the-thao-ca-cuoc-esports__game-card-description {
    font-size: 0.95em;
    color: var(--text-dark);
    padding: 0 15px;
    flex-grow: 1;
}

/* Guide Section */
.page-the-thao-ca-cuoc-esports__guide-section {
    padding: 60px 0;
}

.page-the-thao-ca-cuoc-esports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao-ca-cuoc-esports__step-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-the-thao-ca-cuoc-esports__step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.page-the-thao-ca-cuoc-esports__step-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-the-thao-ca-cuoc-esports__step-description {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotion Section */
.page-the-thao-ca-cuoc-esports__promo-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-the-thao-ca-cuoc-esports__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-the-thao-ca-cuoc-esports__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 8px;
    display: block;
}

.page-the-thao-ca-cuoc-esports__promo-card-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-the-thao-ca-cuoc-esports__promo-card-description {
    font-size: 0.95em;
    flex-grow: 1;
}

/* Why fv88 Section */
.page-the-thao-ca-cuoc-esports__why-fv88-section {
    padding: 60px 0;
    background-color: var(--background-default);
}

.page-the-thao-ca-cuoc-esports__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-the-thao-ca-cuoc-esports__advantage-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-the-thao-ca-cuoc-esports__advantage-item strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-the-thao-ca-cuoc-esports__faq-section {
    padding: 60px 0;
}

.page-the-thao-ca-cuoc-esports__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao-ca-cuoc-esports__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.page-the-thao-ca-cuoc-esports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
}

.page-the-thao-ca-cuoc-esports__faq-question::-webkit-details-marker {
    display: none;
}

.page-the-thao-ca-cuoc-esports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-the-thao-ca-cuoc-esports__faq-item[open] .page-the-thao-ca-cuoc-esports__faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao-ca-cuoc-esports__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-light);
}

/* Conclusion Section */
.page-the-thao-ca-cuoc-esports__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-the-thao-ca-cuoc-esports__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */

/* General image and container responsiveness for mobile */
.page-the-thao-ca-cuoc-esports img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-the-thao-ca-cuoc-esports {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-the-thao-ca-cuoc-esports__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-the-thao-ca-cuoc-esports__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    /* HERO 主图区域 */
    .page-the-thao-ca-cuoc-esports__hero-section {
        padding-top: 10px !important; /* Small top padding */
    }

    .page-the-thao-ca-cuoc-esports__hero-content {
        padding: 30px 15px;
    }

    .page-the-thao-ca-cuoc-esports__main-title {
        font-size: 2em; /* Smaller font for mobile H1 */
    }

    .page-the-thao-ca-cuoc-esports__hero-description {
        font-size: 1em;
    }

    .page-the-thao-ca-cuoc-esports__hero-cta-buttons,
    .page-the-thao-ca-cuoc-esports__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-the-thao-ca-cuoc-esports__btn-primary,
    .page-the-thao-ca-cuoc-esports__btn-secondary,
    .page-the-thao-ca-cuoc-esports a[class*="button"],
    .page-the-thao-ca-cuoc-esports a[class*="btn"] {
        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-the-thao-ca-cuoc-esports__intro-section {
        padding: 40px 0;
    }

    /* 博客网格 (Games Grid acts as blog grid here) */
    .page-the-thao-ca-cuoc-esports__game-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao-ca-cuoc-esports__game-card {
        padding-bottom: 15px;
    }

    .page-the-thao-ca-cuoc-esports__game-card-image {
        height: 180px;
    }

    /* 通用图片与容器 */
    .page-the-thao-ca-cuoc-esports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-the-thao-ca-cuoc-esports__section,
    .page-the-thao-ca-cuoc-esports__card,
    .page-the-thao-ca-cuoc-esports__container,
    .page-the-thao-ca-cuoc-esports__game-card,
    .page-the-thao-ca-cuoc-esports__step-item,
    .page-the-thao-ca-cuoc-esports__promo-card,
    .page-the-thao-ca-cuoc-esports__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-the-thao-ca-cuoc-esports__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao-ca-cuoc-esports__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-the-thao-ca-cuoc-esports__advantages-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* FAQ 与其他模块 */
    .page-the-thao-ca-cuoc-esports__faq-list {
        padding: 0 15px;
    }

    .page-the-thao-ca-cuoc-esports__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-the-thao-ca-cuoc-esports__faq-answer {
        padding: 10px 15px 15px;
    }
}

@media (max-width: 549px) {
    .page-the-thao-ca-cuoc-esports__game-cards-grid,
    .page-the-thao-ca-cuoc-esports__steps-grid,
    .page-the-thao-ca-cuoc-esports__promo-cards-grid,
    .page-the-thao-ca-cuoc-esports__advantages-list {
        grid-template-columns: 1fr;
    }
}