:root{
/* color */
--color-black:rgba(0, 0, 0, 0.7);
--color-white:#ffffff;
--color-red:#c21014;
--color-pink:#f9bcc7;
--color-orange:rgb(206,109,52);
--color-gray:#8a9193;
--color-light-gray:rgb(212, 212, 212);
--color-dark-gray:rgb(92, 98, 100);

/* size */
--font-small:18px;
--font-medium:24px;
--font-large:36px;

}
*{
    box-sizing:border-box;
}

a{
    text-decoration: none;
}
body{
    margin:0;
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
    background-color:rgb(20,20,20);
    
}

.navbar {
    display:flex;
    align-items:center;
    height:60px;
    padding:0 40px;
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0) 100%
    );

    }

.navbar__logo img {
    width:100px;
    margin-right:20px;
    margin-top:30px;

}
.navbar__menu {
    display: flex;
    align-items: center;
    list-style:none;
    gap:20px;
    margin:0;
    padding:0;
    height:100%;
    margin-top:25px;
}

.navbar__right {
    display:flex;
    margin-left:auto;
    gap:20px;
    align-items: center;
    margin-top:20px;

}

.navbar__menu li {
    
    display:flex;
    align-items: center;
}

.navbar__menu li a {
    line-height: 1;
    white-space: nowrap;
    color:var(--color-white);
    transition: color 0.3s;
    
}
.navbar__menu li a:hover  {
    color:var(--color-gray);
    
}
.navbar__menu .menu__highlight a {
    color:var(--color-pink);
}
.navbar__profile img {
    width:30px;
    border-radius: 8px;
}


.navbar__right i {
    color:var(--color-white);
}

.navbar__more{
    transition:transform 300ms ease-in-out;

    position:relative;
    cursor:pointer;
}

.more__dropdown{
    position:absolute;
    top:100%;
    right:0;

    width:150px;
    background-color: var(--color-black);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding:10px 0;
    list-style:none;

    opacity:0;
    visibility: hidden;
    transform:translateY(-10px);
    transition: all 0.3s ease;

}
.more__dropdown.active{
    opacity:1;
    visibility:visible;
    transform:translate(0);
}
.more__dropdown li{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    color:var(--color-white);
    cursor:pointer;

}

.more__dropdown img {
    width:36px;
    border-radius:4px;
}
.more__dropdown li:hover .profile__name{
    text-decoration: underline;
}

.more__icon{
    transition: 0.3s;
}
.more__icon.rotate{
    transform: rotate(180deg);
}
.category{
    background-color: transparent;
    border: none;
    outline:none;
    color:var(--color-white);

    
}


.hero {
    width:100%;
    height:60vh;
    background-image:url("img/arcane.jpg");
    background-size: cover;
    background-position:center 30%;
    position:relative;
    overflow:hidden;    

    
}
.hero__video{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit: cover;
    
    opacity:0;
    transition: opacity 1.5s ease;

}
.hero__video.show{
    opacity:1;
}
.hero__content {
    position: absolute;
    bottom:15% ;
    left:30px;
    color:var(--color-white);
    z-index:2;
    
}
.hero__overlay{
    position:absolute;
    inset:0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 70%,
        rgba(0,0,0,0) 100%
    );
    z-index:1;
}

.hero__title img {
    width:300px;
    transform: translateX(-10px);
    
}
.hero__meta {
    display:flex;
    align-items: center;
    gap:8px;
    
}
.hero__badge{
    background-color: var(--color-red);
    padding: 6px 8px;
    border-radius: 4px;
    font-weight: 900;
    display:flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}
.hero__badge::before {content:"TOP";font-size:10px;}
.hero__badge::after{content:"10"; font-size:15px;}
.hero__rank::before{
    content:"#"attr(data-rank);
    
}

.hero__description{
    line-height: 1.2;
    max-width:40%;
    display:-webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow:hidden;
    margin-bottom: 10px;
    flex-basis: 100%;
    margin-top:10px;
    font-size:14px;

}

