/* style/sports.css */
.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, but for clarity */
}

.page-sports__section {
    padding: 60px 20px;
    text-align: center;
}

.page-sports__dark-bg {
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-sports__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-sports__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
}

.page-sports__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 100px 20px 60px; /* Adjusted padding-top via JS */
    overflow: hidden;
}

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

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-sports__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

.page-sports__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Specific login button color */
.page-sports__hero-cta-buttons a:nth-child(2) {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #ffffff;
}

.page-sports__hero-cta-buttons a:nth-child(2):hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Why Choose Section */
.page-sports__why-choose .page-sports__section-title {
    color: #26A9E0;
}

.page-sports__why-choose .page-sports__section-description {
    color: #555555;
}

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

.page-sports__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
}

.page-sports__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__feature-item p {
    font-size: 1em;
    color: #555555;
}

/* Game Hu Integration Section */
.page-sports__game-hu-integration .page-sports__section-title {
    color: #ffffff;
}

.page-sports__game-hu-integration .page-sports__section-description {
    color: #f0f0f0;
}

.page-sports__game-hu-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-sports__benefit-item {
    flex: 1 1 calc(50% - 15px);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
}

.page-sports__benefit-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__benefit-item ul {
    list-style: none;
    padding-left: 0;
}

.page-sports__benefit-item ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-sports__benefit-item ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

/* Promotions Section */
.page-sports__promotions .page-sports__section-title {
    color: #26A9E0;
}

.page-sports__promotions .page-sports__section-description {
    color: #555555;
}

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

.page-sports__promo-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports__promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__promo-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-sports__promo-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #555555;
}

.page-sports__promo-card ul li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

.page-sports__promo-card .page-sports__btn-primary {
    align-self: flex-start;
    margin-top: auto;
}

/* Security Section */
.page-sports__security .page-sports__section-title {
    color: #ffffff;
}

.page-sports__security .page-sports__section-description {
    color: #f0f0f0;
}

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

.page-sports__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
    text-align: left;
}

.page-sports__security-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__security-item p {
    color: #f0f0f0;
}

/* How to Start Section */
.page-sports__how-to-start .page-sports__section-title {
    color: #26A9E0;
}

.page-sports__how-to-start .page-sports__section-description {
    color: #555555;
}

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

.page-sports__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
}

.page-sports__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__step-item p {
    color: #555555;
}

/* FAQ Section */
.page-sports__faq-section .page-sports__section-title {
    color: #ffffff;
}

.page-sports__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

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

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

.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;
    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 show content */
    padding: 20px;
}

.page-sports__faq-answer p {
    font-size: 1em;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-sports__cta-final {
    padding-bottom: 80px;
}

.page-sports__cta-final .page-sports__section-title {
    color: #ffffff;
}

.page-sports__cta-final .page-sports__section-description {
    color: #f0f0f0;
}

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

/* General image styling */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 2.8em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__feature-item,
    .page-sports__benefit-item,
    .page-sports__promo-card,
    .page-sports__security-item,
    .page-sports__step-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        min-height: 500px;
        padding: 80px 15px 40px;
    }
    .page-sports__hero-title {
        font-size: 2.2em;
    }
    .page-sports__hero-description {
        font-size: 1.1em;
    }
    .page-sports__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__section {
        padding: 40px 15px;
    }
    .page-sports__section-title {
        font-size: 1.8em;
    }
    .page-sports__section-description {
        font-size: 1em;
    }
    .page-sports__features-grid,
    .page-sports__promo-grid,
    .page-sports__security-features,
    .page-sports__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-sports__benefit-item {
        flex: 1 1 100%;
    }
    .page-sports__content-area {
        padding: 0;
    }
    .page-sports img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        margin: 30px auto 0 auto;
    }
    .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;
    }
    .page-sports__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .page-sports video,
    .page-sports__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__video-container,
    .page-sports__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-sports__cta-buttons,
    .page-sports__hero-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        flex-direction: column;
        gap: 10px;
    }
    .page-sports__promo-card .page-sports__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 1.8em;
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
    .page-sports__feature-title,
    .page-sports__benefit-title,
    .page-sports__promo-title,
    .page-sports__security-title,
    .page-sports__step-title {
        font-size: 1.2em;
    }
}