/* style/th-thao.css */

:root {
    --primary-color: #007bff; /* Deep Blue */
    --secondary-color: #ffc107; /* Gold */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #001f4d; /* Darker blue for contrast */
    --border-color: #e0e0e0;
}

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

.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: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-th-thao .section-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-th-thao .section-title a:hover {
    text-decoration: underline;
}

.page-th-thao .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-th-thao p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
}

.page-th-thao .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.page-th-thao .cta-button:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Banner Section */
.page-th-thao .banner-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-th-thao .banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto 30px;
}

.page-th-thao .banner-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-th-thao .banner-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-th-thao .banner-title a:hover {
    text-decoration: underline;
}

.page-th-thao .banner-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: center;
}

.page-th-thao .banner-image-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Introduction Section */
.page-th-thao .introduction-section {
    background-color: var(--background-light);
    text-align: center;
}

/* Sports Categories Section */
.page-th-thao .sports-categories-section {
    background-color: #f0f2f5;
}

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

.page-th-thao .sport-card {
    background: var(--text-color-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-th-thao .sport-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-th-thao .sport-card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-th-thao .sport-card-description {
    font-size: 16px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-th-thao .card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-th-thao .card-button:hover {
    background: var(--secondary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
}

/* Betting Guide Section */
.page-th-thao .betting-guide-section {
    background-color: var(--text-color-light);
}

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

.page-th-thao .guide-item {
    background: var(--background-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.page-th-thao .guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-th-thao .guide-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-th-thao .guide-item p {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: left;
}

.page-th-thao .guide-item p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-th-thao .guide-item p a:hover {
    color: var(--secondary-color);
}

/* Promotions Section */
.page-th-thao .promotions-section {
    background-color: #f0f2f5;
}

.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: var(--text-color-light);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-th-thao .promo-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-th-thao .promo-card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-th-thao .promo-card-description {
    font-size: 16px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    padding: 0 20px;
}

/* Why Choose Us Section */
.page-th-thao .why-choose-us-section {
    background-color: var(--text-color-light);
    text-align: center;
}

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

.page-th-thao .feature-list li {
    background: var(--background-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-th-thao .feature-list p {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: left;
}

/* FAQ Section */
.page-th-thao .faq-section {
    background-color: #f8f9fa;
}

.page-th-thao .faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-color-light);
}

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

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-question h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-question h3 a:hover {
    text-decoration: underline;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-color-dark);
}

.faq-answer p {
    padding-bottom: 20px;
    margin: 0;
    font-size: 16px;
}

.faq-answer p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer p a:hover {
    color: var(--secondary-color);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Sufficient height to contain content */
    padding: 15px 25px 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-th-thao .banner-title {
        font-size: 40px;
    }
    .page-th-thao .banner-description {
        font-size: 18px;
    }
    .page-th-thao .section-title {
        font-size: 30px;
    }
    .page-th-thao .sport-grid, .page-th-thao .promo-grid, .page-th-thao .guide-steps, .page-th-thao .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-th-thao .sport-card-image, .page-th-thao .promo-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-th-thao section {
        padding: 40px 0;
    }
    .page-th-thao .banner-title {
        font-size: 32px;
    }
    .page-th-thao .banner-description {
        font-size: 16px;
    }
    .page-th-thao .section-title {
        font-size: 26px;
    }
    .page-th-thao .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-th-thao .sport-card-title, .page-th-thao .promo-card-title, .page-th-thao .guide-title, .page-th-thao .feature-title {
        font-size: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 16px;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-th-thao .banner-title {
        font-size: 28px;
    }
    .page-th-thao .section-title {
        font-size: 22px;
    }
    .page-th-thao .sport-grid, .page-th-thao .promo-grid, .page-th-thao .guide-steps, .page-th-thao .feature-list {
        grid-template-columns: 1fr;
    }
    .page-th-thao .sport-card-image, .page-th-thao .promo-card-image {
        height: 180px;
    }
}