:root {
    --bg-color: #1a1a1d;
    --card-bg-color: #2c2c34;
    --text-color: #c5c6c7;
    --primary-color: #61dafb;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

#app {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--primary-color);
}

header p {
    font-size: 1.1rem;
    font-weight: 300;
}

#soundboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-content: center;
}

.sound-item {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 5px 15px var(--shadow-color);
    min-height: 150px;
}

.sound-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.sound-item:active {
    transform: translateY(-2px) scale(1.02);
}

.sound-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.sound-item p {
    font-size: 0.9rem;
    font-weight: 400;
}

footer {
    margin-top: 50px;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.7;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    #soundboard {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    .sound-item {
        padding: 15px;
    }
    .sound-item img {
        width: 50px;
        height: 50px;
    }
}

