* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #d63384 0%, #6f42c1 50%, #dc3545 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    font-family: 'Raleway', sans-serif;
    overflow: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Hearts Background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    animation: floatUp 7s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* Main Card - Elegant Style */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 247, 0.95));
    border-radius: 25px;
    padding: 55px 65px;
    text-align: center;
    box-shadow:
        0 30px 60px rgba(111, 66, 193, 0.35),
        0 15px 40px rgba(214, 51, 132, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.8);
    z-index: 1;
    position: relative;
    max-width: 520px;
    border: 2px solid rgba(214, 51, 132, 0.2);
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {

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

    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }

    75% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

.card-content {
    position: relative;
}

.roses {
    font-size: 70px;
    margin-bottom: 15px;
    animation: roseSway 2s ease-in-out infinite;
}

@keyframes roseSway {

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

    50% {
        transform: rotate(5deg);
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #6f42c1;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.question-de {
    font-size: 1.4rem;
    color: #d63384;
    margin-bottom: 8px;
    font-weight: 600;
    font-style: italic;
}

.question-en {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 80px;
}

.btn {
    padding: 16px 45px;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.yes-btn {
    background: linear-gradient(135deg, #6f42c1, #d63384);
    color: white;
    box-shadow:
        0 10px 30px rgba(111, 66, 193, 0.4),
        0 5px 15px rgba(214, 51, 132, 0.3);
}

.yes-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(111, 66, 193, 0.5),
        0 8px 20px rgba(214, 51, 132, 0.4);
}

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

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

.no-btn {
    background: linear-gradient(135deg, #adb5bd, #6c757d);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.no-btn:hover {
    background: linear-gradient(135deg, #6c757d, #495057);
}

/* Success Card */
.success-card {
    display: none;
    text-align: center;
    z-index: 1;
    animation: successReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successReveal {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) rotate(2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-card .celebration {
    font-size: 90px;
    animation: celebrate 1s ease infinite;
}

@keyframes celebrate {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-10deg);
    }

    75% {
        transform: scale(1.1) rotate(10deg);
    }
}

.success-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    margin: 25px 0 10px;
}

.success-card .sub-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.success-card .heart-container {
    margin: 35px 0;
}

.success-card .big-heart {
    font-size: 120px;
    display: inline-block;
    animation: heartPulse 1.2s ease-in-out infinite;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.2);
    }
}

.success-card .date-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(5px);
    margin-top: 15px;
}

.success-card .date-text-en {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    font-style: italic;
}

/* Confetti */
.confetti {
    position: fixed;
    animation: confettiFall 3.5s ease-in-out forwards;
    z-index: 100;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(1080deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .card {
        padding: 35px 25px;
        margin: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .question-de {
        font-size: 1.1rem;
    }

    .question-en {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .roses {
        font-size: 50px;
    }

    .success-card h1 {
        font-size: 2.2rem;
    }
}