/* CSS Variables */
:root {
    --primary-pink: #ff6b9d;
    --soft-pink: #ffc2e0;
    --vibrant-red: #ff1744;
    --gold: #ffd700;
    --white: #ffffff;
    --light-pink-bg: #fff0f5;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f8f9ff 0%, #fbe8f0 50%, #f4f7ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #202124;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 20%, rgba(255, 107, 157, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 85% 30%, rgba(120, 94, 229, 0.10) 0%, transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(255, 200, 230, 0.12) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
}

#app {
    position: relative;
    min-height: 100vh;
}

/* Floating Hearts Background */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.25;
}

.floating-hearts .heart {
    position: absolute;
    animation: float-up linear infinite;
    filter: blur(3px);
    text-shadow: 0 0 6px rgba(255, 107, 157, 0.35);
}

@keyframes float-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);
        opacity: 0;
    }
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid #e6e8f0;
    color: #2b2f3a;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(24, 30, 55, 0.12);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-control:hover {
    transform: scale(1.05) rotate(6deg);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(24, 30, 55, 0.16);
}

.music-control:active {
    transform: scale(0.95);
}

/* Section Base Styles */
.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 40px;
    z-index: 10;
}

/* Intro Section */
.intro-card {
    max-width: 760px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 56px 48px;
    box-shadow: 0 18px 60px rgba(24, 30, 55, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.18), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(102, 126, 234, 0.15), transparent 60%),
                radial-gradient(circle at 50% 80%, rgba(255, 206, 236, 0.2), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.intro-card > * {
    position: relative;
    z-index: 1;
}

.intro-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 14px;
    font-weight: 600;
}

.intro-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #1f2230;
    margin-bottom: 10px;
}

.intro-unmute-note {
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #4b4f5a;
    letter-spacing: 0.2px;
}

.intro-name-cloud {
    position: relative;
    min-height: 260px;
    margin: 6px 0 30px;
}

.name-float {
    position: absolute;
    font-family: 'Delius', cursive;
    font-weight: 400;
    color: #1f2230;
    letter-spacing: 0.3px;
    white-space: nowrap;
    pointer-events: none;
    filter: blur(0.15px);
    animation: nameFloat 8s ease-in-out infinite;
    transition: all 0.3s ease;
}

.name-float:nth-child(odd) {
    animation-delay: -2s;
}

.name-float:nth-child(3n) {
    animation-delay: -4s;
}

.name-float:nth-child(4n) {
    animation-delay: -6s;
}

@keyframes nameFloat {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotate));
    }
    50% {
        transform: translateY(-8px) rotate(var(--rotate));
    }
}

.name-float:hover {
    opacity: 0.5 !important;
    transform: translateY(-4px) scale(1.05) rotate(var(--rotate));
}

.intro-btn {
    padding: 14px 42px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff7ab8 0%, #ff5ea8 60%, #ff3f86 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(255, 63, 134, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 63, 134, 0.3);
}

.fade-out {
    animation: fadeOut 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-in forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typography */
.romantic-title {
    font-family: 'Delius', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    background: linear-gradient(135deg, #1f2230 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: none;
    letter-spacing: 0px;
    animation: titleFloat 3s ease-in-out infinite;
}

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

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #4b4f5a;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: none;
    letter-spacing: 0.5px;
}

/* Quiz Section */
.quiz-container {
    max-width: 620px;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(24, 30, 55, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quiz-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(24, 30, 55, 0.16);
}

.progress-indicator {
    text-align: center;
    color: #5b6070;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid #eef0f7;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.question-card {
    animation: slideIn 0.5s ease-out;
}

.question-card.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.question-text {
    font-family: 'Delius', cursive;
    font-size: 2rem;
    font-weight: 400;
    color: #1f2230;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: none;
    line-height: 1.5;
}

.answer-input {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333;
}

.answer-input[type="password"] {
    font-size: 1.6rem;
    letter-spacing: 0.35em;
}

.answer-input[type="password"]::placeholder {
    font-size: 1.1rem;
    letter-spacing: 0;
}

.answer-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.answer-input:focus {
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.error-message {
    color: #8a3a5a;
    background: rgba(255, 107, 157, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 107, 157, 0.25);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    animation: errorPulse 0.5s ease-out;
}

@keyframes errorPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.submit-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Heart Burst Animation */
.heart-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.burst-heart {
    position: absolute;
    font-size: 2rem;
    animation: burstOut 1.5s ease-out forwards;
}

.burst-heart:nth-child(1) { animation-delay: 0s; }
.burst-heart:nth-child(2) { animation-delay: 0.05s; }
.burst-heart:nth-child(3) { animation-delay: 0.1s; }
.burst-heart:nth-child(4) { animation-delay: 0.15s; }
.burst-heart:nth-child(5) { animation-delay: 0.2s; }

@keyframes burstOut {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--x, 0) * 200px), calc(var(--y, 0) * 200px)) scale(1);
        opacity: 0;
    }
}

