/* style/the-thao.css */
.page-the-thao {
    --primary-color: #CC0000;
    --secondary-color: #003366;
    --accent-color: #FFD700; /* Gold for accent */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #002244;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
}

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

/* Hero Section */
.page-the-thao .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Fallback for image load */
    color: var(--text-color-light);
}

.page-the-thao .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-the-thao .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-the-thao .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(204, 0, 0, 0.4);
    border: 2px solid var(--primary-color);
}

.page-the-thao .cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.5);
    border-color: var(--accent-color);
}

/* General Section Styling */
.page-the-thao section {
    padding: 60px 0;
    margin-bottom: 30px;
}

.page-the-thao section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.page-the-thao section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-the-thao h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

.page-the-thao h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-the-thao p {
    font-size: 1.1em;
    color: var(--text-color-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.page-the-thao p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-the-thao p a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

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

.page-the-thao .sport-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

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

.page-the-thao .sport-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-the-thao .sport-card h3 {
    font-size: 1.5em;
    margin: 25px 15px 15px;
    color: var(--secondary-color);
}

.page-the-thao .sport-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-the-thao .sport-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-the-thao .sport-card p {
    padding: 0 25px 25px;
    font-size: 1em;
    color: #555555;
}

/* Advantage List */
.page-the-thao .advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao .advantage-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-the-thao .advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-the-thao .advantage-item img {
    width: 150px; /* Min size 200x200, so this is just a visual guide, actual image will be larger */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-the-thao .advantage-item h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-the-thao .advantage-item p {
    font-size: 1em;
    color: #666666;
}

/* Step-by-step Guide */
.page-the-thao .step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.page-the-thao .step-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-the-thao .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--text-color-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .step-item h3 {
    margin-top: 25px;
    color: var(--secondary-color);
    font-size: 1.7em;
}

.page-the-thao .step-item p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-the-thao .btn-primary, .page-the-thao .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1em;
    margin-top: 10px;
}

.page-the-thao .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-the-thao .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .btn-secondary {
    background-color: #f0f0f0;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 10px;
}

.page-the-thao .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Promotions List */
.page-the-thao .promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-the-thao .promotion-list li {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-color-dark);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.2s ease;
}

.page-the-thao .promotion-list li:hover {
    transform: translateX(5px);
}

.page-the-thao .promotion-list li strong {
    color: var(--secondary-color);
}

.page-the-thao .promotion-list li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-the-thao .promotion-list li a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-the-thao .faq-items {
    margin-top: 40px;
}

.page-the-thao .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

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

.page-the-thao .faq-question:hover {
    background-color: #004488;
}

.page-the-thao .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--text-color-light);
    text-align: left;
}

.page-the-thao .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-the-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-the-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #fdfdfd;
    padding: 0 25px;
}

.page-the-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.page-the-thao .faq-answer p {
    color: #444444;
    font-size: 1em;
    text-align: left;
    margin-bottom: 0;
}

.page-the-thao .faq-answer p a {
    color: var(--primary-color);
}

/* Final CTA Section */
.page-the-thao .section-cta-final {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-color-light);
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-the-thao .section-cta-final h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.page-the-thao .section-cta-final h2::after {
    background-color: var(--accent-color);
}

.page-the-thao .section-cta-final p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-the-thao .section-cta-final p a {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-the-thao .section-cta-final .cta-button.primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    margin-right: 20px;
}

.page-the-thao .section-cta-final .cta-button.primary:hover {
    background-color: #FFEA00;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-the-thao .section-cta-final .cta-button.secondary {
    background-color: transparent;
    color: var(--text-color-light);
    border-color: var(--text-color-light);
    box-shadow: none;
}

.page-the-thao .section-cta-final .cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-the-thao .hero-content h1 {
        font-size: 2.8em;
    }
    .page-the-thao .hero-content p {
        font-size: 1.2em;
    }
    .page-the-thao h2 {
        font-size: 2.2em;
    }
    .page-the-thao h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-the-thao .hero-section {
        padding: 40px 15px;
    }
    .page-the-thao .hero-image img {
        border-radius: 4px;
    }
    .page-the-thao .hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-the-thao .hero-content h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-the-thao .hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-the-thao .cta-button {
        padding: 14px 35px;
        font-size: 1em;
    }
    .page-the-thao section {
        padding: 40px 0;
    }
    .page-the-thao h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-the-thao h3 {
        font-size: 1.4em;
    }
    .page-the-thao p {
        font-size: 0.95em;
    }
    .page-the-thao .sports-grid, 
    .page-the-thao .advantage-list, 
    .page-the-thao .step-by-step {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-the-thao .sport-card img, 
    .page-the-thao .advantage-item img {
        height: 200px;
    }
    .page-the-thao .step-item {
        padding: 30px;
    }
    .page-the-thao .step-number {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-the-thao .btn-primary, .page-the-thao .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .page-the-thao .section-cta-final .cta-button.primary, 
    .page-the-thao .section-cta-final .cta-button.secondary {
        margin-right: 0;
        margin-bottom: 15px;
        width: auto;
    }
    .page-the-thao .faq-question {
        padding: 15px 20px;
    }
    .page-the-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-the-thao .faq-toggle {
        font-size: 20px;
    }
    .page-the-thao .faq-answer {
        padding: 0 20px;
    }
    .page-the-thao .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-the-thao .hero-content h1 {
        font-size: 1.8em;
    }
    .page-the-thao .hero-content p {
        font-size: 0.9em;
    }
    .page-the-thao .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-the-thao h2 {
        font-size: 1.5em;
    }
    .page-the-thao h3 {
        font-size: 1.2em;
    }
    .page-the-thao p {
        font-size: 0.85em;
    }
}