/* ==========================
   Google Font
========================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ==========================
   Reset
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Rajdhani',sans-serif;
}

html{
    scroll-behavior:smooth;
}
#splash-screen{

    position:fixed;

    inset:0;

    background:#050505;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.5s;

}

.splash-logo{

    width:180px;

    margin-bottom:30px;

    filter:grayscale(1) brightness(1.25);

    animation:pop 1.3s ease;

}

#splash-screen h1{

    color:#F5F5F5;

    font-size:58px;

}

#splash-screen p{

    margin-top:15px;

    color:#A0A0A0;

}

.fade-out{

    opacity:0;

    visibility:hidden;

}
/* ==========================
   LOADER (3x3 squares)
========================== */

.loader{

    position:relative;

    width:40px;

    height:40px;

    margin-top:42px;

    filter:drop-shadow(0 0 8px rgba(255,255,255,.35));

}

.loader .square{

    background:#F5F5F5;

    width:10px;

    height:10px;

    position:absolute;

    top:50%;

    left:50%;

    margin-top:-5px;

    margin-left:-5px;

}

@keyframes loader_5191{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

#sq1{

    margin-top:-25px;

    margin-left:-25px;

    animation:loader_5191 675ms ease-in-out 0s infinite alternate;

}

#sq2{

    margin-top:-25px;

    animation:loader_5191 675ms ease-in-out 75ms infinite alternate;

}

#sq3{

    margin-top:-25px;

    margin-left:15px;

    animation:loader_5191 675ms ease-in-out 150ms infinite;

}

#sq4{

    margin-left:-25px;

    animation:loader_5191 675ms ease-in-out 225ms infinite;

}

#sq5{

    animation:loader_5191 675ms ease-in-out 300ms infinite;

}

#sq6{

    margin-left:15px;

    animation:loader_5191 675ms ease-in-out 375ms infinite;

}

#sq7{

    margin-top:15px;

    margin-left:-25px;

    animation:loader_5191 675ms ease-in-out 450ms infinite;

}

#sq8{

    margin-top:15px;

    animation:loader_5191 675ms ease-in-out 525ms infinite;

}

#sq9{

    margin-top:15px;

    margin-left:15px;

    animation:loader_5191 675ms ease-in-out 600ms infinite;

}
/* ==========================================
   CINEMATIC BACKGROUND
========================================== */

.background-media {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: -10;

    background:

        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(120,130,150,.16), transparent 60%),

        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(90,100,120,.12), transparent 60%),

        #050505;

}


/* ==========================================
   VIDEO
========================================== */

.background-video {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    filter: grayscale(0.65) contrast(1.06);

    opacity: 0;

    transform: scale(1.04);

    animation:
        backgroundVideoIn 2s ease forwards,
        backgroundSlowZoom 25s ease-in-out infinite alternate;

}


/* ==========================================
   DARK CINEMATIC OVERLAY
========================================== */

.background-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(6,7,10,.88) 0%,
            rgba(8,10,14,.62) 35%,
            rgba(10,12,16,.34) 70%,
            rgba(6,7,10,.52) 100%
        ),

        linear-gradient(
            180deg,
            rgba(5,6,9,.68) 0%,
            transparent 35%,
            rgba(5,6,9,.78) 100%
        );

}


/* ==========================================
   CINEMATIC VIGNETTE
========================================== */

.background-vignette {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            ellipse at center,
            transparent 40%,
            rgba(0,0,0,.35) 75%,
            rgba(0,0,0,.8) 100%
        );

}


/* ==========================================
   VIDEO FADE IN
========================================== */

@keyframes backgroundVideoIn {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}


/* ==========================================
   VERY SLOW CINEMATIC CAMERA MOVEMENT
========================================== */

@keyframes backgroundSlowZoom {

    from {

        transform: scale(1.04);

    }

    to {

        transform: scale(1.10);

    }

}


/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    .background-video {

        animation: none;

        opacity: 1;

        transform: scale(1.04);

    }

}/* ==========================
   Navbar
========================== */

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 6%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    background:transparent;
    transition:background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}

.navbar.scrolled{
    background:rgba(5,5,5,.72);
    backdrop-filter:blur(20px) saturate(1.4);
    -webkit-backdrop-filter:blur(20px) saturate(1.4);
    box-shadow:0 1px 0 rgba(255,255,255,.06);
}

