:root {
    --romantic-pink: #ff4d6d;
    --soft-purple: #764ba2;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    margin: 0;
}

.romantic-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.color-pink {
    color: var(--romantic-pink);
}

/* Stage Management */
.stage {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease;
}

.stage.active {
    display: flex;
}

/* Game Field */
.hearts-field {
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite;
}

.heart:hover {
    transform: scale(1.3) rotate(15deg);
}

.heart.collected {
    animation: popOut 0.5s ease forwards;
    pointer-events: none;
}

/* Custom UI Elements */
.custom-progress {
    height: 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.3);
}

.question-card, .final-card {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    max-width: 500px;
    width: 90%;
}

.floating-emoji {
    font-size: 4rem;
    animation: heartBeat 1.5s infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes popOut {
    to { transform: scale(0) translateY(-100px); opacity: 0; }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .romantic-title { font-size: 2.5rem; }
    .hearts-field { height: 350px; }
}