/* style/sports.css */
.page-sports {
    color: #ffffff; /* Light text for dark body background */
    padding-top: var(--header-offset, 120px);
    font-family: Arial, sans-serif;
}

.page-sports__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #1A202C;
    position: relative;
    overflow: hidden;
}

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-sports__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.5;
}

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

.page-sports__button {
    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;
    min-width: 200px; /* Ensure button minimum size */
}

.page-sports__button--primary {
    background-color: #FFD700;
    color: #1A202C;
}

.page-sports__button--primary:hover {
    background-color: #e5c100;
}

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

.page-sports__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-sports__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: unset;
}

.page-sports__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-sports__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.page-sports__features-section,
.page-sports__types-section,
.page-sports__promotions-section,
.page-sports__get-started-section,
.page-sports__responsible-gaming-section,
.page-sports__faq-section,
.page-sports__cta-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-sports__feature-card,
.page-sports__type-card,
.page-sports__promo-card,
.page-sports__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports__feature-card:hover,
.page-sports__type-card:hover,
.page-sports__promo-card:hover,
.page-sports__step-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__feature-icon,
.page-sports__type-image,
.page-sports__promo-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure content images are not too small */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px auto;
}

.page-sports__feature-title,
.page-sports__type-title,
.page-sports__promo-title,
.page-sports__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__feature-description,
.page-sports__type-description,
.page-sports__promo-description,
.page-sports__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-sports__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-sports__live-betting-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.page-sports__live-betting-content {
    flex: 1;
    min-width: 300px;
}

.page-sports__live-betting-content .page-sports__section-title {
    text-align: left;
    margin-left: 0;
}

.page-sports__live-betting-content .page-sports__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-sports__live-betting-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-sports__live-betting-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-sports__live-betting-list li::before {
    content: '★';
    color: #FFD700;
    font-size: 1.2em;
    margin-right: 15px;
    min-width: 25px;
}

.page-sports__live-betting-image-wrapper {
    flex: 1;
    min-width: 400px;
}

.page-sports__live-betting-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__responsible-gaming-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-sports__link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-sports__link:hover {
    text-decoration: underline;
}

.page-sports__faq-accordion {
    margin-top: 50px;
}

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

.page-sports__faq-question {
    padding: 20px;
    font-size: 1.3em;
    color: #FFD700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.page-sports__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 0 20px 20px 20px;
}

.page-sports__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 12px;
    max-width: 1200px;
    margin: 80px auto;
}

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

.page-sports__cta-section .page-sports__section-title::after {
    background-color: #1A202C;
}

.page-sports__cta-section .page-sports__section-intro {
    color: #333333;
    margin-bottom: 40px;
}

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

.page-sports__cta-actions .page-sports__button--primary {
    background-color: #1A202C;
    color: #FFD700;
}

.page-sports__cta-actions .page-sports__button--primary:hover {
    background-color: #333333;
    color: #FFD700;
}

.page-sports__cta-actions .page-sports__button--secondary {
    background-color: transparent;
    color: #1A202C;
    border: 2px solid #1A202C;
}

.page-sports__cta-actions .page-sports__button--secondary:hover {
    background-color: #1A202C;
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 2.8em;
    }

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

    .page-sports__live-betting-section {
        flex-direction: column;
        text-align: center;
    }

    .page-sports__live-betting-content .page-sports__section-title {
        text-align: center;
    }

    .page-sports__live-betting-content .page-sports__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-sports__live-betting-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        padding: 40px 15px;
    }

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

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

    .page-sports__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__button {
        width: 100%;
        min-width: unset;
    }

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

    .page-sports__section-intro {
        font-size: 0.9em;
    }

    .page-sports__features-section,
    .page-sports__types-section,
    .page-sports__promotions-section,
    .page-sports__get-started-section,
    .page-sports__responsible-gaming-section,
    .page-sports__faq-section,
    .page-sports__cta-section {
        padding: 50px 15px;
    }

    .page-sports__feature-card,
    .page-sports__type-card,
    .page-sports__promo-card,
    .page-sports__step-card {
        padding: 20px;
    }

    .page-sports__feature-title,
    .page-sports__type-title,
    .page-sports__promo-title,
    .page-sports__step-title {
        font-size: 1.5em;
    }

    .page-sports__feature-description,
    .page-sports__type-description,
    .page-sports__promo-description,
    .page-sports__step-description {
        font-size: 0.9em;
    }

    .page-sports__live-betting-image-wrapper {
        min-width: unset;
    }

    .page-sports__live-betting-image,
    .page-sports__feature-icon,
    .page-sports__type-image,
    .page-sports__promo-image {
        max-width: 100%;
        height: auto; /* Required for mobile image overflow prevention */
        min-width: 200px;
        min-height: 200px;
    }

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

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

    .page-sports__cta-section {
        margin: 50px auto;
    }
    
    .page-sports__cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 1.8em;
    }

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

    .page-sports__hero-section {
        padding: 30px 10px;
    }

    .page-sports__features-section,
    .page-sports__types-section,
    .page-sports__promotions-section,
    .page-sports__get-started-section,
    .page-sports__responsible-gaming-section,
    .page-sports__faq-section,
    .page-sports__cta-section {
        padding: 40px 10px;
    }

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

    .page-sports__button {
        font-size: 0.9em;
        padding: 12px 20px;
    }

    .page-sports__feature-title,
    .page-sports__type-title,
    .page-sports__promo-title,
    .page-sports__step-title {
        font-size: 1.3em;
    }

    .page-sports__feature-description,
    .page-sports__type-description,
    .page-sports__promo-description,
    .page-sports__step-description {
        font-size: 0.85em;
    }

    .page-sports__live-betting-list li {
        font-size: 1em;
    }

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