.burst-heart:nth-child(1) { --x: 1; --y: 0; }
.burst-heart:nth-child(2) { --x: 0.7; --y: 0.7; }
.burst-heart:nth-child(3) { --x: 0; --y: 1; }
.burst-heart:nth-child(4) { --x: -0.7; --y: 0.7; }
.burst-heart:nth-child(5) { --x: -1; --y: 0; }
.burst-heart:nth-child(6) { --x: -0.7; --y: -0.7; }
.burst-heart:nth-child(7) { --x: 0; --y: -1; }
.burst-heart:nth-child(8) { --x: 0.7; --y: -0.7; }

/* Gallery Section */
.gallery-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.photo-frame {
    background: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(24, 30, 55, 0.12);
    border: 1px solid #eef0f7;
    margin: 3rem auto;
    max-width: 700px;
    animation: photoFadeIn 0.8s ease-out;
    transition: all 0.4s ease;
}

.photo-frame:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(24, 30, 55, 0.16);
}

@keyframes photoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(24, 30, 55, 0.12);
    transition: transform 0.3s ease;
}

.gallery-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    max-height: 500px;
    object-fit: cover;
    background: #0f1118;
    box-shadow: 0 6px 18px rgba(24, 30, 55, 0.12);
}

.photo-frame:hover .gallery-photo {
    transform: scale(1.02);
}

.photo-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #4b4f5a;
    margin-top: 1.5rem;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #2b2f3a;
    border: 1px solid #e6e8f0;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(24, 30, 55, 0.08);
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(24, 30, 55, 0.12);
    border-color: #d9ddea;
}

.nav-btn:active {
    transform: translateY(0px);
}

.photo-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cfd4e3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot:hover {
    background: #aeb4c7;
    transform: scale(1.2);
}

.dot.active {
    background: #5c6375;
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(92, 99, 117, 0.35);
}

.continue-btn {
    margin-top: 2rem;
    padding: 16px 48px;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.continue-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.continue-btn:hover::before {
    width: 300px;
    height: 300px;
}

.continue-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.continue-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Message Slides Section */
.message-container {
    max-width: 860px;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 56px 50px;
    box-shadow: 0 12px 40px rgba(24, 30, 55, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: slideIn 0.6s ease-out;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.message-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(24, 30, 55, 0.16);
}

.message-title {
    font-family: 'Delius', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #1f2230 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0px;
    text-shadow: none;
}

.message-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #3c3f49;
    text-align: center;
    margin-top: 2.5rem;
    text-shadow: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Photo Frame Styles */
.photo-frame-circular {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 2.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(24, 30, 55, 0.16);
    animation: pulse 2s ease-in-out infinite;
    border: 3px solid #ffffff;
}

.photo-frame-polaroid {
    position: relative;
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 20px;
    padding-bottom: 70px;
    box-shadow: 0 14px 34px rgba(24, 30, 55, 0.18);
    transform: rotate(-2deg);
    margin: 2.5rem auto;
    width: fit-content;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.photo-frame-polaroid:hover {
    transform: rotate(0deg) scale(1.05);
}

.photo-frame-heart {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 2.5rem auto;
    overflow: hidden;
    border-radius: 50%;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(24, 30, 55, 0.2));
    border: 3px solid #ff6b9d;
}

.photo-frame-elegant {
    position: relative;
    border: 8px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #667eea, #764ba2) border-box;
    box-shadow: 0 14px 36px rgba(24, 30, 55, 0.18);
    padding: 12px;
    margin: 2.5rem auto;
    width: fit-content;
    border-radius: 8px;
}

.message-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-frame-circular .message-photo {
    filter: brightness(1.05) contrast(1.05);
}

.photo-frame-polaroid .message-photo {
    width: 350px;
    height: 350px;
    border-radius: 2px;
}

.photo-frame-elegant .message-photo {
    width: 400px;
    height: 300px;
    border-radius: 4px;
}

.photo-frame-circular:hover .message-photo,
.photo-frame-heart:hover .message-photo {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 107, 157, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 107, 157, 0.8);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    75% {
        transform: scale(0.95);
    }
}

/* Frame Effects */
.effect-0 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
}

.effect-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Message Navigation */
.message-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.slide-indicator {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #5b6070;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid #eef0f7;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Proposal Section */
.proposal-container {
    max-width: 780px;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 64px 56px;
    box-shadow: 0 18px 60px rgba(24, 30, 55, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.proposal-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 52px rgba(24, 30, 55, 0.18);
}

.proposal-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.25), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(102, 126, 234, 0.18), transparent 60%),
                radial-gradient(circle at 50% 80%, rgba(255, 206, 236, 0.25), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.proposal-container::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 107, 157, 0.25);
    pointer-events: none;
    z-index: 0;
}
.proposal-container > * {
    position: relative;
    z-index: 1;
}

