/* style/ththao.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại. */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-ththao {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Body background is dark, so text should be light */
    background-color: var(--page-bg);
}

.page-ththao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

.page-ththao__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-ththao__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-ththao__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-ththao__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-ththao__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    box-sizing: border-box;
}

.page-ththao__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ththao__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-ththao__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--deep-green-color);
}

.page-ththao__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-ththao__features-section {
    padding: 80px 20px;
    background-color: var(--page-bg);
}

.page-ththao__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-ththao__feature-card:hover {
    transform: translateY(-5px);
}

.page-ththao__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-ththao__feature-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-ththao__feature-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-ththao__guide-section {
    padding: 80px 20px;
    background-color: var(--deep-green-color);
}

.page-ththao__guide-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-ththao__guide-step {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-ththao__step-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-ththao__step-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-ththao__link-text {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-ththao__link-text:hover {
    color: var(--gold-color);
}

.page-ththao__step-image {
    width: 100%;
    height: auto;
    max-width: 700px;
    margin: 20px auto 0;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-ththao__promotions-section {
    padding: 80px 20px;
    background-color: var(--page-bg);
    text-align: center;
}

.page-ththao__promo-banner {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin: 0 auto 40px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-ththao__promo-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-ththao__promo-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-ththao__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
    color: var(--text-main);
    font-size: 1em;
}

.page-ththao__promo-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.page-ththao__list-icon {
    color: var(--glow-color);
    font-size: 1.2em;
    margin-right: 10px;
}

.page-ththao__security-support-section {
    padding: 80px 20px;
    background-color: var(--deep-green-color);
}

.page-ththao__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-ththao__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-ththao__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-ththao__card-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-ththao__faq-section {
    padding: 80px 20px;
    background-color: var(--page-bg);
}

.page-ththao__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.page-ththao__faq-item {
    margin-bottom: 0;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
}

.page-ththao__faq-item:last-child {
    border-bottom: none;
}

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    color: var(--text-main);
    font-weight: bold;
    list-style: none; /* For details/summary */
}

.page-ththao__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-ththao__faq-toggle {
    font-size: 1.5em;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
    transform: rotate(45deg);
}

.page-ththao__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-ththao__cta-final-section {
    padding: 80px 20px;
    background-color: var(--deep-green-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ththao__cta-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-ththao__cta-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-ththao__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-ththao__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-ththao {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-ththao__hero-section {
        padding: 10px 15px 40px;
    }

    .page-ththao__hero-content {
        padding: 0 15px;
    }

    .page-ththao__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }

    .page-ththao__intro-text {
        font-size: 1em;
    }

    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        overflow: hidden;
    }

    .page-ththao__btn-primary,
    .page-ththao__btn-secondary,
    .page-ththao a[class*="button"],
    .page-ththao 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-ththao__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-ththao__features-section,
    .page-ththao__guide-section,
    .page-ththao__promotions-section,
    .page-ththao__security-support-section,
    .page-ththao__faq-section,
    .page-ththao__cta-final-section {
        padding: 40px 15px;
    }

    .page-ththao__features-grid,
    .page-ththao__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ththao__feature-card,
    .page-ththao__guide-step,
    .page-ththao__security-card {
        padding: 20px;
    }

    .page-ththao__feature-icon,
    .page-ththao__step-image,
    .page-ththao__promo-banner,
    .page-ththao__card-image,
    .page-ththao__cta-image,
    .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__promo-content,
    .page-ththao__cta-content,
    .page-ththao__faq-list,
    .page-ththao__features-grid,
    .page-ththao__guide-steps,
    .page-ththao__security-grid,
    .page-ththao__video-container,
    .page-ththao__video-section,
    .page-ththao__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-ththao__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-ththao__faq-answer {
        padding: 0 20px 15px;
    }
    
    .page-ththao__video-section {
        padding-top: 10px !important; /* body đã xử lý --header-offset */
    }
}