:root {
    --main-color: #1e1e1e;
    --hover-color-2: #999999;
    --active-color-2: #555555;
    --option-color: #303030;
    --hover-color-1: #292929;
    --active-color-1: #222222;
}

/* Reset and basic styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}

/* Remove scrollbar arrows */
::-webkit-scrollbar-button {
    display: none;
}

/* Make scrollbar track transparent */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: #888; /* gray thumb */
    border-radius: 8px;
}

/* Thin scrollbar width and height */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

header {
    position: fixed;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--main-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

    nav ul li a {
        text-decoration: none;
        color: #b3b3b3;
        transition: color 0.3s;
    }

        nav ul li a:hover {
            color: #ffffff;
        }

.button-account {
    display: none;
}

.banner-container {
    position: relative;
    height: 360px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    overflow-y: hidden;
}


.banner-hertz {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    left: 0;
    transition: left 0.5s ease;
    background-image: url("../img/Hertz.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    .banner-hertz h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .banner-hertz p {
        font-size: 18px;
        margin-bottom: 30px;
    }

.banner-lux {
    transform: translateY(-100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    left: 100%;
    transition: left 0.5s ease;
    background-image: url("../img/Lux.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    .banner-lux h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .banner-lux p {
        font-size: 18px;
        margin-bottom: 30px;
    }

.banner-ohm {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #2B65EC, #00E5EE);
}

    .banner-ohm h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .banner-ohm p {
        font-size: 18px;
        margin-bottom: 30px;
    }

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.618;
}

.row-div {
    display: flex;
    flex-direction: row;
}

.playlist {
    padding: 40px 20px;
}

    .playlist h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .playlist h3 {
        font-size: 20px;
        margin-top: 40px;
    }

.playlist-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 1740px;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 14px;
    min-width: 160px;
    height: 50px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--main-color), var(--hover-color-1));
    margin: 8px;
}

    .card:hover {
        transform: translateY(-3px) scale(1.05);
        background: linear-gradient(135deg, var(--hover-color-1), var(--active-color-1));
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .card:active {
        transform: scale(0.95);
        background: var(--active-color-1);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) inset;
    }


#library-menu {
    position: fixed;
    width: 600px;
    height: 400px;
}

.search {
    padding: 40px 20px 0px 20px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    height: 60px;
    max-width: 1200px;
    border-radius: 50px;
    overflow: hidden;
    padding: 0 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .search-container:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    }

.search-input {
    flex: 1;
    border: none;
    padding: 0 18px;
    background: transparent;
    color: white;
    font-size: 16px;
    outline: none;
    transition: transform 0.2s ease;
}

    .search-input:focus {
        transform: scale(1.02);
        color: #fff;
    }

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-style: italic;
    }

.search-button {
    padding-right: 20px;
    background-color: transparent;
    border: none;
    cursor: none;
    pointer-events: none;
}

    .search-button span {
        pointer-events: auto;
        cursor: pointer;
    }

        .search-button span:hover {
            opacity: 0.75;
        }

        .search-button span:active {
            opacity: 0.5;
        }

.media-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 60vh;
    padding-right: 8px; /* nice spacing */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

    /* Custom scrollbar */
    .media-container::-webkit-scrollbar {
        width: 6px;
    }

    .media-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 8px;
    }

    .media-container::-webkit-scrollbar-track {
        background: transparent;
    }

.media-settings {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.25s ease;
}

    .media-settings:hover {
        color: var(--hover-color-2);
        transform: scale(1.05);
    }

    .media-settings:active {
        color: var(--active-color-2);
        transform: scale(0.95);
    }

