.bpm-workspace {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.bpm-display {
    font-family: 'Roboto', sans-serif;
    margin: 20px 0;
    color: #333;
}

#bpmValue {
    font-size: 6rem;
    font-weight: bold;
    color: #2196f3;
    line-height: 1;
    display: block;
}

.bpm-display .label {
    font-size: 1.5rem;
    color: #757575;
    font-weight: 500;
}

.bpm-info {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.controls {
    margin-bottom: 20px;
}

.tap-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: none;
    background: #FF5252;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 10px rgba(255, 82, 82, 0.4);
    transition: all 0.1s ease;
    user-select: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.tap-btn:active,
.tap-btn.active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(255, 82, 82, 0.4);
    background: #ff1744;
}

.btn-reset {
    padding: 10px 25px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    color: #555;
    transition: background 0.2s;
}

.btn-reset:hover {
    background: #eeeeee;
}

.usage-guide {
    margin-top: 40px;
    text-align: left;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.usage-guide h3 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

@media (max-width: 480px) {
    #bpmValue {
        font-size: 4rem;
    }

    .tap-btn {
        width: 150px;
        height: 150px;
        font-size: 1.5rem;
    }
}