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

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '💕';
    position: absolute;
    font-size: 120px;
    opacity: 0.3;
    top: 8%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

body::after {
    content: '❤️';
    position: absolute;
    font-size: 100px;
    opacity: 0.3;
    bottom: 12%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.container::before {
    content: '💖';
    position: absolute;
    font-size: 80px;
    opacity: 0.25;
    top: 3%;
    right: -60px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.container::after {
    content: '💝';
    position: absolute;
    font-size: 90px;
    opacity: 0.25;
    bottom: 8%;
    left: -70px;
    animation: float 9s ease-in-out infinite;
    animation-delay: 2s;
}

.screen::after {
    content: '✨';
    position: absolute;
    font-size: 50px;
    opacity: 0.35;
    top: -20px;
    right: 30px;
    animation: twinkle 3s ease-in-out infinite;
}

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

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.container {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.screen {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
}

.screen.active {
    display: block;
}

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

/* Intro Screen */
.intro-content {
    text-align: center;
}

.intro-content h1 {
    font-family: 'Pacifico', cursive;
    font-size: 4em;
    color: #667eea;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.intro-content p {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.intro-content p::before {
    content: '✨ ';
}

.intro-content p::after {
    content: ' ✨';
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 60px;
    font-size: 1.4em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    font-weight: 600;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
}

/* Question Content */
.question-content {
    text-align: center;
}

.question-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 600;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-btn {
    background: white;
    border: 3px solid #667eea;
    color: #667eea;
    padding: 20px 35px;
    font-size: 1.2em;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.option-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Nervous Message */
.nervous-reveal {
    margin-top: 30px;
    font-size: 1.4em;
    color: #764ba2;
    font-weight: bold;
}

.hidden {
    display: none;
}

.show {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

/* Final Screen */
.final-content {
    text-align: center;
}

.congratulations {
    font-family: 'Pacifico', cursive;
    font-size: 3.5em;
    color: #667eea;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.final-message {
    font-size: 1.6em;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 500;
}

/* Flower Animation */
.flower-animation {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.flower {
    font-size: 3em;
    animation: floatUp 3s ease-in-out infinite;
    display: inline-block;
}

.flower:nth-child(1) { animation-delay: 0s; }
.flower:nth-child(2) { animation-delay: 0.3s; }
.flower:nth-child(3) { animation-delay: 0.6s; }
.flower:nth-child(4) { animation-delay: 0.9s; }
.flower:nth-child(5) { animation-delay: 1.2s; }
.flower:nth-child(6) { animation-delay: 1.5s; }
.flower:nth-child(7) { animation-delay: 1.8s; }
.flower:nth-child(8) { animation-delay: 2.1s; }
.flower:nth-child(9) { animation-delay: 2.4s; }
.flower:nth-child(10) { animation-delay: 2.7s; }

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* iPhone 17 Pro Max - 460 x 1000 viewport */
@media (max-width: 480px) {
    body::before {
        font-size: 90px;
        left: 2%;
    }

    body::after {
        font-size: 80px;
        right: 2%;
    }

    .container::before {
        font-size: 60px;
        right: -40px;
    }

    .container::after {
        font-size: 70px;
        left: -50px;
    }

    .screen {
        padding: 40px 25px;
        border-radius: 25px;
    }

    .intro-content h1 {
        font-size: 3em;
    }

    .intro-content p {
        font-size: 1.25em;
    }

    .question-content h2 {
        font-size: 1.6em;
        margin-bottom: 35px;
    }

    .option-btn {
        font-size: 1.15em;
        padding: 18px 30px;
    }

    .congratulations {
        font-size: 2.8em;
    }

    .final-message {
        font-size: 1.35em;
    }

    .flower {
        font-size: 2.2em;
    }

    .start-btn {
        font-size: 1.3em;
        padding: 18px 50px;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .screen {
        padding: 40px 30px;
    }

    .intro-content h1 {
        font-size: 2.5em;
    }

    .intro-content p {
        font-size: 1.2em;
    }

    .question-content h2 {
        font-size: 1.5em;
    }

    .option-btn {
        font-size: 1.1em;
        padding: 15px 25px;
    }

    .congratulations {
        font-size: 2.5em;
    }

    .final-message {
        font-size: 1.3em;
    }

    .flower {
        font-size: 2em;
    }
}
