/* style/sports.css */

/* --- General Styles for page-sports (applied to main.page-sports) --- */
.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 from shared.css is #000000 */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-sports__section-title {
    font-size: 36px;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-sports__paragraph {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Light grey for paragraphs on dark background */
}

/* --- Hero Section --- */
.page-sports__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #CC0000, #800000); /* Red gradient */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-sports__hero-section .page-sports__container {
    position: relative;
    z-index: 2;
    padding-top: 0; /* Already handled by main.page-sports */
}

.page-sports__main-title {
    font-size: 52px;
    color: #FFD700; /* Gold for H1 */
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-sports__hero-description {
    font-size: 20px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-sports__btn-primary {
    background: #FFD700; /* Gold button */
    color: #CC0000; /* Red text on gold */
}

.page-sports__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.page-sports__btn-secondary {
    background: #CC0000; /* Red button */
    color: #ffffff; /* White text on red */
    border: 2px solid #FFD700; /* Gold border */
}

.page-sports__btn-secondary:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

/* --- Intro Section --- */
.page-sports__intro-section {
    background-color: #0d0d0d; /* Slightly lighter dark background */
    padding: 60px 0;
    color: #f0f0f0;
}

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

/* --- Features Section --- */
.page-sports__features-section {
    background-color: #000000;
    padding: 60px 0;
    color: #ffffff;
}

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

.page-sports__feature-card {
    background: rgba(204, 0, 0, 0.15); /* Semi-transparent red background */
    border: 1px solid #CC0000;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-sports__card-title {
    font-size: 24px;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-sports__card-description {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-sports__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* --- Promotions Section --- */
.page-sports__promotions-section {
    background-color: #0d0d0d;
    padding: 60px 0;
    color: #f0f0f0;
}

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

.page-sports__promo-card {
    background: rgba(255, 215, 0, 0.1); /* Semi-transparent gold background */
    border: 1px solid #FFD700;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-sports__promo-button {
    display: inline-block;
    padding: 10px 25px;
    background: #CC0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-sports__promo-button:hover {
    background: #a30000;
}

.page-sports__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* --- Guide Section --- */
.page-sports__guide-section {
    background-color: #000000;
    padding: 60px 0;
    color: #ffffff;
}

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

.page-sports__step-item {
    background: rgba(204, 0, 0, 0.15); /* Semi-transparent red */
    border: 1px solid #CC0000;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__step-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-sports__step-description {
    font-size: 15px;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-sports__step-button {
    display: inline-block;
    padding: 10px 20px;
    background: #FFD700;
    color: #CC0000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-sports__step-button:hover {
    background: #e6c200;
}

/* --- Why Choose Section --- */
.page-sports__why-choose-section {
    background-color: #0d0d0d;
    padding: 60px 0;
    color: #f0f0f0;
}

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

.page-sports__benefit-item {
    background: rgba(255, 255, 255, 0.08); /* Subtle light background on dark */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-sports__benefit-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-sports__benefit-description {
    font-size: 16px;
    color: #e0e0e0;
    flex-grow: 1;
}

.page-sports__download-button {
    display: inline-block;
    padding: 8px 15px;
    background: #CC0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-sports__download-button:hover {
    background: #a30000;
}

/* --- FAQ Section --- */
.page-sports__faq-section {
    background-color: #000000;
    padding: 60px 0;
    color: #ffffff;
}

.page-sports__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #1a1a1a; /* Darker background for question */
    border: 1px solid #333333;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-sports__faq-question:hover {
    background: #2a2a2a;
    border-color: #555555;
}

.page-sports__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #FFD700; /* Gold for FAQ questions */
    pointer-events: none;
}

.page-sports__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 15px !important;
    opacity: 1;
    background: #1a1a1a; /* Same as question background */
    border-radius: 0 0 5px 5px;
    border: 1px solid #333333;
    border-top: none;
    color: #f0f0f0;
}

.page-sports__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #f0f0f0;
}

.page-sports__faq-download-button {
    display: inline-block;
    padding: 8px 15px;
    background: #CC0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-sports__faq-download-button:hover {
    background: #a30000;
}

/* --- CTA Section at bottom --- */
.page-sports__cta-section {
    background-color: #CC0000; /* Primary brand color */
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
}

.page-sports__cta-section .page-sports__section-title {
    color: #FFD700; /* Gold for title on red background */
}

.page-sports__cta-section .page-sports__paragraph {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-sports__main-title {
        font-size: 44px;
    }
    .page-sports__section-title {
        font-size: 30px;
    }
    .page-sports__paragraph, .page-sports__hero-description {
        font-size: 17px;
    }
    .page-sports__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-sports {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-sports__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-sports__main-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .page-sports__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-sports__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-sports__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-sports__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__hero-image {
        opacity: 0.15; /* Even more subtle on mobile */
    }

    /* Card adjustments */
    .page-sports__feature-card,
    .page-sports__promo-card,
    .page-sports__step-item,
    .page-sports__benefit-item {
        padding: 20px;
    }
    .page-sports__card-title, .page-sports__step-title, .page-sports__benefit-title {
        font-size: 20px;
    }
    .page-sports__card-description, .page-sports__step-description, .page-sports__benefit-description {
        font-size: 15px;
    }

    /* FAQ specific mobile styles */
    .page-sports__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-sports__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-sports__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-sports__faq-answer {
        padding: 0 15px;
    }
    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 15px !important;
    }
    .page-sports__faq-download-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-sports__main-title {
        font-size: 30px;
    }
    .page-sports__section-title {
        font-size: 22px;
    }
    .page-sports__hero-description {
        font-size: 15px;
    }
}