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

:root {
    --midnight: #0f0612;
    --midnight-light: #1a0f1f;
    --midnight-lighter: #2d1a35;
    --love-red: #d4495f;
    --love-pink: #ff6b9d;
    --love-light: #ffb3d9;
    --love-dark: #9d1e3d;
    --rose-gold: #b76d6d;
    --blush: #f5e6e8;
    --cream: #faf8f5;
    --white: #f5f5f5;
    --text-dark: #2a2a2a;
    --text-light: #e8d5e8;
    --border: rgba(212, 73, 95, 0.15);
    --glass: rgba(212, 73, 95, 0.08);
    --gold-accent: #c9a980;
    --violet: #9d4edd;
    --violet-light: #c77dff;
}

/* Theme Variables */
body[data-theme="nightsky"] {
    --midnight: #0a0e27;
    --midnight-light: #1a1f3a;
    --midnight-lighter: #2d3250;
    --love-red: #5b9bd5;
    --love-pink: #7fb3ff;
    --love-light: #b4d4ff;
    --text-light: #d4e4ff;
}

body[data-theme="minimal"] {
    --midnight: #ffffff;
    --midnight-light: #f8f9fa;
    --midnight-lighter: #e9ecef;
    --love-red: #2d3250;
    --love-pink: #676f9d;
    --love-light: #9fa4c4;
    --text-light: #2d3250;
    --text-dark: #2d3250;
}

body[data-theme="pastel"] {
    --midnight: #fff0f6;
    --midnight-light: #ffe8f0;
    --midnight-lighter: #ffd4e5;
    --love-red: #ff69b4;
    --love-pink: #ffb3d9;
    --love-light: #ffe0f0;
    --text-light: #8b4789;
    --text-dark: #8b4789;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 50%, var(--midnight) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.stars::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.3;
    box-shadow: 
        60px 40px 0 var(--white), 120px 120px 0 var(--white), 180px 60px 0 var(--white),
        240px 110px 0 var(--white), 300px 50px 0 var(--white), 360px 160px 0 var(--white),
        420px 90px 0 var(--white), 480px 40px 0 var(--white), 540px 170px 0 var(--white),
        600px 90px 0 var(--white), 660px 60px 0 var(--white), 720px 170px 0 var(--white),
        780px 100px 0 var(--white), 840px 60px 0 var(--white), 900px 160px 0 var(--white),
        960px 110px 0 var(--white), 1020px 70px 0 var(--white), 1080px 150px 0 var(--white);
    animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    visibility: visible;
    width: 100%;
}

.page.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

/* ===== LANDING PAGE ===== */
.landing-wrapper {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease;
}

.landing-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.landing-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 50px;
    opacity: 0.9;
}

.question-section {
    animation: slideUp 1s ease;
}

.question {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 500;
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-yes, .btn-no {
    padding: 16px 48px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-yes {
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    color: var(--white);
    box-shadow: 0 10px 35px rgba(212, 73, 95, 0.4);
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.btn-yes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: 0;
}

.btn-yes:hover::before {
    left: 100%;
}

.btn-yes:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(212, 73, 95, 0.5);
}

.btn-no {
    background: rgba(212, 73, 95, 0.15);
    color: var(--love-pink);
    border: 2px solid var(--love-pink);
    min-width: 150px;
    backdrop-filter: blur(10px);
}

.btn-no:hover {
    background: rgba(212, 73, 95, 0.25);
    border-color: var(--love-red);
    color: var(--love-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 73, 95, 0.3);
}

/* Love Confession Message */
.love-confession {
    font-size: 1.5rem;
    color: var(--love-pink);
    margin-top: 30px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(255, 107, 157, 0.5);
}

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

/* ===== MAIN CONTENT PAGE ===== */
.top-nav {
    background: rgba(18, 23, 46, 0.8);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.top-nav.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--love-red);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover {
    color: var(--love-red);
    border-bottom-color: var(--love-red);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.theme-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(232, 39, 75, 0.3);
}

.theme-btn.active {
    background: var(--love-red);
    box-shadow: 0 0 20px rgba(232, 39, 75, 0.5);
    transform: scale(1.2);
}

.content-wrapper {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Universal section centering */
.content-wrapper > section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

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

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

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

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    text-align: center;
    background: rgba(212, 73, 95, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 20px;
    padding: 50px 30px;
    animation: fadeInUp 0.8s ease;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.countdown-section:hover {
    backdrop-filter: blur(15px);
    background: rgba(212, 73, 95, 0.08);
    box-shadow: 0 15px 50px rgba(212, 73, 95, 0.15);
}

.countdown-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 40px;
    position: relative;
    text-align: center;
    font-weight: 700;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 14px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.countdown-item:hover {
    transform: translateY(-3px);
    background: rgba(212, 73, 95, 0.12);
    box-shadow: 0 8px 25px rgba(212, 73, 95, 0.15);
    border-color: var(--love-red);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--love-red);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(212, 73, 95, 0.3);
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ===== LETTER SECTION ===== */
.letter-section {
    animation: fadeInUp 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px 52px;
}

.letter-card {
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.08), rgba(212, 73, 95, 0.04));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.letter-card:hover {
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.1), rgba(212, 73, 95, 0.06));
    box-shadow: 0 15px 50px rgba(212, 73, 95, 0.2);
    border-color: rgba(212, 73, 95, 0.25);
}

