/* style/ththao.css */

/* Custom Colors from palette */
:root {
    --lv88-bg-dark: #08160F;
    --lv88-card-bg: #11271B;
    --lv88-text-main: #F2FFF6;
    --lv88-text-secondary: #A7D9B8;
    --lv88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --lv88-border: #2E7A4E;
    --lv88-glow: #57E38D;
    --lv88-gold: #F2C14E;
    --lv88-divider: #1E3A2A;
    --lv88-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body background is dark */
.page-ththao {
    background-color: var(--lv88-bg-dark);
    color: var(--lv88-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-ththao__section {
    padding: 60px 0;
    text-align: center;
}

.page-ththao__dark-bg {
    background-color: var(--lv88-bg-dark);
    color: var(--lv88-text-main);
}

.page-ththao__card-bg {
    background-color: var(--lv88-card-bg);
    color: var(--lv88-text-main);
}

.page-ththao__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--lv88-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-ththao__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--lv88-text-secondary);
}

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

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

.page-ththao__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-ththao__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    color: var(--lv88-text-main);
    padding: 20px;
}

.page-ththao__main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--lv88-gold);
    line-height: 1.1;
}

.page-ththao__description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--lv88-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-ththao__btn-primary {
    background: var(--lv88-btn-gradient);
    color: var(--lv88-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ththao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-ththao__btn-secondary {
    background: transparent;
    color: var(--lv88-glow);
    border: 2px solid var(--lv88-glow);
}

.page-ththao__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

/* Intro Section */
.page-ththao__intro-section .page-ththao__section-title {
    color: var(--lv88-gold);
}

/* Sports Highlight Section */
.page-ththao__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__sport-card {
    background-color: var(--lv88-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--lv88-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ththao__sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-ththao__sport-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--lv88-deep-green);
}

.page-ththao__sport-title {
    font-size: 24px;
    color: var(--lv88-glow);
    margin-bottom: 10px;
}

.page-ththao__sport-description {
    font-size: 16px;
    color: var(--lv88-text-secondary);
}

/* Betting Types Section */
.page-ththao__betting-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--lv88-glow);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 17px;
    color: var(--lv88-text-main);
}

.page-ththao__list-item strong {
    color: var(--lv88-gold);
}

.page-ththao__cta-center {
    margin-top: 40px;
}

/* Guide Section */
.page-ththao__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ththao__step-card {
    background-color: var(--lv88-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--lv88-border);
}

.page-ththao__step-title {
    font-size: 22px;
    color: var(--lv88-gold);
    margin-bottom: 10px;
}

.page-ththao__step-description {
    font-size: 16px;
    color: var(--lv88-text-secondary);
}

.page-ththao__content-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    border: 2px solid var(--lv88-glow);
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.3);
}

/* Promotions Section */
.page-ththao__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.page-ththao__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__feature-item {
    background-color: var(--lv88-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--lv88-border);
}

.page-ththao__feature-title {
    font-size: 24px;
    color: var(--lv88-glow);
    margin-bottom: 10px;
}

.page-ththao__feature-description {
    font-size: 16px;
    color: var(--lv88-text-secondary);
    margin-bottom: 20px;
}

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

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

.page-ththao__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-ththao__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--lv88-text-main);
    cursor: pointer;
    background-color: var(--lv88-deep-green);
    border-bottom: 1px solid var(--lv88-divider);
    transition: background-color 0.3s ease;
}

.page-ththao__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

.page-ththao__faq-qtext {
    flex-grow: 1;
    color: var(--lv88-gold);
}

.page-ththao__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--lv88-glow);
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
    content: '−';
}

.page-ththao__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    color: var(--lv88-text-secondary);
}

.page-ththao__faq-answer p {
    margin: 0;
}

/* Bottom CTA Section */
.page-ththao__cta-bottom {
    padding: 80px 0;
    background-color: var(--lv88-deep-green);
    border-top: 2px solid var(--lv88-border);
}

.page-ththao__cta-bottom-content {
    max-width: 800px;
}

.page-ththao__cta-bottom .page-ththao__section-title {
    color: var(--lv88-gold);
    margin-bottom: 25px;
}

.page-ththao__cta-bottom .page-ththao__description {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-ththao__hero-content {
        padding: 15px;
    }
    .page-ththao__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-ththao__description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-ththao__section {
        padding: 40px 0;
    }
    .page-ththao__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-ththao__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-ththao__description {
        font-size: 16px;
    }
    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-ththao__container,
    .page-ththao__sports-grid,
    .page-ththao__guide-steps,
    .page-ththao__feature-grid,
    .page-ththao__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-ththao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-ththao__hero-image-wrapper,
    .page-ththao__hero-image {
        height: 100% !important;
        width: 100% !important;
    }

    .page-ththao__sport-card,
    .page-ththao__step-card,
    .page-ththao__feature-item {
        padding: 20px;
    }

    .page-ththao__sport-image {
        height: 180px;
    }

    .page-ththao__list-item,
    .page-ththao__faq-question,
    .page-ththao__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-ththao__faq-question {
        font-size: 16px;
    }

    .page-ththao__faq-toggle {
        font-size: 20px;
    }

    .page-ththao__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-ththao__section-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    .page-ththao__text-block {
        font-size: 15px;
    }
    .page-ththao__sport-title,
    .page-ththao__step-title,
    .page-ththao__feature-title {
        font-size: 20px;
    }
    .page-ththao__sport-description,
    .page-ththao__step-description,
    .page-ththao__feature-description,
    .page-ththao__list-item {
        font-size: 14px;
    }
}