/* style/sports.css */
.page-sports {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* A very light off-white background for the page content */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-sports__section-padding {
    padding: 60px 0;
}

.page-sports__bg--dark {
    background-color: #0A2342;
    color: #ffffff;
}

.page-sports__bg--accent {
    background-color: #FFD700;
    color: #0A2342;
}

.page-sports__text--light {
    color: #ffffff;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-sports__bg--dark .page-sports__section-title {
    color: #FFD700;
}

.page-sports__bg--accent .page-sports__section-title {
    color: #0A2342;
}

.page-sports__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-sports__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A2342, #1a3b60);
    padding-bottom: 0; /* Image will handle bottom spacing */
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 40px 20px;
    max-width: 900px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    font-weight: bold;
}

.page-sports__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.4;
}

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

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

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

.page-sports__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

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

.page-sports__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

.page-sports__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.page-sports__hero-image-wrapper {
    width: 100%;
    max-width: 1600px; /* Adjust based on desired hero image width */
    margin-top: -60px; /* Overlap with content slightly for visual flow */
    position: relative;
    z-index: 1;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-sports__feature-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: center;
    flex-grow: 1;
}

.page-sports__feature-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

/* Details List Section */
.page-sports__details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-sports__detail-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-sports__detail-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-sports__detail-card-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 10px;
    flex-grow: 1;
}

.page-sports__detail-card-title a {
    text-decoration: none;
    color: #0A2342;
}

.page-sports__detail-card-title a:hover {
    color: #FFD700;
}

.page-sports__detail-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* Bonuses Section */
.page-sports__bonuses-content {
    text-align: center;
}

.page-sports__bonuses-content .page-sports__section-title {
    color: #0A2342;
}

.page-sports__bonuses-content .page-sports__text-content {
    color: #0A2342;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-sports__bonuses-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Section */
.page-sports__mobile-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.page-sports__mobile-image-wrapper {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.page-sports__mobile-image {
    width: 100%;
    max-width: 400px; /* Max width for mobile image */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-sports__faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-sports__faq-question {
    font-size: 1.2em;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFD700;
    font-weight: bold;
}

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

.page-sports__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

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

.page-sports__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 0 20px 20px;
}

/* CTA Section */
.page-sports__cta-content {
    text-align: center;
}

.page-sports__cta-content .page-sports__section-title {
    color: #0A2342;
}

.page-sports__cta-content .page-sports__text-content {
    color: #555555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* About jili80 Section */
.page-sports__about-jili80 .page-sports__section-title {
    color: #0A2342;
}

.page-sports__about-jili80 .page-sports__text-content {
    color: #555555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-sports__hero-title {
        font-size: 2.8em;
    }
    .page-sports__hero-description {
        font-size: 1.2em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__mobile-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-sports__mobile-image-wrapper {
        order: -1; /* Image above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-sports {
        padding-top: var(--header-offset, 120px);
    }
    .page-sports__hero-section {
        padding: 30px 15px;
    }
    .page-sports__hero-title {
        font-size: 2.2em;
    }
    .page-sports__hero-description {
        font-size: 1em;
    }
    .page-sports__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn {
        width: 100%;
    }
    .page-sports__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-sports__section-padding {
        padding: 40px 0;
    }
    .page-sports__text-content {
        font-size: 0.95em;
    }
    .page-sports__feature-card,
    .page-sports__detail-card {
        padding: 20px;
    }
    .page-sports__detail-card-image {
        height: 200px;
    }
    .page-sports__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-sports__faq-answer {
        font-size: 0.95em;
        padding: 0 15px 15px;
    }
    /* Mobile content image constraint */
    .page-sports img {
        max-width: 100%;
        height: auto;
    }
    .page-sports__hero-image-wrapper {
        margin-top: -30px;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 1.8em;
    }
    .page-sports__hero-description {
        font-size: 0.9em;
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
    .page-sports__btn--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}

/* Ensure no content images are smaller than 200px */
.page-sports__feature-image, .page-sports__detail-card-image, .page-sports__bonuses-image, .page-sports__mobile-image {
    min-width: 200px;
    min-height: 200px;
}