/*==================================================
  SCREENVERSE - NETFLIX STYLE
  Part 1
  Reset • Variables • Body • Header • Hero • Buttons
===================================================*/

/*=========================
Google Fonts
=========================*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

/*=========================
CSS Variables
=========================*/

:root{

    --bg:#141414;
    --bg2:#1c1c1c;
    --bg3:#222222;

    --red:#E50914;
    --red-hover:#ff2d2d;

    --white:#ffffff;
    --text:#e6e6e6;
    --gray:#b3b3b3;

    --border:#2d2d2d;

    --shadow:0 15px 40px rgba(0,0,0,.45);

    --radius:18px;

    --transition:.35s ease;

    --header-height:85px;

}

/*=========================
Reset
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
/* =====================================================
   MOBILE RESPONSIVE FIX
===================================================== */

html,
body{
    overflow-x:hidden;
    width:100%;
}

/* =========================================
   BODY OVERFLOW FIX
========================================= */

*,
*::before,
*::after{
    box-sizing:border-box;
    max-width:100%;
}

html{
    width:100%;
    overflow-x:hidden;
}

body{
    width:100%;
    overflow-x:hidden;
    position:relative;
}

/* Prevent common overflow */
section,
header,
footer,
.container,
.hero,
.hero-content,
.featured,
.trending,
.latest-news,
.marvel-universe,
.upcoming-movies,
.popular,
.newsletter{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

/* Images and videos */
img,
video,
iframe{
    max-width:100%;
    height:auto;
}

/* Prevent grids from overflowing */
.featured-grid,
.movie-slider,
.news-grid,
.hero-grid,
.upcoming-grid,
.category-grid,
.footer-grid{
    width:100%;
    overflow:hidden;
}
.hero{
    min-height:100vh;
    width:100%;
    max-width:100%;
    padding:120px 20px 60px;
    overflow:hidden;
}



/* Long words won't force the page wider */
h1,h2,h3,h4,h5,h6,p,a,span{
    overflow-wrap:break-word;
    word-wrap:break-word;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:0 20px;
}

/* --------------------
   Tablets
-------------------- */

@media (max-width:992px){

.header{
    padding:0 25px;
}

section{
    padding:70px 25px;
}


.hero-content{
    max-width:100%;
}

.hero h1{
    font-size:65px;
}

.hero p{
    font-size:17px;
}

.featured-grid,
.news-grid,
.upcoming-grid{
    grid-template-columns:1fr;
}

.movie-slider{
    grid-template-columns:repeat(2,1fr);
}

.hero-grid{
    grid-template-columns:repeat(3,1fr);
}

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.newsletter-box{
    padding:40px;
}

}

/* --------------------
   Phones
-------------------- */

@media (max-width:768px){

.header{
    height:70px;
    padding:0 18px;
}

.logo{
    font-size:32px;
}

.navbar.mobile-open{
    top:70px;
}

section{
    padding:60px 18px;
}



.hero h1{
    font-size:48px;
    line-height:1;
}

.hero p{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
    width:100%;
}

.hero-buttons a,
.hero-buttons button{
    width:100%;
    justify-content:center;
}

.hero-info{
    gap:20px;
}

.featured-grid,
.news-grid,
.upcoming-grid,
.movie-slider,
.hero-grid,
.category-grid{
    grid-template-columns:1fr;
}

.featured-card,
.movie-card,
.news-card,
.upcoming-card{
    width:100%;
}

.movie-card img{
    height:420px;
}

.featured-card img{
    height:220px;
}

.upcoming-card{
    flex-direction:column;
    text-align:center;
}

.countdown{
    justify-content:center;
    flex-wrap:wrap;
}

.popular-item{
    flex-direction:column;
    text-align:center;
}

.popular-item span{
    margin-bottom:10px;
}

.footer-grid{
    grid-template-columns:1fr;
}

.newsletter-box{
    padding:30px 20px;
}

.newsletter form{
    flex-direction:column;
}

.newsletter input,
.newsletter button{
    width:100%;
}

.search-box{
    flex-direction:column;
}

.search-box input{
    border-radius:12px;
}

.search-box button{
    width:100%;
    margin-top:10px;
    border-radius:12px;
}

}

/* --------------------
   Small Phones
-------------------- */

@media (max-width:480px){

.hero h1{
    font-size:36px;
}

.hero p{
    font-size:15px;
}

.section-title h2{
    font-size:32px;
}

.movie-card img{
    height:340px;
}

.featured-card img{
    height:180px;
}

.news-card,
.featured-content{
    padding:20px;
}

.newsletter-box h2{
    font-size:34px;
}

.footer h3{
    font-size:30px;
}

.countdown div{
    width:65px;
    height:65px;
}

.countdown span{
    font-size:20px;
}

.release-date{
    width:70px;
    height:70px;
}

.release-date span{
    font-size:30px;
}

.release-date small{
    font-size:14px;
}

}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);

    color:var(--white);

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    border:none;

    outline:none;

    cursor:pointer;

    font-family:inherit;

}

