/* style/ththao.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --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;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-ththao__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-ththao__subtitle {
    font-size: 1.8em;
    color: var(--text-main-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-ththao__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

/* Hero Section */
.page-ththao__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* body handles header offset, this is decorative */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

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

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

.page-ththao__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.page-ththao__main-title {
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-ththao__hero-description {
    font-size: 1.3em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.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: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-ththao__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-ththao__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ththao__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.page-ththao__introduction-section,
.page-ththao__guide-section,
.page-ththao__security-section,
.page-ththao__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

.page-ththao__sports-overview-section,
.page-ththao__promotions-section,
.page-ththao__mobile-app-section,
.page-ththao__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-ththao__dark-section {
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
}

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

.page-ththao__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ththao__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px; /* Ensure images are not tiny icons */
    min-width: 200px;
    min-height: 200px;
}

.page-ththao__feature-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ththao__feature-description {
    color: var(--text-secondary-color);
    font-size: 1em;
}

/* Sport Categories & Bet Types */
.page-ththao__sport-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
}

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

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

.page-ththao__card-description {
    padding: 0 20px 20px;
    color: var(--text-secondary-color);
    flex-grow: 1;
}

.page-ththao__btn-text {
    display: inline-block;
    padding: 10px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

.page-ththao__btn-text:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
}

.page-ththao__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-ththao__bet-type-item {
    padding: 25px;
    text-align: center;
}

.page-ththao__bet-type-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ththao__bet-type-description {
    color: var(--text-secondary-color);
    font-size: 0.95em;
}

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

.page-ththao__step-item {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ththao__step-number {
    background: var(--gold-color);
    color: var(--background-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-ththao__step-description {
    color: var(--text-secondary-color);
    font-size: 1em;
    flex-grow: 1;
}

/* Promotions */
.page-ththao__promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ththao__promo-card {
    text-align: center;
}

/* Security */
.page-ththao__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-ththao__security-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-ththao__security-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px; /* Ensure images are not tiny icons */
    min-width: 200px;
    min-height: 200px;
}

.page-ththao__security-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-ththao__security-description {
    color: var(--text-secondary-color);
    font-size: 1em;
}

/* Mobile App */
.page-ththao__app-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__app-content {
    flex: 1;
    min-width: 300px;
}

.page-ththao__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-ththao__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-ththao__faq-list {
    margin-top: 40px;
}

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

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
}

.page-ththao__faq-question::-webkit-details-marker, 
.page-ththao__faq-question::marker {
    display: none;
}

.page-ththao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-ththao__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: var(--text-secondary-color);
    border-top: 1px solid var(--divider-color);
    background-color: var(--card-bg);
}

.page-ththao__faq-item:not([open]) .page-ththao__faq-answer {
    display: none;
}

/* Conclusion */
.page-ththao__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

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

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

@media (max-width: 768px) {
    .page-ththao {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-ththao__container {
        padding: 0 15px;
    }
    .page-ththao__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-ththao__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-ththao__hero-description {
        font-size: 1em;
    }
    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        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__subtitle {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-ththao__paragraph {
        font-size: 0.95em;
    }
    .page-ththao__features-grid,
    .page-ththao__sport-categories,
    .page-ththao__bet-types-grid,
    .page-ththao__steps-grid,
    .page-ththao__promo-cards-grid,
    .page-ththao__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-ththao__feature-item,
    .page-ththao__card,
    .page-ththao__step-item,
    .page-ththao__security-item {
        padding: 20px;
    }
    .page-ththao__card-image,
    .page-ththao__app-image,
    .page-ththao__hero-image,
    .page-ththao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-ththao__app-download {
        flex-direction: column;
        padding: 30px;
    }
    .page-ththao__app-content,
    .page-ththao__app-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-ththao__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-ththao__faq-answer {
        padding: 15px;
        font-size: 1em;
    }
    .page-ththao__introduction-section,
    .page-ththao__guide-section,
    .page-ththao__security-section,
    .page-ththao__faq-section,
    .page-ththao__sports-overview-section,
    .page-ththao__promotions-section,
    .page-ththao__mobile-app-section,
    .page-ththao__conclusion-section {
        padding: 40px 0;
    }
    .page-ththao__section,
    .page-ththao__card,
    .page-ththao__container,
    .page-ththao__hero-section,
    .page-ththao__app-download {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */
        /* padding-right: 15px; */
        overflow: hidden !important;
    }
    .page-ththao__video-section {
        padding-top: 10px !important; 
    }
}

@media (max-width: 480px) {
    .page-ththao__section-title {
        font-size: 1.5em;
    }
    .page-ththao__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-ththao__hero-description {
        font-size: 0.9em;
    }
    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-ththao__feature-title,
    .page-ththao__card-title,
    .page-ththao__step-title,
    .page-ththao__security-title {
        font-size: 1.2em;
    }
    .page-ththao__faq-question {
        font-size: 1em;
    }
    .page-ththao__faq-answer {
        font-size: 0.95em;
    }
}