/* ========================================
   Valentine's Day Website for Priyanka
   Made with 💕 by Kishor
   ======================================== */

:root {
    --pink-light: #ffe4ec;
    --pink-medium: #ff85a2;
    --pink-dark: #ff4d7d;
    --pink-deep: #e91e63;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --gold: #ffd700;
    --gradient-romantic: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-soft: 0 4px 20px rgba(255, 77, 125, 0.2);
    --shadow-medium: 0 8px 30px rgba(255, 77, 125, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--pink-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-romantic);
    z-index: 1000;
}

/* ========================================
   Floating Hearts (JS-generated, CSS hidden)
   ======================================== */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Remove old static ::before/::after hearts */
.floating-hearts::before,
.floating-hearts::after {
    display: none;
}

/* JS-generated floating heart */
.floating-heart {
    position: absolute;
    bottom: -60px;
    pointer-events: none;
    will-change: transform, opacity;
    animation: floatHeartUp var(--duration) var(--delay) ease-in-out forwards;
}

.floating-heart.css-heart {
    width: var(--size);
    height: var(--size);
}

.floating-heart.css-heart::before,
.floating-heart.css-heart::after {
    content: '';
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: var(--heart-color);
    border-radius: 50% 50% 0 0;
}

.floating-heart.css-heart::before {
    left: calc(var(--size) * 0.5);
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.floating-heart.css-heart::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

@keyframes floatHeartUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: var(--target-opacity);
        transform: translateY(-10vh) translateX(calc(var(--sway) * -0.3)) rotate(10deg) scale(1);
    }
    30% {
        transform: translateY(-30vh) translateX(calc(var(--sway) * 0.5)) rotate(-5deg) scale(1);
    }
    50% {
        transform: translateY(-50vh) translateX(calc(var(--sway) * -0.7)) rotate(8deg) scale(1);
    }
    70% {
        transform: translateY(-70vh) translateX(calc(var(--sway) * 0.4)) rotate(-3deg) scale(1);
    }
    90% {
        opacity: var(--target-opacity);
        transform: translateY(-90vh) translateX(calc(var(--sway) * -0.2)) rotate(5deg) scale(1);
    }
    100% {
        transform: translateY(-110vh) translateX(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
}

/* ========================================
   Scroll-triggered Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.36s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.48s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Countdown Screen
   ======================================== */
.countdown-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.countdown-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--pink-deep);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.countdown-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 40px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.time-block {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px 30px;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(255, 77, 125, 0.15);
}

.time-block span {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--pink-deep);
    line-height: 1;
}

.time-block label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-date {
    font-size: 1.3rem;
    color: var(--pink-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.countdown-hint {
    font-style: italic;
    color: var(--text-light);
}

/* ========================================
   Password Screen
   ======================================== */
.password-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
    max-width: 500px;
}

/* ========================================
   Valentine Question Screen
   ======================================== */
#valentine-question {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 30%, #fad0c4 60%, #fecfef 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

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

.valentine-content {
    text-align: center;
    z-index: 1;
    padding: 40px;
    max-width: 600px;
    position: relative;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.15);
}

.valentine-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--pink-deep);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(233, 30, 99, 0.3), 2px 2px 4px rgba(0,0,0,0.1);
    animation: gentleGlow 3s ease-in-out infinite;
}

@keyframes gentleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(233, 30, 99, 0.2), 2px 2px 4px rgba(0,0,0,0.1); }
    50% { text-shadow: 0 0 40px rgba(233, 30, 99, 0.4), 0 0 80px rgba(233, 30, 99, 0.1), 2px 2px 4px rgba(0,0,0,0.1); }
}

.valentine-ask {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 500;
}

.valentine-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

#yes-btn {
    padding: 20px 50px;
    font-size: 1.5rem;
    background: var(--gradient-sunset);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4);
    animation: yesBtnPulse 2s ease-in-out infinite;
}

@keyframes yesBtnPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4); }
    50% { box-shadow: 0 8px 50px rgba(245, 87, 108, 0.6), 0 0 20px rgba(245, 87, 108, 0.2); }
}

#yes-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 40px rgba(255, 77, 125, 0.5);
}

#no-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: #ddd;
    color: #888;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Poppins', sans-serif;
}

#no-btn:hover {
    background: #ccc;
}

#valentine-response {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