input{

    border:none;

    outline:none;

    font-family:inherit;

}

section{

    padding:90px 8%;

}

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#101010;

}

::-webkit-scrollbar-thumb{

    background:var(--red);

    border-radius:20px;

}

/*=========================
Selection
=========================*/

::selection{

    background:var(--red);

    color:#fff;

}

/*=========================
Container
=========================*/

.container{

    width:100%;

    max-width:1400px;

    margin:auto;

}

/*=========================
Header
=========================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:var(--header-height);

    padding:0 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:999;

    transition:.4s;

    background:linear-gradient(to bottom,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15));

}

.header.scrolled{

    background:#0d0d0d;

    box-shadow:0 0 25px rgba(0,0,0,.45);

}

/*=========================
Logo
=========================*/

.logo{

    font-family:"Bebas Neue";

    font-size:40px;

    letter-spacing:2px;

    cursor:pointer;

    user-select:none;

}

.logo span{

    color:var(--red);

}

/*=========================
Navigation
=========================*/

.navbar{

    display:flex;

    gap:35px;

}

.navbar a{

    color:var(--gray);

    transition:var(--transition);

    position:relative;

    font-size:15px;

    font-weight:600;

}

.navbar a:hover,

.navbar .active{

    color:#fff;

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--red);

    transition:.35s;

}

.navbar a:hover::after,

.navbar .active::after{

    width:100%;

}

/*=========================
Header Right
=========================*/

.header-right{

    display:flex;

    align-items:center;

    gap:15px;

}

.header-right button{

    width:46px;

    height:46px;

    border-radius:50%;

    background:#222;

    color:#fff;

    transition:.3s;

    font-size:17px;

}

.header-right button:hover{

    background:var(--red);

    transform:translateY(-3px);

}

/*=========================
Hamburger
=========================*/

.menu-btn{

    display:none;

}

/*=========================
Search Overlay
=========================*/

.search-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:9999;

}

.search-overlay.active{

    opacity:1;

    visibility:visible;

}

.search-box{

    width:700px;

    max-width:92%;

    display:flex;

}

.search-box input{

    width:100%;

    height:70px;

    background:#222;

    color:#fff;

    padding:0 25px;

    font-size:20px;

    border-radius:12px 0 0 12px;

}

.search-box button{

    width:80px;

    background:var(--red);

    color:#fff;

    border-radius:0 12px 12px 0;

    font-size:20px;

}

.search-box button:hover{

    background:var(--red-hover);

}

/*=========================
Hero
=========================*/

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    padding:0 8%;

}

.hero-bg{

    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    transform:none;

}

.overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(to right,
    rgba(0,0,0,.92),
    rgba(0,0,0,.55),
    rgba(0,0,0,.20));

    z-index:-2;

}

.hero::after{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:250px;

    background:
    linear-gradient(to top,
    #141414,
    transparent);

}

/*=========================
Hero Content
=========================*/

.hero-content{

    max-width:720px;

    z-index:5;

    margin-top:80px;

}

.hero-category{

    display:inline-block;

    background:rgba(229,9,20,.15);

    color:var(--red);

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:25px;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

}

.hero h1{

    font-family:"Bebas Neue";

    font-size:110px;

    line-height:.9;

    letter-spacing:2px;

    margin-bottom:25px;

}

.hero h1 span{

    display:block;

    color:var(--red);

}

.hero p{

    color:var(--gray);

    font-size:20px;

    line-height:1.8;

    max-width:650px;

    margin-bottom:40px;

}

