﻿@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;
    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;
}

body {
    margin: 0;
    font-family: 'Lexend Giga', sans-serif;
    background-image: url('space.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px 20px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.mecomputer {
    width: 600px;
    align-self: flex-start;
    margin-top: 5px;
}

.welcome-text {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    line-height: 1.5;
    max-width: 660px;
    text-align: center;
}

.highlight {
    color: #ff66cc;
}

.classic {
    font-weight: bold;
    letter-spacing: 1px;
}

.site-info {
    background: url('clouds.png') no-repeat center center;
    background-size: cover;
    color: black;
    padding: 40px 20px;
}

    .site-info h2 {
        font-size: 2.5em;
        font-weight: 800;
        text-align: center;
    }

.info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .info-content p {
        max-width: 500px;
        font-size: 1.2em;
        line-height: 1.4;
        text-align: center;
    }

.medesktop {
    width: 1050px;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.bg-clouds {
    display: none;
}

/* 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);
}