.proposal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.4rem;
    font-weight: 700;
    color: #1f2230;
    margin-bottom: 1.2rem;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 8px 24px rgba(255, 107, 157, 0.25);
    }
    50% {
        text-shadow: 0 10px 28px rgba(255, 107, 157, 0.35);
    }
}

.proposal-title::after {
    content: '';
    display: block;
    width: 190px;
    height: 5px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.1), #ff6b9d, rgba(102, 126, 234, 0.15));
}

.final-photo-frame {
    width: 380px;
    height: 380px;
    margin: 2rem auto 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 18px 55px rgba(24, 30, 55, 0.22);
    position: relative;
    animation: photoGlow 3s ease-in-out infinite;
}

@keyframes photoGlow {
    0%, 100% {
        box-shadow: 0 16px 40px rgba(24, 30, 55, 0.18);
    }
    50% {
        box-shadow: 0 20px 48px rgba(24, 30, 55, 0.22);
    }
}

.final-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proposal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.proposal-btn {
    padding: 18px 46px;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(24, 30, 55, 0.18);
}

.proposal-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.proposal-btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-yes {
    background: linear-gradient(135deg, #ff7ab8 0%, #ff5ea8 60%, #ff3f86 100%);
}

.btn-of-course {
    background: linear-gradient(135deg, #6e8bff 0%, #5b6bff 60%, #4b4efc 100%);
}

.proposal-btn:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 50px rgba(24, 30, 55, 0.25);
}

.proposal-btn:active {
    transform: translateY(-4px) scale(1.05);
}

/* Celebration */
.final-message {
    animation: celebrationFadeIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes celebrationFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.celebration-text {
    font-family: 'Delius', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    background: linear-gradient(135deg, #1f2230 0%, #ff6b9d 60%, #1f2230 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: celebrationGlow 2s ease-in-out infinite;
    letter-spacing: 0px;
}

@keyframes celebrationGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(255, 107, 157, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 22px rgba(255, 107, 157, 0.55));
    }
}

.celebration-subtitle {
    font-size: 1.6rem;
    color: #3b3f4a;
    text-shadow: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Heart Rain */
.heart-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.falling-heart {
    position: absolute;
    top: -50px;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .romantic-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .intro-title {
        font-size: 3rem;
    }

    .intro-card {
        padding: 40px 30px;
    }

    .intro-name-cloud {
        min-height: 280px;
    }

    .name-float {
        font-size: 0.88rem !important;
        letter-spacing: 0.5px;
    }

    .quiz-container,
    .message-container,
    .proposal-container {
        padding: 35px 25px;
        border-radius: 24px;
    }

    .question-text {
        font-size: 1.5rem;
    }

    .message-title {
        font-size: 2rem;
    }

    .message-text {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .photo-frame-circular {
        width: 280px;
        height: 280px;
    }

    .photo-frame-heart {
        width: 280px;
        height: 280px;
    }

    .photo-frame-polaroid .message-photo,
    .photo-frame-elegant .message-photo {
        width: 100%;
        height: auto;
        max-width: 320px;
    }

    .final-photo-frame {
        width: 300px;
        height: 300px;
    }

    .proposal-title {
        font-size: 3rem;
        line-height: 1.3;
    }

    .proposal-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .proposal-btn {
        font-size: 1.1rem;
        padding: 16px 28px;
        width: 100%;
    }

    .celebration-text {
        font-size: 2.3rem;
    }

    .celebration-subtitle {
        font-size: 1.3rem;
    }

    .message-navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .nav-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .continue-btn {
        padding: 14px 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .romantic-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .intro-title {
        font-size: 2.6rem;
    }

    .intro-btn {
        width: 100%;
    }

    .intro-name-cloud {
        min-height: 380px;
    }

    .name-float {
        font-size: 0.75rem !important;
        letter-spacing: 0.3px;
    }

    .quiz-container,
    .message-container,
    .proposal-container {
        padding: 25px 20px;
    }

    .question-text {
        font-size: 1.3rem;
    }

    .answer-input {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1.1rem;
    }

    .music-control {
        width: 55px;
        height: 55px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }

    .photo-frame-circular {
        width: 240px;
        height: 240px;
    }

    .photo-frame-heart {
        width: 240px;
        height: 240px;
    }

    .final-photo-frame {
        width: 260px;
        height: 260px;
    }

    .proposal-title {
        font-size: 2.4rem;
    }

    .celebration-text {
        font-size: 2rem;
    }
}