/*=========================
Hero Buttons
=========================*/

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:45px;

}

.btn-primary{

    background:var(--red);

    color:#fff;

    padding:17px 34px;

    border-radius:40px;

    font-weight:700;

    transition:.35s;

}

.btn-primary:hover{

    background:var(--red-hover);

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(229,9,20,.35);

}

.btn-secondary{

    display:flex;

    align-items:center;

    gap:10px;

    padding:17px 34px;

    border:2px solid rgba(255,255,255,.15);

    border-radius:40px;

    transition:.35s;

    backdrop-filter:blur(15px);

}

.btn-secondary:hover{

    background:#fff;

    color:#111;

}

/*=========================
Hero Info
=========================*/

.hero-info{

    display:flex;

    gap:50px;

    flex-wrap:wrap;

}

.hero-info div{

    display:flex;

    flex-direction:column;

    gap:7px;

}

.hero-info strong{

    color:#fff;

}

.hero-info span{

    color:var(--gray);

}

/*=========================
Section Title
=========================*/

.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:45px;

}

.section-title h2{

    font-family:"Bebas Neue";

    font-size:42px;

    letter-spacing:1px;

}

.section-title a{

    color:var(--red);

    font-weight:700;

    transition:.3s;

}

.section-title a:hover{

    transform:translateX(6px);

}

/*=========================
Responsive
=========================*/

@media (max-width:1100px){

.menu-btn{
    display:flex;
}

.navbar{

    position:fixed;

    top:85px;

    left:-100%;

    width:280px;

    height:calc(100vh - 85px);

    background:#111;

    display:flex;

    flex-direction:column;

    padding:30px;

    gap:25px;

    transition:.35s;

}

.navbar.mobile-open{

    left:0;

}

}

.menu-btn{

display:flex;

justify-content:center;

align-items:center;

}

.hero h1{

font-size:80px;

}

.hero p{

font-size:18px;

}

}

@media(max-width:768px){

section{

padding:70px 20px;

}

.header{

padding:0 20px;

}

.logo{

font-size:34px;

}

.hero{

padding:0 20px;

}

.hero h1{

font-size:58px;

}

.hero p{

font-size:16px;

}

.hero-buttons{

flex-direction:column;

align-items:flex-start;

}

.hero-info{

gap:25px;

}

.section-title{

flex-direction:column;

align-items:flex-start;

gap:10px;

}

}
/*==================================================
    PART 2A
    Featured Cards + Trending Movies
==================================================*/

/*==============================
Featured Section
==============================*/

.featured{

    background:#181818;

    position:relative;

}

.featured-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:30px;

}

/*==============================
Featured Card
==============================*/

.featured-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    transition:.35s ease;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.featured-card:hover{

    transform:translateY(-10px);

    border-color:#E50914;

    box-shadow:0 25px 55px rgba(229,9,20,.18);

}

.featured-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.featured-card:hover img{

    transform:scale(1.08);

}

.featured-content{

    padding:28px;

}

.featured-content span{

    display:inline-block;

    background:rgba(229,9,20,.15);

    color:#E50914;

    padding:7px 16px;

    border-radius:25px;

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.featured-content h3{

    font-size:26px;

    line-height:1.35;

    margin-bottom:15px;

    color:#fff;

}

.featured-content p{

    color:#b3b3b3;

    line-height:1.8;

    margin-bottom:24px;

}

.featured-content a{

    color:#E50914;

    font-weight:700;

    display:inline-flex;

    align-items:center;

    gap:8px;

    transition:.3s;

}

.featured-content a:hover{

    gap:14px;

}

.featured-content a i{

    font-size:13px;

}

/*==============================
Trending Section
==============================*/

.trending{

    background:#141414;

}

.movie-slider{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

/*==============================
Movie Card
==============================*/

.movie-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    transition:.35s ease;

    cursor:pointer;

}

.movie-card:hover{

    transform:translateY(-10px) scale(1.03);

    border-color:#E50914;

    box-shadow:0 20px 50px rgba(229,9,20,.18);

}

.movie-card img{

    width:100%;

    height:380px;

    object-fit:cover;

    transition:.5s;

}

.movie-card:hover img{

    transform:scale(1.08);

}

/*==============================
Gradient Overlay
==============================*/

.movie-card::before{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:65%;

    background:

    linear-gradient(

    to top,

    rgba(0,0,0,.96),

    rgba(0,0,0,.65),

    transparent

    );

    z-index:1;

}

/*==============================
Movie Info
==============================*/

.movie-info{

    position:absolute;

    left:22px;

    right:22px;

    bottom:22px;

    z-index:2;

}

.movie-category{

    display:inline-block;

    background:#E50914;

    color:#fff;

    font-size:11px;

    font-weight:700;

    letter-spacing:1px;

    padding:6px 14px;

    border-radius:30px;

    margin-bottom:12px;

    text-transform:uppercase;

}

.movie-info h3{

    font-size:25px;

    line-height:1.3;

    margin-bottom:15px;

}

.movie-meta{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#d7d7d7;

    font-size:14px;

    margin-bottom:18px;

}

.movie-info a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:100%;

    padding:13px;

    border-radius:10px;

    background:#E50914;

    color:#fff;

    font-weight:700;

    transition:.3s;

}