#valentine-response p {
    font-size: 1.3rem;
    color: var(--pink-deep);
    margin: 0;
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.password-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--pink-deep);
    margin-bottom: 10px;
}

.password-hint {
    color: var(--text-light);
    margin-bottom: 30px;
}

.password-input-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

#password-input {
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid var(--pink-medium);
    border-radius: 50px;
    outline: none;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#password-input:focus {
    border-color: var(--pink-deep);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.2);
}

#password-submit {
    padding: 15px 25px;
    font-size: 1.5rem;
    background: var(--gradient-sunset);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#password-submit:hover {
    transform: scale(1.1);
}

.password-error {
    color: #e74c3c;
    font-weight: 500;
    min-height: 25px;
}

.password-clue {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 20px;
}

/* ========================================
   Hero Section
   ======================================== */
.section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fad0c4 50%, #ffecd2 75%, #fecfef 100%);
    background-size: 400% 400%;
    animation: heroGradient 12s ease infinite;
    text-align: center;
    overflow: hidden;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/priyanka-selfie.png') center/cover no-repeat;
    opacity: 0.08;
    transform: translateZ(0);
}

.hero-content {
    z-index: 1;
    padding: 20px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title .nepali {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--pink-deep);
    text-shadow: 0 0 40px rgba(233, 30, 99, 0.25), 2px 2px 4px rgba(0,0,0,0.1);
    animation: heroTitleGlow 4s ease-in-out infinite;
}

@keyframes heroTitleGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(233, 30, 99, 0.2), 2px 2px 4px rgba(0,0,0,0.1); }
    50% { text-shadow: 0 0 60px rgba(233, 30, 99, 0.35), 0 0 100px rgba(233, 30, 99, 0.1), 2px 2px 4px rgba(0,0,0,0.1); }
}

.hero-title .english {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-date {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.12);
    display: inline-block;
    margin-bottom: 50px;
}

.together-since {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.the-date {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--pink-deep);
    font-weight: 600;
    margin: 10px 0;
}

.counter {
    display: block;
    font-size: 1rem;
    color: var(--pink-dark);
}

.scroll-down {
    display: inline-block;
    color: var(--pink-dark);
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-down span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.scroll-down .arrow {
    font-size: 2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--pink-deep);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ========================================
   How We Met Section
   ======================================== */
#how-we-met {
    background: var(--white);
}

.meet-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .meet-story {
        grid-template-columns: 1fr;
    }
}

.meet-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.meet-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 77, 125, 0.35);
}

.meet-text .quote {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--pink-deep);
    margin-bottom: 20px;
}

.meet-text .context {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.meet-text .result {
    font-weight: 600;
    color: var(--pink-dark);
    font-size: 1.2rem;
}

/* ========================================
   Timeline — Glassmorphism Cards
   ======================================== */
#our-story {
    background: var(--pink-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-sunset);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
        padding-right: 20px;
    }
}

.timeline-item::before {
    content: '💕';
    position: absolute;
    top: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-item.left::before {
    right: -15px;
}

.timeline-item.right::before {
    left: -15px;
}

@media (max-width: 768px) {
    .timeline-item::before,
    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 5px;
        right: auto;
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 77, 125, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(255, 77, 125, 0.18);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--pink-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.chat-screenshot {
    margin: 15px 0;
}

.chat-screenshot img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.chat-screenshot img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Promise Section
   ======================================== */
#promise {
    background: var(--white);
}

.promise-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .promise-gallery {
        grid-template-columns: 1fr;
    }
}

.promise-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.promise-item.main {
    grid-row: span 2;
}

.promise-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promise-item:hover img {
    transform: scale(1.05);
}

.promise-item:hover {
    box-shadow: 0 12px 40px rgba(255, 77, 125, 0.3);
}

.promise-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 40px 20px 20px;
    font-size: 0.95rem;
}

.promise-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promise-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.promise-text .nepali-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--pink-deep);
}

/* ========================================
   Our Vibe / Spotify Section
   ======================================== */
#our-vibe {
    background: var(--gradient-romantic);
}

.spotify-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .spotify-section {
        grid-template-columns: 1fr;
    }
}

.spotify-screenshot img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.spotify-screenshot img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 77, 125, 0.35);
}

.spotify-embed {
    text-align: center;
}

.spotify-embed h3 {
    font-size: 1.8rem;
    color: var(--pink-deep);
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
}

.spotify-embed iframe {
    box-shadow: var(--shadow-medium);
    margin: 0 auto;
}

