@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    color:#ffffff;

    overflow-x:hidden;

    background:
    radial-gradient(circle at top left,#6d28d9 0%,transparent 28%),
    radial-gradient(circle at bottom right,#ff6b00 0%,transparent 25%),
    #090914;

    min-height:100vh;

}


/*======================================================
            SCROLLBAR
======================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111122;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(180deg,#8b5cf6,#ff6b00);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#9d4edd;

}

/*======================================================
            NAVBAR
======================================================*/

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:82px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 8% 0 24px;

    backdrop-filter:blur(18px);

    background:rgba(10,10,22,.75);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:9999;

}

/*======================================================
            LOGO
======================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo-ci {
    font-size: 30px;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(to right, #f9620b, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background-color: #14142a;
    transition: .4s;
}

.logo-ci:hover {
    transform: scale(1.05);
}

/*======================================================
            SEARCH
======================================================*/

.search-box{

    width:480px;

    display:flex;

    align-items:center;

    background:#141425;

    border:1px solid rgba(255,255,255,.08);

    border-radius:40px;

    overflow:hidden;

    transition:.35s;

}

.search-box:hover{

    border-color:#8b5cf6;

    box-shadow:0 0 30px rgba(139,92,246,.35);

}

.search-box input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    color:white;

    font-size:15px;

    padding:16px 22px;

}

.search-box input::placeholder{

    color:#999;

}

