html {
    background-color: #0F0F12;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    font-family: 'Roboto', sans-serif;
    cursor: url('/static/cursor.png'), auto;
    overflow: hidden;
    margin: 0;
}

.main {
    margin: auto;
    text-align: center;
    color: white;
    width: 230px;
    margin-top: 100px;
}

.subtitle {
    font-size: 13px;
    padding-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.description {
    font-size: 12px;
    margin-top: 10px;
}

.main img {
    width: 80px;
}

.link {
    color: white;
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 300px;
    font-size: 13px;
    margin-top: 20px;
}

.link a {
    color: white;
    font-weight: 700;
}

.link div {
    margin-bottom: 10px;
}

@keyframes pulse {
    0% { text-shadow: 0 0 4px rgb(191, 0, 255); }
    50% { text-shadow: 0 0 10px rgb(191, 0, 255), 0 0 20px pink; }
    100% { text-shadow: 0 0 4px rgb(191, 0, 255); }
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#high-score {
    color: white;
    font-size: 13px;
}

#high-score span {
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   MUSIC PLAYER - Glass Effect with Color-Changing Shadow
   ═══════════════════════════════════════════════════════════════ */
#music-player {
    width: 350px;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    background-color: rgba(31, 33, 45, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    animation: shadowPulse 10s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Color-changing shadow animation */
@keyframes shadowPulse {
    0%, 100% {
        box-shadow: 5px 5px 141px 10px rgba(0, 140, 255, 0.44);
    }
    33% {
        box-shadow: 5px 5px 141px 10px rgba(0, 255, 140, 0.44);
    }
    66% {
        box-shadow: 5px 5px 141px 10px rgba(217, 0, 255, 0.44);
    }
}

.control-wrapper {
    width: 100%;
}

#player-controls button {
    margin: 5px;
    padding: 8px 10px 6px 10px;
    border: none;
    background-color: black;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

#player-controls button:hover {
    background-color: #CC00FF;
}

.times {
    color: white;
    padding-top: 10px;
}

#prev {
    display: none;
}

#seek-bar {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #ddd;
    outline: none;
    cursor: pointer;
    border-radius: 2px;
}

#seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
}

#seek-bar::-moz-range-thumb {
    width: 0;
    height: 0;
    border: none;
    background: transparent;
}

.report-track {
    margin-top: 20px;
}

.report-track button {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    padding: 5px 10px;
    font-size: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.report-track button:hover {
    border-color: #CC00FF;
    color: white;
}

/* Track Title - Ticker Animation */
#track-title-container {
    overflow: hidden;
    white-space: nowrap;
}

#track-title {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    display: inline-block;
    padding-left: 100%;
    animation: ticker 7s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Switch to Modern Button */
.switch-version {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.switch-version a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(204, 0, 255, 0.2);
    border: 1px solid rgba(204, 0, 255, 0.5);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.switch-version a:hover {
    background: rgba(204, 0, 255, 0.4);
    box-shadow: 0 0 15px rgba(204, 0, 255, 0.5);
}

@media (max-width: 600px) {
    #music-player {
        width: 70vw !important;
        margin-top: 20px !important;
    }

    .main {
        margin: auto;
        margin-top: 50px;
        text-align: center;
        color: white;
        width: 120px !important;
    }
}

/* Footer */
footer { text-align: center; padding: 2rem 0; font-size: 9px; color: rgba(255,255,255,0.2); letter-spacing: 0.15em; }
