/* style/the-thao.css */

:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #F7FAFC;
    --text-dark: #2D3748;
    --bg-dark: #1A202C;
    --bg-light: #ffffff;
    --accent-red: #E53E3E;
}

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

.page-the-thao h1, .page-the-thao h2, .page-the-thao h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-the-thao h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-the-thao h3 {
    font-size: 1.6em;
    color: var(--primary-color);
}

.page-the-thao p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

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

/* Hero Section */
.page-the-thao .hero-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
}

.page-the-thao .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-the-thao .hero-content {
    max-width: 800px;
}

.page-the-thao .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-the-thao .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #CBD5E0;
}

.page-the-thao .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-the-thao .cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* About Section */
.page-the-thao .about-section, .page-the-thao .betting-types-section, .page-the-thao .how-to-join-section, .page-the-thao .promotion-section, .page-the-thao .mobile-app-section, .page-the-thao .faq-section, .page-the-thao .cta-bottom-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-the-thao .about-section {
    background-color: #F7FAFC;
}

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

.page-the-thao .feature-item, .page-the-thao .betting-item, .page-the-thao .step-item, .page-the-thao .promotion-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

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

.page-the-thao .feature-icon, .page-the-thao .betting-icon, .page-the-thao .promotion-image {
    width: 150px; /* Min size 200x200px, so 150px is incorrect here. Adjusting to 200px. */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-the-thao .feature-icon {
    width: 200px; /* Adjusted to meet min size requirement */
    height: 200px;
}

.page-the-thao .betting-icon {
    width: 200px; /* Adjusted to meet min size requirement */
    height: 200px;
}

.page-the-thao .promotion-image {
    width: 100%;
    max-width: 300px; /* Adjusted to meet min size requirement */
    height: 200px; /* Adjusted to meet min size requirement */
    object-fit: cover;
}

.page-the-thao .feature-item h3, .page-the-thao .betting-item h3, .page-the-thao .step-item h3, .page-the-thao .promotion-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-the-thao .step-item {
    position: relative;
    padding-top: 60px;
}

.page-the-thao .step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    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(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao .step-item .button {
    margin-top: 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-the-thao .step-item .button:hover {
    background-color: #2D3748;
}

/* Mobile App Section */
.page-the-thao .mobile-app-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-the-thao .mobile-app-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.page-the-thao .mobile-app-content {
    flex: 1;
}

.page-the-thao .mobile-app-content h2 {
    color: var(--secondary-color);
    text-align: left;
}

.page-the-thao .mobile-app-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #CBD5E0;
}

.page-the-thao .mobile-app-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-the-thao .mobile-app-content ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1em;
    color: #E2E8F0;
}

.page-the-thao .mobile-app-content ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-the-thao .mobile-app-image {
    flex: 1;
    text-align: center;
}

.page-the-thao .mobile-app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-the-thao .mobile-app-content .button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
}

.page-the-thao .mobile-app-content .button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

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

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

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

.page-the-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-the-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.page-the-thao .faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1em;
}

/* CTA Bottom Section */
.page-the-thao .cta-bottom-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page-the-thao .cta-bottom-section h2 {
    color: var(--secondary-color);
}

.page-the-thao .cta-bottom-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #CBD5E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-the-thao .hero-section .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao .mobile-app-section .container {
        flex-direction: column;
        text-align: center;
    }

    .page-the-thao .mobile-app-content h2 {
        text-align: center;
    }

    .page-the-thao .mobile-app-content ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-the-thao h1 {
        font-size: 2.2em;
    }

    .page-the-thao h2 {
        font-size: 1.8em;
    }

    .page-the-thao h3 {
        font-size: 1.4em;
    }

    .page-the-thao .hero-section {
        padding: 60px 0;
    }

    .page-the-thao .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-the-thao .features-grid, .page-the-thao .betting-grid, .page-the-thao .steps-grid, .page-the-thao .promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-the-thao .feature-item, .page-the-thao .betting-item, .page-the-thao .step-item, .page-the-thao .promotion-item {
        padding: 20px;
    }

    .page-the-thao .step-item {
        padding-top: 50px;
    }

    .page-the-thao .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .page-the-thao .mobile-app-section .container {
        gap: 30px;
    }

    .page-the-thao .mobile-app-content ul li {
        font-size: 0.95em;
    }

    .page-the-thao .faq-question h3 {
        font-size: 1.1em;
    }

    .page-the-thao .faq-toggle {
        font-size: 20px;
    }

    .page-the-thao .cta-bottom-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-the-thao h1 {
        font-size: 1.8em;
    }

    .page-the-thao h2 {
        font-size: 1.6em;
    }

    .page-the-thao h3 {
        font-size: 1.2em;
    }

    .page-the-thao p {
        font-size: 1em;
    }

    .page-the-thao .hero-section {
        padding: 40px 0;
    }

    .page-the-thao .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-the-thao .feature-item, .page-the-thao .betting-item, .page-the-thao .step-item, .page-the-thao .promotion-item {
        padding: 15px;
    }

    .page-the-thao .feature-icon, .page-the-thao .betting-icon, .page-the-thao .promotion-image {
        width: 150px; /* Maintaining min size 200px */
        height: 150px;
    }

    .page-the-thao .faq-question h3 {
        font-size: 1em;
    }

    .page-the-thao .faq-toggle {
        font-size: 18px;
    }

    .page-the-thao .cta-bottom-section {
        padding: 40px 0;
    }
}