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

.page-ththao {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

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

.page-ththao__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page-ththao__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin-top: -100px; /* Overlap slightly for design, but text is below image */
}

.page-ththao__main-title {
    color: var(--text-main-color);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    /* No fixed font-size, relying on responsive scaling */
}

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

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-ththao__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-ththao__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-ththao__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-ththao__section-title {
    color: var(--gold-color);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-ththao__text-block {
    color: var(--text-secondary-color);
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-ththao__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-ththao__light-bg .page-ththao__section-title {
    color: var(--primary-color);
}

.page-ththao__light-bg .page-ththao__text-block,
.page-ththao__light-bg p,
.page-ththao__light-bg li {
    color: #333333;
}

.page-ththao__dark-section {
    background-color: var(--background-color);
    color: var(--text-main-color);
    padding: 60px 0;
}

.page-ththao__dark-section .page-ththao__section-title {
    color: var(--gold-color);
}

.page-ththao__dark-section .page-ththao__text-block,
.page-ththao__dark-section p,
.page-ththao__dark-section li {
    color: var(--text-secondary-color);
}

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

.page-ththao__game-card,
.page-ththao__guide-step {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-ththao__game-card:hover,
.page-ththao__guide-step:hover {
    transform: translateY(-5px);
}

.page-ththao__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

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

.page-ththao__card-text {
    color: var(--text-secondary-color);
    font-size: 0.95em;
    padding: 0 15px 20px;
}

/* Promotions Section */
.page-ththao__promotions-section {
    padding: 60px 0;
}

.page-ththao__promotion-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-ththao__promotion-list li {
    background-color: var(--card-bg);
    color: var(--text-main-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.05em;
}

.page-ththao__list-highlight {
    color: var(--gold-color);
}

/* Guide Section */
.page-ththao__guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-ththao__guide-step .page-ththao__card-title {
    color: var(--primary-color);
    font-size: 1.6em;
    padding-top: 20px;
}

/* Tips Section */
.page-ththao__tips-section {
    padding: 60px 0;
}

.page-ththao__tips-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-ththao__tips-list li {
    color: #333333;
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* FAQ Section */
.page-ththao__faq-section {
    padding: 60px 0;
}

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

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

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

.page-ththao__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-ththao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

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

/* Call to Action Section */
.page-ththao__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-ththao__main-title {
        font-size: 2.5em;
    }
    .page-ththao__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-ththao__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Body handles header offset, small decorative top padding */
    }
    .page-ththao__hero-content {
        margin-top: -50px; /* Adjust overlap for smaller screens */
        padding: 20px 15px;
    }
    .page-ththao__main-title {
        font-size: 2em;
    }
    .page-ththao__description {
        font-size: 1em;
    }
    .page-ththao__section-title {
        font-size: 1.8em;
    }
    .page-ththao__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
    }
    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-ththao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any video) */
    .page-ththao video,
    .page-ththao__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-ththao__video-section,
    .page-ththao__video-container,
    .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;
    }

    /* General content containers for mobile */
    .page-ththao__container,
    .page-ththao__section,
    .page-ththao__card,
    .page-ththao__hero-section,
    .page-ththao__introduction-section,
    .page-ththao__games-section,
    .page-ththao__promotions-section,
    .page-ththao__guide-section,
    .page-ththao__tips-section,
    .page-ththao__faq-section,
    .page-ththao__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-ththao__promotion-list li,
    .page-ththao__tips-list li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-ththao__main-title {
        font-size: 1.8em;
    }
    .page-ththao__section-title {
        font-size: 1.5em;
    }
    .page-ththao__hero-content {
        padding: 15px 10px;
        margin-top: -30px;
    }
    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}