/* style/th-thao.css */
:root {
    --primary-color: #1A2E47;
    --secondary-color: #FFD700;
    --text-light: #f0f0f0;
    --text-dark: #333333;
    --bg-dark: #0f1c2e;
    --bg-light: #ffffff;
    --border-color: #e0e0e0;
}

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

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

.page-th-thao section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-th-thao h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

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

.page-th-thao p {
    margin-bottom: 15px;
    font-size: 1.1em;
    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);
    text-decoration: underline;
}

/* Hero Section */
.page-th-thao .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a5c8c 100%);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    position: relative;
    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;
    text-align: center;
    padding: 60px 20px;
}

.page-th-thao .hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-th-thao .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 300px; /* Ensure minimum height for large images */
}

.page-th-thao .hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
    width: 100%;
}

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

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

.page-th-thao .hero-content strong {
    color: var(--secondary-color);
}

.page-th-thao .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-th-thao .button-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-th-thao .button-small:hover {
    background: #2a4a70; /* Slightly lighter primary on hover */
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    text-decoration: none;
}

/* Grid Layouts */
.page-th-thao .grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

/* Cards */
.page-th-thao .bet-type-card,
.page-th-thao .advantage-card,
.page-th-thao .promo-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-th-thao .bet-type-card:hover,
.page-th-thao .advantage-card:hover,
.page-th-thao .promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-th-thao .bet-type-card img,
.page-th-thao .advantage-card img,
.page-th-thao .promo-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure images are not too small */
}

.page-th-thao .bet-type-card h3,
.page-th-thao .advantage-card h3,
.page-th-thao .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-th-thao .bet-type-card h3 a,
.page-th-thao .promo-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-th-thao .bet-type-card h3 a:hover,
.page-th-thao .promo-card h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-th-thao .bet-type-card p,
.page-th-thao .advantage-card p,
.page-th-thao .promo-card p {
    font-size: 1em;
    color: var(--text-dark);
    flex-grow: 1;
}

/* Sport Items */
.page-th-thao .sport-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.page-th-thao .sport-item img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    min-height: 200px;
}

.page-th-thao .sport-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-th-thao .sport-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-th-thao .sport-item h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-th-thao .sport-item ul {
    list-style: none;
    padding: 0;
    margin-left: 20px;
}

.page-th-thao .sport-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
}

.page-th-thao .sport-item ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Guide List */
.page-th-thao .guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-counter;
}

.page-th-thao .guide-list li {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    position: relative;
    padding-left: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-th-thao .guide-list li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

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

.page-th-thao .guide-list li p {
    margin-bottom: 10px;
}

/* Tips List */
.page-th-thao .tips-list {
    list-style: none;
    padding: 0;
}

.page-th-thao .tips-list li {
    background-color: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-th-thao .tips-list li strong {
    color: var(--primary-color);
}

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

.page-th-thao .faq-item {
    margin-bottom: 15px;
}

.page-th-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

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

.page-th-thao .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-th-thao .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px;
}

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

/* Contact Section */
.page-th-thao .section-contact {
    text-align: center;
}

.page-th-thao .contact-methods p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.page-th-thao .contact-methods a {
    color: var(--primary-color);
    font-weight: bold;
}

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

.page-th-thao .text-center {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-th-thao h1 {
        font-size: 2.8em;
    }
    .page-th-thao h2 {
        font-size: 1.8em;
    }
    .page-th-thao .hero-content p {
        font-size: 1.1em;
    }
    .page-th-thao .grid-2-cols {
        grid-template-columns: 1fr;
    }
    .page-th-thao .guide-list li {
        padding-left: 60px;
    }
    .page-th-thao .guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
        top: 20px;
    }
}

@media (max-width: 768px) {
    .page-th-thao section {
        padding: 40px 0;
    }
    .page-th-thao h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-th-thao h2 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-th-thao h3 {
        font-size: 1.3em;
    }
    .page-th-thao .hero-container {
        padding: 40px 15px;
    }
    .page-th-thao .hero-image img {
        min-height: 200px;
    }
    .page-th-thao .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-th-thao .grid-3-cols,
    .page-th-thao .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-th-thao .bet-type-card img,
    .page-th-thao .advantage-card img,
    .page-th-thao .promo-card img,
    .page-th-thao .sport-item img {
        max-width: 100%;
        min-height: 180px;
    }
    .page-th-thao .faq-question {
        padding: 12px;
    }
    .page-th-thao .faq-question h3 {
        font-size: 1.1em;
    }
    .page-th-thao .faq-toggle {
        font-size: 18px;
    }
    .page-th-thao .guide-list li {
        padding: 15px 20px 15px 50px;
    }
    .page-th-thao .guide-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        left: 10px;
        top: 15px;
    }
    .page-th-thao .sport-item ul {
        margin-left: 0;
    }
    .page-th-thao .sport-item ul li {
        padding-left: 20px;
    }
    .page-th-thao .sport-item ul li::before {
        left: 5px;
    }
}

@media (max-width: 480px) {
    .page-th-thao h1 {
        font-size: 1.8em;
    }
    .page-th-thao h2 {
        font-size: 1.4em;
    }
    .page-th-thao .hero-content p {
        font-size: 1em;
    }
    .page-th-thao .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-th-thao .guide-list li {
        padding: 10px 15px 10px 45px;
    }
    .page-th-thao .guide-list li::before {
        width: 25px;
        height: 25px;
        font-size: 1em;
        left: 8px;
        top: 12px;
    }
    .page-th-thao .tips-list li {
        padding: 15px;
        font-size: 1em;
    }
}