.nav-cv-logo{
    font-family:'Orbitron',sans-serif;
    font-weight:900;
    font-size:28px;
    letter-spacing:4px;
    color:#F5F5F5;
    text-decoration:none;
    position:relative;
}

.nav-cv-logo::after{
    content:"";
    position:absolute;
    inset:-4px -8px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:6px;
    pointer-events:none;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:40px;
}

.nav-links a{
    position:relative;
    text-decoration:none;
    color:rgba(255,255,255,.7);
    font-weight:500;
    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;
    padding:4px 2px;
    transition:color .3s ease;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    height:1px;
    width:0;
    background:linear-gradient(90deg,#F5F5F5,#A0A0A0);
    box-shadow:0 0 8px rgba(255,255,255,.5);
    transition:width .35s ease;
}

.nav-links a:hover{
    color:#F5F5F5;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-signin{
    padding:10px 24px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:30px;
    background:rgba(255,255,255,.05);
    color:#F5F5F5;
    font-family:'Orbitron',sans-serif;
    font-size:12px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    cursor:pointer;
    transition:all .3s ease;
}

.nav-signin:hover{
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.3);
    box-shadow:0 0 20px rgba(255,255,255,.08);
}

/* ==========================
   Hero
========================== */

.hero-content{

    animation:fadeHero 1s ease;

}

@keyframes fadeHero{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero h1{

    font-size:60px;
    margin-bottom:20px;
    animation:heroGlow 3s ease-in-out infinite alternate;
}

.hero p{

    font-size:18px;
    line-height:1.8;
    opacity:.9;
    margin-bottom:35px;
}
/* ===================================
        FEATURED HERO
=================================== */

.hero{

    position:relative;

    height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:0 8%;

    background-size:cover;

    background-position:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to right,
        rgba(0,0,0,.95),
        rgba(0,0,0,.55),
        rgba(0,0,0,.25)
    );

    pointer-events:none;

}

#featuredCategory{

    color:#F5F5F5;

    font-size:18px;

    letter-spacing:2px;

    text-transform:uppercase;
}

#featuredTitle{

    font-size:clamp(34px,6.5vw,66px);

    margin:20px 0;

    line-height:1.1;
}

#featuredOverview{

    line-height:1.8;

    margin-bottom:35px;

    opacity:.9;
}

.hero-buttons{

    display:flex;

    gap:20px;

    justify-content:center;

    margin-top:30px;

}

.hero-buttons button{

    padding:15px 28px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;
}

#watchNowBtn{

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;

}

#detailsBtn{

    background:transparent;

    border:2px solid white;

    color:white;

}

.hero-buttons button:hover{

    transform:translateY(-4px);

}

/* ==========================
   Search
========================== */
/* ==========================================
            Search
========================================== */

.search-container{

    width:500px;

    margin:35px auto;

    position:relative;

}

.search-container input{

    width:100%;

    padding:16px 22px;

    color:#050505;

    border:none;

    outline:none;

    border-radius:40px;

    font-size:16px;

    background:white;

}

/* ========================================== */

.search-results{

    position:absolute;

    width:100%;

    top:65px;

    left:0;

    background:rgba(20,20,20,.97);

    border-radius:20px;

    overflow:hidden;

    backdrop-filter:blur(10px);

    z-index:500;

}

.search-item{

    display:flex;

    gap:15px;

    padding:15px;

    cursor:pointer;

    transition:.3s;

}

.search-item:hover{

    background:rgba(255,255,255,.08);

}

.search-item img{

    width:60px;

    border-radius:10px;

}

.search-item h4{

    margin-bottom:6px;

}

.search-item p{

    color:#F5F5F5;

}

/* ==========================
   Sections
========================== */

.movie-section{

    padding:70px 8%;

}

.movie-section h2{
    margin-bottom:30px;
    font-size:28px;
    letter-spacing:3px;
    text-transform:uppercase;
}

/* ==========================
   Footer
========================== */

footer{

    text-align:center;

    padding:40px;

    background:rgba(0,0,0,.6);

    margin-top:70px;
}
/* ==========================
   Movie Card
========================== */

