@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap');

/* ========================================================================== 
   Font Import for Window Bar
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Giga&display=swap');

/* ========================================================================== 
   2. Window Bar � Balanced Program-Style
========================================================================== */

.window-top-bar {
    font-family: 'Lexend Giga', sans-serif;
    background-color: #1e1e1e;
    display: flex;
    align-items: center;
    padding: 6px 16px;
    color: #d6cb72;
    border-bottom: 2px solid #d6cb72;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 42px;
    box-sizing: border-box;
}

.window-title {
    font-size: 16px;
    margin-right: auto; /* Pushes controls to the right */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.window-controls {
    display: flex;
    gap: 8px;
}

    .window-controls button {
        background-color: #1e1e1e;
        color: #d6cb72;
        border: none;
        font-size: 16px;
        padding: 0;
        cursor: pointer;
        height: 30px;
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 3px;
    }

        .window-controls button:hover {
            background-color: #c67cf4;
            color: #fff;
        }

        .window-controls button.mute {
            background-color: transparent;
            color: #04ef04;
            font-size: 16px;
        }

            .window-controls button.mute:hover {
                color: #FF4500;
            }

    .window-controls .volume-slider {
        -webkit-appearance: none;
        appearance: none;
        width: 120px;
        height: 6px;
        border-radius: 10px;
        background: linear-gradient(90deg, #dfcc6c, #c67cf4);
        box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.2), 0 0 5px rgba(198, 124, 244, 0.4);
        outline: none;
        transition: background 0.3s ease, box-shadow 0.3s ease;
        margin-top: 12px;
    }

        .window-controls .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            height: 16px;
            width: 16px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid #d6cb72;
            box-shadow: 0 0 5px #d6cb72, 0 0 2px #fff;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

            .window-controls .volume-slider::-webkit-slider-thumb:hover {
                transform: scale(1.2);
                box-shadow: 0 0 8px #d6cb72, 0 0 4px #fff;
            }

        .window-controls .volume-slider::-moz-range-thumb {
            height: 16px;
            width: 16px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid #d6cb72;
            box-shadow: 0 0 5px #d6cb72, 0 0 2px #fff;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

            .window-controls .volume-slider::-moz-range-thumb:hover {
                transform: scale(1.2);
                box-shadow: 0 0 8px #d6cb72, 0 0 4px #fff;
            }

/* =======================
   Main Container Styling
======================= */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    padding: 100px 20px 20px 20px; /* Increased top padding */
    box-sizing: border-box;
    min-height: calc(100vh - 100px);
}

body {
    background-color: #0b0123;
    margin: 0;
    font-family: 'Lexend', sans-serif;
    color: #ffffff;
    line-height: 1.7;
}

.wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.logo {
    display: block;
    max-width: 320px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    color: #ff69b4;
    border-bottom: 2px solid #ff69b4;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-top: 1.8rem;
    color: #00eaff;
}

ul {
    padding-left: 1.3rem;
    margin-bottom: 1rem;
}

    ul li {
        margin-bottom: 0.4rem;
    }

strong {
    color: #f973ff;
}

em {
    color: #ffee99;
}

/* Music tooltip styles */
.music-tooltip {
    position: fixed;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-family: 'Lexend Giga', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    pointer-events: none;
    max-width: 250px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.tooltip-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: #dfcc6c;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.tooltip-artist {
    font-size: 12px;
    color: #c67cf4;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .window-top-bar {
        padding: 6px 10px;
        height: auto;
        min-height: 42px;
    }

    .window-title {
        font-size: 14px;
    }

    .window-controls {
        flex-wrap: wrap;
        gap: 6px;
    }

    .window-controls button {
        height: 28px;
        width: 28px;
        font-size: 14px;
    }

    .window-controls .volume-slider {
        width: 80px;
        height: 5px;
    }

    .container {
        padding: 80px 15px 15px 15px;
    }

    .wrapper {
        padding: 2rem 1rem;
    }

    .logo {
        max-width: 250px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    ul {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .window-title {
        font-size: 12px;
    }

    .window-controls button {
        height: 24px;
        width: 24px;
        font-size: 12px;
    }

    .window-controls .volume-slider {
        width: 60px;
    }

    .logo {
        max-width: 200px;
    }

    section h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1rem;
    }
}
