/* style/sports.css */

/* Base styles for the sports page */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.page-sports__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
}

.page-sports__hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
    padding-right: 40px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #26A9E0;
}

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

.page-sports__hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-sports__hero-image-wrapper {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

.page-sports__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section Titles & Descriptions */
.page-sports__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-align: center;
    color: #26A9E0;
    padding-top: 40px;
}

.page-sports__section-title--white {
    color: #ffffff;
}

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

.page-sports__section-description--white {
    color: #f0f0f0;
}

/* Intro Section */
.page-sports__intro-section {
    padding: 80px 0;
}

.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
}

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

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

/* Video Section */
.page-sports__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-sports__video-link {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    cursor: pointer;
}

.page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Sports Options Section */
.page-sports__sports-options-section {
    padding: 80px 0;
}

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

.page-sports__option-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #333333;
}

.page-sports__option-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-sports__option-title {
    font-size: 1.4em;
    margin: 20px 0 10px 0;
    color: #26A9E0;
}

.page-sports__option-text {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #555;
}

/* Live Betting Section */
.page-sports__live-betting-section {
    padding: 80px 0;
}

.page-sports__live-betting-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-sports__live-betting-content {
    flex: 1;
}

.page-sports__live-betting-content .page-sports__section-title,
.page-sports__live-betting-content .page-sports__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-sports__live-betting-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-sports__live-betting-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-sports__live-betting-features li::before {
    content: '✓';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

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

/* Promotions Section */
.page-sports__promotions-section {
    padding: 80px 0;
}

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

.page-sports__promotion-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #333333;
}

.page-sports__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-sports__promotion-title {
    font-size: 1.4em;
    margin: 20px 0 10px 0;
    color: #26A9E0;
}

.page-sports__promotion-text {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.page-sports__promotion-card .page-sports__btn-primary,
.page-sports__promotion-card .page-sports__btn-secondary {
    margin-bottom: 20px;
}

/* Get Started Section */
.page-sports__get-started-section {
    padding: 80px 0;
}

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

.page-sports__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-sports__step-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

/* Testimonials Section */
.page-sports__testimonials-section {
    padding: 80px 0;
}

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

.page-sports__testimonial-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    color: #333333;
    font-style: italic;
}

.page-sports__testimonial-text {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #555;
}

.page-sports__testimonial-author {
    font-weight: bold;
    text-align: right;
    color: #26A9E0;
    font-style: normal;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 80px 0;
}

.page-sports__faq-grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 50px;
}

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

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

.page-sports__faq-items {
    flex: 2;
}

.page-sports__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #ffffff;
    color: #26A9E0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-sports__faq-question::-webkit-details-marker {
    display: none;
}

.page-sports__faq-question:hover {
    background-color: #f0f0f0;
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
}

.page-sports__faq-item[open] .page-sports__faq-question {
    background-color: #f0f0f0;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    content: '−';
}

.page-sports__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: #555;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.page-sports__faq-answer p {
    margin: 0;
}

/* Responsible Gaming CTA */
.page-sports__responsible-gaming-cta {
    padding: 80px 0;
    text-align: center;
}

.page-sports__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 3em;
    }

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

    .page-sports__live-betting-layout {
        flex-direction: column;
        text-align: center;
    }

    .page-sports__live-betting-content .page-sports__section-title,
    .page-sports__live-betting-content .page-sports__section-description {
        text-align: center;
    }

    .page-sports__live-betting-features {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-sports__faq-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-sports__faq-image-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile for first section */
    }

    .page-sports__hero-content,
    .page-sports__hero-image-wrapper {
        max-width: 100%;
        padding-right: 0;
    }

    .page-sports__hero-image-wrapper {
        margin-top: 40px;
    }

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

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

    .page-sports__hero-cta {
        justify-content: center;
    }

    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        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__intro-section,
    .page-sports__video-section,
    .page-sports__sports-options-section,
    .page-sports__live-betting-section,
    .page-sports__promotions-section,
    .page-sports__get-started-section,
    .page-sports__testimonials-section,
    .page-sports__faq-section,
    .page-sports__responsible-gaming-cta {
        padding: 40px 0;
    }

    .page-sports__container {
        padding: 0 15px;
    }

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

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

    .page-sports__features-grid,
    .page-sports__options-grid,
    .page-sports__promotion-cards,
    .page-sports__steps-grid,
    .page-sports__testimonials-grid {
        gap: 20px;
    }

    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-sports video,
    .page-sports__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-sports__video-section,
    .page-sports__video-container,
    .page-sports__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .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__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-sports__faq-image-wrapper {
        max-width: 100%;
    }
}