.movie-card{

    min-width:220px;

    max-width:220px;

    height:370px;

    position:relative;

    border-radius:18px;

    overflow:hidden;

    cursor:pointer;

    transition:transform .18s ease-out, box-shadow .3s ease, border-color .3s ease;

    flex-shrink:0;

    background:#111111;

    border:1px solid rgba(255,255,255,.12);

    box-shadow:0 10px 25px rgba(0,0,0,.45);

    transform-style:preserve-3d;

    will-change:transform;

}

/* light sweep across the card */

.movie-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-130%;

    width:70%;

    height:100%;

    background:linear-gradient(115deg, transparent, rgba(255,255,255,.14), transparent);

    transform:skewX(-22deg);

    z-index:3;

    pointer-events:none;

    transition:left .7s ease;

}

.movie-card:hover::before{

    left:140%;

}

.movie-overlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:20px;

    background:linear-gradient(

        transparent,

        rgba(0,0,0,.95)

    );

    transform:translateY(100%);

    transition:.35s;

}

.movie-card:hover{
    z-index:6;
    transform:perspective(900px) translateY(-12px) scale(1.05) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
    border-color:rgba(255,255,255,.25);
    box-shadow:0 24px 50px rgba(0,0,0,.6), 0 0 30px rgba(255,255,255,.06);
}

.movie-card:hover .movie-overlay{

    transform:translateY(0);

}

.movie-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:transform .6s ease;

}

.movie-card:hover img{

    transform:scale(1.08);

}

.movie-info{

    padding:18px;

}

.movie-info h3{

    margin-bottom:10px;

    font-size:20px;

}

.movie-info p{

    margin-bottom:15px;

    color:#F5F5F5;

}

