/* Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    overflow: hidden;
    height: 100vh;
    background: black;
}

/* Main Container */
.ui-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Top Info Section */
.top-left-info {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #00ffea;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00ffea;
}

/* Holographic Display */
.holo-display {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.holo-core {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 255, 234, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 30px #00ffea, 0 0 60px rgba(0, 255, 234, 0.5);
}

.holo-ring {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 360px;
    height: 360px;
    border: 2px dashed rgba(0, 255, 234, 0.5);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

.rotating-image {
    width: 100%;
    height: 100%;
    animation: rotate 5s linear infinite;
}

/* Control Panel */
.control-panel {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.neon-button {
    padding: 10px 20px;
    border: 2px solid #00ffea;
    background: transparent;
    color: #00ffea;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.neon-button:hover {
    background: rgba(0, 255, 234, 0.2);
    box-shadow: 0 0 10px #00ffea, 0 0 20px rgba(0, 255, 234, 0.5);
}

/* Terminal */
.terminal {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ffea;
    border-radius: 10px;
    padding: 10px;
    color: #00ffea;
    font-family: monospace;
}

.terminal-output {
    max-height: 100px;
    overflow-y: auto;
}

.terminal-input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    color: #00ffea;
    font-size: 1rem;
    border-top: 1px solid #00ffea;
    outline: none;
}

/* Microphone Visualizer */
.microphone-visualizer {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 150px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffea;
    border-radius: 10px;
    overflow: hidden;
    display: none; /* Hidden initially */
}

#microphoneCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Background Animation */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