.songs-list h3 {
    font-size: 1.5rem;
    color: var(--pink-deep);
    margin-bottom: 20px;
}

.songs-list ul {
    list-style: none;
}

.songs-list li {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.songs-list li:hover {
    transform: translateX(10px);
}

/* ========================================
   Quiz Section
   ======================================== */
#quiz {
    background: var(--white);
}

#quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 228, 236, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(255, 77, 125, 0.12);
}

#quiz-question {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    min-height: 60px;
}

#quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--pink-medium);
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.quiz-option:hover {
    background: var(--pink-medium);
    color: white;
    transform: scale(1.02);
}

.quiz-option.correct {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.quiz-option.incorrect {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

#quiz-result {
    text-align: center;
    padding: 30px;
}

#quiz-result h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--pink-deep);
    margin-bottom: 15px;
}

#quiz-result p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

#quiz-progress {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Quiz Popup System
   ======================================== */
.quiz-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.quiz-popup-content {
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 77, 125, 0.5);
    animation: slideUp 0.4s ease;
}

.quiz-popup-message {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--pink-deep);
    margin-bottom: 15px;
}

.quiz-popup-content.warning {
    background: #fff9e6;
    border: 3px solid #ffc107;
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.4);
}

.quiz-popup-content.warning .quiz-popup-message {
    color: #f57c00;
}

.quiz-popup-content.warning .quiz-popup-close {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.quiz-popup-additional {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.quiz-popup-close {
    background: var(--gradient-sunset);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.quiz-popup-close:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.retry-message {
    font-size: 1.2rem;
    color: var(--pink-dark);
    font-weight: 500;
    animation: shake 0.5s ease;
}

/* ========================================
   Love Letter Section
   ======================================== */
#love-letter {
    background: var(--gradient-romantic);
    padding: 100px 0;
}

.letter-container {
    max-width: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

.letter {
    background: #fffef5;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.05),
        0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.letter:hover {
    transform: rotateX(0deg);
}

.letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-sunset);
}

.letter-greeting {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--pink-deep);
    margin-bottom: 25px;
}

.letter p {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-indent: 2em;
}

.letter-closing {
    text-align: right;
    margin-top: 40px;
    text-indent: 0 !important;
}

.letter-closing .signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--pink-deep);
}

.letter-ps {
    font-style: italic;
    color: var(--pink-dark);
    margin-top: 30px;
    text-indent: 0 !important;
}

/* ========================================
   Future Section
   ======================================== */
#future {
    background: var(--white);
}

.future-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .future-gallery {
        grid-template-columns: 1fr;
    }
}

.future-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 1;
    transition: box-shadow 0.5s ease;
}

.future-item:hover {
    box-shadow: 0 16px 48px rgba(255, 77, 125, 0.3);
}

.future-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.future-item:hover img {
    transform: scale(1.08);
}

.future-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 60px 20px 20px;
    font-size: 1.1rem;
    text-align: center;
}

.future-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.future-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* ========================================
   Closing Section
   ======================================== */
#closing {
    background: var(--gradient-sunset);
    min-height: auto;
    padding: 100px 0;
}

.closing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .closing-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.closing-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.closing-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.closing-text h2 {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
}

.nepali-big {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.english-big {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.heart-animation {
    font-size: 2.5rem;
    margin: 30px 0;
}

.heart-animation span {
    display: inline-block;
    animation: heartBeat 1s ease-in-out infinite;
}

.heart-animation span:nth-child(1) { animation-delay: 0s; }
.heart-animation span:nth-child(2) { animation-delay: 0.1s; }
.heart-animation span:nth-child(3) { animation-delay: 0.2s; }
.heart-animation span:nth-child(4) { animation-delay: 0.3s; }
.heart-animation span:nth-child(5) { animation-delay: 0.4s; }

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.closing-footer {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-top: 30px;
}

.closing-date {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   Popup
   ======================================== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.popup-content img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.popup-content p {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--pink-deep);
    margin-bottom: 20px;
}

.popup-content button {
    background: var(--gradient-sunset);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.popup-content button:hover {
    transform: scale(1.05);
}

/* ========================================
   Music Player
   ======================================== */
#music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

#music-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-sunset);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

#music-toggle:hover {
    transform: scale(1.1);
}

#music-toggle.playing {
    animation: pulse 1s ease-in-out infinite;
}

/* ========================================
   Section Transitions
   ======================================== */
.section {
    transition: background 0.3s ease;
}

/* Smooth image hover across site */
img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 480px) {
    .time-block {
        min-width: 70px;
        padding: 15px 20px;
    }
    
    .letter {
        padding: 30px 25px;
    }
    
    .timeline-content {
        padding: 20px;
    }

    .valentine-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .valentine-buttons {
        flex-direction: column;
        gap: 20px;
    }

    #yes-btn {
        padding: 18px 45px;
        font-size: 1.3rem;
    }

    .hero-date {
        padding: 20px 25px;
    }
}

