:root {
    --primary-color: #1A237E; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #0f153a; /* Slightly darker than primary for contrast */
    --border-color: #e0e0e0;
}

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

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

.page-th-thao section {
    padding: 60px 0;
    text-align: center;
}

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

.page-th-thao h1, .page-th-thao h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
    font-weight: bold;
}

.page-th-thao h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

/* Hero Section */
.page-th-thao .hero-sports-section {
    position: relative;
    width: 100%;
    height: 600px; /* Increased height for visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 0;
}

.page-th-thao .hero-sports-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-th-thao .hero-sports-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay for text readability */
    z-index: 2;
}

.page-th-thao .hero-sports-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-th-thao .hero-sports-content h1 {
    color: var(--text-light);
    font-size: 3.8em;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-th-thao .hero-sports-content p {
    color: var(--text-light);
    font-size: 1.3em;
    margin-bottom: 35px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-th-thao .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Why saowin Section */
.page-th-thao .section-why-saowin h2 {
    color: var(--primary-color);
}

.page-th-thao .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 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: left;
    transition: transform 0.3s ease;
}

.page-th-thao .feature-item:hover {
    transform: translateY(-5px);
}

.page-th-thao .feature-item .feature-icon {
    width: 100%;
    max-width: 400px; /* Adjust max-width for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-th-thao .feature-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.6em;
}

.page-th-thao .feature-item p {
    color: var(--text-dark);
    font-size: 1em;
}

/* Bet Types Section */
.page-th-thao .bet-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao .bet-type-item {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-th-thao .bet-type-item .bet-type-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-th-thao .bet-type-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5em;
}

.page-th-thao .bet-type-item p {
    color: var(--text-dark);
    font-size: 1em;
}

/* How to Bet Section */
.page-th-thao .how-to-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 40px;
}

.page-th-thao .how-to-list li {
    background-color: var(--text-light);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-th-thao .how-to-list li h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-th-thao .how-to-list li p {
    color: var(--text-dark);
    font-size: 1em;
}

/* Leagues Section */
.page-th-thao .league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao .league-item {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-th-thao .league-item .league-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-th-thao .league-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5em;
}

.page-th-thao .league-item ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.page-th-thao .league-item ul li {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1em;
}

/* Betting Tips Section */
.page-th-thao .tips-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 40px;
}

.page-th-thao .tips-list li {
    background-color: var(--text-light);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-th-thao .tips-list li h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-th-thao .tips-list li p {
    color: var(--text-dark);
    font-size: 1em;
}

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

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

.page-th-thao .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

.page-th-thao .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-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: #f9f9f9;
    color: var(--text-dark);
}

.page-th-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px;
    border-top: 1px solid var(--border-color);
}

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

/* Call to Action Section */
.page-th-thao .cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
    color: var(--text-light);
    padding: 80px 0;
}

.page-th-thao .cta-section h2 {
    color: var(--secondary-color);
    font-size: 3em;
    margin-bottom: 20px;
}

.page-th-thao .cta-section p {
    color: var(--text-light);
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-th-thao .cta-section .cta-button {
    margin: 0 15px;
    font-size: 1.15em;
    padding: 14px 35px;
}

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

.page-th-thao .cta-section .primary-cta:hover {
    background-color: #e6c200;
}

.page-th-thao .cta-section .secondary-cta {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.page-th-thao .cta-section .secondary-cta:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-th-thao .hero-sports-content h1 {
        font-size: 3em;
    }
    .page-th-thao .hero-sports-content p {
        font-size: 1.1em;
    }
    .page-th-thao h2 {
        font-size: 2em;
    }
    .page-th-thao h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-th-thao .hero-sports-section {
        height: 500px;
    }
    .page-th-thao .hero-sports-content h1 {
        font-size: 2.5em;
    }
    .page-th-thao .hero-sports-content p {
        font-size: 1em;
    }
    .page-th-thao .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-th-thao section {
        padding: 40px 0;
    }
    .page-th-thao .feature-grid, .page-th-thao .bet-type-grid, .page-th-thao .league-grid {
        grid-template-columns: 1fr;
    }
    .page-th-thao .cta-section h2 {
        font-size: 2.2em;
    }
    .page-th-thao .cta-section p {
        font-size: 1em;
    }
    .page-th-thao .cta-section .cta-button {
        margin-bottom: 15px;
        width: calc(100% - 30px);
        display: block;
    }
    .page-th-thao .faq-question {
        padding: 15px 20px;
    }
    .page-th-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-th-thao .faq-toggle {
        font-size: 20px;
    }
    .page-th-thao .faq-answer {
        padding: 0 20px;
    }
    .page-th-thao .faq-item.active .faq-answer {
        padding: 12px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-th-thao .hero-sports-section {
        height: 400px;
    }
    .page-th-thao .hero-sports-content h1 {
        font-size: 2em;
    }
    .page-th-thao .hero-sports-content p {
        font-size: 0.9em;
    }
    .page-th-thao h2 {
        font-size: 1.8em;
    }
    .page-th-thao h3 {
        font-size: 1.3em;
    }
    .page-th-thao .feature-item, .page-th-thao .bet-type-item, .page-th-thao .league-item, .page-th-thao .how-to-list li, .page-th-thao .tips-list li {
        padding: 20px;
    }
}