/* style/sports.css */
:root {
    --primary-color: #0A246A;
    --secondary-color: #FFD700;
    --accent-color: #DC143C; /* A hint of red for emphasis */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #071a47;
    --border-color: #e0e0e0;
}

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

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

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

.page-sports h1 {
    font-size: 3.2em;
    margin-top: 0;
    color: var(--text-light);
}

.page-sports h2 {
    font-size: 2.5em;
    margin-top: 40px;
    margin-bottom: 30px;
}

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

.page-sports p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-sports ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-sports ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

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

.page-sports .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-sports .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-sports .btn-primary:hover {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-sports .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports .btn-sm {
    padding: 8px 18px;
    font-size: 0.95em;
}

/* Hero Section */
.page-sports .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-sports .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-sports .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

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

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

.page-sports .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-sports .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-sports .cta-button:hover {
    background: #ffc400;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.page-sports section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

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

/* Why Choose Section */
.page-sports .section-why-choose .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports .section-why-choose .feature-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports .section-why-choose .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports .section-why-choose .feature-item img {
    width: 250px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-sports .section-why-choose .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
    text-align: center;
}

/* How To Bet Section */
.page-sports .section-how-to-bet {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-sports .section-how-to-bet h2 {
    color: var(--secondary-color);
}

.page-sports .section-how-to-bet p {
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 40px;
}

.page-sports .section-how-to-bet .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-sports .section-how-to-bet .step-item {
    background: #071a47;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports .section-how-to-bet .step-item .step-number {
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports .section-how-to-bet .step-item h3 {
    color: var(--secondary-color);
    font-size: 1.7em;
    margin-bottom: 15px;
}

.page-sports .section-how-to-bet .step-item p {
    color: #cccccc;
    font-size: 1em;
    margin-bottom: 20px;
}

/* Sports Halls Section */
.page-sports .section-sports-halls .halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports .section-sports-halls .hall-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports .section-sports-halls .hall-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports .section-sports-halls .hall-item img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-sports .section-sports-halls .hall-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-sports .section-sports-halls .hall-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Tips Section */
.page-sports .section-tips {
    background-color: var(--bg-light);
}

.page-sports .section-tips h2 {
    color: var(--primary-color);
}

.page-sports .section-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-sports .section-tips ul li {
    background: #ffffff;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.8;
}

.page-sports .section-tips ul li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-sports .section-faq {
    background-color: #ffffff;
}

.page-sports .section-faq h2 {
    color: var(--primary-color);
}

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

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

.page-sports .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fdfdfd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.page-sports .faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

.page-sports .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-sports .faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-size: 1.05em;
}

.page-sports .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
    padding-bottom: 20px;
}

.page-sports .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Bottom CTA Section */
.page-sports .section-cta-bottom {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

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

.page-sports .section-cta-bottom p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports h1 {
        font-size: 2.8em;
    }
    .page-sports h2 {
        font-size: 2em;
    }
    .page-sports h3 {
        font-size: 1.6em;
    }
    .page-sports .hero-content p {
        font-size: 1.1em;
    }
    .page-sports .cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-sports .section-why-choose .feature-item img {
        width: 200px;
        height: 150px;
    }
    .page-sports .section-sports-halls .hall-item img {
        width: 180px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .page-sports .container {
        padding: 0 15px;
    }
    .page-sports h1 {
        font-size: 2.2em;
    }
    .page-sports h2 {
        font-size: 1.8em;
    }
    .page-sports h3 {
        font-size: 1.4em;
    }
    .page-sports .hero-section {
        padding: 60px 15px;
    }
    .page-sports .hero-image img {
        border-radius: 8px;
    }
    .page-sports .hero-content p {
        font-size: 1em;
    }
    .page-sports .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-sports section {
        padding: 40px 0;
    }
    .page-sports .section-why-choose .features-grid,
    .page-sports .section-how-to-bet .steps-grid,
    .page-sports .section-sports-halls .halls-grid {
        grid-template-columns: 1fr;
    }
    .page-sports .section-why-choose .feature-item img,
    .page-sports .section-sports-halls .hall-item img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }
    .page-sports .faq-question {
        padding: 15px 20px;
    }
    .page-sports .faq-question h3 {
        font-size: 1.1em;
    }
    .page-sports .faq-toggle {
        font-size: 1.8em;
    }
    .page-sports .faq-answer {
        padding: 0 20px;
    }
    .page-sports .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-sports .section-cta-bottom h2 {
        font-size: 2em;
    }
    .page-sports .section-cta-bottom p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-sports h1 {
        font-size: 1.8em;
    }
    .page-sports h2 {
        font-size: 1.5em;
    }
    .page-sports h3 {
        font-size: 1.2em;
    }
    .page-sports .hero-section {
        padding: 40px 10px;
    }
    .page-sports .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-sports .section-why-choose .feature-item,
    .page-sports .section-how-to-bet .step-item,
    .page-sports .section-sports-halls .hall-item {
        padding: 20px;
    }
    .page-sports .section-how-to-bet .step-item .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-sports .section-cta-bottom h2 {
        font-size: 1.8em;
    }
    .page-sports .section-cta-bottom p {
        font-size: 1em;
    }
}