/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-sports .section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Secondary color */
    border-radius: 2px;
}

.page-sports h1, .page-sports h2, .page-sports h3 {
    color: #007bff;
}

.page-sports p {
    margin-bottom: 15px;
}

.page-sports a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports a:hover {
    color: #0056b3;
}

/* 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: 60px 20px;
    background-color: #f0f8ff; /* Light background for contrast */
}

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

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

.page-sports .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-sports .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -80px; /* Overlap with image */
}

.page-sports .hero-content h1 {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

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

.page-sports .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ffc107; /* Secondary color */
    color: #333; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-sports .cta-button:hover {
    background: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-sports .intro-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-sports .feature-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-sports .feature-item:hover {
    transform: translateY(-5px);
}

.page-sports .feature-item img {
    width: 100%; /* Ensure image is not too small */
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports .feature-item h3 {
    color: #007bff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Sports Platforms Section */
.page-sports .sports-platforms {
    padding: 80px 0;
    background-color: #f0f8ff;
}

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

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

.page-sports .platform-item:hover {
    transform: translateY(-5px);
}

.page-sports .platform-item img {
    width: 100%; /* Ensure image is not too small */
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports .platform-item h3 {
    color: #007bff;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Sport Types Section */
.page-sports .sport-types {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-sports .sport-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 12px;
    background-color: #f8f9fa;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-sports .sport-category:last-child {
    margin-bottom: 0;
}

.page-sports .category-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-sports .sport-category h3 {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 20px;
}

/* Guide Section */
.page-sports .guide-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.page-sports .guide-step {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 80px;
}

.page-sports .step-icon {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-sports .guide-step h3 {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.page-sports .guide-button {
    display: inline-block;
    padding: 10px 25px;
    background: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-sports .guide-button:hover {
    background: #e0a800;
}

/* Betting Types Section */
.page-sports .betting-types {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-sports .type-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-sports .type-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports .type-item h3 {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-sports .promotions-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.page-sports .promotion-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-sports .promotion-card:hover {
    transform: translateY(-5px);
}

.page-sports .promotion-card img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports .promotion-card h3 {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-sports .promo-button {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff; /* Primary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-sports .promo-button:hover {
    background: #0056b3;
}

/* Tips Section */
.page-sports .tips-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-sports .tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-sports .tips-list li {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #ffc107; /* Secondary color accent */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
}

.page-sports .tips-list li strong {
    color: #007bff;
}

/* FAQ Section */
.page-sports .faq-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.page-sports .faq-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #007bff;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #ffc107;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdff;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin: 0;
    color: #555;
}

.page-sports .faq-button {
    display: inline-block;
    padding: 8px 20px;
    background: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-size: 0.9em;
}

.page-sports .faq-button:hover {
    background: #e0a800;
}

/* Conclusion Section */
.page-sports .conclusion-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-sports .conclusion-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #444;
}

.page-sports .primary-button {
    background: #007bff; /* Primary color for main CTA */
    color: #ffffff;
}

.page-sports .primary-button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-sports .hero-content h1 {
        font-size: 2.5em;
    }

    .page-sports .section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-sports .hero-section {
        padding: 40px 15px;
    }

    .page-sports .hero-image {
        margin-bottom: 20px;
    }

    .page-sports .hero-content {
        padding: 20px;
        margin-top: -60px;
    }

    .page-sports .hero-content h1 {
        font-size: 2em;
    }

    .page-sports .hero-content p {
        font-size: 1em;
    }

    .page-sports .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-sports .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-sports .intro-section, .page-sports .sports-platforms, .page-sports .sport-types, .page-sports .guide-section, .page-sports .betting-types, .page-sports .promotions-section, .page-sports .tips-section, .page-sports .faq-section, .page-sports .conclusion-section {
        padding: 50px 0;
    }

    .page-sports .features-grid, .page-sports .platform-grid {
        grid-template-columns: 1fr;
    }

    .page-sports .sport-category {
        padding: 20px;
        margin-bottom: 40px;
    }

    .page-sports .category-image {
        margin-bottom: 20px;
    }

    .page-sports .sport-category h3 {
        font-size: 1.5em;
    }

    .page-sports .guide-step {
        padding-left: 60px;
    }

    .page-sports .step-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
        top: 25px;
    }

    .page-sports .guide-step h3 {
        font-size: 1.4em;
    }

    .page-sports .type-item, .page-sports .promotion-card {
        padding: 20px;
    }

    .page-sports .type-item h3, .page-sports .promotion-card h3 {
        font-size: 1.4em;
    }

    .page-sports .tips-list li {
        font-size: 1em;
        padding: 15px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-sports .hero-content h1 {
        font-size: 1.8em;
    }

    .page-sports .hero-content p {
        font-size: 0.9em;
    }

    .page-sports .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-sports .section-title {
        font-size: 1.5em;
    }

    .page-sports .guide-step h3 {
        font-size: 1.2em;
    }

    .faq-question h3 {
        font-size: 1em;
    }
}