/* ============================================================
   FEBRUARY 14 — Valentine page styles
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe4ec 50%, #ffd6e0 100%);
    overflow: hidden;
}

/* ── Back button ── */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    font-family: 'Roboto', sans-serif;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-decoration: none;
    color: #c0392b;
    opacity: .6;
    transition: opacity .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-btn:hover {
    opacity: 1;
}

.back-btn::before {
    content: '←';
    font-size: 1rem;
}

/* ── Main content ── */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.heart-container {
    position: relative;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(231, 76, 60, 0.5));
    z-index: 15;
}

.heart {
    width: 280px;
    height: auto;
}

.title {
    margin-top: 50px;
    font-size: 3rem;
    font-weight: 700;
    color: #c0392b;
    text-shadow: 2px 2px 4px rgba(192, 57, 43, 0.3);
    animation: fadeInUp 2s ease-in-out;
}

/* ── Floating hearts ── */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    opacity: 0.25;
    animation: float 8s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}

@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-30px) rotate(-8deg); }
    50%       { transform: translateY(-50px) rotate(8deg); }
    75%       { transform: translateY(-30px) rotate(-5deg); }
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .heart  { width: 200px; }
    .title  { font-size: 2rem; margin-top: 40px; }
}

@media (max-width: 360px) {
    .heart  { width: 160px; }
    .title  { font-size: 1.7rem; margin-top: 30px; }
}
