* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
    background-color: #ffb6c1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.heart-bg {
    position: absolute;
    color: #ff4757;
    font-size: 24px;
    opacity: 0.4;
    animation: floatUp 6s infinite linear;
    bottom: -50px;
    pointer-events: none;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-115vh) rotate(360deg); opacity: 0; }
}

.card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    z-index: 10;
    border: 3px solid #ff4757;
}

h2 {
    color: #ff4757;
    margin-top: 0;
    font-size: 24px;
}

p {
    color: #444;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.rating-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.rating-btn {
    background: #fff;
    border: 2px solid #ff6b81;
    font-size: 22px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-btn:active {
    background: #ff6b81;
    transform: scale(0.9);
}

.btn {
    background-color: #ff4757;
    color: white;
    border: none;
    padding: 14px 35px; 
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2);
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.95);
}

/* Gedicht-Bereich */
.poem-text {
    font-style: italic;
    white-space: pre-line;
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    margin-top: 15px;
    text-align: center;
}