html {
    scroll-behavior: smooth;
    background: linear-gradient(180deg, #0f0f0f, #1c1c1c);
    font-family: 'Roboto', sans-serif;
}

.bg-dark {
    background-color: #0a0a0a !important;
}

.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.scroll-x::-webkit-scrollbar {
    height: 6px;
}

.scroll-x::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.content-section {
    scroll-margin-top: 96px;
    padding-bottom: 2.5rem;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.movie-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
    /* rounded corners */
    overflow: hidden;
    background-color: rgba(20, 20, 20, 0.6);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
}

.movie-card:hover {
    transform: scale(1.05);
}

nav {
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
    left: 0;
}

.glass-box {
    background: rgba(34, 31, 31, 0.45);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%);
    z-index: -1;
    mix-blend-mode: overlay;
    opacity: 0.8;
}

.glass-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%);
    animation: shine 8s infinite;
    z-index: -1;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.content-section .scroll-x {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}



.glass-button {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.glass-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.glass-button i {
    margin-right: 0.5rem;
    font-size: 1rem;
}