/* style/th-thao.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey / Black */
    --text-light: #F0F0F0;
    --text-dark: #1A1A1A;
    --background-dark: #1A1A1A;
    --background-light: #282828;
    --accent-color: #FF4500; /* OrangeRed for highlights */
    --border-color: #444;
}

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

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

.page-th-thao h1, .page-th-thao h2, .page-th-thao h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-th-thao h1 {
    font-size: 2.8em;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao h2 {
    font-size: 2.2em;
    padding-top: 40px;
    position: relative;
}

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

.page-th-thao h3 {
    font-size: 1.6em;
    color: var(--text-light);
}

.page-th-thao p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-light);
}

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

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

/* Hero Section */
.page-th-thao .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(180deg, var(--background-dark) 0%, #000000 100%);
    overflow: hidden;
}

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

.page-th-thao .hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-th-thao .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image for text contrast */
}

.page-th-thao .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

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

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

.page-th-thao .cta-button:hover {
    background: var(--accent-color);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.5);
}

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

.page-th-thao .intro-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-th-thao .feature-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-th-thao .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

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

/* Sports Categories Section */
.page-th-thao .sports-categories-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

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

.page-th-thao .sport-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-th-thao .sport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-th-thao .sport-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.page-th-thao .sport-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 20px 0 10px;
    text-align: center;
}

.page-th-thao .sport-card p {
    padding: 0 20px;
    font-size: 1em;
    flex-grow: 1;
    text-align: center;
}

.page-th-thao .card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 20px auto;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-th-thao .card-button:hover {
    background: var(--accent-color);
    color: #FFFFFF;
}

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

.page-th-thao .betting-guide-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-th-thao .step-item {
    background-color: var(--secondary-color);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-th-thao .step-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-th-thao .step-item h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.page-th-thao .step-item p {
    font-size: 1em;
    color: var(--text-light);
    text-align: center;
    flex-grow: 1;
}

.page-th-thao .step-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-th-thao .step-button:hover {
    background: var(--accent-color);
    color: #FFFFFF;
}

/* Promotion Section */
.page-th-thao .promotion-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-th-thao .promotion-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-th-thao .promo-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-th-thao .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-th-thao .promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.page-th-thao .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 20px 0 10px;
    text-align: center;
}

.page-th-thao .promo-card p {
    padding: 0 20px;
    font-size: 1em;
    flex-grow: 1;
    text-align: center;
}

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

.page-th-thao .faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.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(--secondary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

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

.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: #222;
    color: var(--text-light);
}

.page-th-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed to fit content */
    padding: 20px 25px;
}

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

/* Call to Action Section */
.page-th-thao .call-to-action-section {
    padding: 80px 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--secondary-color);
    text-align: center;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-th-thao .call-to-action-section h2 {
    color: var(--secondary-color);
    text-shadow: none;
}

.page-th-thao .call-to-action-section h2::after {
    background: var(--secondary-color);
}

.page-th-thao .call-to-action-section p {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.page-th-thao .call-to-action-section .cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-th-thao .call-to-action-section .cta-button:hover {
    background: #000;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

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

@media (max-width: 768px) {
    .page-th-thao .hero-section {
        padding: 60px 15px 30px;
    }
    .page-th-thao h1 {
        font-size: 2em;
    }
    .page-th-thao h2 {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-th-thao h3 {
        font-size: 1.4em;
    }
    .page-th-thao p {
        font-size: 1em;
    }
    .page-th-thao .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-th-thao .feature-grid, .page-th-thao .sports-carousel, .page-th-thao .guide-steps, .page-th-thao .promotion-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-th-thao .feature-item, .page-th-thao .sport-card, .page-th-thao .step-item, .page-th-thao .promo-card {
        padding: 25px;
    }
    .page-th-thao .sport-card img, .page-th-thao .promo-card img {
        height: 180px;
    }
    .page-th-thao .card-button, .page-th-thao .step-button {
        width: calc(100% - 20px);
    }
    .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: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-th-thao h1 {
        font-size: 1.8em;
    }
    .page-th-thao h2 {
        font-size: 1.6em;
    }
    .page-th-thao .hero-content p {
        font-size: 0.95em;
    }
    .page-th-thao .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-th-thao .feature-item img {
        max-width: 180px;
    }
    .page-th-thao .sport-card img, .page-th-thao .promo-card img {
        height: 160px;
    }
    .page-th-thao .faq-question h3 {
        font-size: 1em;
    }
    .page-th-thao .call-to-action-section p {
        font-size: 1em;
    }
}