/* style/sports.css */
.page-sports {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-sports__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    box-sizing: border-box;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-sports__hero-content {
    text-align: center;
    max-width: 800px;
}

.page-sports__hero-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6;
    margin-bottom: 20px;
}

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

.page-sports__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-sports__btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-sports__btn-secondary {
    display: inline-block;
    background: #11271B; /* Card BG */
    color: #2AD16F; /* Button color for contrast */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
    cursor: pointer;
    box-sizing: border-box;
}

.page-sports__btn-secondary:hover {
    background: #2E7A4E;
    color: #F2FFF6;
    transform: translateY(-2px);
}

.page-sports__dark-section {
    background-color: #08160F; /* Background */
    padding: 60px 20px;
    color: #F2FFF6;
}

.page-sports__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 40px;
}

.page-sports__section-text {
    font-size: 1em;
    line-height: 1.6;
    color: #A7D9B8;
    text-align: justify;
    margin-bottom: 30px;
}

.page-sports__video-section {
    padding-top: 10px; /* Small top padding */
}

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 0 auto 30px auto;
    width: 100%; /* Ensure width is 100% for desktop */
    box-sizing: border-box;
}

.page-sports__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

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

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

.page-sports__card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.page-sports__card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-sports__card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-sports__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #F2FFF6;
    margin-bottom: 15px;
}

.page-sports__card-text {
    font-size: 0.95em;
    color: #A7D9B8;
    line-height: 1.5;
    flex-grow: 1;
}

.page-sports__cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-sports__feature-item {
    text-align: center;
}

.page-sports__feature-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-sports__feature-text {
    font-size: 0.95em;
    color: #A7D9B8;
    line-height: 1.5;
}

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

.page-sports__step-card {
    text-align: center;
    padding-bottom: 25px; /* Adjust padding for button */
}

.page-sports__step-card .page-sports__btn-secondary {
    margin-top: 20px;
    width: calc(100% - 20px); /* Adjust for padding in mobile */
}

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

.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    box-sizing: border-box;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1E3A2A; /* Divider */
    color: #F2FFF6;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

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

.page-sports__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

.page-sports__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
    color: #A7D9B8;
    line-height: 1.6;
    background-color: #11271B;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-sports__container {
        padding: 0 15px;
    }

    .page-sports__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

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

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

    .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__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-sports__dark-section {
        padding: 40px 15px;
    }

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

    .page-sports__section-text {
        font-size: 0.95em;
    }

    .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: 10px !important;
    }

    .page-sports__grid,
    .page-sports__feature-grid,
    .page-sports__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-sports__card {
        padding: 20px;
    }

    .page-sports__card-title {
        font-size: 1.2em;
    }

    .page-sports__card-text {
        font-size: 0.9em;
    }

    .page-sports__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-sports__faq-answer {
        padding: 10px 15px;
    }

    .page-sports__card-icon {
        width: 80px;
        height: 80px;
    }
}

/* Ensure content area images do not shrink below 200px where not intended */
.page-sports__game-card .page-sports__card-image,
.page-sports__feature-card .page-sports__card-image {
    min-width: 200px;
    min-height: 150px; /* Adjust as needed for aspect ratio */
}

.page-sports__step-card .page-sports__card-icon {
    min-width: 80px;
    min-height: 80px;
}

/* Contrast fixes for specific elements if needed - based on a dark background */
.page-sports__section-title, .page-sports__hero-title, .page-sports__card-title, .page-sports__feature-title, .page-sports__faq-question {
    color: #F2FFF6; /* Ensure light text on dark background */
}

.page-sports__section-text, .page-sports__hero-description, .page-sports__card-text, .page-sports__feature-text, .page-sports__faq-answer {
    color: #A7D9B8; /* Ensure secondary light text on dark background */
}