body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* min-height statt height für Mobile Scrolling falls Text lang ist */
    margin: 0;
    background-color: #fce4ec;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden; /* Nur horizontales Scrollen verhindern */
}

.container {
    text-align: center;
    width: 90%;
    max-width: 400px; /* Perfekt fürs Handy */
}

/* Klasse zum Verstecken von Seiten */
.hidden {
    display: none !important;
}

h1 {
    color: #d81b60;
    font-size: 2rem;
    margin-bottom: 20px;
}

img {
    width: 100%;
    max-width: 250px; /* Etwas kleiner, damit mehr Platz für Text ist */
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    height: 60px; /* Reserviert Platz damit nichts springt */
}

button {
    font-size: 1.2rem;
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    touch-action: manipulation; /* Besser für Touchscreens */
}

#yes-btn {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    z-index: 10;
}

#yes-btn:active {
    transform: scale(0.95);
}

#no-btn {
    background-color: #f44336;
    color: white;
    font-weight: bold;
}

/* --- STYLES FÜR DEN LOVE LETTER --- */

.card-container {
    background-color: #fff9c4; /* Post-it Gelb / Papier Farbe */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

.card-container:active {
    transform: scale(0.98);
}

/* Der Text im Brief */
#message-text {
    font-family: 'Indie Flower', cursive; /* Handgeschrieben */
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.instruction-text {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

.small-text {
    margin-top: 15px;
    color: #888;
    font-size: 0.8rem;
}
