/* ═══════════════════════════════════════════════════════════════════════════════
   MASTER LEVEL VALENTINE'S WEBSITE - GOD TIER CSS
   Premium Animations, Effects & Visual Excellence
   ═══════════════════════════════════════════════════════════════════════════════ */

/* CSS Variables for Theme */
:root {
    --primary-pink: #FF1493;
    --secondary-pink: #FF69B4;
    --light-pink: #FFB6C1;
    --pale-pink: #FFC0CB;
    --deep-pink: #C71585;
    --hot-pink: #FF0066;
    --rose-red: #DC143C;
    --gold: #FFD700;
    --cream: #FFF8DC;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 40px rgba(255, 20, 147, 0.3);
    --shadow-glow: 0 0 60px rgba(255, 105, 180, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-main: linear-gradient(135deg, #FFC0CB 0%, #FFB6C1 25%, #FF69B4 50%, #FF1493 100%);
    --gradient-romantic: linear-gradient(135deg, #FF1493 0%, #FF69B4 50%, #FFB6C1 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PARTICLE CANVAS BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════════ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FLOATING HEARTS CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */
#floating-hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 20px;
    animation: float-heart-up 6s ease-out forwards;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.5));
}

@keyframes float-heart-up {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAIN CONTAINER & SCREENS
   ═══════════════════════════════════════════════════════════════════════════════ */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 20px;
    animation: screen-enter 0.6s ease-out;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes screen-enter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 1: INTRO - DECORATIVE ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-intro {
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.deco-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: glow-pulse 4s ease-in-out infinite;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FF1493, transparent);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FF69B4, transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: 1s;
}

.glow-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #FFB6C1, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* Hanging Hearts Clusters */
.hanging-hearts-cluster {
    position: absolute;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hanging-hearts-cluster.left {
    left: 25px;
}

.hanging-hearts-cluster.right {
    right: 25px;
}

.heart-string {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: heart-swing 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.heart-string::before {
    content: '';
    width: 2px;
    height: var(--length);
    background: linear-gradient(to bottom, rgba(255,20,147,0.5), transparent);
}

.heart-icon {
    font-size: 26px;
    filter: drop-shadow(0 4px 8px rgba(255, 20, 147, 0.4));
    animation: heart-beat 1.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes heart-swing {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* Paper Plane */
.paper-plane-container {
    position: absolute;
    left: 40px;
    bottom: 120px;
    width: 100px;
    height: 80px;
    animation: plane-float 4s ease-in-out infinite;
}

.paper-plane {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(255, 20, 147, 0.3));
}

.plane-trail {
    position: absolute;
    top: 50%;
    left: -50px;
    width: 60px;
    height: 2px;
    background: linear-gradient(to left, rgba(255,105,180,0.6), transparent);
    animation: trail-extend 2s ease-out infinite;
}

@keyframes plane-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes trail-extend {
    0% { width: 0; opacity: 1; }
    100% { width: 60px; opacity: 0; }
}

/* Calendar Widget */
.calendar-widget {
    position: absolute;
    right: 35px;
    top: 30px;
    width: 110px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft), 0 0 30px rgba(255, 105, 180, 0.2);
    overflow: hidden;
    transform: rotate(5deg);
    animation: calendar-float 3s ease-in-out infinite;
}

@keyframes calendar-float {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-10px); }
}

.calendar-rings {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 5px 5px;
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
}

.ring {
    width: 10px;
    height: 10px;
    border: 2px solid #999;
    border-radius: 50%;
    background: white;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.calendar-body {
    padding: 12px 8px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #fff5f8);
}

.day-name {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-pink);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.2);
}

.month-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-pink);
    letter-spacing: 2px;
}

.year {
    display: block;
    font-size: 10px;
    color: #aaa;
    margin-top: 2px;
}

