/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
    box-sizing: border-box;
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-sports__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-sports__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* General Section Styling */
.page-sports__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 60px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-sports__btn-primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
}

.page-sports__btn-link {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-sports__btn-link:hover {
    color: #e6c200;
}

.page-sports__btn-lg {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Why Choose Us Section */
.page-sports__dark-section {
    background-color: #1A2E44;
    padding: 80px 0;
    color: #ffffff;
}

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

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-sports__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon {
    width: 100%;
    height: 200px; /* Enforce minimum height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Bet Types Section */
.page-sports__bet-types {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-sports__type-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-sports__type-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__type-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
}

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

.page-sports__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-sports__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-sports__promotions {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-sports__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-sports__promo-image {
    width: 100%;
    height: 220px; /* Consistent image height */
    object-fit: cover;
}

.page-sports__promo-card > div {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-sports__promo-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-sports__promo-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-sports__promo-card .page-sports__btn-primary {
    margin-top: auto; /* Push button to the bottom */
    width: 100%;
}

/* Mobile App Section */
.page-sports__mobile-app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
}

.page-sports__mobile-text {
    flex: 1;
}

.page-sports__mobile-app .page-sports__section-title {
    text-align: left;
    padding-top: 0;
}

.page-sports__mobile-app .page-sports__section-intro {
    text-align: left;
    margin: 0 0 30px 0;
}

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

.page-sports__app-features li {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-sports__icon-check {
    color: #FFD700;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

.page-sports__icon-check::before {
    content: '✓';
}

.page-sports__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

.page-sports__faq-list {
    margin-top: 50px;
}

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #1A2E44;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: rgba(26, 46, 68, 0.8);
}

.page-sports__faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #FFD700;
}

.page-sports__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 30px;
}

.page-sports__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
}

/* CTA Bottom Section */
.page-sports__cta-bottom {
    text-align: center;
    padding: 100px 0;
    background-color: #1A2E44;
}

.page-sports__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-sports__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 2.8em;
    }

    .page-sports__hero-description {
        font-size: 1.1em;
    }

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

    .page-sports__feature-card,
    .page-sports__type-card,
    .page-sports__step-item,
    .page-sports__promo-card {
        padding: 25px;
    }

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

    .page-sports__mobile-app .page-sports__section-title,
    .page-sports__mobile-app .page-sports__section-intro {
        text-align: center;
    }

    .page-sports__app-features {
        text-align: left;
        display: inline-block;
    }
}

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

    .page-sports__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

    .page-sports__hero-description {
        font-size: 1em;
    }

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

    .page-sports__btn-primary,
    .page-sports__btn-secondary,
    .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-left: 15px;
        padding-right: 15px;
    }

    .page-sports__hero-buttons,
    .page-sports__cta-buttons,
    .page-sports__button-group,
    .page-sports__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-sports__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }

    .page-sports__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-sports__feature-icon,
    .page-sports__promo-image {
        height: 180px;
    }

    /* Images responsive */
    .page-sports img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__mobile-app-content,
    .page-sports__mobile-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-sports__faq-question,
    .page-sports__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__cta-bottom {
        padding: 60px 0;
    }

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

    .page-sports__cta-description {
        font-size: 1em;
    }
}