/* style/the-thao.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --dark-background: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --border-color: #e0e0e0;
    --light-grey: #f5f5f5;
}

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

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

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

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

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

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

.page-the-thao .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.page-the-thao .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    margin-top: 20px;
}

.page-the-thao .cta-button:hover {
    background-color: #b00000; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao .link-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-text);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.page-the-thao .link-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-1px);
}

.page-the-thao .link-button-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-text);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.page-the-thao .link-button-small:hover {
    background-color: #e6c200;
    transform: translateY(-1px);
}

/* Hero Banner */
.page-the-thao .hero-banner {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
    background-color: var(--dark-background);
}

.page-the-thao .hero-content-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px; /* Limit height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-the-thao .hero-image {
    width: 100%;
    height: auto;
    min-height: 400px; /* Ensure minimum height */
    object-fit: cover;
    display: block;
    filter: brightness(0.6); /* Only for darkening, not color change */
}

.page-the-thao .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
}

.page-the-thao .hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-the-thao .hero-description {
    font-size: 1.4em;
    color: var(--light-text);
    max-width: 800px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-the-thao .hero-overlay .cta-button {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

.page-the-thao .hero-overlay .cta-button:hover {
    background-color: #b00000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* 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: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-the-thao .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-the-thao .card-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin: 20px 15px 10px;
}

.page-the-thao .card-description {
    font-size: 1em;
    color: var(--dark-text);
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-the-thao .card-link {
    display: block;
    background-color: var(--primary-color);
    color: var(--dark-text);
    padding: 12px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.page-the-thao .card-link:hover {
    background-color: #e6c200;
}

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

.page-the-thao .benefit-item {
    text-align: center;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-the-thao .benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-the-thao .benefit-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-the-thao .benefit-description {
    font-size: 1em;
    color: var(--dark-text);
}

/* Guide List */
.page-the-thao .guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-the-thao .guide-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao .guide-step-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-the-thao .guide-step-description {
    font-size: 1.05em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

/* Tips List */
.page-the-thao .tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-the-thao .tips-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao .tip-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-the-thao .tip-description {
    font-size: 1.05em;
    color: var(--dark-text);
}

/* Promo List */
.page-the-thao .promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-the-thao .promo-list li {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-the-thao .promo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-the-thao .promo-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-the-thao .promo-description {
    font-size: 1em;
    color: var(--dark-text);
}

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

.page-the-thao .security-support-grid .item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease;
}

.page-the-thao .security-support-grid .item:hover {
    transform: translateY(-5px);
}

.page-the-thao .security-support-grid .item-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-the-thao .security-support-grid .item-description {
    font-size: 1em;
    color: var(--dark-text);
}

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

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

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

.page-the-thao .faq-question:hover {
    background-color: var(--light-grey);
}

.page-the-thao .faq-question h3 {
    font-size: 1.25em;
    color: var(--dark-text);
    margin: 0;
    flex-grow: 1;
}

.page-the-thao .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.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;
    padding: 0 20px;
    background-color: #fcfcfc;
}

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

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

/* Call to Action Section */
.page-the-thao .section-call-to-action {
    background: linear-gradient(135deg, var(--secondary-color), #b00000);
    color: var(--light-text);
    text-align: center;
    padding: 80px 20px;
    margin-top: 40px;
    border-radius: 10px;
}

.page-the-thao .section-call-to-action .section-title {
    color: var(--primary-color);
}

.page-the-thao .section-call-to-action .section-title::after {
    background-color: var(--primary-color);
}

.page-the-thao .section-call-to-action .paragraph {
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-the-thao .section-call-to-action .cta-button {
    background-color: var(--primary-color);
    color: var(--dark-text);
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

.page-the-thao .section-call-to-action .cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-the-thao .hero-title {
        font-size: 2.8em;
    }
    .page-the-thao .hero-description {
        font-size: 1.2em;
    }
    .page-the-thao .section-title {
        font-size: 2em;
    }
    .page-the-thao .sports-grid, .page-the-thao .benefits-grid, .page-the-thao .promo-list, .page-the-thao .security-support-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-the-thao section {
        padding: 40px 0;
    }
    .page-the-thao .hero-title {
        font-size: 2.2em;
    }
    .page-the-thao .hero-description {
        font-size: 1em;
    }
    .page-the-thao .hero-overlay .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-the-thao .section-title {
        font-size: 1.8em;
    }
    .page-the-thao .paragraph {
        font-size: 1em;
    }
    .page-the-thao .sport-card, .page-the-thao .benefit-item, .page-the-thao .promo-list li, .page-the-thao .security-support-grid .item {
        padding: 20px;
    }
    .page-the-thao .card-image {
        height: 180px;
    }
    .page-the-thao .guide-list li, .page-the-thao .tips-list li {
        padding: 20px;
    }
    .page-the-thao .guide-step-title, .page-the-thao .tip-title {
        font-size: 1.3em;
    }
    .page-the-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-the-thao .faq-toggle {
        font-size: 1.5em;
    }
    .page-the-thao .faq-answer {
        padding: 0 15px;
    }
    .page-the-thao .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-the-thao .section-call-to-action {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .page-the-thao .hero-title {
        font-size: 1.8em;
    }
    .page-the-thao .hero-description {
        font-size: 0.9em;
    }
    .page-the-thao .hero-overlay .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-the-thao .section-title {
        font-size: 1.5em;
    }
    .page-the-thao .sports-grid, .page-the-thao .benefits-grid, .page-the-thao .promo-list, .page-the-thao .security-support-grid {
        grid-template-columns: 1fr;
    }
    .page-the-thao .card-image {
        height: 150px;
    }
    .page-the-thao .faq-question h3 {
        font-size: 1em;
    }
    .page-the-thao .faq-toggle {
        font-size: 1.2em;
    }
}