.details-btn{

    width:100%;

    padding:12px;

    border:none;

    border-radius:12px;

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.details-btn:hover{

    background:white;

}
/* ==========================================
        Section Header
========================================== */

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.section-header h2{
    font-size:28px;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#F5F5F5;
    position:relative;
}

.section-header h2::before{
    content:"";
    position:absolute;
    bottom:-8px;
    left:0;
    width:40px;
    height:2px;
    background:linear-gradient(90deg,#F5F5F5,transparent);
}

/* ==========================================
        Carousel
========================================== */

.movie-carousel{
    display:flex;
    gap:22px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding:15px 5px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    mask-image:linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image:linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.movie-carousel::-webkit-scrollbar{
    display:none;
}

.movie-carousel .movie-card{
    scroll-snap-align:start;
}
/* ==========================================
        Scroll Buttons
========================================== */

.scroll-buttons{

    display:flex;

    gap:10px;

}.scroll-buttons button{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:16px;
    background:rgba(255,255,255,.08);
    color:#F5F5F5;
    border:1px solid rgba(255,255,255,.1);
    transition:all .3s ease;
}

.scroll-buttons button:hover{
    background:rgba(255,255,255,.16);
    transform:scale(1.1);
    box-shadow:0 0 15px rgba(255,255,255,.08);
}
.movie-actions{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.movie-actions button{

    flex:1;

    padding:10px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:10px;

    cursor:pointer;

    background:rgba(12,12,16,.55);

    color:#F5F5F5;

    font-weight:600;

    font-size:14px;

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    transition:all .3s ease;

}

.movie-actions button:hover{

    transform:translateY(-3px);

}

/* Details: fills silver */

.movie-actions .btn-details:hover{

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);

    color:#050505;

    border-color:transparent;

    box-shadow:0 8px 20px rgba(255,255,255,.28);

}

/* Heart: red glow */

.movie-actions .btn-fav:hover{

    background:rgba(255,77,109,.18);

    color:#ff6b8a;

    border-color:#ff6b8a;

    box-shadow:0 8px 20px rgba(255,77,109,.35);

}

/* Watchlist: blue glow */

.movie-actions .btn-watch:hover{

    background:rgba(77,171,247,.16);

    color:#6cb7ff;

    border-color:#6cb7ff;

    box-shadow:0 8px 20px rgba(77,171,247,.35);

}
/* =========================================
            Movie Meta
========================================= */

.movie-meta{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:25px 0;

    flex-wrap:wrap;

}

.movie-meta span{

    padding:8px 18px;

    border-radius:30px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.15);

}

/* =========================================
            Genres
========================================= */

.genre-container{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:30px;

}

.genre{

    padding:10px 20px;

    border-radius:40px;

    background:rgba(255,255,255,.12);

    border:1px solid #C6CDD8;

    color:#F5F5F5;

}
.loading-card{

    width:220px;

    height:330px;

    border-radius:20px;

    background:#1e1e1e;

    animation:pulse 1.2s infinite;

}

@keyframes pulse{

    0%{

        opacity:.4;

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:.4;

    }

}
.rating{

    display:inline-block;

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;

    color:black;

    padding:6px 14px;

    border-radius:20px;

    margin-bottom:15px;

    font-weight:bold;

}
.genre-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:25px;

}

.genre-btn{

    padding:12px 24px;

    border:none;

    border-radius:30px;

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.genre-btn:hover{

    transform:translateY(-3px);

    background:white;

}
/* ========================================
            User Rating
======================================== */

.user-rating{

    margin:35px 0;

}

.rating-stars{

    display:flex;

    gap:10px;

    margin:15px 0;

}

.rating-stars span{

    font-size:40px;

    color:#666;

    cursor:pointer;

    transition:.3s;

}

.rating-stars span:hover{

    transform:scale(1.2);

}

.rating-stars span.active{

    color:#F5F5F5;

}.generator-section{
    padding:80px 8%;
    text-align:center;
}

.generator-section h2{
    font-size:36px;
    color:#F5F5F5;
    margin-bottom:8px;
}

.generator-section p{
    color:#A0A0A0;
    margin-bottom:24px;
}

.generator-section select{
    padding:14px 20px;
    border-radius:30px;
    margin:0 12px 20px;
    border:1px solid rgba(255,255,255,.12);
    background:#111;
    color:#F5F5F5;
    font-size:14px;
    font-family:'Rajdhani',sans-serif;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}

.generator-section button{
    padding:14px 35px;
    border:none;
    border-radius:30px;
    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;
    font-weight:600;
    font-family:'Orbitron',sans-serif;
    font-size:13px;
    letter-spacing:1px;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    transition:all .3s ease;
}

.generator-section button::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    border-radius:50%;
    background:rgba(255,255,255,.3);
    transform:translate(-50%,-50%);
    transition:width .5s ease, height .5s ease;
}

.generator-section button:hover::before{
    width:300px;
    height:300px;
}

.generator-section button:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 0 30px rgba(255,255,255,.12);
}

.generator-section button:active{
    transform:scale(.97);
}.generator-card{
    display:flex;
    gap:35px;
    padding:40px;
    margin:50px auto;
    width:80%;
    max-width:700px;
    background:rgba(17,17,17,.85);
    border:1px solid rgba(255,255,255,.12);
    border-radius:20px;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    animation:cardReveal .5s cubic-bezier(.22,.8,.28,1);
}

@keyframes cardReveal{
    from{ opacity:0; transform:translateY(20px) scale(.95); }
    to{ opacity:1; transform:translateY(0) scale(1); }
}

.generator-card img{

    width:250px;

    border-radius:15px;

}

/* View Details button — matches the dark-glass
   card action buttons */

.generator-card button{

    padding:12px 28px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:10px;

    cursor:pointer;

    background:rgba(12,12,16,.55);

    color:#F5F5F5;

    font-weight:600;

    font-size:14px;

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    transition:all .3s ease;

}

.generator-card button:hover{

    transform:translateY(-3px);

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);

    color:#050505;

    border-color:transparent;

    box-shadow:0 8px 20px rgba(255,255,255,.28);

}
/* ==========================
      Trailer Modal
========================== */

.trailer-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

    backdrop-filter:blur(8px);

}

.trailer-content{

    position:relative;

    width:80%;

    max-width:1000px;

}

.trailer-content iframe{

    width:100%;

    height:560px;

    border:none;

    border-radius:20px;

}

#closeTrailer{

    position:absolute;

    right:-10px;

    top:-55px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;

    cursor:pointer;

    font-size:22px;

}
/* =====================================
        Skeleton Loading
===================================== */

