.page-sports {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding to respect body padding-top from shared.css */
}

.page-sports__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Enforce minimum size */
}

.page-sports__hero-content {
    padding: 20px;
    background-color: #17191F;
    width: 100%;
    max-width: 800px;
    margin-top: -80px; /* Overlap slightly with image for visual effect */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative; /* Ensure content is above other elements */
    z-index: 1;
    border: 1px solid #A84F0C;
}

.page-sports__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #FFB04D, #FF8C1A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
}

.page-sports__description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #FFF3E6;
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
    min-width: 200px; /* Ensure button is not too small */
    min-height: 44px; /* Ensure button is touch-friendly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-sports__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FF8C1A;
    line-height: 1.3;
}

.page-sports__section-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF3E6;
}

.page-sports__guide-section {
    background-color: #17191F;
    border-radius: 15px;
    margin-bottom: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-sports__guide-card {
    background-color: #0D0E12;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #A84F0C;
}

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

.page-sports__guide-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 15px 10px;
    line-height: 1.4;
}

.page-sports__card-title a {
    color: #FF8C1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports__card-title a:hover {
    color: #FFA53A;
}

.page-sports__card-text {
    font-size: 0.95rem;
    color: #FFF3E6;
    padding: 0 15px 15px;
}

.page-sports__read-more-link {
    display: inline-block;
    color: #FFA53A;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 20px;
    transition: color 0.3s ease;
}

.page-sports__read-more-link:hover {
    color: #FFB04D;
}

.page-sports__categories-section {
    margin-bottom: 40px;
}

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

.page-sports__game-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #A84F0C;
}

.page-sports__game-tile:hover {
    transform: scale(1.03);
}

.page-sports__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__view-all-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
    min-height: 44px; /* Ensure button is touch-friendly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-sports__promotions-section {
    background-color: #17191F;
    border-radius: 15px;
    margin-bottom: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-sports__promo-card {
    background-color: #0D0E12;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #A84F0C;
}

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

.page-sports__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__why-choose-section {
    margin-bottom: 40px;
}

.page-sports__advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.page-sports__advantage-item {
    background-color: #17191F;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    color: #FFF3E6;
    border-left: 5px solid #FF8C1A;
}

.page-sports__cta-bottom-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #17191F;
    border-radius: 15px;
}

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

.page-sports__cta-button--register {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-sports__cta-button--login {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%); /* Slightly different gradient for visual distinction */
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-sports__hero-content {
        margin-top: -50px;
        border-radius: 10px;
        padding: 15px;
    }

    .page-sports__main-title {
        font-size: 1.8rem;
    }

    .page-sports__description {
        font-size: 1rem;
    }

    .page-sports__section-title {
        font-size: 1.8rem;
    }

    .page-sports__section-description {
        font-size: 0.95rem;
    }

    .page-sports__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust grid for smaller screens */
    }

    .page-sports__guide-cards,
    .page-sports__promo-cards {
        grid-template-columns: 1fr;
    }

    .page-sports__advantage-list {
        grid-template-columns: 1fr;
    }

    .page-sports__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-sports__cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-image,
    .page-sports__guide-image,
    .page-sports__game-tile img,
    .page-sports__promo-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-sports__section {
        padding: 30px 15px;
    }
}

@media (max-width: 549px) {
    .page-sports__main-title {
        font-size: 1.5rem;
    }

    .page-sports__section-title {
        font-size: 1.6rem;
    }

    .page-sports__hero-content {
        margin-top: -30px;
    }

    .page-sports__cta-button {
        font-size: 0.95rem;
        padding: 12px 20px;
    }

    .page-sports__guide-image,
    .page-sports__promo-image {
        height: 180px; /* Slightly reduce fixed height for very small screens */
    }
}