
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ff6b9d, #9b59b6, #5b2c83);
    color: white;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 36px;
    margin-bottom: 25px;
    text-shadow: 0 0 20px #ffb6d5;
}

p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 15px;
}

button {
    margin-top: 25px;
    padding: 16px 32px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(45deg, #ff4081, #ff85a2);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 20, 100, 0.4);
    transition: 0.3s;
}

button:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 35px rgba(255, 20, 100, 0.7);
}

@media (max-width: 600px) {
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    button {
        font-size: 16px;
    }
}
[hidden] {
    display: none !important;
}
/* Love Quiz Layout Fix */
body {
    flex-direction: column;
    gap: 20px;
}

#quizScreen {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}

#questionText {
    font-size: 26px;
    line-height: 1.5;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    #questionText {
        font-size: 22px;
    }
}

/* Romantic Answer Buttons */

#answerOptions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    margin: 25px auto;
}

.answer-btn {
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

.answer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}

.answer-btn.selected {
    background: #ff4081;
    border-color: white;
    box-shadow: 0 0 20px #ff85a2;
}

.progress-bar {
    width: 100%;
    max-width: 450px;
    height: 10px;
    margin: 15px auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

#progressFill {
    width: 0;
    height: 100%;
    background: #ffb6d5;
    transition: width 0.4s ease;
}

#nextBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Floating Hearts Background */

body::before {
    content: "💕 ❤️ 💖 💗 💕";
    position: fixed;
    bottom: -60px;
    left: 10%;
    font-size: 30px;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    animation: floatingHearts 12s linear infinite;
}

body::after {
    content: "💗 💖 ❤️ 💕 💗";
    position: fixed;
    bottom: -60px;
    right: 10%;
    font-size: 24px;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    animation: floatingHearts 16s linear infinite 3s;
}

@keyframes floatingHearts {
    0% {
        transform: translateY(0) rotate(-10deg);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    85% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-120vh) rotate(15deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
        display: none;
    }
}

/* Romantic Glass Card */

#quizScreen,
#resultScreen {
    width: 100%;
    max-width: 550px;
    padding: 35px 25px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 45px rgba(60, 0, 65, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#questionNumber {
    font-size: 15px;
    color: #ffe0ee;
    font-weight: 600;
}

#resultScreen h1 {
    font-size: 30px;
}

#finalScore {
    font-size: 42px;
    margin: 20px 0;
    color: #fff0a8;
}

@media (max-width: 600px) {
    #quizScreen,
    #resultScreen {
        padding: 25px 15px;
    }
}

/* Shahida's Special Love Letter */

#secretMessage {
    margin-top: 25px;
    padding: 25px 20px;
    border: 2px solid #ffd78a;
    border-radius: 22px;

    background: linear-gradient(
        135deg,
        rgba(255, 192, 203, 0.25),
        rgba(255, 215, 150, 0.15)
    );

    color: #fff5f8;
    font-size: 18px;
    line-height: 1.9;

    box-shadow:
        0 0 25px rgba(255, 215, 150, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.08);

    animation: loveLetterReveal 1.5s ease both;
}

@keyframes loveLetterReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #secretMessage {
        animation: none;
    }
}

/* Romantic Welcome Animation */

.welcome-message {
    margin: 25px auto;
    padding: 20px;
    max-width: 450px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 215, 230, 0.5);

    color: #fff5fa;
    font-size: 19px;
    line-height: 2;

    box-shadow: 0 0 25px rgba(255, 150, 200, 0.3);

    animation: romanticReveal 2s ease-out both;
}

@keyframes romanticReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-message {
        animation: none;
    }
}