.movie-info a:hover{

    background:#ff2d2d;

}

/*==============================
Floating Rating Badge
==============================*/

.movie-card::after{

    content:"HD";

    position:absolute;

    top:18px;

    right:18px;

    background:#E50914;

    color:#fff;

    font-size:12px;

    font-weight:700;

    padding:7px 12px;

    border-radius:30px;

    z-index:3;

}

/*==============================
Hover Shine Effect
==============================*/

.movie-card .shine{

    position:absolute;

    top:-100%;

    left:-100%;

    width:60%;

    height:250%;

    background:

    rgba(255,255,255,.08);

    transform:rotate(25deg);

    transition:.8s;

    pointer-events:none;

}

.movie-card:hover .shine{

    left:180%;

}

/*==============================
Featured Animation
==============================*/

.featured-card,

.movie-card{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================
Responsive
==============================*/

@media(max-width:1200px){

    .featured-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:992px){

    .movie-slider{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .featured-grid{

        grid-template-columns:1fr;

    }

    .movie-slider{

        grid-template-columns:1fr;

    }

    .featured-card img{

        height:220px;

    }

    .movie-card img{

        height:330px;

    }

    .featured-content{

        padding:22px;

    }

    .featured-content h3{

        font-size:22px;

    }

    .movie-info h3{

        font-size:22px;

    }

}

@media(max-width:480px){

    .movie-card img{

        height:300px;

    }

    .movie-info{

        left:18px;

        right:18px;

        bottom:18px;

    }

    .movie-info a{

        padding:12px;

    }

}
/*==================================================
    PART 2B
    Latest Articles + Marvel Universe
==================================================*/

/*==============================
Latest News Section
==============================*/

.latest-news{

    background:#161616;

    position:relative;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:28px;

}

/*==============================
News Card
==============================*/

.news-card{

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    border-radius:18px;

    padding:30px;

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}

.news-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:4px;

    height:100%;

    background:#E50914;

    transform:scaleY(0);

    transform-origin:top;

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-8px);

    border-color:#E50914;

    box-shadow:0 20px 45px rgba(229,9,20,.15);

}

.news-card:hover::before{

    transform:scaleY(1);

}

.news-date{

    display:inline-block;

    background:rgba(229,9,20,.12);

    color:#E50914;

    padding:8px 16px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:18px;

}

.news-card h3{

    font-size:24px;

    line-height:1.4;

    margin-bottom:15px;

    color:#fff;

}

.news-card p{

    color:#b3b3b3;

    line-height:1.8;

    margin-bottom:25px;

}

.news-card a{

    color:#E50914;

    font-weight:700;

    display:inline-flex;

    align-items:center;

    transition:.3s;

}

.news-card a:hover{

    letter-spacing:1px;

}

/*==============================
Marvel Universe
==============================*/

.marvel-universe{

    background:#141414;

}

.hero-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:22px;

}

/*==============================
Hero Box
==============================*/

.hero-box{

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    border-radius:18px;

    height:170px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:18px;

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}

.hero-box::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at top,

    rgba(229,9,20,.18),

    transparent 70%);

    opacity:0;

    transition:.35s;

}

.hero-box:hover{

    transform:translateY(-8px);

    border-color:#E50914;

    box-shadow:0 20px 45px rgba(229,9,20,.18);

}