.skeleton-card{

    min-width:220px;
    height:370px;

    border-radius:18px;

    background:linear-gradient(
        90deg,
        #202020 25%,
        #303030 50%,
        #202020 75%
    );

    background-size:200% 100%;

    animation:skeletonLoading 1.2s infinite;

    flex-shrink:0;

}

/* ==========================================
   SILVER THEME — GLOBAL
========================================== */

body{

    background:#050505;

    color:#E9EBEF;

}

/* ==========================================
   LOGO SHIMMER
========================================== */

.logo{

    position:relative;

}

.logo::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:inherit;

    background:linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,.5) 50%,
        transparent 70%
    );

    transform:translateX(-130%);

    animation:logoShimmer 4.5s ease-in-out infinite;

    pointer-events:none;

}

@keyframes logoShimmer{

    0%{

        transform:translateX(-130%);

    }

    55%{

        transform:translateX(-130%);

    }

    100%{

        transform:translateX(130%);

    }

}

/* ==========================================
   SCROLL REVEAL
========================================== */

html.js .reveal{

    opacity:0;

    transform:translateY(28px);

    transition:

        opacity .7s cubic-bezier(.22,.61,.36,1),

        transform .7s cubic-bezier(.22,.61,.36,1);

    will-change:opacity,transform;

}

html.js .reveal.revealed{

    opacity:1;

    transform:translateY(0);

}

@media (prefers-reduced-motion: reduce){

    html.js .reveal{

        opacity:1;

        transform:none;

        transition:none;

    }

}

/* Cards keep a snappy tilt/lift hover even while the
   scroll-reveal transition is still attached to them */

html.js .movie-card.reveal{

    transition:

        opacity .7s cubic-bezier(.22,.61,.36,1),

        transform .18s ease-out,

        box-shadow .3s ease,

        border-color .3s ease;

}

html.js .movie-card.reveal.revealed:hover{

    transform:perspective(900px) translateY(-10px) scale(1.06) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));

}

/* ==========================================
   Y2K FONT THEME
========================================== */

h1,h2,h3,.logo,#featuredTitle,#featuredCategory,.stat-card h2,.genre-btn,.sign-in-btn,#generateMovie,#watchNowBtn,#detailsBtn,#closeTrailer{
    font-family:'Orbitron',sans-serif;
    letter-spacing:.5px;
}

#featuredTitle{
    letter-spacing:3px;
}

/* ==========================================
   FILM GRAIN OVERLAY
========================================== */

.film-grain{
    position:fixed;
    inset:-100%;
    width:300%;
    height:300%;
    pointer-events:none;
    z-index:60;
    opacity:.06;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation:grainShift .8s steps(4) infinite;
}

@keyframes grainShift{
    0%{transform:translate(0,0);}
    25%{transform:translate(-2%,2%);}
    50%{transform:translate(2%,-1%);}
    75%{transform:translate(-1%,-2%);}
    100%{transform:translate(0,0);}
}

@media (prefers-reduced-motion: reduce){
    .film-grain{
        animation:none;
        opacity:.04;
    }
}

/* ==========================================
   FOOTER
========================================== */

footer{
    margin-top:70px;
    background:rgba(7,7,10,.9);
    border-top:1px solid rgba(190,200,214,.14);
    position:relative;
}

footer::before{
    content:"";
    position:absolute;
    top:-1px;
    left:10%;
    right:10%;
    height:2px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);
}

.footer-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:32px;
    flex-wrap:wrap;
    padding:48px 8% 28px;
}

.footer-brand img{
    height:44px;
    width:auto;
    filter:grayscale(1) brightness(1.25);
    margin-bottom:12px;
}

.footer-brand p{
    color:#9aa2ae;
    font-size:15px;
    letter-spacing:.5px;
}

.footer-links{
    display:flex;
    gap:28px;
    list-style:none;
}

.footer-links a{
    color:#cfd4dc;
    text-decoration:none;
    font-weight:600;
    letter-spacing:1px;
    font-size:14px;
    position:relative;
    transition:color .3s;
}

.footer-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    height:1px;
    width:0;
    background:#F5F5F5;
    transition:width .3s;
}

.footer-links a:hover{
    color:#fff;
}

.footer-links a:hover::after{
    width:100%;
}

.footer-social{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

}