.letter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--love-red), transparent);
}

.letter-header {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--love-red);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease;
}

.letter-card h2 {
    font-size: 2rem;
    color: var(--love-red);
    margin-bottom: 24px;
}

.letter-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.95;
    text-align: center;
}

.letter-signature {
    font-size: 1rem;
    color: var(--love-red);
    text-align: center;
    margin-top: 30px;
    font-weight: 500;
    line-height: 1.8;
}

/* Letter banner and glass card refinements */
.section-title-container {
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.15) 0%, rgba(255, 107, 157, 0.3) 50%, rgba(255, 107, 157, 0.15) 100%);
    padding: 24px 20px;
    margin: 36px 20px 4px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: #ff6b9d;
    margin: 0 0 6px 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-subtitle {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-style: italic;
}

.letter-paper {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.03);
    margin: 2px auto 48px auto !important;
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.letter-heading {
    text-align: center;
    margin-bottom: 34px;
}

.letter-greeting-text {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #ff6b9d;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.letter-paragraph {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-align: justify;
    text-indent: 1.5rem;
    color: #f5f5f5;
    margin-bottom: 22px;
    font-weight: 400;
}

.letter-signoff {
    margin-top: 40px;
    margin-bottom: 0;
    text-align: right;
}

.letter-signoff-line {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #ff6b9d;
    margin: 0 0 5px 0;
    font-weight: 400;
}

.letter-signoff-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: #f0f0f0;
    margin: 0;
    font-weight: 400;
}

.letter-corner-icon {
    position: absolute;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 182, 193, 0.4));
}

.letter-corner-icon.top-left { top: 15px; left: 20px; }
.letter-corner-icon.top-right { top: 15px; right: 20px; }
.letter-corner-icon.bottom-left { bottom: 15px; left: 20px; }
.letter-corner-icon.bottom-right { bottom: 15px; right: 20px; }

/* ===== PREMIUM LETTER STYLING ===== */
.premium-letter {
    background: linear-gradient(135deg, rgba(245, 230, 232, 0.08), rgba(212, 73, 95, 0.04)) !important;
    border: 2px solid rgba(212, 73, 95, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    padding: 60px 50px !important;
    border-radius: 16px;
    position: relative;
    animation: letterReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes letterReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.premium-letter::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 73, 95, 0.05), transparent 50%);
    pointer-events: none;
    border-radius: 16px;
}

.letter-greeting {
    font-family: 'Georgia', 'Garamond', serif !important;
    font-size: 2.8rem !important;
    color: var(--love-pink) !important;
    margin-bottom: 40px !important;
    font-weight: 400;
    font-style: italic;
    animation: fadeInDown 1s ease 0.2s both;
    letter-spacing: -1px;
}

.letter-content {
    animation: fadeIn 1s ease 0.4s both;
}

.letter-paragraph {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(232, 213, 232, 0.95);
    margin-bottom: 28px;
    text-align: justify;
    text-indent: 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.letter-paragraph:nth-child(1) { animation-delay: 0.5s; }
.letter-paragraph:nth-child(2) { animation-delay: 0.7s; }
.letter-paragraph:nth-child(3) { animation-delay: 0.9s; }
.letter-paragraph:nth-child(4) { animation-delay: 1.1s; }
.letter-paragraph:nth-child(5) { animation-delay: 1.3s; }
.letter-paragraph:nth-child(6) { animation-delay: 1.5s; }

.letter-paragraph:last-child {
    text-indent: 0;
    text-align: center;
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 73, 95, 0.3);
}