.hero-box:hover::before{

    opacity:1;

}

.hero-box i{

    font-size:42px;

    color:#E50914;

    transition:.35s;

}

.hero-box:hover i{

    transform:scale(1.2) rotate(5deg);

}

.hero-box h4{

    color:#fff;

    font-size:18px;

    text-align:center;

    font-weight:600;

}

/*==============================
Glow Effect
==============================*/

.hero-box::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(229,9,20,.08);

    top:-120px;

    right:-120px;

    transition:.4s;

}

.hero-box:hover::after{

    transform:scale(1.3);

}

/*==============================
Animations
==============================*/

.news-card,

.hero-box{

    animation:fadeCards .8s ease both;

}

@keyframes fadeCards{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================
Responsive
==============================*/

@media(max-width:992px){

    .news-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .hero-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:768px){

    .news-grid{

        grid-template-columns:1fr;

    }

    .hero-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .news-card{

        padding:24px;

    }

    .news-card h3{

        font-size:21px;

    }

    .hero-box{

        height:150px;

    }

    .hero-box i{

        font-size:36px;

    }

    .hero-box h4{

        font-size:16px;

    }

}

@media(max-width:480px){

    .hero-grid{

        grid-template-columns:1fr;

    }

    .hero-box{

        height:140px;

    }

}
/*==================================================
    PART 3A
    Upcoming Movies
==================================================*/

.upcoming-movies{

    background:#181818;

    position:relative;

}

.upcoming-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:30px;

}

.upcoming-card{

    display:flex;

    gap:25px;

    align-items:center;

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    border-radius:18px;

    padding:28px;

    transition:.35s ease;

    overflow:hidden;

    position:relative;

}

.upcoming-card:hover{

    transform:translateY(-8px);

    border-color:#E50914;

    box-shadow:0 25px 50px rgba(229,9,20,.18);

}

.upcoming-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:5px;

    height:100%;

    background:#E50914;

}

.release-date{

    width:90px;

    min-width:90px;

    height:90px;

    border-radius:18px;

    background:#E50914;

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    font-family:"Bebas Neue";

    letter-spacing:1px;

}

.release-date span{

    font-size:40px;

    line-height:1;

}

.release-date small{

    font-size:18px;

}

.upcoming-info{

    flex:1;

}

.upcoming-info h3{

    font-size:28px;

    margin-bottom:10px;

}

.upcoming-info p{

    color:#b3b3b3;

    line-height:1.8;

    margin-bottom:22px;

}

.countdown{

    display:flex;

    gap:15px;

}

.countdown div{

    background:#141414;

    border:1px solid #2d2d2d;

    width:80px;

    height:80px;

    border-radius:14px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

}

.countdown span{

    font-size:26px;

    font-weight:700;

    color:#fff;

}

.countdown small{

    color:#b3b3b3;

    margin-top:5px;

    font-size:12px;

}

/*==============================
Responsive
==============================*/

@media(max-width:900px){

.upcoming-grid{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.upcoming-card{

flex-direction:column;

text-align:center;

}

.countdown{

justify-content:center;

flex-wrap:wrap;

}

}
/*==================================================
    PART 3B
    Most Popular + Categories
==================================================*/

/*====================================
Most Popular
====================================*/

.popular{

    background:#141414;

    position:relative;

}

.popular-grid{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.popular-item{

    display:flex;

    align-items:center;

    gap:25px;

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    border-radius:18px;

    padding:24px 28px;

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}

.popular-item::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:5px;

    height:100%;

    background:#E50914;

    transform:scaleY(0);

    transform-origin:top;

    transition:.35s;

}

.popular-item:hover{

    transform:translateX(10px);

    border-color:#E50914;

    box-shadow:0 18px 45px rgba(229,9,20,.18);

}

.popular-item:hover::before{

    transform:scaleY(1);

}

.popular-item span{

    font-family:"Bebas Neue";

    font-size:56px;

    color:#E50914;

    min-width:70px;

    text-align:center;

    line-height:1;

}

.popular-item h3{

    color:#fff;

    font-size:24px;

    margin-bottom:8px;

    transition:.3s;

}

.popular-item:hover h3{

    color:#E50914;

}

.popular-item small{

    color:#9e9e9e;

    font-size:14px;

}

/*====================================
Categories
====================================*/

.categories{

    background:#181818;

}

.category-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:20px;

}