.footer-social .social-link{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:40px;
    border:1px solid rgba(190,200,214,.25);
    color:#cfd4dc;
    text-decoration:none;
    font-family:'Rajdhani',sans-serif;
    font-weight:600;
    letter-spacing:.5px;
    transition:.3s;
}

.footer-social .social-link:hover{
    color:#050505;
    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    border-color:transparent;
    transform:translateY(-3px);
    box-shadow:0 10px 24px rgba(255,255,255,.18);
}

.footer-bottom{
    border-top:1px solid rgba(190,200,214,.08);
    padding:22px 8%;
    text-align:center;
    color:#8a919c;
    font-size:14px;
}

.footer-bottom p{
    letter-spacing:1px;
}

@keyframes skeletonLoading{

    0%{

        background-position:200% 0;

    }

    100%{

        background-position:-200% 0;

    }

}

/* =========================================
        DISCOVER — BIG CARD STACK
========================================= */

.discover{

    position:relative;

    min-height:100vh;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    padding:130px 5% 70px;

    text-align:center;

}

.discover-kicker{

    font-size:13px;

    letter-spacing:6px;

    color:#A0A0A0;

    text-transform:uppercase;

}

.discover-title{

    font-size:clamp(28px, 5vw, 50px);

    color:#F5F5F5;

    margin:14px 0 8px;

    font-weight:700;

    animation:heroGlow 3s ease-in-out infinite alternate;

}

@keyframes heroGlow{
    from{ text-shadow:0 0 20px rgba(255,255,255,.08); }
    to{ text-shadow:0 0 40px rgba(255,255,255,.2), 0 0 80px rgba(255,255,255,.06); }
}

.discover-sub{
    color:#A0A0A0;
    font-size:15px;
}

.drag-label{
    display:inline-block;
    margin-top:8px;
    padding:8px 20px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;
    font-size:12px;
    letter-spacing:4px;
    color:rgba(255,255,255,.4);
    font-family:'Orbitron',sans-serif;
    text-transform:uppercase;
    animation:dragPulse 2.5s ease-in-out infinite alternate;
}

@keyframes dragPulse{
    from{ opacity:.5; border-color:rgba(255,255,255,.08); }
    to{ opacity:1; border-color:rgba(255,255,255,.2); }
}

.discover-stage{

    position:relative;

    width:min(320px, 70vw);

    height:min(480px, 66vh);

    margin:36px auto 10px;

    outline:none;

}

.card-stack{

    position:relative;

    width:100%;

    height:100%;

}

.stack-card{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    border-radius:18px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.12);

    background:#111111;

    box-shadow:0 26px 60px rgba(0,0,0,.65);

    cursor:pointer;

    transition:transform .5s cubic-bezier(.22,.8,.28,1), opacity .4s ease;

    touch-action:pan-y;

    user-select:none;

    -webkit-user-select:none;

}

.stack-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    pointer-events:none;

}

.stack-card--0{
    transform:translate(0,0) rotate(0deg) scale(1);
    z-index:5;
    will-change:transform,opacity;
}

/* Film grain overlay on the stack card */
.stack-card--0::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(255,255,255,.03) 100%
    );
    pointer-events:none;
    z-index:6;
}

/* Light sweep on stack card hover */
.stack-card--0::before{
    content:"";
    position:absolute;
    top:0;
    left:-140%;
    width:60%;
    height:100%;
    background:linear-gradient(115deg, transparent, rgba(255,255,255,.12), transparent);
    transform:skewX(-22deg);
    z-index:7;
    pointer-events:none;
    transition:left .8s ease;
}

.discover-stage:hover .stack-card--0::before{
    left:160%;
}

.stack-card--1{

    transform:translate(-16px,12px) rotate(-3deg) scale(.9);

    z-index:4;

}

.stack-card--2{

    transform:translate(14px,22px) rotate(4deg) scale(.8);

    z-index:3;

}

.stack-card--3{

    transform:translate(-10px,30px) rotate(-2deg) scale(.71);

    z-index:2;

}

.stack-card--4{

    transform:translate(10px,38px) rotate(2deg) scale(.63);

    z-index:1;

    opacity:.45;

}

.stack-card.dragging{

    transition:none;

    will-change:transform;

    z-index:20;

}