/* ========================================
   Better Boyfriend Section
   ======================================== */

#better-boyfriend {
  background: linear-gradient(135deg, #fff5f7 0%, #ffe4ec 100%);
  padding: 80px 20px;
}

.boyfriend-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(255, 77, 125, 0.2);
}

.boyfriend-question {
  text-align: center;
  margin-bottom: 30px;
}

.question-text {
  font-size: 1.3rem;
  color: #ff4d7d;
  margin-bottom: 20px;
  font-weight: 500;
}

#boyfriend-input {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #ffccd5;
  border-radius: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.8);
}

#boyfriend-input:focus {
  outline: none;
  border-color: #ff4d7d;
  box-shadow: 0 0 15px rgba(255, 77, 125, 0.15);
}

#boyfriend-submit {
  background: linear-gradient(135deg, #ff4d7d 0%, #ff85a2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

#boyfriend-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 125, 0.4);
}

.success-message {
  color: #4caf50;
  font-weight: 500;
  margin-top: 15px;
  animation: fadeIn 0.5s ease;
}

.boyfriend-view-toggle {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px dashed #ffccd5;
}

#view-notes-btn {
  background: transparent;
  border: 2px solid #ff4d7d;
  color: #ff4d7d;
  padding: 10px 25px;
  font-size: 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

#view-notes-btn:hover {
  background: #ff4d7d;
  color: white;
}

#boyfriend-password-check {
  margin-top: 20px;
}

#boyfriend-password {
  padding: 12px 20px;
  border: 2px solid #ffccd5;
  border-radius: 25px;
  font-size: 1rem;
  margin-right: 10px;
  width: 200px;
}

#boyfriend-password-check button {
  background: #ff4d7d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

#boyfriend-password-check button:hover {
  background: #e91e63;
}

.error-message {
  color: #ff4d7d;
  font-size: 0.9rem;
  margin-top: 10px;
}

#boyfriend-notes {
  margin-top: 30px;
  padding: 25px;
  background: #fff9fb;
  border-radius: 15px;
  border: 2px solid #ffccd5;
}

#boyfriend-notes h3 {
  color: #ff4d7d;
  margin-bottom: 20px;
  text-align: center;
}

.note-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid #ff4d7d;
}

.note-item .note-date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 8px;
}

.note-item .note-text {
  color: #333;
  line-height: 1.6;
}

.empty-notes {
  text-align: center;
  color: #999;
  padding: 30px;
  font-style: italic;
}

.playlist-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.6;
    font-style: italic;
}

/* ========================================
   Our Diary Section
   ======================================== */

.diary-form-container {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(255, 77, 125, 0.1);
}

@media (max-width: 600px) {
    .diary-form-container {
        padding: 20px 16px;
    }
}

.diary-author-select {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.diary-author-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid rgba(255, 77, 125, 0.2);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.diary-author-btn.active {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: white;
}

#diary-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 77, 125, 0.15);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    box-sizing: border-box;
}

#diary-input::placeholder {
    color: #999;
}

.diary-mood-select {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.mood-label {
    color: var(--text-dark);
    font-size: 0.85rem;
}

.mood-btn {
    font-size: 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mood-btn:hover {
    transform: scale(1.2);
}

.mood-btn.active {
    border-color: var(--pink-dark);
    background: rgba(255, 77, 125, 0.15);
    transform: scale(1.2);
}

#diary-submit {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, var(--pink-dark), var(--pink-deep));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#diary-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.diary-entries-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.diary-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(255, 77, 125, 0.08);
    transition: transform 0.3s ease;
}

.diary-card:hover {
    transform: translateY(-3px);
}

.diary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.diary-author {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    color: var(--pink-dark);
}

.diary-mood {
    font-size: 1.5rem;
}

.diary-card-content {
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.diary-card-time {
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}
