/* style/th-thao.css */
:root {
    --primary-color: #0A2342;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f5f5f5;
    --background-dark: #0A2342;
    --accent-color: #FFD700;
    --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: 20px;
}

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

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

.page-th-thao h2 {
    font-size: 2.2em;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-top: 40px;
}

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

.page-th-thao p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-th-thao .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-th-thao .cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-th-thao .secondary-button {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-th-thao .secondary-button:hover {
    background: #07172b;
}

/* 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: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), #1a3b5c);
    color: var(--text-light);
}

.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;
}

.page-th-thao .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-th-thao .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-th-thao .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-th-thao .hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

/* Sports Categories */
.page-th-thao .sports-categories {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-th-thao .category-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-th-thao .category-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-th-thao .category-card h3 {
    margin: 20px 15px 10px;
    font-size: 1.4em;
    color: var(--primary-color);
}

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

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

.page-th-thao .category-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    text-align: center;
}

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

.page-th-thao .guide-section ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 20px;
}

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

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

.page-th-thao .guide-section li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-th-thao .guide-section li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Bet Types Section */
.page-th-thao .bet-types-section {
    background-color: #ffffff;
    padding: 60px 0;
}

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

.page-th-thao .bet-type-item {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.page-th-thao .bet-type-item h3 {
    color: var(--accent-color);
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
}

.page-th-thao .bet-type-item p {
    font-size: 1em;
    color: #e0e0e0;
    text-align: justify;
}

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

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

.page-th-thao .promo-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-th-thao .promo-card .promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-th-thao .promo-card h3 {
    margin: 20px 15px 10px;
    font-size: 1.4em;
    color: var(--primary-color);
}

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

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

.page-th-thao .promo-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-th-thao .promo-card .promo-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.page-th-thao .promo-card .promo-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Why Choose Kubet Section */
.page-th-thao .why-choose-kubet {
    background-color: #ffffff;
    padding: 60px 0;
}

.page-th-thao .reason-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.page-th-thao .reason-list li {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05em;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

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

.page-th-thao .reason-list li strong {
    color: var(--primary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Tips Section */
.page-th-thao .tips-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--text-light);
}

.page-th-thao .tips-section h2 {
    color: var(--accent-color);
    border-bottom-color: var(--text-light);
}

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

.page-th-thao .tip-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-th-thao .tip-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-th-thao .tip-item h3 {
    color: var(--accent-color);
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: left;
}

.page-th-thao .tip-item p {
    font-size: 1em;
    color: #e0e0e0;
    text-align: justify;
}

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

.page-th-thao .faq-list {
    margin-top: 30px;
}

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

.page-th-thao .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    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);
    text-align: left;
    flex-grow: 1;
}

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

.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.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

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

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

/* Conclusion Section */
.page-th-thao .conclusion-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
}

.page-th-thao .conclusion-section h2 {
    color: var(--accent-color);
    border-bottom-color: var(--text-light);
}

.page-th-thao .conclusion-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-th-thao h1 {
        font-size: 2.4em;
    }
    .page-th-thao h2 {
        font-size: 1.8em;
    }
    .page-th-thao .hero-content p {
        font-size: 1.1em;
    }
    .page-th-thao .reason-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-th-thao h1 {
        font-size: 2em;
    }
    .page-th-thao h2 {
        font-size: 1.6em;
    }
    .page-th-thao h3 {
        font-size: 1.3em;
    }
    .page-th-thao .hero-section {
        padding: 40px 15px;
    }
    .page-th-thao .hero-image img {
        border-radius: 4px;
    }
    .page-th-thao .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-th-thao .category-grid, .page-th-thao .bet-type-grid, .page-th-thao .promo-cards, .page-th-thao .tip-grid {
        grid-template-columns: 1fr;
    }
    .page-th-thao .category-card .card-image, .page-th-thao .promo-card .promo-image {
        height: 180px;
    }
    .page-th-thao .reason-list li {
        font-size: 1em;
    }
    .page-th-thao .faq-question {
        padding: 15px;
    }
    .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 15px;
    }
    .page-th-thao .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@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 .container {
        padding: 15px;
    }
    .page-th-thao .reason-list li strong {
        font-size: 1em;
    }
}