body {
    font-family: sans-serif;
    margin: 0;
    background: #000;
    overflow: hidden;
}

#frame {
    height: 100dvh;
    width: 100%;
    max-width: 420px;
    margin: auto;
    background: black;
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, opacity .25s ease;
}

/* smooth slide */
#frame.slide-up {
    transform: translateY(-100%);
    opacity: 0;
}

#frame.slide-down {
    transform: translateY(100%);
    opacity: 0;
}

.video-js,
.video-js video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* hide controls */
.vjs-fullscreen-control,
.vjs-picture-in-picture-control,
.vjs-control-bar {
    display: none !important;
}

/* play button */
.video-js .vjs-big-play-button {
    border-radius: 50%;
}


#actions {
    position: absolute;
    right: 10px;
    bottom: 80px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#actions li {
    color: white;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 1;
}

*[class^='iconoir-']::before, *[class*=' iconoir-']::before{
    margin-top: 8px;
}

span.icon {
    background: rgba(255, 255, 255, .1);
    /* display: block; */
    width: 30px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: auto;
    display: grid;
    align-items: center;
    .bi.bi-volume-up, .bi.bi-volume-mute {
        font-size: 17px;
    }
    .bi.bi-heart,.bi.bi-chat,.bi.bi-share,.bi.bi-geo-alt {
        font-size: 16px;
    }
}

#details {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    color: white;
    background: linear-gradient(0deg, #000000c0, transparent);
    /* z-index: 1; */
    .btn{
        background: rgba(255, 255, 255, .1);
        border: none;
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        display: inline-block;
        cursor: pointer;
    }
    h3{
        width: 90%;
    }
    p{
        font-size: 14px;
        width: 95%;
    }
}

#comments {
    background: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 140px;
    display: none;
    border-radius: 6px;
    padding: 10px;
}

/* Desktop Navigation Arrows */
#desktop-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow i {
    font-size: 20px;
}

/* Show navigation arrows only on desktop (viewport width > 768px) */
@media (min-width: 769px) {
    #desktop-nav {
        display: flex;
    }
}