.search-box button{

    width:60px;

    height:54px;

    border:none;

    cursor:pointer;

    background:linear-gradient(135deg,#7c3aed,#ff6b00);

    color:white;

    font-size:18px;

    transition:.35s;

}

.search-box button:hover{

    transform:scale(1.05);

}

/*======================================================
            MENU
======================================================*/

nav ul{

    display:flex;

    gap:32px;

    list-style:none;

}

nav ul li a{

    color:white;

    text-decoration:none;

    font-size:16px;

    font-weight:500;

    transition:.35s;

    position:relative;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-7px;

    width:0;

    height:2px;

    background:#ff6b00;

    transition:.35s;

}

nav ul li a:hover{

    color:#ff6b00;

}

nav ul li a:hover::after{

    width:100%;

}

nav ul li a.active{

    color:#ff6b00;

}

/*======================================================
            HERO
======================================================*/

.hero{

    width:100%;

    padding-top:160px;

    padding-bottom:90px;

    text-align:center;

}

.hero h1{

    font-size:54px;

    font-weight:700;

    background:linear-gradient(90deg,#ffffff,#8b5cf6,#ff6b00);

    background: linear-gradient(90deg,#ffffff,#8b5cf6,#ff6b00);

background-clip: text;
-webkit-background-clip: text;

color: transparent;
-webkit-text-fill-color: transparent;

    margin-bottom:20px;

}

.hero p{

    width:780px;

    max-width:92%;

    margin:auto;

    line-height:1.9;

    color:#bbbbbb;

    font-size:18px;

}

/*======================================================
            HERO GLOW
======================================================*/

.hero::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:#7c3aed;

    filter:blur(180px);

    opacity:.18;

    top:120px;

    left:-120px;

    z-index:-1;

}

.hero::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    background:#ff6b00;

    filter:blur(180px);

    opacity:.16;

    right:-120px;

    top:260px;

    z-index:-1;

}

/*======================================================
                CATEGORY SECTION
======================================================*/

.category-section{

    width:90%;
    margin:auto;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:60px;

}

.category{

    border:none;
    outline:none;

    padding:14px 28px;

    border-radius:30px;

    cursor:pointer;

    background:#18182b;

    color:white;

    font-size:15px;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

}

.category:hover{

    transform:translateY(-4px);

    background:linear-gradient(135deg,#7c3aed,#ff6b00);

    box-shadow:0 15px 40px rgba(124,58,237,.35);

}

.category.active{

    background:linear-gradient(135deg,#7c3aed,#ff6b00);

}

/*======================================================
                VIDEO GRID
======================================================*/

.video-container{

    width:90%;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

    gap:35px;

    padding-bottom:80px;

}

/*======================================================
                VIDEO CARD
======================================================*/

.video-card{

    background:#151527;

    border-radius:22px;

    overflow:hidden;

    cursor:pointer;

    border:1px solid rgba(255,255,255,.08);

    transition:.45s;

    position:relative;

}

.video-card:hover{

    transform:translateY(-12px);

    border-color:#8b5cf6;

    box-shadow:
    0 20px 60px rgba(124,58,237,.28);

}

/*======================================================
                IMAGE
======================================================*/

.video-thumb-wrap{

    position:relative;

    width:100%;

    aspect-ratio:16/9;

    overflow:hidden;

    cursor:pointer;

}

.video-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

    transition:.45s;

}

.video-card:hover img{

    transform:scale(1.08);

}

/*======================================================
                CONTENT
======================================================*/

.video-card{

    display:flex;

    flex-direction:column;

}

.video-content{

    padding:25px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.video-content h3{

    font-size:26px;

    margin-bottom:14px;

    min-height:66px;

    display:-webkit-box;

    -webkit-line-clamp:2;

    line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.video-content p{

    color:#b9b9b9;

    line-height:1.7;

    margin-bottom:25px;

    height:82px;

    display:-webkit-box;

    -webkit-line-clamp:3;

    line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.watch-btn{

    align-self:flex-start;

    margin-top:auto;

}

/*======================================================
            WATCH BUTTON
======================================================*/

.watch-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:12px 26px;

    border-radius:40px;

    color:white;

    font-weight:600;

    background:linear-gradient(135deg,#7c3aed,#ff6b00);

    transition:.35s;

    text-decoration:none;

}

.video-card:hover .watch-btn{

    transform:translateX(6px);

}

/*======================================================
                DURATION BADGE
======================================================*/

.video-card::before{

    content: attr(data-duration);

    position:absolute;

    right:15px;

    top:15px;

    background:rgba(0,0,0,.75);

    color:white;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

}

/*======================================================
                CATEGORY BADGE
======================================================*/

.category-tag{

    display:inline-block;

    background:linear-gradient(135deg,#7c3aed,#ff6b00);

    color:white;

    padding:6px 16px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

    margin-bottom:12px;

    align-self:flex-start;

}
/*======================================================
                FOOTER
======================================================*/

footer{

    margin-top:80px;

    padding:60px 20px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    background:rgba(10,10,22,.7);

    backdrop-filter:blur(10px);
}

footer h3{

    font-size:30px;

    margin-bottom:10px;

    background:linear-gradient(90deg,#8b5cf6,#ff6b00);

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;
}

footer p{

    color:#b9b9b9;

    font-size:16px;
}

/*======================================================
                FADE IN ANIMATION
======================================================*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero,
.category-section,
.video-card{

    animation:fadeUp .8s ease forwards;
}

/*======================================================
                TABLET RESPONSIVE
======================================================*/

@media(max-width:992px){

    .navbar{
        padding:0 4%;
    }

    .search-box{
        width:320px;
    }

    nav ul{
        gap:20px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }
}

/*======================================================
                MOBILE RESPONSIVE
======================================================*/

@media(max-width:768px){

    .navbar{
        height:auto;
        padding:15px 4%;
        flex-wrap:wrap;
        gap:15px;
    }

    .logo img{
        width:52px;
        height:52px;
    }

    .search-box{
        order:3;
        width:100%;
    }

    nav{
        width:100%;
    }

    nav ul{
        justify-content:center;
        flex-wrap:wrap;
        gap:16px;
    }

   .navbar{
        position:relative;
    }

    .hero{
        padding-top:50px;
        padding-bottom:60px;
    }

    .hero h1{
        font-size:30px;
        line-height:1.4;
        padding:0 10px;
    }

    .hero p{
        font-size:15px;
        line-height:1.7;
    }

    .category-section{
        width:94%;
        gap:12px;
    }

    .category{
        padding:12px 20px;
        font-size:14px;
    }

    .video-container{
        width:94%;
        grid-template-columns:1fr;
        gap:28px;
    }

    .video-thumb-wrap{
        aspect-ratio:16/9;
    }

    .video-content{
        padding:22px;
    }

    .video-content h3{
        font-size:22px;
        min-height:84px;
        -webkit-line-clamp:3;
        line-clamp:3;
    }

    .watch-btn{
        width:100%;
        justify-content:center;
    }
}

/*======================================================
                SMALL MOBILE
======================================================*/

@media(max-width:480px){

    .hero h1{
        font-size:24px;
        line-height:1.4;
        padding:0 10px;
    }

    .hero p{
        font-size:14px;
    }

    .video-content h3{
        font-size:22px;
    }

    footer h3{
        font-size:24px;
    }

    footer p{
        font-size:14px;
    }
}

/* Fade Animation */

.hidden-card{

    opacity:0;

    transform:translateY(50px);

    transition:.7s ease;

}

.show-card{

    opacity:1;

    transform:translateY(0);

}