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

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
}

.black-box {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.speaker-grill {
    background-image: radial-gradient(circle, #0a0a0a 30%, transparent 30%);
    background-size: 15px 15px;
    background-position: 0 0, 7.5px 7.5px;
    height: 120px;
    margin: 0 -10px 20px -10px;
    border-radius: 15px;
    opacity: 0.8;
}

.title {
    color: #ffffff;
    font-size: 28px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.button-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sound-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s ease;
}

.sound-button:hover {
    transform: scale(1.05);
}

.sound-button:active {
    transform: scale(0.95);
}

.button-circle {
    display: block;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #ff5555, #cc0000);
    border-radius: 50%;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

.sound-button:active .button-circle {
    background: radial-gradient(circle at 30% 30%, #cc0000, #990000);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 2px 6px rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

.button-label {
    color: #ffffff;
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive design */
@media (max-width: 480px) {
    .black-box {
        padding: 30px 20px;
    }

    .title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 16px;
    }

    .button-grid {
        gap: 20px;
    }

    .button-circle {
        width: 50px;
        height: 50px;
    }

    .button-label {
        font-size: 10px;
    }
}
