body {
    text-align: center;
    background-color: #fff5f5;
    font-family: 'Arial', sans-serif;
    color: #d32f2f;
}

#intro {
    padding: 30px;
    max-width: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.heart {
    font-size: 50px;
    animation: pulse 1.5s infinite;
    margin-bottom: 15px;
}

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

#game-area {
    position: relative;
    margin: 20px auto;
}

#face {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.effect {
    position: absolute;
    font-size: 80px;
    z-index: 10;
}

#tools button {
    margin: 10px;
    padding: 12px 20px;
    font-size: 18px;
    background-color: #ffcdd2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

#tools button:hover {
    background-color: #ef9a9a;
}

#message {
    margin-top: 20px;
    font-size: 20px;
    color: #c62828;
    font-weight: bold;
    min-height: 30px;
}

.baseball-bat {
    width: 40px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 150"><rect x="15" y="0" width="20" height="140" fill="%23a67c52"/><rect x="10" y="140" width="30" height="10" fill="%238B4513"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}