body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0f0f16;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #181824;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 650px;
}

h1 {
    margin-top: 0;
    color: #00f2fe;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid #2d2d3f;
    padding-bottom: 10px;
}

h3 {
    margin-top: 0;
    font-size: 14px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section {
    background: #202030;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #2d2d3f;
}

.row {
    display: flex;
    gap: 15px;
}

.control-box {
    flex: 1;
    background: #181824;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Visualizer Screen */
.visualizer-container {
    position: relative;
    width: 100%;
    height: 140px;
    background-color: #09090e;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid #3b82f6;
}

canvas {
    width: 100%;
    height: 100%;
}

.status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: #ef4444;
    font-weight: bold;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0f0f16;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
}

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

button:disabled {
    background: #3e3e56;
    color: #718096;
    cursor: not-allowed;
}

.player-buttons, .recorder-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.player-buttons button, .recorder-buttons button {
    flex: 1;
}

/* Sliders */
.grid-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.slider-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 6px;
    font-size: 12px;
    color: #a0aec0;
    font-weight: 500;
}

input[type="file"] {
    font-size: 12px;
    color: #a0aec0;
    width: 100%;
}

.mini-player {
    width: 100%;
    margin-top: 10px;
    height: 30px;
}

/* MIDI Styling */
.midi-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.midi-note-display {
    margin: 0;
    font-size: 14px;
    color: #a0aec0;
}

#current-note {
    color: #00f2fe;
    font-weight: bold;
    font-size: 16px;
}
