canvas {
    width: 100%;
    height: 100vh;
    display: block;
    cursor: grab;
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background-color: #000;
    color: white;
    font-family: 'VT323', monospace;
}

/* Global cursor setting */
* {
    cursor: crosshair !important;
}

/* Exceptions for interactive elements */
button, .start-audio, a, .annotation, .toggle-button, input {
    cursor: pointer !important;
}

a {
    position: fixed;
    top: 0;
    left: 0 ;
    padding: 5vmin;
}

.header-image {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.header-image img {
    max-width: 100%;
    height: auto;
}

.controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 12px;
    display: none; /* Hidden by default */
    transition: all 0.3s ease;
    width: 226px;
}

.zoom-control,
.zoom-speed-control,
.auto-rotate-control,
.auto-zoom-control {
    margin-top: 10px;
}

.auto-zoom-control {
    margin-top: 0px;
    opacity: 0;
    display:none;
}

.zoom-control label,
.zoom-speed-control label,
.auto-rotate-control label,
.auto-zoom-control label {
    display: block;
    margin-bottom: 5px;
}

#zoomSlider,
#zoomSpeedSlider {
    width: 150px;
    margin-right: 10px;
}

#zoomValue,
#zoomSpeedValue {
    font-size: 12px;
}

#autoRotateToggle,
#autoZoomToggle {
    margin-left: 10px;
    transform: scale(1.5);
    cursor: pointer;
}

.controlled-zoom-control {
    margin-top: 15px;
    text-align: center;
}

.control-button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 10px;
    margin-top: 5px;
    font-family: 'VT323', monospace;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-button:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Controls toggle button */
.controls-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-family: monospace;;
    font-size: 8px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    bottom: -1px;
    left: -3px;
}
.controls-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Audio start button */
.start-audio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 20px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: all 0.3s ease;
}

.start-audio:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 0, 128, 0.4);
}

/* Annotation styles */
.annotation {
    position: absolute;
    font-family: 'VT323', monospace;
    color: rgba(255, 255, 255, 0.9);
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-size: 16px;
    line-height: 1.4;
    width: 300px;
    text-align: left;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    image-rendering: pixelated;
    white-space: nowrap;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 158, 195, 0.2);
    top: 70px;
    right: 20px;
}

.annotation-artwork {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.annotation-artwork img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.annotation-content {
    text-align: center;
}

.annotation-title {
    font-family: 'VT323', monospace;
    font-size: 14px;
    margin-bottom: 10px;
    color: #11ccff;
}

.annotation-artist {
    font-size: 18px;
    margin-bottom: 5px;
}

.annotation-details {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.get-track-button {
    display: inline-block;
    background: rgba(17, 204, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'VT323', monospace;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 204, 255, 0.5);
}

.get-track-button:hover {
    background: rgba(17, 204, 255, 0.5);
    transform: scale(1.05);
}

/* ID Avatar (info button) */
.id-avatar {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.id-avatar:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.id-avatar img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Lyrics visualizer */
.lyrics-visualizer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-family: 'VT323', monospace;
    text-align: center;
    pointer-events: none;
    width: 80%;
    z-index: 10;
}

.lyrics-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lyric-line {
    color: rgba(255, 255, 255, 0.0);
    opacity: 0;
    margin: 5px 0;
    transition: opacity 1s ease, color 1s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lyric-line.visible {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

/* Credits display */
.credits {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'VT323', monospace;
}

/* Status display */
.status {
    position: fixed;
    bottom: 10px;
    left: 40px;
    font-family: 'VT323', monospace;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .annotation {
        font-size: 14px;
        width: 80%;
        right: 10%;
    }
    
    .annotation-title {
        font-size: 12px;
    }
    
    .annotation-artist {
        font-size: 16px;
    }
    
    .get-track-button {
        font-size: 10px;
        padding: 8px 12px;
    }
    
    .start-audio {
        font-size: 12px;
        padding: 15px 20px;
    }
}