.calendar-hearts {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: linear-gradient(to right, #fff0f5, #ffe4e1);
    font-size: 12px;
}

/* Intro Content */
.intro-content {
    text-align: center;
    z-index: 10;
    max-width: 600px;
    padding: 20px;
}

/* Couple Illustration */
.couple-illustration {
    position: relative;
    width: 200px;
    height: 160px;
    margin: 0 auto 25px;
}

.heart-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 20, 147, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.heart-pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.heart-pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.couple-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(255, 20, 147, 0.2));
}

.floating-heart-text {
    animation: float-text 2s ease-in-out infinite;
}

.floating-heart-text.delay-1 {
    animation-delay: 0.3s;
}

.floating-heart-text.delay-2 {
    animation-delay: 0.6s;
}

@keyframes float-text {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Title */
.title-container {
    position: relative;
    margin-bottom: 35px;
}

.main-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #8B0000;
    text-shadow: 
        2px 2px 0px rgba(255, 255, 255, 0.8),
        -1px -1px 0px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 20, 147, 0.5),
        0 0 60px rgba(255, 20, 147, 0.3);
    line-height: 1.3;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    animation: title-glow 2s ease-in-out infinite;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

@keyframes title-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 20, 147, 0.8)); }
}

.title-hearts {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 24px;
}

.title-hearts span {
    display: inline-block;
    animation: heart-pop 1.5s ease-in-out infinite;
}

.title-hearts .th-1 { animation-delay: 0s; }
.title-hearts .th-2 { animation-delay: 0.3s; }
.title-hearts .th-3 { animation-delay: 0.6s; }

@keyframes heart-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Buttons */
.button-group {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    position: relative;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-pink), var(--primary-pink));
    color: white;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.5), var(--shadow-glow);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    animation: glow-rotate 3s linear infinite;
}

@keyframes glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    color: var(--deep-pink);
    border: 2px solid var(--light-pink);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.2);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.btn-icon {
    font-size: 20px;
}

/* Bottom Hearts */
.bottom-hearts {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    font-size: 28px;
}

.bottom-hearts span {
    animation: bounce-heart 1.5s ease-in-out infinite;
}

.bottom-hearts .bh-1 { animation-delay: 0s; }
.bottom-hearts .bh-2 { animation-delay: 0.2s; }
.bottom-hearts .bh-3 { animation-delay: 0.4s; }
.bottom-hearts .bh-4 { animation-delay: 0.6s; }
.bottom-hearts .bh-5 { animation-delay: 0.8s; }

@keyframes bounce-heart {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 2: SAD / TRY AGAIN
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-sad {
    background: linear-gradient(135deg, #E8E8E8 0%, #D3D3D3 50%, #C0C0C0 100%);
}

.sad-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    left: var(--x);
    top: -20px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #87CEEB);
    animation: rain-fall 1.5s linear infinite;
    animation-delay: var(--delay);
}

@keyframes rain-fall {
    0% { transform: translateY(-20px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.sad-content {
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}

.sad-heart-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.broken-heart {
    width: 100%;
    height: 100%;
    animation: sad-pulse 2s ease-in-out infinite;
}

@keyframes sad-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); }
}

.heart-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(220, 20, 60, 0.3));
}

.sad-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tear {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(to bottom, #87CEEB, #4682B4);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: tear-drop 2s ease-in-out infinite;
}

.tear-left {
    left: -25px;
    top: -5px;
}

.tear-right {
    right: -25px;
    top: -5px;
    animation-delay: 0.5s;
}

@keyframes tear-drop {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0.5; }
}

.sad-eyes {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.sad-eyes .eye {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    position: relative;
}

.sad-eyes .pupil {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.sad-mouth {
    width: 25px;
    height: 12px;
    border-bottom: 3px solid #333;
    border-radius: 0 0 25px 25px;
    margin: 0 auto;
}

.sad-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #666;
    margin-bottom: 10px;
}

.sad-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 40px;
}

.btn-retry {
    background: linear-gradient(135deg, var(--light-pink), var(--pale-pink));
    color: var(--deep-pink);
    border: 2px solid var(--secondary-pink);
    padding: 18px 50px;
    font-size: 18px;
}

