/* style/ththao.css */

.page-ththao {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-ththao__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background-color: #0A4B2C; /* Deep Green for background */
}

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

.page-ththao__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

.page-ththao__main-title {
    font-size: 3.2em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    letter-spacing: -1px;
}

.page-ththao__description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #F2FFF6; /* Text Main */
}

.page-ththao__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

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

.page-ththao__btn-secondary {
    background: #11271B; /* Card BG */
    color: #A7D9B8; /* Text Secondary */
    border: 2px solid #2E7A4E; /* Border */
}

.page-ththao__btn-secondary:hover {
    background: #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-ththao__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

/* Why Choose Section */
.page-ththao__why-choose-section {
    padding: 80px 0;
    background-color: #08160F;
}

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

.page-ththao__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-ththao__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: contain;
}

.page-ththao__feature-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-ththao__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
}

/* Sports Halls Section */
.page-ththao__sports-halls-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-ththao__hall-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__hall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-ththao__hall-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-ththao__hall-title {
    font-size: 1.8em;
    color: #F2C14E; /* Gold */
    padding: 20px 20px 10px;
}

.page-ththao__hall-description {
    font-size: 1em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 20px;
}

/* How To Bet Section */
.page-ththao__how-to-bet-section {
    padding: 80px 0;
    background-color: #08160F;
}

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

.page-ththao__step-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-ththao__step-title {
    font-size: 1.6em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-ththao__step-text {
    font-size: 1em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

/* Promotions Section */
.page-ththao__promotions-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-ththao__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

.page-ththao__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-ththao__promo-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    padding: 20px 20px 10px;
}

.page-ththao__promo-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 20px;
}

.page-ththao__all-promotions-btn-container {
    text-align: center;
}

/* FAQ Section */
.page-ththao__faq-section {
    padding: 80px 0;
    background-color: #08160F;
}

.page-ththao__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-ththao__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-ththao__faq-item details {
    /* Reset default details styling */
    margin: 0;
    padding: 0;
}

.page-ththao__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

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

.page-ththao__faq-question .page-ththao__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

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

.page-ththao__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-ththao__faq-item[open] .page-ththao__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

/* Conclusion Section */
.page-ththao__conclusion-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-ththao__main-title {
        font-size: 2.8em;
    }
    .page-ththao__section-title {
        font-size: 2em;
    }
    .page-ththao__hero-image-wrapper {
        max-height: 500px;
    }
    .page-ththao__feature-grid, .page-ththao__hall-grid, .page-ththao__steps-grid, .page-ththao__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-ththao__hero-section {
        padding-top: 10px !important; /* ~10px top padding */
        padding-bottom: 40px;
    }

    .page-ththao__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-ththao__hero-image {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-ththao__main-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }

    .page-ththao__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-ththao__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .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: 12px 20px;
        font-size: 1em;
    }

    /* 通用图片与容器 */
    .page-ththao img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        object-fit: cover;
    }

    .page-ththao__container,
    .page-ththao__why-choose-section,
    .page-ththao__sports-halls-section,
    .page-ththao__how-to-bet-section,
    .page-ththao__promotions-section,
    .page-ththao__faq-section,
    .page-ththao__conclusion-section,
    .page-ththao__feature-card,
    .page-ththao__hall-card,
    .page-ththao__step-card,
    .page-ththao__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 产品展示图区域 (General Grid Layouts) */
    .page-ththao__feature-grid,
    .page-ththao__hall-grid,
    .page-ththao__steps-grid,
    .page-ththao__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ththao__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    /* Other Content Modules */
    .page-ththao__feature-card,
    .page-ththao__hall-card,
    .page-ththao__step-card,
    .page-ththao__promo-card {
        padding: 20px;
    }

    .page-ththao__feature-title,
    .page-ththao__hall-title,
    .page-ththao__step-title,
    .page-ththao__promo-title {
        font-size: 1.4em;
    }

    .page-ththao__feature-text,
    .page-ththao__hall-description,
    .page-ththao__step-text,
    .page-ththao__promo-text,
    .page-ththao__faq-question,
    .page-ththao__faq-answer p {
        font-size: 0.9em;
    }

    .page-ththao__faq-question {
        padding: 15px;
    }

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

@media (max-width: 480px) {
    .page-ththao__main-title {
        font-size: 1.8em !important;
    }
    .page-ththao__section-title {
        font-size: 1.6em !important;
    }
}