@media (max-width: 768px) {
    .premium-letter {
        padding: 40px 30px !important;
    }
    
    .letter-greeting {
        font-size: 2.2rem !important;
    }
    
    .letter-paragraph {
        text-indent: 1rem;
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    animation: fadeInUp 1.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 50px;
    position: relative;
}

.photo-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    justify-items: center;
}

.timeline-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 350px;
    cursor: pointer;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.15), rgba(212, 73, 95, 0.05));
    border: 2px dashed var(--love-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.timeline-item:hover .photo-placeholder {
    border-style: solid;
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.2), rgba(212, 73, 95, 0.08));
}

.timeline-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(212, 73, 95, 0.4);
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.25);
}

.timeline-item:hover .timeline-photo {
    box-shadow: 0 16px 48px rgba(212, 73, 95, 0.35);
    transform: scale(1.03);
    border-color: var(--love-red);
}

.timeline-caption {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== MEMORIES CAROUSEL ===== */
.memories-carousel-section {
    animation: fadeInUp 1.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.memories-carousel-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 50px;
    position: relative;
}

.memories-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.memory-card {
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.memory-card:hover {
    background: rgba(212, 73, 95, 0.15);
    border-color: var(--love-red);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(212, 73, 95, 0.2);
    backdrop-filter: blur(15px);
}

.memory-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--love-red);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.memory-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ===== PLAYLIST SECTION ===== */
.playlist-section {
    text-align: center;
    animation: fadeInUp 1.4s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.playlist-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

.playlist-container {
    background: rgba(212, 73, 95, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.playlist-container:hover {
    backdrop-filter: blur(15px);
    background: rgba(212, 73, 95, 0.08);
    box-shadow: 0 15px 50px rgba(212, 73, 95, 0.15);
}

.playlist-note {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.playlist-container iframe {
    max-width: 100%;
    border-radius: 12px;
}

.songs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.song-item {
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.song-item:hover {
    background: rgba(212, 73, 95, 0.12);
    box-shadow: 0 12px 32px rgba(212, 73, 95, 0.2);
    transform: translateY(-4px);
    border-color: var(--love-red);
}

.song-item h3 {
    font-size: 1.3rem;
    color: var(--love-red);
    margin-bottom: 8px;
    font-weight: 700;
}

.song-artist {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 16px;
}

.song-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.song-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.song-thumbnail:hover img {
    transform: scale(1.08);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(212, 73, 95, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(212, 73, 95, 0.5);
    backdrop-filter: blur(5px);
}

.song-thumbnail:hover .play-button {
    background: var(--love-red);
    box-shadow: 0 12px 35px rgba(212, 73, 95, 0.7);
    transform: translate(-50%, -50%) scale(1.15);
}

.song-item iframe {
    border-radius: 8px;
    border: 1px solid rgba(212, 73, 95, 0.1);
}

/* ===== DANCE SECTION ===== */
.dance-section {
    animation: fadeInUp 1.7s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.dance-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

.dance-content {
    background: rgba(212, 73, 95, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.dance-content:hover {
    backdrop-filter: blur(15px);
    background: rgba(212, 73, 95, 0.08);
    box-shadow: 0 15px 50px rgba(212, 73, 95, 0.15);
}

.dance-content .video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.2);
}

.dance-content .video-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ===== REASONS SECTION ===== */
.reasons-section {
    animation: fadeInUp 1.5s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reasons-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 30px;
    position: relative;
    text-align: center;
    font-weight: 700;
}

.btn-reveal {
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 30px;
    box-shadow: 0 10px 35px rgba(212, 73, 95, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reveal:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(212, 73, 95, 0.5);
}

.reasons-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reasons-list.hidden {
    max-height: 0;
}

.reasons-list:not(.hidden) {
    max-height: 1500px;
    padding: 30px;
}

.reason {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
    align-items: flex-start;
}

.reason:last-child {
    margin-bottom: 0;
}

.reason-number {
    color: var(--love-red);
    font-weight: 700;
    font-size: 1rem;
    min-width: 40px;
}

.reason p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ===== GIFT SECTION ===== */
.gift-section {
    text-align: center;
    animation: fadeInUp 1.6s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

.btn-gift {
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    color: var(--white);
    border: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(212, 73, 95, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}

.btn-gift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 50px rgba(212, 73, 95, 0.55);
}

.btn-gift:active {
    transform: scale(0.98);
}

.gift-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.gift-reveal.hidden {
    max-height: 0;
    opacity: 0;
}

.gift-reveal:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

.gift-message {
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.08), rgba(212, 73, 95, 0.04));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 14px;
    padding: 40px;
    animation: slideUp 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.gift-message h3 {
    font-size: 1.5rem;
    color: var(--rose-gold);
    margin-bottom: 16px;
}

.gift-message p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.gift-heart {
    color: var(--rose-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== FAVORITES SECTION ===== */
.favorites-section {
    animation: fadeInUp 1.7s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.favorites-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 16px;
    position: relative;
    font-weight: 700;
}

.favorites-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.favorite-card {
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.favorite-card:hover {
    background: rgba(212, 73, 95, 0.15);
    border-color: var(--love-red);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(212, 73, 95, 0.2);
    backdrop-filter: blur(15px);
}

.favorite-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.favorite-card:hover .favorite-icon {
    transform: scale(1.15) rotate(5deg);
}

.favorite-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--love-red);
    margin-bottom: 8px;
}

.favorite-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== 100 LANGUAGES SECTION ===== */
.languages-section {
    animation: fadeInUp 1.75s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.languages-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 16px;
    position: relative;
    font-weight: 700;
}

.languages-intro {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 40px;
    max-width: 600px;
}

.languages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.language-item {
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.08), rgba(212, 73, 95, 0.04));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease;
    animation-fill-mode: both;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.language-item:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.15), rgba(212, 73, 95, 0.08));
    border-color: var(--love-red);
    box-shadow: 0 12px 32px rgba(212, 73, 95, 0.2);
    backdrop-filter: blur(15px);
}

/* Staggered animation for language items */
.language-item:nth-child(1) { animation-delay: 0.05s; }
.language-item:nth-child(2) { animation-delay: 0.1s; }
.language-item:nth-child(3) { animation-delay: 0.15s; }
.language-item:nth-child(4) { animation-delay: 0.2s; }
.language-item:nth-child(5) { animation-delay: 0.25s; }
.language-item:nth-child(6) { animation-delay: 0.3s; }
.language-item:nth-child(7) { animation-delay: 0.35s; }
.language-item:nth-child(8) { animation-delay: 0.4s; }
.language-item:nth-child(9) { animation-delay: 0.45s; }
.language-item:nth-child(10) { animation-delay: 0.5s; }

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

/* ===== VIRTUAL ROSE SECTION ===== */
.rose-section {
    animation: fadeInUp 1.8s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.rose-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 16px;
    position: relative;
    font-weight: 700;
}

.rose-intro {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 40px;
    max-width: 600px;
}

.rose-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.btn-rose {
    background: rgba(212, 73, 95, 0.1);
    border: 2px solid rgba(212, 73, 95, 0.2);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.btn-rose:hover {
    background: rgba(212, 73, 95, 0.15);
    border-color: var(--love-red);
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.25);
    backdrop-filter: blur(15px);
}

.rose-icon {
    font-size: 5rem;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 15px rgba(212, 73, 95, 0.3));
}

.btn-rose:hover .rose-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 10px 25px rgba(212, 73, 95, 0.5));
}

.btn-rose:active .rose-icon {
    transform: scale(1.25);
}

.rose-message {
    background: linear-gradient(135deg, rgba(212, 73, 95, 0.1), rgba(212, 73, 95, 0.05));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.rose-message.hidden {
    display: none;
}

.rose-message p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
}

/* ===== SECRET PASSWORD SECTION ===== */
.secret-section {
    animation: fadeInUp 1.85s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.secret-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 16px;
    position: relative;
    font-weight: 700;
}

.secret-intro {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 30px;
    max-width: 600px;
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.password-input {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    background: rgba(212, 73, 95, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 73, 95, 0.3);
    border-radius: 50px;
    color: var(--white);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.password-input:focus {
    outline: none;
    border-color: var(--love-red);
    background: rgba(212, 73, 95, 0.15);
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.3);
    backdrop-filter: blur(15px);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-unlock {
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 35px rgba(212, 73, 95, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-unlock:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 39, 75, 0.45);
}

.btn-unlock:active {
    transform: translateY(-1px);
}

.password-error {
    color: var(--love-red);
    font-size: 0.95rem;
    font-weight: 600;
}

.password-error.hidden {
    display: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.3s ease;
}

.secret-reveal {
    max-width: 800px;
    width: 100%;
    margin-top: 40px;
    transition: all 0.5s ease;
}

.secret-reveal.hidden {
    display: none;
}

.secret-content {
    background: linear-gradient(135deg, rgba(232, 39, 75, 0.12), rgba(255, 107, 157, 0.08));
    border: 2px solid var(--love-red);
    border-radius: 16px;
    padding: 50px;
    animation: fadeIn 0.8s ease;
}

.secret-content h3 {
    font-size: 2rem;
    color: var(--love-red);
    margin-bottom: 30px;
}

.secret-poem {
    margin-bottom: 40px;
}

.secret-poem p {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.9;
    margin: 8px 0;
}

.secret-video {
    margin-top: 40px;
}

.video-label {
    font-size: 1.3rem;
    color: var(--love-pink);
    font-weight: 700;
    margin-bottom: 20px;
}

.video-placeholder {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed var(--love-pink);
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
}

.video-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 8px 0;
}

.video-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.secret-video iframe {
    border-radius: 12px;
    max-width: 100%;
}

/* ===== LOVE MAP SECTION ===== */
.lovemap-section {
    animation: fadeInUp 1.9s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.lovemap-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 16px;
    position: relative;
}

.lovemap-intro {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 40px;
    max-width: 600px;
}

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

.map-visual {
    position: relative;
    background: linear-gradient(135deg, rgba(232, 39, 75, 0.05), rgba(255, 107, 157, 0.03));
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 20px;
    min-height: 500px;
    overflow: visible;
}

.map-svg {
    width: 100%;
    height: auto;
    min-height: 400px;
}

.map-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker:hover {
    r: 15;
    filter: drop-shadow(0 0 10px var(--love-red));
}

.location-pin {
    position: absolute;
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    border: 3px solid var(--white);
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 39, 75, 0.3);
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.location-pin:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(232, 39, 75, 0.5);
}

.pin-icon {
    font-size: 1.5rem;
}

.pin-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 4px;
}

.location-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(15, 6, 18, 0.95), rgba(26, 15, 31, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 73, 95, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(212, 73, 95, 0.1);
    animation: slideIn 0.4s ease;
}

.location-details.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.close-location {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--love-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 73, 95, 0.3);
}

.close-location:hover {
    background: var(--love-dark);
    transform: rotate(90deg);
    box-shadow: 0 8px 25px rgba(212, 73, 95, 0.5);
}

.location-content h3 {
    font-size: 1.8rem;
    color: var(--love-red);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
}

.location-photo {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212, 73, 95, 0.2);
}

