/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
    color: #333333; /* Default text color for light backgrounds */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #FFFFFF; /* Page background as per custom color scheme */
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4; /* Slightly dim image to make text readable */
    min-width: 200px;
    min-height: 200px;
}

.page-sports__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.page-sports__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-sports__button--register {
    background-color: #FFFFFF; /* Custom color for Register */
    color: #000000;
}

.page-sports__button--register:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-sports__button--login {
    background-color: #FCBC45; /* Custom color for Login */
    color: #000000;
}

.page-sports__button--login:hover {
    background-color: #e7a731;
    transform: translateY(-2px);
}

.page-sports__button--primary {
    background-color: #FCBC45; /* Primary CTA button */
    color: #000000;
}

.page-sports__button--primary:hover {
    background-color: #e7a731;
    transform: translateY(-2px);
}

.page-sports__button--download {
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #FCBC45;
}

.page-sports__button--download:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

.page-sports__button--more-faq {
    background-color: #000000;
    color: #FCBC45;
    border: 1px solid #FCBC45;
    margin-top: 30px;
}

.page-sports__button--more-faq:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}


/* General Section Styling */
.page-sports__overview-section,
.page-sports__how-to-bet-section,
.page-sports__mobile-betting-section,
.page-sports__faq-section,
.page-sports__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Consistent light background */
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.page-sports__section-description {
    font-size: 1.1em;
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

.page-sports__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-image {
    width: 100%; /* Ensure images fill card width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

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

.page-sports__feature-text {
    color: #555555;
    font-size: 1em;
}

/* How-to-Bet Section */
.page-sports__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-sports__step-item {
    background-color: #f8f8f8;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-sports__step-text {
    color: #555555;
    margin-bottom: 20px;
}

/* Mobile Betting Section */
.page-sports__mobile-betting-section {
    background-color: #000000; /* Dark background for this section */
    color: #FFFFFF;
}

.page-sports__mobile-betting-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-sports__mobile-text .page-sports__section-title {
    color: #FFFFFF;
    text-align: left;
}

.page-sports__mobile-text .page-sports__section-description {
    color: #f0f0f0;
    text-align: left;
    margin-left: 0;
}

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

.page-sports__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

/* FAQ Section */
.page-sports__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity */
}

.page-sports__faq-answer {
    color: #555555;
    font-size: 1em;
    display: none; /* Hidden by default, toggled by JS */
}

.page-sports__faq-question.active + .page-sports__faq-answer {
    display: block;
}


/* CTA Section */
.page-sports__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #FCBC45; /* Highlight with accent color */
    color: #000000;
}

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

.page-sports__cta-description {
    font-size: 1.2em;
    color: #333333;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 3em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        padding: 60px 20px;
    }
    .page-sports__hero-title {
        font-size: 2.5em;
    }
    .page-sports__hero-description {
        font-size: 1.1em;
    }
    .page-sports__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-sports__overview-section,
    .page-sports__how-to-bet-section,
    .page-sports__mobile-betting-section,
    .page-sports__faq-section,
    .page-sports__cta-section {
        padding: 40px 0;
    }

    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__section-description {
        font-size: 1em;
    }

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

    .page-sports__mobile-betting-content {
        flex-direction: column;
        text-align: center;
    }
    .page-sports__mobile-text .page-sports__section-title,
    .page-sports__mobile-text .page-sports__section-description {
        text-align: center;
    }

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

    /* Mobile content image overflow prevention */
    .page-sports img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area does not cause horizontal scroll */
    .page-sports {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 2em;
    }
    .page-sports__hero-description {
        font-size: 0.95em;
    }
    .page-sports__section-title {
        font-size: 1.6em;
    }
    .page-sports__feature-title {
        font-size: 1.3em;
    }
    .page-sports__step-title {
        font-size: 1.4em;
    }
    .page-sports__faq-question {
        font-size: 1.2em;
    }
    .page-sports__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure no image filters are used */
.page-sports img {
    filter: none !important; /* Strictly no filter effects */
}
/* Ensure content images are not small */
.page-sports img:not(.shared-logo):not(.shared-icon) {
    min-width: 200px;
    min-height: 200px;
}