.btn-retry:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

.hearts-float {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-retry:hover .hearts-float {
    opacity: 1;
    animation: hearts-rise 1s ease-out;
}

@keyframes hearts-rise {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(-30px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 3: SUCCESS / GIFT SELECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-success {
    background: var(--gradient-main);
}

.celebration-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.firework {
    position: absolute;
    left: var(--x);
    top: 30%;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: firework-burst 2s ease-out infinite;
    animation-delay: var(--delay);
}

@keyframes firework-burst {
    0% { transform: scale(0); opacity: 1; }
    50% { 
        transform: scale(1);
        opacity: 1;
        box-shadow: 
            0 -30px 0 var(--gold),
            0 30px 0 var(--secondary-pink),
            -30px 0 0 var(--primary-pink),
            30px 0 0 var(--rose-red),
            -21px -21px 0 var(--gold),
            21px -21px 0 var(--secondary-pink),
            -21px 21px 0 var(--primary-pink),
            21px 21px 0 var(--rose-red);
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
        box-shadow: 
            0 -50px 0 transparent,
            0 50px 0 transparent,
            -50px 0 0 transparent,
            50px 0 0 transparent,
            -35px -35px 0 transparent,
            35px -35px 0 transparent,
            -35px 35px 0 transparent,
            35px 35px 0 transparent;
    }
}

.success-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
}

.success-header {
    margin-bottom: 50px;
}

.floating-hearts-top {
    font-size: 30px;
    margin-bottom: 20px;
}

.floating-hearts-top span {
    display: inline-block;
    animation: heart-float-rotate 2s ease-in-out infinite;
    margin: 0 5px;
}

.floating-hearts-top span:nth-child(1) { animation-delay: 0s; }
.floating-hearts-top span:nth-child(2) { animation-delay: 0.2s; }
.floating-hearts-top span:nth-child(3) { animation-delay: 0.4s; }
.floating-hearts-top span:nth-child(4) { animation-delay: 0.6s; }
.floating-hearts-top span:nth-child(5) { animation-delay: 0.8s; }

@keyframes heart-float-rotate {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.success-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #8B0000;
    text-shadow: 
        2px 2px 0px rgba(255, 255, 255, 0.9),
        -1px -1px 0px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.success-message {
    font-size: 1.3rem;
    color: #4a004a;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    margin-top: 10px;
    display: inline-block;
}

/* Gifts Grid */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px;
}

.gift-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 20px;
    padding: 25px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    overflow: hidden;
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-pink), var(--primary-pink));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.gift-card:hover::before {
    opacity: 0.1;
}

.gift-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--secondary-pink);
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.3);
}

.gift-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.gift-card:hover .gift-shine {
    opacity: 1;
    animation: shine-rotate 2s linear infinite;
}

@keyframes shine-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gift-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.gift-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.gift-name {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--deep-pink);
    margin-bottom: 8px;
}

.gift-desc {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gift-hearts {
    position: relative;
    z-index: 1;
    font-size: 14px;
    margin-bottom: 15px;
}

.open-gift-btn {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--secondary-pink), var(--primary-pink));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
    margin-top: 10px;
}

.gift-card:hover .open-gift-btn {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.5);
}

.open-gift-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.5);
}

/* Mailbox Decoration */
.mailbox-decoration {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 70px;
    height: 90px;
    animation: mailbox-bounce 2s ease-in-out infinite;
}

@keyframes mailbox-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 4: TEDDY BEAR & ROSES
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-teddy {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 50%, #FFC0CB 100%);
}

.teddy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.petal {
    position: absolute;
    left: var(--x);
    top: -30px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    border-radius: 50% 0 50% 50%;
    animation: petal-fall 5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes petal-fall {
    0% { 
        transform: translateY(-30px) rotate(0deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(100vh) rotate(360deg); 
        opacity: 0; 
    }
}

.teddy-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
}

.teddy-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--rose-red);
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.teddy-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.teddy-bear {
    width: 220px;
    height: 280px;
    animation: teddy-breathe 3s ease-in-out infinite;
}

