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

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

.page-sports__dark-bg {
    background-color: #003366;
    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: center;
    min-height: 700px;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Add some padding below content */
}

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

.page-sports__hero-section .page-sports__container {
    position: relative;
    z-index: 1;
    padding-top: 50px; /* Offset from header variable */
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFCC00; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-sports__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

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

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

.page-sports__btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

/* General Section Styles */
.page-sports__section-title {
    font-size: 2.5em;
    color: #FFCC00;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-sports__section-subtitle {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__about-section,
.page-sports__features-section,
.page-sports__promotions-section,
.page-sports__cta-section {
    padding: 80px 0;
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

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

.page-sports__grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-sports__card,
.page-sports__feature-card,
.page-sports__promo-card {
    background-color: #003366;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.page-sports__card:hover,
.page-sports__feature-card:hover,
.page-sports__promo-card:hover {
    transform: translateY(-10px);
}

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

.page-sports__feature-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    border: none;
}

.page-sports__card-title,
.page-sports__feature-title {
    font-size: 1.5em;
    color: #FFCC00;
    margin-bottom: 15px;
}

.page-sports__card-description,
.page-sports__feature-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 40px auto 20px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-sports__video-cta {
    margin-top: 30px;
}

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

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

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #FFCC00;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    transform: rotate(45deg);
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #f0f0f0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px;
}

/* CTA Section */
.page-sports__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #0d0d0d;
}

.page-sports__cta-section .page-sports__section-title {
    color: #FFCC00;
}

.page-sports__cta-section .page-sports__section-subtitle {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 3em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__hero-section {
        min-height: 600px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-sports__hero-title {
        font-size: 2.5em;
    }
    .page-sports__hero-description {
        font-size: 1em;
    }
    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        width: 100%;
        padding: 12px 20px;
    }
    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__section-subtitle,
    .page-sports__text-block,
    .page-sports__card-description,
    .page-sports__feature-description,
    .page-sports__faq-answer p {
        font-size: 0.95em;
    }
    .page-sports__card-image, .page-sports__feature-icon {
        height: auto;
        width: 100%;
        max-width: 100%;
        min-width: 200px; /* Ensure min width */
        min-height: 200px;
    }
    .page-sports__video-wrapper {
        max-width: 100%;
        margin: 30px auto 15px auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-sports video,
    .page-sports__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__promo-card,
    .page-sports__feature-card,
    .page-sports__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__promo-video .page-sports__container,
    .page-sports__faq-section .page-sports__container,
    .page-sports__cta-section .page-sports__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-sports__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 2em;
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
    .page-sports__card-title,
    .page-sports__feature-title {
        font-size: 1.2em;
    }
    .page-sports__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-sports__faq-answer {
        padding: 0 15px;
    }
    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 15px;
    }
}