:root {
    --peach: #ffcdb2;
    --pink: #ffb4a2;
    --rose: #e5989b;
    --mauve: #b5838d;
    --cream: #fff5f5;
    --gold: #ffd700;
    --deep-rose: #d4777a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Pro', serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        #fff5f5 0%,
        #ffebe6 25%,
        #ffe0d9 50%,
        #ffd4cc 75%,
        #ffc9bf 100%);
    overflow: hidden;
    position: relative;
}

/* Floating hearts background */
.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;
    opacity: 0.3;
    animation: float-up 8s infinite ease-in-out;
    filter: blur(0.5px);
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Main content */
.content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 80px;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(229, 152, 155, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    text-align: center;
    max-width: 600px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 300;
    color: var(--mauve);
    margin-bottom: 30px;
    letter-spacing: 2px;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.question {
    font-size: 32px;
    color: var(--deep-rose);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Crimson Pro', serif;
    font-size: 22px;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-yes {
    background: linear-gradient(135deg, var(--rose), var(--deep-rose));
    color: white;
    box-shadow: 0 8px 25px rgba(229, 152, 155, 0.4);
}

.btn-yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(229, 152, 155, 0.5);
}

.btn-also-yes {
    background: linear-gradient(135deg, var(--pink), var(--peach));
    color: var(--mauve);
    box-shadow: 0 8px 25px rgba(255, 180, 162, 0.4);
}

.btn-also-yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 180, 162, 0.5);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Celebration overlay */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 205, 178, 0.95) 0%,
        rgba(255, 180, 162, 0.95) 50%,
        rgba(229, 152, 155, 0.95) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-out;
}

.celebration-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.celebration-content {
    text-align: center;
    color: white;
    transform: scale(0.8);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 700px;
    padding: 40px;
}

.celebration-overlay.active .celebration-content {
    transform: scale(1);
}

.celebration-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 96px;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1.05);
    }
}

.celebration-message {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

.confetti.heart {
    font-size: 24px;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes burst-out {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .question-card {
        padding: 40px 30px;
        margin: 20px;
    }

    .title {
        font-size: 56px;
    }

    .question {
        font-size: 26px;
    }

    .btn {
        font-size: 18px;
        padding: 15px 35px;
    }

    .celebration-title {
        font-size: 64px;
    }

    .celebration-message {
        font-size: 22px;
    }

    .buttons {
        flex-direction: column;
    }
}
