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

/* Base Styles for page-ththao (assuming dark body background from shared.css) */
.page-ththao {
    background-color: var(--bg-main);
    color: var(--text-main);
    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;
}

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

.page-ththao__main-title {
    font-size: clamp(2.5em, 5vw, 3.2em);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ththao__text-block {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-ththao__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-ththao a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-ththao a:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
}

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

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

.page-ththao__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-ththao__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-ththao__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    max-width: 300px;
}

/* Hero Section */
.page-ththao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--bg-main);
}

.page-ththao__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height of hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-ththao__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    margin-top: -80px; /* Pull content up slightly over the image */
}

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

/* About Sports Section */
.page-ththao__about-sports-section {
    padding: 60px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--divider-color);
}

/* Sports Types Section */
.page-ththao__sports-types-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--divider-color);
}

.page-ththao__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-ththao__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-ththao__card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-ththao__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Live Betting Section */
.page-ththao__live-betting-section {
    padding: 60px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--divider-color);
}

.page-ththao__image-centered {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Promotions Section */
.page-ththao__promotions-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--divider-color);
}

.page-ththao__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-ththao__list-item {
    background-color: var(--deep-green);
    border-left: 5px solid var(--gold-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: var(--text-main);
    font-size: 1em;
}

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

/* Guide Section */
.page-ththao__guide-section {
    padding: 60px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--divider-color);
}

/* Why Choose Section */
.page-ththao__why-choose-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--divider-color);
}

.page-ththao__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-ththao__feature-list .page-ththao__list-item {
    background-color: transparent;
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: var(--text-main);
    font-size: 1em;
}

.page-ththao__feature-list .page-ththao__list-item strong {
    color: var(--text-main);
}

/* FAQ Section */
.page-ththao__faq-section {
    padding: 60px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--divider-color);
}

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

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

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

.page-ththao__faq-question:hover {
    background-color: var(--primary-color);
}

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

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

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

/* Conclusion Section */
.page-ththao__conclusion-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--divider-color);
    text-align: center;
}

/* Global image styles */
.page-ththao img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures proper spacing and prevents inline issues */
    object-fit: cover;
    /* No filter to change image color */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-ththao__hero-content {
        margin-top: -60px;
    }
}

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

    .page-ththao__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-ththao__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-ththao__description {
        font-size: 1em;
        line-height: 1.5;
    }

    .page-ththao__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .page-ththao__btn-primary,
    .page-ththao__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile image responsive adaptation */
    .page-ththao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile video responsive adaptation (if video were present) */
    .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;
    }
    .page-ththao__video-section { /* Small top padding for video section */
        padding-top: 10px !important;
    }

    /* Content area containers for mobile */
    .page-ththao__section,
    .page-ththao__card,
    .page-ththao__container,
    .page-ththao__about-sports-section,
    .page-ththao__sports-types-section,
    .page-ththao__live-betting-section,
    .page-ththao__promotions-section,
    .page-ththao__guide-section,
    .page-ththao__why-choose-section,
    .page-ththao__faq-section,
    .page-ththao__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-ththao__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-ththao__card {
        padding: 20px;
    }

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

    .page-ththao__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-ththao__hero-content {
        margin-top: -20px;
    }
}