.page-sports {
    padding-top: 10px; /* Small top padding for the first section, body handles header offset */
    background-color: var(--bg-color); /* Using the background color from the palette */
    color: var(--text-main-color); /* Using the main text color from the palette */
}

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

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

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height of the hero image wrapper */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-sports__hero-content {
    position: relative; /* Ensure content is not absolutely positioned over the image */
    z-index: 2;
    padding: 0 20px;
}

.page-sports__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--custom-color-1776249996415); /* Black for H1 */
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

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

.page-sports__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-sports__btn--primary {
    background: var(--button-color); /* Using button gradient */
    color: #FFFFFF;
}

.page-sports__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-sports__btn--secondary {
    background-color: #FFFFFF;
    color: var(--main-color); /* Main color for secondary button text */
    border: 2px solid var(--main-color);
}

.page-sports__btn--secondary:hover {
    background-color: var(--main-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Section Titles */
.page-sports__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--custom-color-1776249996415); /* Black for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

/* Features Section */
.page-sports__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-sports__feature-card {
    background-color: var(--card-bg-color); /* Card background color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-sports__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.page-sports__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415); /* Black for card titles */
    margin-bottom: 10px;
}

.page-sports__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-sports__card-title a:hover {
    color: var(--main-color);
}

.page-sports__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Game Types Section */
.page-sports__game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-sports__game-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-sports__game-image {
    width: 100%;
    height: 200px; /* Minimum size requirement for height, will be scaled by width */
    object-fit: cover;
    display: block;
}

/* Promotions Section */
.page-sports__promotions-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

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

.page-sports__promotion-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-sports__promotion-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color); /* Main color for promotion titles */
    margin-bottom: 10px;
}

.page-sports__promotion-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-sports__btn--link {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
}

.page-sports__btn--link:hover {
    text-decoration: underline;
    color: var(--auxiliary-color);
}

/* FAQ Section */
.page-sports__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.page-sports__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.page-sports__faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--custom-color-1776249996415); /* Black for FAQ questions */
    margin-bottom: 10px;
}

.page-sports__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-sports__cta-area {
    text-align: center;
    margin-top: 30px;
}

/* Color Variables */
:root {
    --main-color: #2F6BFF;
    --auxiliary-color: #6FA3FF;
    --button-color: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-sports__container {
        padding: 15px;
    }

    .page-sports__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-sports__hero-image,
    .page-sports__feature-icon,
    .page-sports__game-image {
        max-width: 100% !important; /* Ensure images are responsive and don't overflow */
        height: auto !important;
    }

    .page-sports__feature-icon,
    .page-sports__game-image {
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }

    .page-sports__hero-image {
        min-width: unset; /* Hero image can be wider than 200px but still responsive */
        min-height: unset;
    }

    .page-sports__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__btn {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
    }

    .page-sports__section-title {
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-sports__feature-card,
    .page-sports__game-card,
    .page-sports__promotion-item,
    .page-sports__faq-item {
        padding: 20px;
    }
}