/* ==========================
   GOOGLE FONT
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{

    --primary:#ff4d00;
    --primary2:#ff8c00;

    --bg:#0f0f0f;
    --card:#181818;
    --card2:#232323;

    --text:#ffffff;
    --text2:#b5b5b5;

    --border:#2b2b2b;

    --radius:18px;

    --shadow:
        0 10px 30px rgba(0,0,0,.35);

    --transition:.30s;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

}


/* ==========================
HEADER
========================== */

.header{

    position:fixed;

    top:0;
    left:0;
    right:0;

    height:72px;

    background:#121212;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 22px;

    z-index:999;

    border-bottom:1px solid var(--border);

}

/* LEFT */

.left-header{

    display:flex;

    align-items:center;

    gap:16px;

}

.logo{

    height:48px;

    object-fit:contain;

    cursor:pointer;

}

#menuBtn{

    width:42px;

    height:42px;

    border:none;

    background:transparent;

    color:white;

    font-size:20px;

    cursor:pointer;

}


/* ==========================
SEARCH
========================== */

.search-area{

    width:48%;

    display:flex;

    align-items:center;

    gap:12px;

}

.search-box{

    flex:1;

    display:flex;

}

.search-box input{

    flex:1;

    height:46px;

    background:#202020;

    color:white;

    border:1px solid #333;

    border-radius:40px 0 0 40px;

    padding:0 20px;

    font-size:15px;

    outline:none;

}

.search-box button{

    width:70px;

    border:none;

    background:#2d2d2d;

    color:white;

    border-radius:0 40px 40px 0;

    cursor:pointer;

    font-size:18px;

}

.voice-btn{

    width:46px;

    height:46px;

    border-radius:50%;

    border:none;

    background:#232323;

    color:white;

    cursor:pointer;

    font-size:18px;

}

/* ==========================
RIGHT
========================== */

.right-header{

    display:flex;

    align-items:center;

    gap:14px;

}

.icon-btn{

    width:42px;

    height:42px;

    border-radius:50%;

    border:none;

    background:#222;

    color:white;

    cursor:pointer;

    transition:.25s;

}

.icon-btn:hover{

    background:var(--primary);

}

.login-btn{

    padding:12px 22px;

    border:none;

    background:linear-gradient(135deg,
            var(--primary),
            var(--primary2));

    color:white;

    border-radius:30px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.login-btn:hover{

    transform:translateY(-2px);

}

/* ==========================
SIDEBAR
========================== */

#sidebar{

    position:fixed;

    top:72px;

    left:0;

    width:250px;

    bottom:0;

    background:#141414;

    overflow-y:auto;

    padding:18px 12px;

    border-right:1px solid #262626;

}

#sidebar ul{

    list-style:none;

}

#sidebar li{

    display:flex;

    align-items:center;

    gap:18px;

    padding:15px;

    border-radius:14px;

    cursor:pointer;

    transition:.25s;

    margin-bottom:5px;

}

#sidebar li i{

    width:24px;

    text-align:center;

}

#sidebar li:hover{

    background:#242424;

}

#sidebar .active{

    background:var(--primary);

}

/* ==========================
MAIN
========================== */

#main{

    margin-left:250px;

    padding:95px 28px 40px;

}

/* ==========================
HERO
========================== */

.hero{

    background:

    linear-gradient(130deg,
    #ff4d00,
    #ffb300);

    border-radius:26px;

    padding:60px;

    box-shadow:var(--shadow);

}

.hero h1{

    font-size:48px;

    font-weight:700;

    margin-bottom:12px;

}

.hero p{

    font-size:18px;

    opacity:.95;

    margin-bottom:25px;

}

.hero button{

    padding:15px 34px;

    border:none;

    border-radius:40px;

    background:white;

    color:#111;

    font-weight:700;

    cursor:pointer;

}

/* ==========================
CATEGORY CHIPS
========================== */

.category-scroll{

    display:flex;

    gap:12px;

    overflow:auto;

    padding:26px 0;

    scrollbar-width:none;

}

.category-scroll::-webkit-scrollbar{

    display:none;

}

.chip{

    padding:11px 22px;

    border:none;

    border-radius:30px;

    background:#242424;

    color:white;

    cursor:pointer;

    white-space:nowrap;

    transition:.25s;

}

.chip:hover{

    background:var(--primary);

}

.chip.active{

    background:var(--primary);

}

/* ==========================
SECTION TITLE
========================== */

.section-title{

    margin:10px 0 20px;

    font-size:28px;

}
/* ==========================
VIDEO GRID
========================== */

.video-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

    gap:28px;

}

/* ==========================
VIDEO CARD
========================== */

.video-card{

    background:var(--card);

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    cursor:pointer;

}

.video-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 40px rgba(0,0,0,.45);

}

.thumbnail{

    position:relative;

    overflow:hidden;

}

.thumbnail img{

    width:100%;

    display:block;

    transition:.4s;

}

.video-card:hover .thumbnail img{

    transform:scale(1.08);

}
.login-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    padding:12px 22px;

    border:none;

    background:linear-gradient(135deg,#ff4d00,#ff9800);

    color:white;

    border-radius:30px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.login-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(255,77,0,.4);

}

.duration{

    position:absolute;

    bottom:12px;

    right:12px;

    background:rgba(0,0,0,.85);

    color:white;

    padding:4px 8px;

    border-radius:6px;

    font-size:12px;

    font-weight:600;

}

.video-info{

    display:flex;

    gap:14px;

    padding:16px;

}

.channel-avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    object-fit:cover;

}

.meta{

    flex:1;

}

.meta h3{

    font-size:17px;

    line-height:1.5;

    margin-bottom:8px;

}

.meta p{

    color:#d0d0d0;

    font-size:14px;

}

.meta span{

    color:#888;

    font-size:13px;

}

/* ==========================
SHORTS
========================== */

.shorts-section{

    margin-top:60px;

}

.shorts-row{

    display:flex;

    gap:20px;

    overflow-x:auto;

    padding-bottom:10px;

    scrollbar-width:none;

}

.shorts-row::-webkit-scrollbar{

    display:none;

}

.short-card{

    min-width:220px;

    background:var(--card);

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    cursor:pointer;

}

.short-card:hover{

    transform:translateY(-8px);

}

.short-card img{

    width:100%;

    height:390px;

    object-fit:cover;

}

.short-card p{

    padding:15px;

    font-size:15px;

    font-weight:600;

}

/* ==========================
FOOTER
========================== */

footer{

    margin-top:70px;

    border-top:1px solid var(--border);

    text-align:center;

    padding:30px;

    color:#8f8f8f;

}

/* ==========================
BOTTOM NAVIGATION
========================== */

.bottom-nav{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    height:68px;

    background:#151515;

    border-top:1px solid #2d2d2d;

    display:none;

    justify-content:space-around;

    align-items:center;

    z-index:999;

}

.bottom-nav button{

    background:none;

    border:none;

    color:white;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:4px;

    cursor:pointer;

    font-size:12px;

}

.bottom-nav i{

    font-size:20px;

}

/* ==========================
SCROLLBAR
========================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#444;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#111;

}

/* ==========================
ANIMATIONS
========================== */

.video-card,
.short-card,
.chip,
.login-btn,
.icon-btn{

    transition:all .3s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero,
.video-card,
.short-card{

    animation:fadeIn .5s ease;

}

/* ==========================
UTILITY
========================== */

.hide{

    display:none !important;

}

.show{

    display:block !important;

}