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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.instructions {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.soundboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.sound-btn {
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    border: none;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sound-btn:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 15px #bebebe, -7px -7px 15px #ffffff;
}

.sound-btn:active {
    transform: translateY(0);
    box-shadow: inset 3px 3px 6px #bebebe, inset -3px -3px 6px #ffffff;
}

.sound-btn.playing {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: white;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.key {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.sound-btn.playing .key,
.sound-btn.playing .label {
    color: white;
}

.controls {
    margin-top: 1rem;
}

.control-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .soundboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .sound-btn {
        padding: 1rem 0.5rem;
    }
}