/* Sports Betting Iframe Wrapper Styles */
.sports-page-main {
    width: 100%;
    min-height: calc(100vh - 130px);
    background: #14181e;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sports-frame-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 850px;
    background: #14181e;
    overflow: hidden;
}

.sports-iframe {
    width: 100%;
    height: 100%;
    min-height: 850px;
    border: none;
    display: block;
    background: #14181e;
}

.sports-loader-overlay {
    position: absolute;
    inset: 0;
    background: #14181e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sports-loader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sports-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(255, 255, 255, 0.12);
    border-top-color: #e41b23;
    border-radius: 50%;
    animation: sportsSpin 0.8s linear infinite;
}

@keyframes sportsSpin {
    to { transform: rotate(360deg); }
}

.sports-loader-text {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-family: inherit;
}

/* Hide mobile bottom navigation bar on sports pages */
body.sports-page {
    padding-bottom: 0 !important;
}

body.sports-page .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Mobile Layout */
@media (max-width: 768px) {
    body.sports-page {
        padding-bottom: 0 !important;
    }

    body.sports-page .mobile-bottom-nav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.sports-page .support {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .sports-page-main {
        min-height: calc(100dvh - 120px);
        padding-bottom: 0 !important;
    }

    .sports-frame-container {
        min-height: calc(100dvh - 120px);
    }

    .sports-iframe {
        min-height: calc(100dvh - 120px);
        height: calc(100dvh - 120px);
        -webkit-overflow-scrolling: touch;
    }
}

