@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

body {
    background-color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    background-image:
        radial-gradient(circle at 15% 85%, transparent 0.5px, rgba(255,255,255,0.9) 0.5px, rgba(255,255,255,0.9) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, transparent 0.8px, rgba(254,246,187,0.7) 0.8px, rgba(254,246,187,0.7) 1.2px, transparent 1.2px),
        radial-gradient(circle at 45% 25%, transparent 0.3px, rgba(255,255,255,0.6) 0.3px, rgba(255,255,255,0.6) 0.6px, transparent 0.6px),
        radial-gradient(circle at 75% 65%, transparent 0.4px, rgba(254,246,187,0.5) 0.4px, rgba(254,246,187,0.5) 0.8px, transparent 0.8px),
        radial-gradient(circle at 25% 45%, transparent 0.2px, rgba(255,255,255,0.4) 0.2px, rgba(255,255,255,0.4) 0.4px, transparent 0.4px),
        radial-gradient(circle at 90% 80%, transparent 0.6px, rgba(254,246,187,0.8) 0.6px, rgba(254,246,187,0.8) 1px, transparent 1px);
    background-size: 120px 120px, 150px 150px, 80px 80px, 100px 100px, 60px 60px, 130px 130px;
    background-position: 0 0, 20px 20px, 40px 10px, 15px 45px, 35px 25px, 50px 5px;
    animation: floatingDots 12s ease-in-out infinite;
    transition: background-position 0.1s ease-out;
    color: #f2f2f2;
}

@keyframes floatingDots {
    0%, 100% {
        background-position: 0 0, 20px 20px, 40px 10px, 15px 45px, 35px 25px, 50px 5px;
    }
    33% {
        background-position: 8px -6px, 28px 14px, 48px 4px, 23px 39px, 43px 19px, 58px -1px;
    }
    66% {
        background-position: -6px 12px, 14px 32px, 34px 16px, 9px 51px, 29px 31px, 44px 11px;
    }
}

.dot-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: transform 0.1s ease-out;
}

.logo {
    margin-top: 25vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.logo img {
    width: 500px;
    filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(348%) hue-rotate(346deg) brightness(103%) contrast(97%);
}

.tagline {
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 300;
    color: #fef6bb;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 1.2em;
}

.cursor {
    display: inline-block;
    background-color: #fef6bb;
    margin-left: 2px;
    width: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

ul {
    margin: 100px 400px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

li {
    text-align: center;
    list-style-type: none;
    align-content: center;
    border: 1px solid rgba(254,246,187,0.3);
    padding: 20px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

li::before {
    content: '[ ';
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-right: 4px;
}

li::after {
    content: ' ]';
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: 4px;
}

li:hover::before,
li:hover::after {
    opacity: 0.8;
}

li:hover{
    background: rgba(254,246,187,0.08);
    color: #fef6bb;
    cursor: pointer;
    border-color: rgba(254,246,187,0.6);
    transform: translateY(-2px);
}

.audio-player {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(254,246,187,0.3);
    border-radius: 8px;
    padding: 10px 15px;
    backdrop-filter: blur(10px);
    min-width: 200px;
    font-family: 'Space Grotesk', sans-serif;
}

.track-info {
    text-align: left;
    margin-bottom: 8px;
}

.track-title {
    font-size: 0.6rem;
    color: rgba(254,246,187,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.track-name {
    font-size: 0.8rem;
    color: #fef6bb;
    font-weight: 400;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

#playPause {
    background: none;
    border: 1px solid rgba(254,246,187,0.3);
    color: #fef6bb;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
    font-family: monospace;
}

#playPause:hover {
    background: rgba(254,246,187,0.08);
    border-color: rgba(254,246,187,0.6);
}

.progress-container {
    flex: 1;
    height: 2px;
    background: rgba(254,246,187,0.2);
    border-radius: 1px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #fef6bb;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    font-size: 0.7rem;
    color: rgba(254,246,187,0.5);
    font-family: monospace;
    min-width: 60px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    body {
        background-size: 60px 60px, 75px 75px, 40px 40px, 50px 50px, 30px 30px, 65px 65px;
    }

    .logo {
        margin-top: 15vh;
        padding: 0 20px;
    }

    .logo img {
        width: 80vw;
        max-width: 300px;
    }

    .tagline {
        font-size: 0.8rem;
        text-align: center;
        padding: 0 20px;
    }

    ul {
        margin: 60px 15px;
        padding: 0 5px;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    li {
        padding: 15px 25px;
        font-size: 1rem;
        width: auto;
        min-width: 200px;
        max-width: 280px;
        box-sizing: border-box;
    }

    .audio-player {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        min-width: auto;
        width: calc(100vw - 40px);
        max-width: 400px;
        box-sizing: border-box;
    }

    .player-controls {
        gap: 10px;
    }

    #playPause {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .time-display {
        font-size: 0.65rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        margin-top: 10vh;
    }

    .logo img {
        width: 90vw;
        max-width: 280px;
    }

    .tagline {
        font-size: 0.7rem;
        margin-top: 15px;
    }

    ul {
        margin: 40px 10px;
        padding: 0 5px;
        gap: 12px;
        align-items: center;
    }

    li {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
        min-width: 180px;
        max-width: 250px;
    }

    .audio-player {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 30px);
        max-width: 350px;
        padding: 8px 12px;
        box-sizing: border-box;
    }

    .track-title {
        font-size: 0.55rem;
    }

    .track-name {
        font-size: 0.75rem;
    }

    .time-display {
        font-size: 0.6rem;
        min-width: 65px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    li {
        padding: 18px 30px;
        min-width: 200px;
        max-width: 300px;
    }

    #playPause {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .progress-container {
        height: 4px;
        border-radius: 2px;
    }
}

/* Extra small mobile devices */
@media (max-width: 320px) {
    .logo img {
        width: 95vw;
        max-width: 250px;
    }

    ul {
        margin: 30px 5px;
        padding: 0 5px;
    }

    li {
        min-width: 160px;
        max-width: 220px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .audio-player {
        width: calc(100vw - 20px);
        max-width: 300px;
        bottom: 10px;
    }
}