.photo-placeholder {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed var(--love-pink);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.location-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.location-story {
    text-align: left;
}

.location-story p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    opacity: 0.95;
}

.location-story strong {
    color: var(--love-pink);
    font-weight: 700;
}

.location-note {
    font-style: italic;
    border-left: 3px solid var(--love-red);
    padding-left: 16px;
    margin-top: 20px;
    color: var(--text-light);
}

/* ===== FINAL SURPRISE ===== */
.final-surprise {
    text-align: center;
    animation: fadeInUp 1.8s ease;
    padding-bottom: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.surprise-card {
    background: linear-gradient(135deg, rgba(232, 39, 75, 0.12), rgba(232, 39, 75, 0.04));
    border: 2px solid var(--love-red);
    border-radius: 16px;
    padding: 50px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.surprise-card h2 {
    font-size: 2rem;
    color: var(--love-red);
    margin-bottom: 24px;
    position: relative;
}

.surprise-ending {
    color: var(--love-red);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .landing-subtitle {
        font-size: 1.1rem;
    }

    .button-container {
        gap: 12px;
    }

    .btn-yes, .btn-no {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .nav-links {
        gap: 16px;
        font-size: 0.85rem;
    }

    .theme-switcher {
        width: 100%;
        justify-content: center;
    }

    .top-nav {
        flex-direction: column;
        text-align: center;
    }

    .letter-card {
        padding: 30px;
    }

    .letter-paper {
        padding: 34px;
        margin: 2px auto 28px auto !important;
    }

    .section-title-container {
        margin: 28px 14px 2px 14px;
        padding: 20px 16px;
    }

    .content-wrapper {
        padding: 40px 16px;
        gap: 50px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .photo-timeline {
        grid-template-columns: 1fr;
    }

    .memories-carousel {
        grid-template-columns: 1fr;
    }

    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 16px;
    }

    .language-item {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    .rose-section h2,
    .secret-section h2 {
        font-size: 2rem;
    }

    .rose-icon {
        font-size: 4rem;
    }

    .rose-message {
        padding: 24px;
    }

    .secret-content {
        padding: 30px;
    }

    .secret-poem p {
        font-size: 1rem;
    }

    .lovemap-section h2 {
        font-size: 2rem;
    }

    .map-visual {
        padding: 30px 15px;
        min-height: 400px;
    }

    .location-pin {
        padding: 10px;
    }

    .pin-icon {
        font-size: 1.2rem;
    }

    .pin-label {
        font-size: 0.65rem;
    }

    .location-details {
        padding: 30px;
        width: 95%;
    }

    .countdown-section h2,
    .letter-card h2,
    .timeline-section h2,
    .memories-carousel-section h2,
    .playlist-section h2,
    .reasons-section h2,
    .gift-section h2,
    .favorites-section h2,
    .languages-section h2,
    .lovemap-section h2 {
        font-size: 1.8rem;
    }

    .btn-reveal,
    .btn-gift {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .surprise-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .button-container {
        flex-direction: column;
        width: 100%;
    }

    .btn-yes, .btn-no {
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    .letter-card {
        padding: 20px;
    }

    .content-wrapper {
        padding: 30px 12px;
        gap: 40px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .countdown-item {
        padding: 12px;
    }

    .rose-icon {
        font-size: 3.5rem;
    }

    .rose-message {
        padding: 20px;
    }

    .rose-message p {
        font-size: 1rem;
    }

    .secret-content {
        padding: 24px;
    }

    .secret-poem p {
        font-size: 0.95rem;
    }

    .password-input {
        font-size: 1rem;
        padding: 14px 20px;
    }

    .btn-unlock {
        font-size: 1rem;
        padding: 12px 32px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-section h2,
    .letter-card h2,
    .timeline-section h2,
    .memories-carousel-section h2,
    .playlist-section h2,
    .reasons-section h2,
    .gift-section h2,
    .favorites-section h2,
    .languages-section h2,
    .rose-section h2,
    .secret-section h2,
    .lovemap-section h2 {
        font-size: 1.5rem;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .languages-container {
        padding: 0 12px;
    }

    .map-visual {
        padding: 20px 10px;
        min-height: 350px;
    }

    .location-pin {
        padding: 8px;
    }

    .pin-label {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .location-details {
        padding: 24px;
        width: 95%;
        max-height: 90vh;
    }

    .location-content h3 {
        font-size: 1.4rem;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .gift-message {
        padding: 20px;
    }
}

/* ===== PAGE NAVIGATION ===== */
.page-nav-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 20px;
}

.btn-next-page,
.btn-back-page {
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    color: var(--white);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(232, 39, 75, 0.35);
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-next-page:hover,
.btn-back-page:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 39, 75, 0.5);
}

/* ===== ROSE RAIN ANIMATION ===== */
@keyframes falling-rose {
    0% {
        top: -50px;
        opacity: 1;
        transform: rotateZ(0deg) translateX(0);
    }
    85% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: rotateZ(360deg) translateX(50px);
    }
}

.rose-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-rose {
    position: absolute;
    font-size: 2rem;
    animation: falling-rose linear forwards;
    will-change: transform, opacity;
}

.birthday-celebration {
    background: linear-gradient(135deg, rgba(233, 212, 96, 0.1), rgba(217, 112, 145, 0.1)) !important;
}

/* Celebration glow effect on countdown */
.countdown-timer.celebrating {
    animation: glow-pulse 0.5s ease-out;
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 0 10px #d4495f, 0 0 20px #d4495f;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 30px #d4495f, 0 0 50px #d4495f, 0 0 70px #e9d460;
        transform: scale(1.05);
    }
    100% {
        text-shadow: 0 0 20px #d4495f;
        transform: scale(1);
    }
}

/* ===== IMAGE LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 73, 95, 0.3);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    font-weight: 300;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 73, 95, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.3);
}

.lightbox-close:hover {
    background: var(--love-red);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 73, 95, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    padding: 12px 24px;
    background: rgba(212, 73, 95, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    max-width: 80%;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.lightbox.active .lightbox-caption {
    opacity: 1;
}

/* Clickable images styling */
.timeline-photo,
.location-photo img {
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-photo:hover,
.location-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(212, 73, 95, 0.4);
    filter: brightness(1.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-caption {
        bottom: 20px;
        font-size: 0.95rem;
        padding: 10px 20px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        max-width: 100%;
        max-height: 80%;
        border-radius: 0;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-caption {
        bottom: 15px;
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* ===== NEW FEATURES ===== */

/* ===== SNOWFALL EFFECT ===== */
.snowfall {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1.5em;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    to {
        transform: translateY(100vh);
    }
}

/* ===== CONFETTI ===== */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b9d;
    animation: confetti-fall 3s ease-in forwards;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== FIREWORKS ===== */
.fireworks {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    to {
        transform: translate(var(--tx), var(--ty)));
        opacity: 0;
    }
}

/* ===== CELEBRATION MODE ===== */
body.celebration-mode {
    --midnight: #0a0815;
    --midnight-light: #1a0f2e;
    --midnight-lighter: #2d1a40;
    --love-red: #ff1744;
    --love-pink: #ff6b9d;
    background: linear-gradient(135deg, #0a0815 0%, #1a0f2e 50%, #2d1a40 100%);
    animation: pulse-background 2s ease-in-out infinite;
}

@keyframes pulse-background {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* ===== GIFT BOX ===== */
.gift-box-section {
    animation: fadeInUp 1.8s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.gift-box-section h2 {
    font-size: 2.5rem;
    color: var(--love-red);
    margin-bottom: 40px;
    font-weight: 700;
}

.gift-box-container {
    perspective: 1000px;
    cursor: pointer;
}

.gift-box {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff6b9d, #d4495f);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(212, 73, 95, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.gift-box:hover {
    transform: rotateY(10deg) rotateX(-10deg) scale(1.05);
    box-shadow: 0 30px 80px rgba(212, 73, 95, 0.6);
}

.gift-box::before {
    content: '🎁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    animation: gift-bounce 2s ease-in-out infinite;
}

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

.gift-box.opened {
    animation: open-box 0.8s ease;
    background: linear-gradient(135deg, #ffb3d9, #ff8ab3);
}

@keyframes open-box {
    0% { transform: scale(1) rotateY(0); }
    50% { transform: scale(1.1) rotateY(45deg); }
    100% { transform: scale(0.9) rotateY(0); }
}

.coupon {
    display: none;
    background: rgba(212, 73, 95, 0.06);
    backdrop-filter: blur(12px);
    border: 2px dashed var(--love-pink);
    border-radius: 15px;
    padding: 40px;
    max-width: 400px;
    margin: 30px auto 0;
    animation: coupon-reveal 0.8s ease forwards;
}

.coupon.revealed {
    display: block;
}

@keyframes coupon-reveal {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.coupon h3 {
    color: var(--love-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coupon-text {
    color: var(--text-light);
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
}

.coupon-code {
    background: var(--love-red);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* ===== BUCKET LIST ===== */
.bucket-list-section {
    animation: fadeInUp 1.9s ease;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

.bucket-list-section h2 {
    font-size: 1.8rem;
    color: var(--love-red);
    margin-bottom: 30px;
    font-weight: 700;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .bucket-list-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bucket-list-section h2 {
        font-size: 1.3rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .bucket-list-section h2 {
        font-size: 1.1rem;
    }
}

.bucket-list-section h3 {
    color: var(--love-pink);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.bucket-list-intro {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 30px;
    max-width: 600px;
}

.bucket-input-container {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.12), rgba(212, 73, 95, 0.08));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(157, 78, 221, 0.25);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.bucket-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bucket-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--violet-light);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.25);
}

.bucket-input::placeholder {
    color: rgba(232, 213, 232, 0.5);
}

.bucket-add-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--violet), var(--love-pink));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 73, 95, 0.3);
}

.bucket-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.35);
}

.bucket-add-btn:active {
    transform: translateY(0);
}

.bucket-list-items {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bucket-item {
    position: relative;
    background: linear-gradient(150deg, rgba(157, 78, 221, 0.16), rgba(212, 73, 95, 0.12));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: slideIn 0.4s ease;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(157, 78, 221, 0.2);
    overflow: visible;
}

.bucket-item:hover {
    background: linear-gradient(150deg, rgba(157, 78, 221, 0.22), rgba(212, 73, 95, 0.18));
    border-color: var(--violet-light);
    box-shadow: 0 12px 28px rgba(157, 78, 221, 0.3);
    transform: translateY(-2px);
}

.bucket-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bucket-item-text {
    color: var(--text-light);
    font-size: 1.1rem;
    flex: 1;
    line-height: 1.5;
    word-break: break-word;
}

.bucket-item-delete {
    background: rgba(212, 73, 95, 0.3);
    color: var(--love-pink);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.bucket-item-delete:hover {
    background: rgba(212, 73, 95, 0.6);
    color: white;
}

.bucket-list-empty {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    padding: 30px;
    text-align: center;
}

.bucket-sync-hint {
    margin-top: 14px;
    color: var(--love-pink);
    font-size: 0.95rem;
    opacity: 0.9;
    letter-spacing: 0.4px;
}

/* ===== MUSIC PLAYER ===== */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

/* ===== FOOTER FOREVER TEXT ===== */
.footer-text-section {
    text-align: center;
    padding: 40px 20px 60px;
    margin-top: 40px;
}

.footer-forever-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer-forever-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-forever-text {
        font-size: 0.9rem;
    }
}

.music-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--love-red), var(--love-pink));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(212, 73, 95, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

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

.music-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 73, 95, 0.6);
}

.music-button.playing {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(212, 73, 95, 0.4);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(212, 73, 95, 0.8), 0 0 30px rgba(212, 73, 95, 0.4);
    }
}

.audio-player {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(212, 73, 95, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    gap: 10px;
    animation: slideUp 0.4s ease;
}

.audio-player.visible {
    display: flex;
}

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

.audio-player audio {
    width: 200px;
}

.player-label {
    color: var(--love-pink);
    font-size: 0.9rem;
    text-align: center;
    font-weight: 700;
}

/* ===== MIDNIGHT VIOLET THEME ===== */
body[data-theme="midnight-violet"] {
    --midnight: #0a0815;
    --midnight-light: #1a0f2e;
    --midnight-lighter: #2d1a40;
    --love-red: #9d4edd;
    --love-pink: #c77dff;
    --love-light: #e0aaff;
    --text-light: #e0aaff;
}

/* ===== RESPONSIVE FOR MOBILE ===== */
@media (max-width: 768px) {
    .gift-box {
        width: 120px;
        height: 120px;
    }

    .gift-box::before {
        font-size: 50px;
    }

    .bucket-input-container {
        flex-direction: column;
    }

    .bucket-input {
        width: 100%;
        min-width: auto;
    }

    .bucket-add-btn {
        width: 100%;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
    }

    .music-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .audio-player {
        bottom: 80px;
        right: 20px;
    }

    .audio-player audio {
        width: 150px;
    }

    .theme-switcher {
        gap: 5px;
    }

    .theme-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gift-box {
        width: 100px;
        height: 100px;
    }

    .gift-box::before {
        font-size: 40px;
    }

    .coupon {
        padding: 20px;
        margin: 20px 10px 0;
    }

    .bucket-list-section h2 {
        font-size: 1.8rem;
    }

    .bucket-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .bucket-item-delete {
        width: 100%;
    }
}
/* ===== FIREBASE SYNC INDICATOR ===== */
.firebase-sync-status {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(212, 73, 95, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 73, 95, 0.2);
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 0.85rem;
    color: var(--love-pink);
    display: none;
    z-index: 99;
    animation: slideUp 0.3s ease;
}

.firebase-sync-status.visible {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sync-indicator {
    width: 8px;
    height: 8px;
    background: var(--love-pink);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.sync-status-text {
    font-size: 0.8rem;
}

/* ===== INTERACTIVE FAVORITES MODAL ===== */
.interactive-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.interactive-card::before {
    content: '✨ Click to reveal ✨';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(212, 73, 95, 0.9), transparent);
    color: white;
    padding: 8px;
    font-size: 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.interactive-card:hover::before {
    transform: translateY(0);
}

.favorites-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.favorites-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 6, 18, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.favorites-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 15, 31, 0.98), rgba(45, 26, 53, 0.98));
    border: 2px solid rgba(212, 73, 95, 0.3);
    border-radius: 24px;
    padding: 40px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 73, 95, 0.2);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
}

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

.favorites-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(212, 73, 95, 0.2);
    border: 1px solid var(--love-pink);
    color: var(--love-pink);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.favorites-modal-close:hover {
    background: var(--love-red);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.favorites-modal-inner {
    text-align: center;
    color: var(--text-light);
}

.favorite-reveal-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    display: block;
    animation: imagePopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.favorite-reveal-title {
    font-size: 2.5rem;
    color: var(--love-pink);
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInDown 0.5s ease;
}

.favorite-reveal-text {
    font-size: 1.8rem;
    color: var(--love-light);
    font-family: 'Georgia', serif;
    font-style: italic;
    margin: 30px 0;
    line-height: 1.6;
    animation: fadeIn 0.7s ease 0.2s both;
}

.favorite-reveal-location {
    font-size: 2rem;
    color: white;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeIn 0.7s ease 0.3s both;
}

.favorite-reveal-location::before {
    content: '📍';
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

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

.favorite-reveal-video {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.6s ease 0.2s both;
}

.favorite-reveal-video iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .favorites-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .favorite-reveal-title {
        font-size: 2rem;
    }
    
    .favorite-reveal-text {
        font-size: 1.4rem;
    }
    
    .favorite-reveal-video iframe {
        height: 300px;
    }
}