/* style/sports.css */

/* General styles for the sports page */
.page-sports {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #FFF3E6; /* Light text for dark background #0D0E12 */
    background-color: #0D0E12; /* Explicitly set for clarity, though shared.css sets body */
    line-height: 1.6;
    font-size: 1em;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    text-align: center;
    overflow: hidden;
    background-color: #0D0E12; /* Dark background */
}

.page-sports__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}

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

.page-sports__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
}

.page-sports__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: #FFB04D; /* Glow color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255,176,77,0.5);
}

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

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-sports__cta-button:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
    transform: translateY(-2px);
}

/* Section Styling */
.page-sports__section {
    padding: 60px 20px;
    background-color: #0D0E12; /* Dark background */
    text-align: center;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #FFB04D; /* Glow color for section titles */
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,176,77,0.3);
}

.page-sports__section-subtitle {
    font-size: 1.8em;
    color: #FFA53A;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-sports__text-block {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF3E6;
    font-size: 1.05em;
}

.page-sports__list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.page-sports__list-item {
    background-color: #17191F; /* Card BG */
    border-left: 4px solid #FFA53A;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #FFF3E6;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-sports__list-item::before {
    content: '✓';
    color: #FFB04D;
    font-weight: bold;
    font-size: 1.2em;
}

.page-sports__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-sports__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    color: #FFF3E6;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}

.page-sports__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #A84F0C;
}

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

.page-sports__card-description {
    font-size: 0.95em;
    color: #FFF3E6;
}

/* How to Get Started Section - specific grid for steps */
.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-sports__step-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: #FFF3E6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.page-sports__step-number {
    font-size: 2.5em;
    color: #FFB04D;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(255,176,77,0.4);
}

.page-sports__step-title {
    font-size: 1.3em;
    color: #FFA53A;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-sports__step-description {
    font-size: 0.95em;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-sports__step-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-sports__step-button:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    transform: translateY(-1px);
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 60px 20px;
    background-color: #0D0E12;
    text-align: center;
}

.page-sports__faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-sports__faq-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-sports__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    background-color: #17191F;
    color: #FFA53A;
    font-size: 1.15em;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-sports__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for webkit browsers */
}

.page-sports__faq-item summary:hover {
    background-color: #2a2c34; /* Slightly lighter hover */
}

.page-sports__faq-qtext {
    color: #FFA53A;
}

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

.page-sports__faq-answer {
    padding: 0 25px 20px;
    color: #FFF3E6;
    font-size: 1em;
    line-height: 1.6;
}

/* Video Section */
.page-sports__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom */
    background-color: #0D0E12;
}

.page-sports__video-container {
    width: 100%; /* Desktop width */
    max-width: 1200px; /* Desktop max width */
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.page-sports__video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__grid,
    .page-sports__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section,
    .page-sports__section,
    .page-sports__faq-section,
    .page-sports__video-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Images responsiveness */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__hero-image-wrapper,
    .page-sports__card,
    .page-sports__step-item,
    .page-sports__faq-item,
    .page-sports__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video responsiveness */
    .page-sports video,
    .page-sports__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__video-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    /* Button responsiveness */
    .page-sports__cta-button,
    .page-sports__step-button,
    .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; /* Allow text wrapping */
        word-wrap: break-word !important; /* Allow text breaking */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-sports__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__hero-description,
    .page-sports__text-block,
    .page-sports__card-description,
    .page-sports__step-description,
    .page-sports__faq-answer {
        font-size: 0.9em;
    }
    .page-sports__card-image {
        height: 150px; /* Adjust card image height for mobile */
    }
}

@media (max-width: 480px) {
    .page-sports__hero-section,
    .page-sports__section,
    .page-sports__faq-section,
    .page-sports__video-section {
        padding: 10px 10px 40px;
    }
    .page-sports__hero-title {
        font-size: clamp(1.3em, 7vw, 2em);
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
}