.item {
    margin: 8px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: linear-gradient(135deg, var(--main-color), var(--hover-color-1));
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    max-height: 60px;
}

    .item:hover {
        transform: translateY(-3px);
        background: linear-gradient(135deg, var(--hover-color-1), var(--active-color-1));
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .item button {
        background: transparent;
        border: none;
        color: white;
        font-size: 18px;
        width: 32%;
        pointer-events: none; /* keeps them aligned but not clickable */
        text-align: center;
    }


    .item span {
        pointer-events: auto;
        cursor: pointer;
    }

        .item span:hover {
            color: var(--hover-color-2);
            transition: transform 0.3s, background 0.3s;
        }

        .item span:active {
            color: var(--active-color-2);
            transition: transform 0.3s, background 0.3s;
        }

    .item img {
        width: 4%;
        max-width: 100%; /* Don't exceed the container's width */
        max-height: 100%; /* Don't exceed the container's height */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain; /* Optional, ensures image fits inside without cropping */
    }

    .item p {
        display: inline-block;
        border: hidden;
        text-align: center;
        margin: auto;
        color: white;
        font-size: 18px;
        font-weight: 600;
        user-select: none;
        width: 32%;
    }


.info {
    display: flex;
    padding: 20px;
    border-radius: 8px;
    height: 24px;
    cursor: pointer;
    justify-content: space-evenly;
    margin-bottom: 10px;
}

    .info p {
        display: inline-block;
        padding: 8px 16px;
        border: hidden;
        text-align: center;
        color: white;
        font-size: 18px;
        font-weight: 600;
        user-select: none;
        width: 32%;
    }

    .info h4 {
        width: 4%;
    }

.media-player-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    color: white;
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 1%;
}

.media-title {
    background: none;
    border: none;
    color: white;
    position: fixed;
    font-size: 20px;
    left: 4vw;
    cursor: pointer;
}

    .media-title:hover {
        text-decoration: underline;
    }

.media-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-controls {
    margin-left: 5px;
}

.media-control-hertz input {
    width: 60vw;
    cursor: pointer;
}

    .media-control-hertz input[type="range"] {
        -webkit-appearance: none;
        height: 10px;
        background: linear-gradient(135deg, purple, violet);
        border-radius: 5px;
        outline: none;
    }

        .media-control-hertz input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, purple, violet);
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid #888;
        }

.volume-container {
    position: fixed;
    right: 10px;
}

.slider-container input {
    cursor: pointer;
    width: 8vw;
}


    .slider-container input[type="range"] {
        -webkit-appearance: none;
        height: 10px;
        background: white;
        border-radius: 5px;
        outline: none;
    }

        .slider-container input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid #888;
        }

.media-control-lux input {
    width: 60vw;
    cursor: pointer;
}

    .media-control-lux input[type="range"] {
        -webkit-appearance: none;
        height: 10px;
        background: linear-gradient(135deg, yellow, orange);
        border-radius: 5px;
        outline: none;
    }

        .media-control-lux input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, yellow, orange);
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid #888;
        }

.player-controls button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.media-options {
    position: fixed;
    right: 4vw;
}

.option-container {
    flex-direction: column;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 1000;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    animation: fadeInScale 0.3s ease forwards;
}

    .option-container button {
        background: linear-gradient(135deg, var(--option-color), var(--hover-color-1));
        padding: 16px 20px;
        width: 300px;
        border-radius: 12px;
        text-align: center;
        height: 60px;
        font-size: 18px;
        font-weight: 600;
        color: white;
        border: none;
        margin-bottom: 12px;
        box-sizing: border-box;
        cursor: pointer;
        transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }

        .option-container button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
            background: linear-gradient(135deg, var(--hover-color-1), var(--active-color-1));
        }

        .option-container button:active {
            transform: scale(0.95);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) inset;
            background: var(--active-color-1);
        }

    .option-container input[type="text"] {
        width: 300px;
        padding: 14px 18px;
        font-size: 16px;
        border: 2px solid #ddd;
        border-radius: 12px;
        transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
        outline: none;
        margin-bottom: 14px;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.8);
    }

        .option-container input[type="text"]:focus {
            border-color: var(--hover-color-1);
            box-shadow: 0 0 10px rgba(74, 144, 226, 0.35);
            transform: scale(1.02);
        }

/* Subtle pop-in animation */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}



.artwork-frame {
    border-radius: 10px;
    height: 200px;
    width: 200px;
}

.visual-frame {
    max-height: 800px;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

video::-webkit-media-controls {
    display: none;
}

@media (max-width: 600px) {
    .volume-container {
        display: none;
    }

    #media-title {
        display: none;
    }

    #repeat-hertz {
        display: none;
    }

    #repeat-button-hertz {
        display: none;
    }

    .visibility-selection {
        display: none !important;
    }

    .title-selection {
        width: 88% !important;
    }

    .options-selection {
        width: 12% !important;
    }

    #media-title-lux {
        display: none;
    }

    #repeat-lux {
        display: none;
    }

    #repeat-button-lux {
        display: none;
    }
}