.stack-card.fly-out-right{

    transform:translate(240px,-70px) rotate(16deg) scale(.72);

    opacity:0;

    z-index:6;

}

.stack-card.fly-out-left{

    transform:translate(-240px,-70px) rotate(-16deg) scale(.72);

    opacity:0;

    z-index:6;

}

.stack-card.pop-in{

    animation:stackPop .45s cubic-bezier(.22,.8,.28,1);

}

@keyframes stackPop{

    from{

        transform:translateY(30px) scale(.86);

        opacity:.3;

    }

    to{

        transform:translateY(0) scale(1);

        opacity:1;

    }

}

.stack-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    z-index:10;

    width:46px;

    height:46px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.12);

    background:rgba(17,17,17,.72);

    color:#F5F5F5;

    font-size:18px;

    cursor:pointer;

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    transition:all .3s ease;

}

.stack-btn:hover{

    background:#D0D0D0;

    color:#050505;

}

.stack-btn:focus-visible{

    outline:2px solid #D0D0D0;

    outline-offset:2px;

}

.stack-prev{

    left:-64px;

}

.stack-next{

    right:-64px;

}

.discover-info{

    max-width:660px;

}

#stackTitle{

    font-size:clamp(24px, 4vw, 36px);

    color:#F5F5F5;

    margin:8px 0 4px;

    font-weight:700;

}

#stackGenres{

    display:flex;

    gap:10px;

    justify-content:center;

    flex-wrap:wrap;

    margin-top:14px;

}

#stackOverview{

    color:#A0A0A0;

    line-height:1.6;

    max-width:560px;

    margin:16px auto 0;

    font-size:15px;

}

.discover-actions{

    display:flex;

    gap:14px;

    justify-content:center;

    margin-top:24px;

    flex-wrap:wrap;

}

.btn-primary{

    padding:13px 30px;

    border:none;

    border-radius:30px;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#E8E8E8,#B8B8B8);
    color:#050505;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
}

/* Shimmer sweep on primary buttons */
.btn-primary::before{
    content:"";
    position:absolute;
    top:0;
    left:-130%;
    width:70%;
    height:100%;
    background:linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
    transform:skewX(-22deg);
    transition:left .6s ease;
}

.btn-primary:hover::before{
    left:150%;
}

.btn-primary:hover{
    transform:translateY(-2px) scale(1.03);
    box-shadow:0 12px 28px rgba(0,0,0,.55), 0 0 20px rgba(255,255,255,.1);
}

.btn-primary:active{
    transform:scale(.97);
}

.btn-ghost{
    padding:13px 30px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:30px;
    position:relative;
    overflow:hidden;
    background:rgba(17,17,17,.55);
    color:#F5F5F5;
    font-weight:600;
    cursor:pointer;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:all .3s ease;
}

/* Fill slides in from left on hover */
.btn-ghost::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background:linear-gradient(135deg,#D0D0D0,#B0B0B0);
    transition:width .35s ease;
    z-index:-1;
}

.btn-ghost:hover::before{
    width:100%;
}

.btn-ghost:hover{
    color:#050505;
    border-color:rgba(255,255,255,.3);
    transform:translateY(-2px);
}

.btn-ghost:active{
    transform:scale(.97);
}

.stack-dots{

    display:flex;

    gap:8px;

    justify-content:center;

    margin-top:24px;

    flex-wrap:wrap;

}

.stack-dot{

    width:9px;

    height:9px;

    border-radius:50%;

    border:none;

    background:rgba(255,255,255,.18);

    cursor:pointer;

    padding:0;

    transition:all .3s ease;

}

.stack-dot.active{

    background:#D0D0D0;

    transform:scale(1.35);

}

.stack-dot:hover{

    background:#F5F5F5;

}

/* =========================================
        YOUR COLLECTION
========================================= */

.collection-sub{
    color:#A0A0A0;
    font-size:13px;
    text-align:left;
    margin:30px 0 14px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-family:'Orbitron',sans-serif;
    padding-bottom:8px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

@media (max-width: 720px){

    .stack-prev{

        left:-12px;

    }

    .stack-next{

        right:-12px;

    }

    .discover{

        padding:110px 5% 60px;

    }

}
