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

:root {
    --deep-space-blue: #060d26;
    --soft-blue: #0a1854;
    --highlight-blue: #2a5298;
    --accent-teal: #64d2ff;
    --accent-purple: #8063d4;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Space Mono', monospace;
    background-color: var(--deep-space-blue);
}

.font-geist-mono {
    font-family: 'Space Mono', monospace;
}

#background {
    background: radial-gradient(ellipse at bottom, var(--soft-blue) 0%, var(--deep-space-blue) 100%);
    z-index: 0;
}

canvas {
    display: block;
}

/* Star field implementation */
#background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.15'%3E%3Ccircle r='1' cx='200' cy='150'/%3E%3Ccircle r='1.5' cx='100' cy='300'/%3E%3Ccircle r='0.5' cx='300' cy='350'/%3E%3Ccircle r='0.8' cx='400' cy='200'/%3E%3Ccircle r='1.2' cx='500' cy='500'/%3E%3Ccircle r='0.4' cx='600' cy='150'/%3E%3Ccircle r='1' cx='700' cy='300'/%3E%3Ccircle r='0.5' cx='50' cy='50'/%3E%3Ccircle r='0.7' cx='750' cy='450'/%3E%3Ccircle r='1.2' cx='250' cy='550'/%3E%3Ccircle r='0.4' cx='150' cy='650'/%3E%3Ccircle r='0.9' cx='550' cy='350'/%3E%3Ccircle r='0.6' cx='450' cy='750'/%3E%3Ccircle r='1.3' cx='650' cy='650'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Interactive states */
button {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(100, 210, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

button:active {
    transform: translateY(0);
}

/* Adding subtle micro-interactions */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.playing #playButton {
    animation: pulse 2s infinite ease-in-out;
    background-color: rgba(138, 43, 226, 0.2);
}

.playing .play-icon {
    display: none;
}

.playing .pause-icon {
    display: inline;
}

.not-playing .play-icon {
    display: inline;
}

.not-playing .pause-icon {
    display: none;
}
