body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.tap-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 400px;
}

h1 {
    margin-bottom: 10px;
    font-size: 2em;
}

p {
    font-size: 1.1em;
    margin: 10px 0;
}

.score-board {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
}

#tap-btn {
    padding: 20px 40px;
    font-size: 1.5em;
    background: #ff6f61;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}

#tap-btn:active {
    transform: scale(0.9);
    background: #ff3b2e;
}

#restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background: #4caf50;
    color: white;
    transition: background 0.2s;
}

#restart-btn:hover {
    background: #45a049;
}

#message {
    font-weight: bold;
    margin-top: 15px;
    font-size: 1.2em;
    color: #333;
}
