/* ============================ */
/* Base styles – minimal & clean */
/* ============================ */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, sans-serif;
    background: linear-gradient(135deg, #fff0f5, #fde2e4);
    color: #333;
}

/* ❤️ Buttons */
.btn-love {
    background: #e63946;
    color: white;
    border-radius: 30px;
    padding: 10px 30px;
    border: none;
    transition: transform 0.2s;
    cursor: pointer;
}
.btn-love:hover {
    background: #d62839;
    transform: scale(1.05);
}

/* ✨ Inputs */
.form-control {
    border-radius: 25px;
    text-align: center;
}

/* 🌬 Fade animation */
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card-romantic {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 30px;
}

/* Page container for letter */
.page-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 70vh;
    margin: 50px auto;
    overflow: hidden;
}

/* Individual page */
.page {
    position: absolute;
    top:0;
    left:100%;
    width:100%;
    height:100%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius:20px;
    padding:30px;
    box-shadow:0 20px 40px rgba(0,0,0,0.2);
    text-align:left;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: left 0.6s ease;
}
.page.active { left:0; }
.page.previous { left:-100%; }

.page h4 {
    text-align:center;
    margin-bottom:20px;
}
