* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 70%, #f5576c 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Floating Hearts Background */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 2rem;
    animation: float 8s ease-in-out infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.heart-1 { top: 10%; left: 10%; animation-delay: 0s; }
.heart-2 { top: 20%; right: 15%; animation-delay: 1s; }
.heart-3 { top: 60%; left: 5%; animation-delay: 2s; }
.heart-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.heart-5 { top: 40%; left: 80%; animation-delay: 4s; }
.heart-6 { bottom: 10%; left: 70%; animation-delay: 5s; }
.heart-7 { top: 70%; right: 20%; animation-delay: 6s; }
.heart-8 { top: 30%; left: 20%; animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
    75% { transform: translateY(-15px) rotate(5deg); }
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Steps */
.step {
    display: none;
    animation: fadeInUp 0.8s ease-out;
}

.step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.subtitle {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.message-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    font-size: 1.3rem;
    line-height: 1.8;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-box p {
    margin-bottom: 15px;
}

.message-box p:last-child {
    margin-bottom: 0;
}

/* Compliments */
.compliments-container {
    margin: 30px 0;
}

.compliment {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: slideInLeft 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.compliment .icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.compliment p {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Feelings */
.feelings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feeling-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    animation: bounceIn 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feeling-card:hover {
    transform: translateY(-10px);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.heart-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.feeling-card p {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Question Section */
.question-container {
    text-align: center;
    padding: 20px 0;
}

.big-heart {
    font-size: 5rem;
    margin: 20px 0;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.proposal-text {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 30px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); }
    to { text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.8); }
}

.answer-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.answer-btn {
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.yes-btn {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
}

.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.4);
}

.no-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    transition: all 0.3s ease;
}

.no-btn:hover {
    transform: scale(0.9);
    opacity: 0.7;
}

/* Celebration */
.celebration-container {
    text-align: center;
    padding: 20px 0;
}

.celebration-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 30px;
    animation: bounce 1s ease-in-out infinite;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.celebration-message {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    font-size: 1.4rem;
    line-height: 1.8;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.celebration-message p {
    margin-bottom: 15px;
}

.celebration-hearts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.big-celebration-heart {
    font-size: 4rem;
    animation: spin 2s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.big-celebration-heart:nth-child(2) {
    animation-delay: 0.5s;
}

.big-celebration-heart:nth-child(3) {
    animation-delay: 1s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Buttons */
.next-btn, .restart-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.next-btn:hover, .restart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.next-btn span, .restart-btn span, .answer-btn span {
    margin-right: 10px;
}

/* Fireworks */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.firework {
    position: absolute;
    font-size: 2rem;
    animation: firework 2s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes firework {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(2) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* Heart Explosion */
.explosion-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.explosion-heart {
    position: absolute;
    font-size: 2.5rem;
    animation: explode 3s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes explode {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 25px;
        margin: 10px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .proposal-text {
        font-size: 2rem;
    }
    
    .answer-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .answer-btn {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
    
    .feelings-container {
        grid-template-columns: 1fr;
    }
    
    .celebration-hearts {
        gap: 20px;
    }
    
    .big-celebration-heart {
        font-size: 3rem;
    }
}