/* style/th-thao.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #071a3d;
    --border-color: #e0e0e0;
}

.page-th-thao {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-th-thao section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-th-thao .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-th-thao .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-th-thao .section-paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #555555;
}

.page-th-thao .highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-th-thao .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-th-thao .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-th-thao .cta-button.secondary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-th-thao .cta-button.secondary:hover {
    background: #061a47;
    color: var(--secondary-color);
}

/* Hero Banner */
.page-th-thao .hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
}

.page-th-thao .hero-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.page-th-thao .hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-th-thao .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-th-thao .hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-th-thao .hero-description {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: #f0f0f0;
}

/* Intro Section */
.page-th-thao .intro-section {
    background-color: var(--text-light);
    padding: 80px 0;
}

/* Features Section */
.page-th-thao .features-section {
    background-color: var(--bg-light);
}

.page-th-thao .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao .feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao .feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-th-thao .feature-heading {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-th-thao .feature-text {
    font-size: 1em;
    color: #666666;
}

/* Sports Categories Section */
.page-th-thao .sports-categories-section {
    background-color: var(--text-light);
}

.page-th-thao .sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao .sport-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao .sport-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-th-thao .sport-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-th-thao .sport-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-th-thao .sport-title a:hover {
    color: var(--secondary-color);
}

.page-th-thao .sport-description {
    font-size: 1em;
    color: #666666;
    padding: 0 15px 20px;
}

/* Live Betting Section */
.page-th-thao .live-betting-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.page-th-thao .live-betting-section .section-title {
    color: var(--secondary-color);
}

.page-th-thao .live-betting-section .section-paragraph {
    color: #f0f0f0;
}

.page-th-thao .live-betting-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-th-thao .live-betting-list li {
    display: flex;
    align-items: center;
    font-size: 1.15em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-th-thao .live-betting-list .list-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Promotions Section */
.page-th-thao .promotions-section {
    background-color: var(--bg-light);
}

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

.page-th-thao .promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao .promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-th-thao .promo-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-th-thao .promo-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-th-thao .promo-title a:hover {
    color: var(--secondary-color);
}

.page-th-thao .promo-text {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px;
    min-height: 60px; /* Ensure consistent card height */
}

.page-th-thao .promo-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.page-th-thao .promo-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Tips Section */
.page-th-thao .tips-section {
    background-color: var(--text-light);
}

.page-th-thao .tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-th-thao .tips-list li {
    background-color: var(--bg-light);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-th-thao .tips-list li strong {
    color: var(--primary-color);
}

/* Responsible Gaming Section */
.page-th-thao .responsible-gaming-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 80px; /* Add more padding for button */
}

.page-th-thao .responsible-gaming-section .section-title {
    color: var(--secondary-color);
}

.page-th-thao .responsible-gaming-section .section-paragraph {
    color: #f0f0f0;
}

/* FAQ Section */
.page-th-thao .faq-section {
    background-color: var(--bg-light);
}

.page-th-thao .faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-th-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-th-thao .faq-question:hover {
    background: #f0f5f4;
}

.page-th-thao .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-th-thao .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-th-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-th-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.page-th-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
    border-color: var(--secondary-color);
}

.page-th-thao .faq-answer p {
    margin: 0;
    color: #555555;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-th-thao .hero-title {
        font-size: 3em;
    }
    .page-th-thao .hero-description {
        font-size: 1.1em;
    }
    .page-th-thao .section-title {
        font-size: 2em;
    }
    .page-th-thao .feature-grid, .page-th-thao .sports-grid, .page-th-thao .promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-th-thao .hero-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .page-th-thao section {
        padding: 40px 0;
    }
    .page-th-thao .hero-image {
        height: 350px;
    }
    .page-th-thao .hero-content {
        padding: 15px;
    }
    .page-th-thao .hero-title {
        font-size: 2.2em;
    }
    .page-th-thao .hero-description {
        font-size: 1em;
    }
    .page-th-thao .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-th-thao .section-title {
        font-size: 1.8em;
    }
    .page-th-thao .section-paragraph {
        font-size: 1em;
    }
    .page-th-thao .feature-item, .page-th-thao .sport-card, .page-th-thao .promo-card {
        padding: 20px;
    }
    .page-th-thao .feature-icon {
        width: 120px;
        height: 120px;
    }
    .page-th-thao .sport-image {
        height: 200px;
    }
    .page-th-thao .live-betting-list li {
        font-size: 1em;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .page-th-thao .live-betting-list .list-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
        margin-right: 0;
    }
    .page-th-thao .faq-question {
        padding: 15px 20px;
    }
    .page-th-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-th-thao .faq-answer {
        padding: 0 20px;
    }
    .page-th-thao .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-th-thao .hero-image {
        height: 300px;
    }
    .page-th-thao .hero-title {
        font-size: 1.8em;
    }
    .page-th-thao .hero-description {
        font-size: 0.9em;
    }
    .page-th-thao .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-th-thao .section-title {
        font-size: 1.6em;
    }
    .page-th-thao .section-paragraph {
        font-size: 0.9em;
    }
    .page-th-thao .feature-grid, .page-th-thao .sports-grid, .page-th-thao .promo-grid {
        grid-template-columns: 1fr;
    }
    .page-th-thao .feature-icon {
        width: 100px;
        height: 100px;
    }
    .page-th-thao .sport-image {
        height: 180px;
    }
    .page-th-thao .promo-image {
        height: 150px;
    }
    .page-th-thao .faq-question h3 {
        font-size: 1em;
    }
    .page-th-thao .faq-toggle {
        font-size: 20px;
    }
}