@keyframes teddy-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.teddy-bear svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 15px 30px rgba(139, 69, 19, 0.3));
}

.rose-bouquet {
    width: 220px;
    height: 350px;
    animation: bouquet-sway 4s ease-in-out infinite;
}

@keyframes bouquet-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.rose-bouquet svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 15px 30px rgba(220, 20, 60, 0.2));
}

.rose {
    animation: rose-glow 2s ease-in-out infinite;
}

.rose-1 { animation-delay: 0s; }
.rose-2 { animation-delay: 0.3s; }
.rose-3 { animation-delay: 0.6s; }
.rose-4 { animation-delay: 0.9s; }
.rose-5 { animation-delay: 1.2s; }
.rose-6 { animation-delay: 1.5s; }
.rose-back-1 { animation-delay: 0.15s; }
.rose-back-2 { animation-delay: 0.45s; }

@keyframes rose-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Love Messages */
.love-messages {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.message-bubble {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,240,245,0.9));
    padding: 20px 25px;
    border-radius: 20px;
    max-width: 250px;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.15);
    position: relative;
    animation: bubble-float 3s ease-in-out infinite;
}

.message-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255,255,255,0.95);
}

.message-bubble.bubble-1 { animation-delay: 0s; }
.message-bubble.bubble-2 { animation-delay: 0.5s; }
.message-bubble.bubble-3 { animation-delay: 1s; }

@keyframes bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.message-bubble p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: var(--deep-pink);
    margin-bottom: 10px;
}

.bubble-hearts {
    font-size: 16px;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding-bottom: 30px;
}

.btn-back, .btn-next {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    color: var(--deep-pink);
    border: 2px solid var(--light-pink);
    padding: 15px 35px;
    font-size: 15px;
}

.btn-back:hover, .btn-next:hover {
    background: white;
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.btn-next:hover {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 5: VINTAGE LOVE LETTER
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-letter{
    background: linear-gradient(
        135deg,
        #ffd4e8 0%,
        #ffc3df 25%,
        #ffb3d7 55%,
        #ff9ccc 100%
    );

    position: relative;
    overflow: hidden;
}

.letter-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.coffee-stain {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.2) 0%, rgba(139, 69, 19, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: stain-pulse 4s ease-in-out infinite;
}

@keyframes stain-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.letter-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 800px;
}

.letter-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #c2185b;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.letter-container {
    position: relative;
    margin-bottom: 40px;
    overflow: visible;
}

.quill-decoration {
    position: absolute;
    right: -40px;
    top: -30px;
    width: 60px;
    height: 80px;
    animation: quill-float 3s ease-in-out infinite;
}

@keyframes quill-float {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(-5deg); }
}

.vintage-paper {
    position: relative;
    background: linear-gradient(
        180deg,
        #faf6ff 0%,
        #f2e9ff 40%,
        #e9dbff 75%,
        #dfccff 100%
    );
    border-radius: 10px;
    padding: 40px;
box-shadow:
    0 20px 50px rgba(76, 29, 149, 0.35),
    inset 0 0 20px rgba(255,255,255,0.6);
border: 3px solid #5b21b6;
    overflow:visible;
}

.paper-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139,69,19,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139,69,19,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.paper-lines{
    position:absolute;
    inset:0;

    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 36px,
            rgba(168, 85, 247, 0.22) 36px,
            rgba(168, 85, 247, 0.22) 37px
        );

    background-position-y: 152px;
    pointer-events:none;
}

.letter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.date-written {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #d63384;
    transform: rotate(-2deg);
    opacity: 0.9;
        transform: translateY(-10px);

}

.wax-seal {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
        border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    animation: seal-glow 2s ease-in-out infinite;
}



@keyframes seal-glow {
    0%, 100% { box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(220, 20, 60, 0.4); }
}

