* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 200;
    cursor: none;
}

#account {
    position: relative;
    
}

html, body {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, rgba(20, 20, 25, 1), rgba(45, 50, 60, 1));
    color: #f2f2f2;
}

body { 
    background: #0f0f0f; color: white; 
    font-family: sans-serif; 
    margin: 0; padding: 20px; 
    overflow: hidden; overflow-y: auto;

}
        
        .header { 
            display: flex; justify-content: space-between; 
            align-items: center; margin-bottom: 30px;
            border: none; border-bottom: soldi 1px #1a1a1a;
            box-shadow: 0 0 15px 6px #515151;
            position: fixed; top: 0; left: 0; 
            width: 100vw; height: 65px;
            background-color: #515151;
            z-index: 9999;
        }
        
        .search-container { display: flex; gap: 10px; position: relative; right: 30px; }
        input { 
            padding: 10px; width: 250px; border-radius: 5px; border: 1px solid #333; 
            background: #222; color: white; outline: none;
        }
        button { padding: 10px 20px; background: #e50914; color: white; border: none; border-radius: 5px; cursor: pointer; }

        .grid { 
            display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
            gap: 20px; 
        }
        .card { background: #1a1a1a; border-radius: 8px; overflow: hidden; text-align: center; transition: 0.3s; }
        .card:hover { transform: scale(1.05); }
        .card img { width: 100%; height: auto; display: block; }
        .card-info { padding: 10px; }
        .card-info h3 { font-size: 13px; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .card-info p { font-size: 11px; color: #888; margin: 0; }

.LIGHTMODE {
    background: linear-gradient(to top right, rgb(52, 50, 50), gray);
}

.DARKMODE {
    background: linear-gradient(to top right, rgb(17, 17, 24), rgb(25, 27, 31));
}

.CUSTOMMODE {
    background: url('');
}

main {
    height: 85vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    flex-direction: column;
    padding: 10px;
}

main.watcher {
    justify-content: center;
    align-items: center;
}

main #movie-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

main #movie-grid .movie-thumb  {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    & img {
        width: 200px;
        border-radius: 2px;
        height: 120px;
    }

    & h4 {
        background: rgba(22, 21, 21, 0.2);
        border-radius: 2px;
        display: flex;
        justify-content: flex-start;
        padding: 5px;
        align-items: center;
        color: black;
    }
}

nav {
    width: 100%;
    height: 5rem;
    display: flex;
    align-items: center;
    position: static;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 10px;
    user-select: none;
}

.nav-left {
    position: absolute;
    left: 20px;
}

.nav-right {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 30px;
    gap: 25px;
    border-radius: 30px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.nav-right form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 30px;
}

.nav-right form input {
    opacity: 0;
    position: block;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    height: 20px;
    width: 0px;
    transition: all 0.2s ease;
}   

.nav-right form input.visible {
    animation: inputVISIBLE 0.3s ease;
    animation-fill-mode: forwards;
}  

.nav-right form input.hidden {
    animation: inputHIDDEN 0.3s ease;
    animation-fill-mode: forwards;
}  

@keyframes inputVISIBLE {
    from {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 200px;
    }
}

@keyframes inputHIDDEN {
    from {
        opacity: 1;
        width: 200px;
    }
    100% {
        opacity: 0;
        width: 0;
    }
}

.nav-right span, .nav-right button {
    z-index: 1;
    background: none;
    border: none;
}

#movie-watcher {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 95vw;
    height: 95vh;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    position: absolute;
    left: 2.5vw;
    gap: 20px;
    z-index: 1000;
    top: 2.5vh;
}

#close-watcher {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    top: 40px;
    left: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#movie-watcher iframe {
    width: 600px;
    height: 300px;
}

footer {
    width: 100%;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 20px;
}

effect {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 35px;
    height: 35px;
    border-radius: 5px;
    opacity: 0;
    position: absolute;
    transform: translateY(-5%);
    transition: 0.05s ease;
    pointer-events: none;
}

effect.visible {
    opacity: 1;
}

cursor {
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    width: 20px;
    height: 20px;
    position: fixed;
    z-index: 9999;
    transform: translate(-20%, -20%) rotate(-45deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

cursorborder {
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    background: linear-gradient(to bottom left, blue, purple);
    z-index: 9998;
    width: 25px;
    height: 25px;
    position: absolute;
    transform: translate(-30%, -30%) rotate(-45deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

cursorborder.pointer {
    transform: scale(1.2) translate(-20%, -20%) rotate(-20deg);
}

cursor.pointer {
    transform: scale(1.2) translate(-15%, -15%) rotate(-20deg);
}

settings {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

#customUploadWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

settings select {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    width: 100px;
    text-align: center;
    height: 50px;
    font-size: inherit;
}

settings select option[value='default'] {
    background: gray;
    color: black;
}

settings select option[value='light'] {
    background: whitesmoke;
    color: darkslategray;
}

settings select option[value='dark'] {
    background: black;
    color: white;
}

settings select option[value='custom'] {
    background: initial;
    color: initial;
}

settings button {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    width: 100px;
    text-align: center;
    height: 50px;
    font-size: inherit;
}

settings {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}