body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
}

.bg-image {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('basketball-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.8s ease;
    margin: 0;
    padding: 0;
    border: none;
}


#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
    pointer-events: none;
}

.sidebar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 350px;
    background: rgba(30, 30, 30, 0.6);
    color: #fff;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.sidebar h1 {
    font-size: 2.8em;
    margin-bottom: 0.2em;
    letter-spacing: 1px;
}

.sidebar p {
    font-size: 1.2em;
    margin-bottom: 2em;
    color: #e0e0e0;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.links a {
    color: #fff;
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 22px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.links a:hover {
    background: #fff;
    color: #222;
}

@media (max-width: 600px) {
    .sidebar {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        width: 100vw;
        height: auto;
        min-height: unset;
        max-height: 32vh;
        padding: 10px 8px 18px 8px;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        border-radius: 18px 18px 0 0;
        background: rgba(30,30,30,0.7);
        box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
        text-align: center;
    }
    .sidebar h1 {
        font-size: 1.3em;
        margin-bottom: 0.2em;
    }
    .sidebar p {
        font-size: 1em;
        margin-bottom: 1em;
    }
    .links {
        gap: 0.5em;
    }
    .links a {
        padding: 8px 10px;
        font-size: 1em;
    }
}