.letter-body {
    position: relative;
    z-index: 1;
    text-align: left;
    padding-top: 0;
}

.salutation {
    font-family: 'Caveat', cursive;
    font-size: 2.3rem;
    line-height: 37px;
    margin: 0 0 37px;
    color: #d63384;

    transform: translateY(-12px);
}

.salutation {
    font-size: 2.3rem;
    font-weight: 700;
    color: #d63384;

}

.closing{
    line-height:37px;
}

.letter-paragraph{

    font-family:'Caveat', cursive;

    font-size:1.8rem;

    line-height:37px;

    margin:0 0 37px;

    color:#5f3550;
}

.letter-paragraph.closing {
    text-indent: 0;
    margin-top: 30px;
    font-style: italic;
}

.letter-signature {
    text-align: right;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.xoxo-text{
    font-family:'Caveat',cursive;
    font-size:4rem;
    color:#C71585;
    transform:rotate(-8deg);
}

.cat-decoration {
    position: absolute;
    left: -60px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    animation: cat-bounce 2s ease-in-out infinite;
}

@keyframes cat-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.letter-header{
    position:relative;
}

.sleeping-snoopy{
    position:absolute;

    right:85px;      /* sits just before the wax seal */
    top:-45px;

    width:90px;

    pointer-events:none;

    transform:rotate(-6deg);

    animation:snoopySleep 4s ease-in-out infinite;
}

@keyframes snoopySleep{

    0%,100%{
        transform:translateY(0) rotate(-6deg);
    }

    50%{
        transform:translateY(-6px) rotate(-4deg);
    }

}
/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 6: CHOCOLATE BOX
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-chocolate {
    background: linear-gradient(135deg, #3D1C02 0%, #5D2C0B 50%, #8B4513 100%);
}

.chocolate-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.choco-particle {
    position: absolute;
    left: var(--x);
    top: -50px;
    font-size: 30px;
    animation: choco-fall 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes choco-fall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.chocolate-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 900px;
}

.chocolate-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.chocolate-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.chocolate-box-container {
    position: relative;
}

.chocolate-box {
    width: 350px;
    perspective: 1000px;
}

.box-lid {
    background: linear-gradient(135deg, #8B4513, #654321);
    border-radius: 15px 15px 5px 5px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lid-pattern {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed rgba(255,215,0,0.3);
    border-radius: 10px;
}

.box-bow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bow-left, .bow-right {
    width: 50px;
    height: 30px;
    background: linear-gradient(135deg, #FF1493, #C71585);
    border-radius: 50%;
}

.bow-left {
    transform: rotate(-20deg);
    margin-right: -10px;
}

.bow-right {
    transform: rotate(20deg);
    margin-left: -10px;
}

.bow-center {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1;
}

.box-base {
    background: linear-gradient(135deg, #D2691E, #8B4513);
    border-radius: 5px 5px 15px 15px;
    padding: 25px;
    margin-top: 5px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.chocolates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.choco-item {
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.choco-item:hover {
    transform: scale(1.1) translateY(-5px);
}

.choco-wrapper {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.choco-wrapper.purple { background: linear-gradient(135deg, #9370DB, #4B0082); }
.choco-wrapper.red { background: linear-gradient(135deg, #DC143C, #8B0000); }
.choco-wrapper.gold { background: linear-gradient(135deg, #FFD700, #DAA520); }
.choco-wrapper.golden { background: linear-gradient(135deg, #DAA520, #B8860B); border: 2px solid #FFD700; }
.choco-wrapper.brown { background: linear-gradient(135deg, #8B4513, #654321); }
.choco-wrapper.pink { background: linear-gradient(135deg, #FF69B4, #C71585); }

.choco-label {
    font-size: 24px;
}

.choco-name {
    font-size: 11px;
    color: #FFD700;
    font-weight: 600;
}

.floating-chocolates {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.float-choco {
    font-size: 30px;
    animation: float-choco 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes float-choco {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Sweet Messages */
.sweet-messages {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sweet-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,240,245,0.9));
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.sweet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.sweet-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.sweet-card p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #8B4513;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SCREEN 7: SPECIAL SURPRISE / QR CODE
   ═══════════════════════════════════════════════════════════════════════════════ */
#screen-surprise {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a148c 100%);
}

.surprise-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    left: var(--x);
    top: 20%;
    font-size: 20px;
    animation: star-twinkle 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.surprise-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 800px;
}

.surprise-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.surprise-subtitle {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    background: rgba(255, 105, 180, 0.3);
    border-radius: 15px;
    display: inline-block;
}

.surprise-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Vinyl Record */
.vinyl-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 50%;
    position: relative;
    animation: vinyl-spin 3s linear infinite;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

@keyframes vinyl-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vinyl-grooves {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,0.05) 2px,
        rgba(255,255,255,0.05) 3px
    );
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF1493, #C71585);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vinyl-heart {
    font-size: 20px;
}

.vinyl-text {
    font-size: 8px;
    color: white;
    font-weight: 600;
}

.tonearm {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 60px;
    height: 4px;
    background: #C0C0C0;
    transform-origin: right center;
    transform: rotate(-30deg);
    border-radius: 2px;
}

/* QR Section */
.qr-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-arrows {
    width: 50px;
    height: 30px;
}

.qr-arrows svg {
    width: 100%;
    height: 100%;
}

.qr-code-wrapper {
    text-align: center;
}

.qr-frame {
    position: relative;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-pink);
}

.corner-tl { top: 5px; left: 5px; border-right: none; border-bottom: none; }
.corner-tr { top: 5px; right: 5px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 5px; left: 5px; border-right: none; border-top: none; }
.corner-br { bottom: 5px; right: 5px; border-left: none; border-top: none; }

.qr-svg {
    width: 180px;
    height: 180px;
}

.scan-hint {
    margin-top: 15px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: var(--secondary-pink);
}

/* Final Message */
.final-message {
    margin-bottom: 40px;
}

.final-message p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 105, 180, 0.5);
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    display: inline-block;
}

.final-hearts {
    font-size: 24px;
}

.final-hearts span {
    display: inline-block;
    animation: final-heart-beat 1.5s ease-in-out infinite;
    margin: 0 5px;
}

.final-hearts span:nth-child(1) { animation-delay: 0s; }
.final-hearts span:nth-child(2) { animation-delay: 0.2s; }
.final-hearts span:nth-child(3) { animation-delay: 0.4s; }
.final-hearts span:nth-child(4) { animation-delay: 0.6s; }
.final-hearts span:nth-child(5) { animation-delay: 0.8s; }

@keyframes final-heart-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Restart Section */
.restart-section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.restart-text {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding: 8px 20px;
    background: rgba(255, 105, 180, 0.3);
    border-radius: 15px;
}

.btn-restart-final {
    background: linear-gradient(135deg, #FF1493, #C71585);
    color: white;
    padding: 18px 50px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.btn-restart-final:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.6);
}

.btn-hearts {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-restart-final:hover .btn-hearts {
    opacity: 1;
    animation: btn-hearts-rise 1s ease-out;
}

@keyframes btn-hearts-rise {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(-25px); opacity: 0; }
}

/* Computer Decoration */
.computer-decoration {
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 70px;
    height: 70px;
    animation: computer-bounce 2s ease-in-out infinite;
}

@keyframes computer-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teddy-display {
        flex-direction: column;
        gap: 30px;
    }
    
    .surprise-display {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .title-line.highlight {
        font-size: 2.8rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
        justify-content: center;
    }
    
    .hanging-hearts-cluster {
        display: none;
    }
    
    .calendar-widget {
        width: 80px;
        right: 15px;
        top: 15px;
    }
    
    .date-num {
        font-size: 28px;
    }
    
    .paper-plane-container {
        width: 60px;
        height: 50px;
        left: 15px;
        bottom: 80px;
    }
    
    .gifts-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .success-title, .teddy-title, .letter-title, .chocolate-title, .surprise-title {
        font-size: 2.5rem;
    }
    
    .love-messages {
        flex-direction: column;
        align-items: center;
    }
    
    .message-bubble {
        max-width: 280px;
    }
    
    .vintage-paper {
        padding: 25px;
    }
    
    .letter-paragraph {
        font-size: 1rem;
    }
    
    .chocolate-box {
        width: 280px;
    }
    
    .chocolates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qr-svg {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-container {
        width: 140px;
        height: 140px;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-back, .btn-next {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .couple-illustration {
        width: 150px;
        height: 120px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .title-line.highlight {
        font-size: 2.2rem;
    }
    
    .teddy-bear, .rose-bouquet {
        width: 160px;
        height: 200px;
    }
    
    .sweet-messages {
        flex-direction: column;
        align-items: center;
    }
    
    .sweet-card {
        max-width: 280px;
    }
}

/* Couple Images */
.couple-illustration {
    position: relative;
    width: 420px;
    height: 220px;
    margin: 0 auto 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heart-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border: 3px solid rgba(255, 20, 147, 0.25);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.heart-pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.heart-pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.couple-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    position: relative;
    z-index: 2;
}

.person-image {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow:
        0 15px 35px rgba(255, 20, 147, 0.35),
        0 0 25px rgba(255, 105, 180, 0.35);
    animation: floatPhoto 3s ease-in-out infinite;
    transition: 0.35s ease;
}

.person-image:hover {
    transform: scale(1.05);
}

.person-image:first-child {
    transform: rotate(-6deg);
}

.person-image:last-child {
    transform: rotate(6deg);
    animation-delay: 0.4s;
}

.couple-heart {
    font-size: 52px;
    animation: heartBeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 20, 147, 0.6));
}

@keyframes floatPhoto {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

/* Mobile Fix */
@media (max-width: 480px) {
    .couple-illustration {
        width: 320px;
        height: 180px;
    }

    .person-image {
        width: 120px;
        height: 120px;
    }

    .couple-images {
        gap: 18px;
    }

    .couple-heart {
        font-size: 34px;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════════
   SPECIAL EFFECTS & UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */
/* Floating Birthday Cake */

.birthday-cake-container {
    position: absolute;
    left: 40px;
    bottom: 120px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: cakeFloat 4s ease-in-out infinite;
}

.birthday-cake {
    font-size: 75px;
    filter: drop-shadow(0 10px 20px rgba(255,105,180,.4));
    animation: cakeBounce 2s ease-in-out infinite;
}

.cake-sparkles {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 18px;
    animation: sparkleRotate 2s linear infinite;
}

@keyframes cakeFloat {
    0%,100%{
        transform:translateY(0) rotate(-4deg);
    }

    50%{
        transform:translateY(-18px) rotate(4deg);
    }
}

@keyframes cakeBounce{
    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }
}

@keyframes sparkleRotate{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

.bunny-decoration {
    position: absolute;
    left: -120px;
    bottom: 15px;

    width: 180px;
    height: 180px;

    z-index: 20;

    animation: bunnyBounce 2.5s ease-in-out infinite;

    filter: drop-shadow(0 12px 25px rgba(255,105,180,.35));
}

.bunny-decoration svg{
    width:100%;
    height:100%;
}
/* Confetti Animation */
.confetti {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 3D Transform Effects */
.perspective-container {
    perspective: 1000px;
}

.rotate-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.rotate-3d:hover {
    transform: rotateY(15deg) rotateX(5deg);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-pink), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 192, 203, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--secondary-pink), var(--primary-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-pink), var(--deep-pink));
}

/* Selection Color */
::selection {
    background: rgba(255, 20, 147, 0.3);
    color: var(--deep-pink);
}

/* REAL SONG QR IMAGE STYLE */
.real-qr {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.6);
    animation: qrPulse 2s infinite alternate;
}

@keyframes qrPulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.04);
    }
}