.category-grid a{

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    height:70px;

    background:#1c1c1c;

    border:1px solid #2d2d2d;

    border-radius:14px;

    color:#ffffff;

    font-weight:600;

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}

.category-grid a::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(135deg,

    rgba(229,9,20,.15),

    transparent);

    opacity:0;

    transition:.35s;

}

.category-grid a:hover{

    transform:translateY(-6px);

    border-color:#E50914;

    color:#E50914;

    box-shadow:0 18px 40px rgba(229,9,20,.18);

}

.category-grid a:hover::before{

    opacity:1;

}

/*====================================
Floating Background Glow
====================================*/

.popular::after,

.categories::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(229,9,20,.05);

    filter:blur(90px);

    pointer-events:none;

}

.popular::after{

    top:-160px;

    right:-140px;

}

.categories::after{

    bottom:-170px;

    left:-170px;

}

/*====================================
Reveal Animation
====================================*/

.popular-item,

.category-grid a{

    opacity:0;

    transform:translateY(30px);

    animation:fadeReveal .8s forwards;

}

.popular-item:nth-child(1){animation-delay:.1s;}
.popular-item:nth-child(2){animation-delay:.2s;}
.popular-item:nth-child(3){animation-delay:.3s;}
.popular-item:nth-child(4){animation-delay:.4s;}
.popular-item:nth-child(5){animation-delay:.5s;}

.category-grid a:nth-child(1){animation-delay:.1s;}
.category-grid a:nth-child(2){animation-delay:.15s;}
.category-grid a:nth-child(3){animation-delay:.2s;}
.category-grid a:nth-child(4){animation-delay:.25s;}
.category-grid a:nth-child(5){animation-delay:.3s;}
.category-grid a:nth-child(6){animation-delay:.35s;}
.category-grid a:nth-child(7){animation-delay:.4s;}
.category-grid a:nth-child(8){animation-delay:.45s;}
.category-grid a:nth-child(9){animation-delay:.5s;}
.category-grid a:nth-child(10){animation-delay:.55s;}
.category-grid a:nth-child(11){animation-delay:.6s;}
.category-grid a:nth-child(12){animation-delay:.65s;}

@keyframes fadeReveal{

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*====================================
Responsive
====================================*/

@media(max-width:992px){

    .category-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:768px){

    .popular-item{

        gap:18px;

        padding:20px;

    }

    .popular-item span{

        font-size:42px;

        min-width:55px;

    }

    .popular-item h3{

        font-size:20px;

    }

    .category-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:480px){

    .popular-item{

        flex-direction:column;

        text-align:center;

    }

    .popular-item span{

        font-size:48px;

    }

    .category-grid{

        grid-template-columns:1fr;

    }

}
/* Loading Screen */

#loader{
position:fixed;
inset:0;
background:#141414;
display:flex;
justify-content:center;
align-items:center;
z-index:99999;
transition:.6s;
}

.loader-content{
text-align:center;
}

.loader-logo{
font-family:"Bebas Neue";
font-size:70px;
letter-spacing:2px;
color:#fff;
}

.loader-logo span{
color:#E50914;
}

.loader-bar{
width:250px;
height:6px;
background:#2a2a2a;
border-radius:30px;
overflow:hidden;
margin-top:25px;
}

.loader-progress{
height:100%;
width:100%;
background:#E50914;
animation:loading 1.2s linear infinite;
}

@keyframes loading{

0%{
transform:translateX(-100%);
}

100%{
transform:translateX(100%);
}

}

/* Ripple Effect */

button{
overflow:hidden;
position:relative;
}

.ripple{
position:absolute;
border-radius:50%;
background:rgba(255,255,255,.4);
transform:scale(0);
animation:ripple .6s linear;
pointer-events:none;
}

@keyframes ripple{

to{

transform:scale(4);

opacity:0;

}

}

/* Mobile Navigation */

.navbar.mobile-open{
display:flex;
position:fixed;
top:85px;
left:0;
width:100%;
background:#111;
flex-direction:column;
padding:30px;
gap:20px;
z-index:999;
}
.hero-content{
    width:100%;
    max-width:100%;
}

.hero-info{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.hero-buttons{
    flex-wrap:wrap;
}