.page-sports {
    font-family: Arial, sans-serif;
    color: var(--text-main, #1F2D3D);
    background-color: var(--background-color, #F4F7FB);
}

.page-sports__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 60px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-sports__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 40px auto 0 auto; /* Margin to separate from image */
    padding: 0 20px;
}

.page-sports__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-sports__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-sports__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__section-description {
    color: #ffffff;
}

.page-sports__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.page-sports__features-section,
.page-sports__popular-sports-section,
.page-sports__guide-section,
.page-sports__promotions-section,
.page-sports__mobile-app-section,
.page-sports__faq-section,
.page-sports__conclusion-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-sports__dark-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #1a4dcc 100%);
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: var(--background-color, #F4F7FB);
}

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

.page-sports__feature-card,
.page-sports__sports-card,
.page-sports__promotion-card,
.page-sports__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-sports__feature-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-sports__feature-title,
.page-sports__sports-name,
.page-sports__promotion-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #1F2D3D);
}

.page-sports__feature-text,
.page-sports__sports-text,
.page-sports__promotion-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
    flex-grow: 1;
}

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

.page-sports__sports-card {
    padding: 20px;
    text-align: left;
}

.page-sports__sports-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-sports__sports-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.page-sports__btn-tertiary {
    display: inline-block;
    background-color: transparent;
    color: var(--main-color, #2F6BFF);
    border: 1px solid var(--main-color, #2F6BFF);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.page-sports__btn-tertiary:hover {
    background-color: var(--main-color, #2F6BFF);
    color: #ffffff;
}

.page-sports__cta-view-all {
    text-align: center;
    margin-top: 50px;
}

.page-sports__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-sports__guide-step {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #D6E2FF);
}

.page-sports__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.page-sports__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main, #1F2D3D);
}

.page-sports__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
}

.page-sports__guide-cta {
    text-align: center;
}

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

.page-sports__promotion-card {
    text-align: left;
    padding: 20px;
}

.page-sports__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-sports__cta-all-promos {
    text-align: center;
    margin-top: 50px;
}

.page-sports__mobile-app-section {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-sports__mobile-app-content {
    flex: 1;
    min-width: 300px;
}

.page-sports__mobile-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__mobile-app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-sports__app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-sports__app-features li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--text-main, #1F2D3D);
}

.page-sports__app-features li::before {
    content: '✓';
    color: var(--main-color, #2F6BFF);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-sports__app-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-sports__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-sports__faq-item {
    text-align: left;
    padding: 20px 30px;
    cursor: pointer;
    overflow: hidden;
}

.page-sports__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main, #1F2D3D);
    padding: 0;
    outline: none;
    cursor: pointer;
}

.page-sports__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-sports__faq-qtext {
    flex-grow: 1;
}

.page-sports__faq-toggle {
    font-size: 1.8rem;
    font-weight: normal;
    margin-left: 15px;
    color: var(--main-color, #2F6BFF);
    transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    transform: rotate(45deg);
}

.page-sports__faq-answer {
    padding-top: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
}

.page-sports__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-sports__conclusion-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-sports__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-sports__btn-secondary {
    background-color: #ffffff;
    color: var(--main-color, #2F6BFF);
    border: 2px solid var(--main-color, #2F6BFF);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__btn-secondary:hover {
    background-color: var(--main-color, #2F6BFF);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

/* Global image styles */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-sports__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .page-sports__features-grid,
    .page-sports__sports-grid,
    .page-sports__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-sports__mobile-app-section {
        flex-direction: column;
        text-align: center;
    }

    .page-sports__mobile-app-content {
        order: 2;
    }

    .page-sports__mobile-app-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

    .page-sports__app-cta-buttons {
        justify-content: center;
    }

    .page-sports__app-features li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-sports {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-sports__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        min-height: unset;
    }
    .page-sports__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }
    .page-sports__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-sports__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-sports__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Section Titles and Descriptions */
    .page-sports__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
        padding: 0 15px;
    }
    .page-sports__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* General sections padding */
    .page-sports__features-section,
    .page-sports__popular-sports-section,
    .page-sports__guide-section,
    .page-sports__promotions-section,
    .page-sports__mobile-app-section,
    .page-sports__faq-section,
    .page-sports__conclusion-section {
        padding: 40px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Cards and Grids */
    .page-sports__features-grid,
    .page-sports__sports-grid,
    .page-sports__promotions-grid,
    .page-sports__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-sports__feature-card,
    .page-sports__sports-card,
    .page-sports__promotion-card,
    .page-sports__guide-step,
    .page-sports__faq-item {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-sports__feature-icon {
        width: 150px;
        height: auto;
    }

    .page-sports__feature-title,
    .page-sports__sports-name,
    .page-sports__promotion-title,
    .page-sports__step-title {
        font-size: 1.3rem;
    }

    .page-sports__sports-image,
    .page-sports__promotion-image {
        height: 180px;
    }

    /* Mobile App Section */
    .page-sports__mobile-app-section {
        gap: 30px;
    }
    .page-sports__mobile-app-image {
        max-width: 300px;
    }
    .page-sports__app-features li {
        font-size: 1rem;
    }
    .page-sports__app-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* FAQ Section */
    .page-sports__faq-item summary {
        font-size: 1.1rem;
    }
    .page-sports__faq-toggle {
        font-size: 1.5rem;
    }
    .page-sports__faq-answer p {
        font-size: 0.95rem;
    }

    /* Conclusion Section */
    .page-sports__conclusion-cta {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Buttons */
    .page-sports__btn-primary,
    .page-sports__btn-secondary,
    .page-sports__btn-tertiary,
    .page-sports a[class*="button"],
    .page-sports a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-sports__hero-cta-buttons,
    .page-sports__app-cta-buttons,
    .page-sports__conclusion-cta,
    .page-sports__cta-view-all,
    .page-sports__guide-cta,
    .page-sports__cta-all-promos {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px; /* Adjust gap for mobile buttons */
    }

    /* Images */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__hero-image-wrapper,
    .page-sports__mobile-app-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* Ensure contrast for text on card backgrounds */
.page-sports__card {
    color: var(--text-main, #1F2D3D);
    background: var(--card-bg, #FFFFFF);
}
.page-sports__dark-section .page-sports__card {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.page-sports__dark-section .page-sports__card .page-sports__feature-title,
.page-sports__dark-section .page-sports__card .page-sports__sports-name,
.page-sports__dark-section .page-sports__card .page-sports__promotion-title,
.page-sports__dark-section .page-sports__card .page-sports__feature-text,
.page-sports__dark-section .page-sports__card .page-sports__sports-text,
.page-sports__dark-section .page-sports__card .page-sports__promotion-text {
    color: #ffffff;
}

.page-sports__dark-section .page-sports__btn-tertiary {
    color: #ffffff;
    border-color: #ffffff;
}
.page-sports__dark-section .page-sports__btn-tertiary:hover {
    background-color: #ffffff;
    color: var(--main-color, #2F6BFF);
}