:root {
    --background: #08160F;
    --card-b-g: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* style/sports.css */
/* BEM naming: .page-sports__element-name */
/* Body padding-top is handled by shared.css via var(--header-offset) */

.page-sports {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background); /* Page background */
    line-height: 1.6;
    font-size: 16px;
}

.page-sports__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-sports__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
    background: var(--card-b-g); /* Use Card BG for hero content background for contrast */
    color: var(--text-main);
    border-radius: 8px;
    margin-top: 20px; /* Space between image and content */
}

.page-sports__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.page-sports__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary {
    background: var(--button); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    border: none;
}

.page-sports__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-sports__btn-secondary {
    background: #ffffff;
    color: var(--deep-green); /* Use Deep Green for text on white background */
    border: 2px solid var(--deep-green);
}

.page-sports__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background: var(--deep-green);
    color: #ffffff;
}

.page-sports__section {
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

.page-sports__introduction,
.page-sports__odds-promotions,
.page-sports__features,
.page-sports__conclusion {
    background-color: var(--background); /* Background color for these sections */
    color: var(--text-main);
}

.page-sports__sports-types,
.page-sports__promotions,
.page-sports__faq-section {
    background-color: var(--card-b-g); /* Card BG color for these sections */
    color: var(--text-main);
}

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

.page-sports__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}

.page-sports__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-sports__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.page-sports__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-sports__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

.page-sports__card {
    background-color: var(--card-b-g); /* Card background */
    color: var(--text-main);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border); /* Border color */
}

.page-sports__card-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-sports__card-text {
    font-size: 1em;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-sports__faq-list {
    margin-top: 30px;
}

.page-sports__faq-item {
    background-color: var(--card-b-g);
    border: 1px solid var(--divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-sports__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    list-style: none; /* Remove default summary marker */
}

.page-sports__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default summary marker for Webkit */
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-sports__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
    color: var(--text-main);
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-sports__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-secondary);
}

.page-sports__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-sports__hero-content {
        padding: 30px 15px;
    }

    .page-sports__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

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

    .page-sports__sub-title {
        font-size: 1.4em;
    }

    .page-sports__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-sports {
        font-size: 16px; /* Ensure base font size for mobile */
    }

    .page-sports__hero-section {
        min-height: 350px;
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-sports__hero-content {
        padding: 20px 15px;
        margin-top: 15px;
        border-radius: 0; /* No border-radius on mobile for full width look */
    }

    .page-sports__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em); /* More clamped for smaller screens */
        margin-bottom: 15px;
    }

    .page-sports__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-sports__container {
        padding: 0 15px; /* Add side padding for mobile */
        max-width: 100% !important; /* Ensure full width */
        width: 100% !important; /* Ensure full width */
        box-sizing: border-box !important;
    }

    .page-sports__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-sports__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .page-sports__text-block,
    .page-sports__card-text {
        font-size: 0.95em;
    }

    .page-sports__grid {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
    }

    .page-sports__card {
        padding: 20px;
    }

    /* Images responsiveness */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-sports__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding to image wrapper for consistency */
    }

    /* Video responsiveness (if any, although not explicitly in this page's content) */
    .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: 10px !important; /* Small top padding for video section */
    }

    /* Button responsiveness */
    .page-sports__cta-button,
    .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; /* Ensure padding inside buttons */
      padding-right: 15px; /* Ensure padding inside 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; /* Allow buttons to wrap */
      gap: 10px; /* Space between wrapped buttons */
      display: flex;
      flex-direction: column; /* Stack buttons vertically on mobile */
    }
}