html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#quote {
    position: absolute;
    z-index: 2;
    text-align: center;
    font-size: 1.5rem;
    max-width: 600px;
    padding: 20px;
}

#version {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-family: monospace;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1002;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    touch-action: none;
}

#nowPlaying {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    opacity: 1;
    z-index: 999;
}

#musicContainer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    text-align: center;
    z-index: 1000;
}

#songTitle {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    font-family: monospace;
    margin-bottom: 4px;
}

#songArtist {
    font-size: 0.8rem;
    color: white;
    font-family: monospace;
    margin-bottom: 8px;
    opacity: 0.7;
}

#musicBar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.control-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.05);
}

#volumeContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 20px;
    background: transparent;
    border: none;
}

#volumeLabel {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.volume-slider {
    width: 120px;
    height: 4px;
    background: rgba(100, 150, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #64B5F6, #42A5F5);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #64B5F6, #42A5F5);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

#volumeValue {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

#effectsMenu {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.menu-header {
    text-align: center;
    margin-bottom: 3px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.effect-toggle {
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.effect-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.effect-toggle label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.effect-toggle input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 45px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.effect-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background: white;
    transition: transform 0.3s, background-color 0.3s;
}

.effect-toggle input[type="checkbox"]:checked {
    background: rgba(100, 255, 150, 0.5);
}

.effect-toggle input[type="checkbox"]:checked::before {
    transform: translateX(21px);
    background: rgb(100, 255, 150);
}