* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #0a0a16;
    color: white;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    display: block;
}

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 10, 22, 0.9) 0%, transparent 100%);
}

#container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(90deg, #ff00cc, #3333ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 204, 0.3);
    font-weight: 300;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #a0a0e0;
    text-align: center;
}

.controls {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-btn {
    background: rgba(20, 20, 40, 0.7);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 100, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.control-btn:hover {
    background: rgba(40, 40, 80, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.control-btn.active {
    background: rgba(80, 80, 255, 0.3);
    border: 1px solid rgba(100, 100, 255, 0.5);
    box-shadow: 0 0 20px rgba(100, 100, 255, 0.4);
}

#audioInput {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 40, 0.7);
    color: white;
    border: 1px solid rgba(255, 100, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.file-label:hover {
    background: rgba(60, 20, 60, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.visualization-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 40, 0.7);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    color: #a0a0e0;
    border: 1px solid rgba(100, 100, 255, 0.2);
}

.pulse {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.icon {
    width: 18px;
    height: 18px;
}

.color-palette {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.color-option.active {
    border: 2px solid white;
    transform: scale(1.1);
}

.visualization-controls {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.viz-btn {
    background: rgba(20, 20, 40, 0.7);
    color: #a0a0e0;
    border: 1px solid rgba(100, 100, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.viz-btn.active {
    background: rgba(80, 80, 255, 0.3);
    color: white;
    border: 1px solid rgba(100, 100, 255, 0.5);
}