.btn {
    padding:8px 18px;
    outline:none;
    border:none;
    border-radius: 5px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap: 8px;
}

.play__btn{

    background-color: var(--color-white);
    font-weight: bold;
    margin-right: 5px;
}
.play__btn:hover{
    background-color:var(--color-light-gray);
}

.more__info{

    background-color: var(--color-gray);
    color:var(--color-white);
    
}
.more__info:hover{
    background-color: rgba(101, 101, 101, 0.5);
    
}

.hero__overlay__right {
    position: absolute;
    display:flex;
    align-items: center;
    gap:12px;
    bottom:20% ;
    right:3%;
    z-index:2;

}


.replay::after {
    content:"";
    position:absolute;
    width:24px;
    height:24px;
    border-radius:50%;
    border:1px solid var(--color-white);
}




.replay i {
    color:var(--color-white);
    font-size:12px;
    z-index:1 ;
    cursor: pointer;
}

.replay{
    position:relative;
    border-radius: 50%;
    width:40px;
    height:40px;
    padding: 0;
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.age__rating{
    background-color:var(--color-orange) ;
    color:var(--color-white);
    border-radius: 3px;
    font-size: 18px;
    font-weight: bold;
    padding:3px;
}
.menu__trigger{
    margin-top:24px;
    display:none;
    
}
.navbar__toggleBtn{
    
    color:var(--color-white);
    margin-left:20px;
}

.row__wrapper{
    position: relative;
}
.row__btn {
    
    background-color:transparent;
    color:var(--color-white);
    outline:none;
    border:none;
    font-size:var(--font-medium);
    position: absolute;
    top:60%;
    transform: translateY(-50%);
    

}

.row__title{
    color:var(--color-white);
    margin-left:35px;
    
}
.row__btn.left{
    left:0;

}
.row__btn.left i {
    font-size:var(--font-large);
    opacity: 0.8;
}
.row__btn.right{
    right:0;

}

.row__btn.right i {
    font-size:var(--font-large);
    opacity: 0.8;
}
.row__items{
    list-style: none;
    display:flex;
    overflow-x:auto;
    gap:10px;
    padding:20px;
    scroll-behavior: smooth;
    flex-shrink: 0;
}
.row__items::-webkit-scrollbar{
    display:none;
}
.row__thumbnail {
    width: 250px;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
}

@media screen and (max-width:768px) {
    

    .navbar__menu{
        display:none;
        
        
    }



    .navbar__right{

        gap:16px;
}


    
    .category{
        display:none;
    }
    .navbar__search i {
        position:relative;
        left:10px;
    }
    .hero__content img{
        width: 200px;
        padding-left:8px;
    }

.hero{
    background-position: center top;
}


.hero__badge::before {content:"TOP";font-size:6px;}
.hero__badge::after{content:"10"; font-size:10px;}
.hero__rank::before{
    content:"#"attr(data-rank);
    
}
.hero__sub{
    font-size:14px;
}

.hero__badge{
    padding:4px 6px;
}
.hero__description{
    font-size:13px;
    -webkit-line-clamp: 2;
}

.age__rating{
    font-size: 10px;
}
.menu__trigger{
    display:block;
    transform: translateX(-8px);
    position:relative;

    
}
.dropdown{
    position:absolute;
    top:100%;
    left:0;
    background-color: var(--color-black);
    padding:10px 0;
    width:180px;

    opacity:0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: all 0.3s ease;
}

.dropdown.open{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;

}

.dropdown li {
    padding:10px 35px;
    opacity:0;
    transform:translateY(-5px);
    transition: all 0.3s ease;
    color:var(--color-white);
    list-style: none;
}

.dropdown.open li {
    opacity:1;
    transform: translateY(0);
}

.dropdown.open li:hover{
    color:var(--color-gray);

}



.row__thumbnail {
    width: 150px;
    height: 100px;
    
}





}