.page-sports {
    padding-top: 10px; /* Small top padding to account for shared header */
    background-color: #F4F7FB;
    color: #1F2D3D;
}

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

.page-sports__hero-section {
    background-color: #2F6BFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed for aspect ratio */
    overflow: hidden;
}

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

.page-sports__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    color: #FFFFFF;
}

.page-sports__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on weight, line-height, etc. */
}

.page-sports__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-sports__cta-button,
.page-sports__learn-more-button,
.page-sports__download-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.page-sports__cta-button:hover,
.page-sports__learn-more-button:hover,
.page-sports__download-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-sports__intro-section {
    padding: 60px 0;
    background-color: #F4F7FB;
    text-align: center;
}

.page-sports__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-sports__text-content {
    font-size: 1.05em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-sports__sports-categories {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-sports__category-card {
    background-color: #F4F7FB;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #1F2D3D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-sports__category-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-sports__category-title {
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

.page-sports__live-betting-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-sports__live-betting-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-sports__live-betting-content,
.page-sports__live-betting-image-wrapper {
    flex: 1;
}

.page-sports__live-betting-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__why-choose-us {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

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

.page-sports__feature-item {
    background-color: #F4F7FB;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__feature-title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2F6BFF;
}

.page-sports__feature-description {
    line-height: 1.6;
}

.page-sports__promotions-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-sports__promotions-content,
.page-sports__promotions-image-wrapper {
    flex: 1;
}

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

.page-sports__app-download-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-sports__app-content,
.page-sports__app-image-wrapper {
    flex: 1;
}

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

.page-sports__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-sports__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-sports__faq-question {
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #1F2D3D;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-sports__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-sports__faq-item.is-open .page-sports__faq-question::after {
    transform: rotate(45deg);
}

.page-sports__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-sports__faq-item.is-open .page-sports__faq-answer {
    max-height: 200px; /* Max height to allow transition */
    padding: 0 25px 20px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-sports__live-betting-container,
    .page-sports__promotions-section .page-sports__container,
    .page-sports__app-download-section .page-sports__container {
        display: flex;
        align-items: center;
        gap: 40px;
        text-align: left;
    }
    .page-sports__promotions-section .page-sports__container {
        flex-direction: row-reverse; /* Image on right */
    }
    .page-sports__live-betting-content,
    .page-sports__promotions-content,
    .page-sports__app-content {
        padding-right: 20px;
    }
    .page-sports__live-betting-image-wrapper,
    .page-sports__promotions-image-wrapper,
    .page-sports__app-image-wrapper {
        padding-left: 20px;
    }
}

@media (max-width: 849px) {
    .page-sports__hero-section {
        padding-bottom: 20px;
    }
    .page-sports__hero-image-wrapper {
        max-height: 450px;
    }
    .page-sports__main-title {
        font-size: clamp(1.8em, 7vw, 2.8em);
    }
    .page-sports__description {
        font-size: 1em;
    }
    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .page-sports__category-image {
        height: 150px;
    }
    .page-sports__category-card {
        padding-bottom: 10px;
    }
    .page-sports__live-betting-container,
    .page-sports__promotions-section .page-sports__container,
    .page-sports__app-download-section .page-sports__container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .page-sports__live-betting-content,
    .page-sports__promotions-content,
    .page-sports__app-content {
        padding-right: 0;
    }
    .page-sports__live-betting-image-wrapper,
    .page-sports__promotions-image-wrapper,
    .page-sports__app-image-wrapper {
        padding-left: 0;
    }
    .page-sports__cta-button,
    .page-sports__learn-more-button,
    .page-sports__download-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-sports__features-grid {
        grid-template-columns: 1fr;
    }
    .page-sports__feature-item {
        text-align: center;
    }
    .page-sports__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .page-sports__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 768px) {
    .page-sports img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-sports__main-title {
        font-size: clamp(1.6em, 8vw, 2.5em);
    }
    .page-sports__section-title {
        font-size: 1.6em;
    }
    .page-sports__category-grid {
        grid-template-columns: 1fr;
    }
    .page-sports__category-image {
        height: 180px;
    }
    .page-sports__hero-image-wrapper {
        max-height: 300px;
    }
    .page-sports__hero-content {
        padding: 15px;
    }
    .page-sports__intro-section,
    .page-sports__sports-categories,
    .page-sports__live-betting-section,
    .page-sports__why-choose-us,
    .page-sports__promotions-section,
    .page-sports__app-download-section,
    .page-sports__faq-section {
        padding: 40px 0;
    }
}