/* =========================================
   Sweetu's Birthday App - Styles
   Theme: Dark + Pink + Cream (Girly Vibe)
   ========================================= */

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a2e;
    --bg-card-lighter: #16213e;
    --purple-deep: #4a1942;
    --purple-mid: #7b2869;
    --purple-light: #c74b8f;
    --pink-hot: #ff2e93;
    --pink-soft: #ff6b9d;
    --pink-pale: #ffc0d3;
    --cream: #fff5f5;
    --cream-dark: #f0e6e6;
    --gold: #ffd700;
    --gold-soft: #f4c430;
    --text-light: #ffffff;
    --text-muted: #b8b8d1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: default;
    padding-bottom: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--purple-mid), var(--pink-hot));
    border-radius: 10px;
}

/* =========================================
   Bottom Tab Navigation
   ========================================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1rem;
    z-index: 1000;
    border-top: 1px solid rgba(255, 46, 147, 0.3);
    gap: 2rem;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
}

.nav-tab i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-tab span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-tab:hover {
    color: var(--pink-soft);
    background: rgba(255, 46, 147, 0.1);
}

.nav-tab.active {
    color: var(--pink-hot);
    background: rgba(255, 46, 147, 0.15);
}

.nav-tab.active i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 46, 147, 0.5);
}

/* =========================================
   Section Containers
   ========================================= */
.app-section {
    display: none;
    min-height: calc(100vh - 80px);
}

.app-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Sparkle Cursor Trail
   ========================================= */
.sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: sparkleAnim 1s ease-out forwards;
}

@keyframes sparkleAnim {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}

/* =========================================
   Floating Particles Background
   ========================================= */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
    }

    50% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* =========================================
   Stars Background
   ========================================= */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* =========================================
   Confetti
   ========================================= */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.confetti {
    position: absolute;
    top: -20px;
    animation: confettiFall 4s linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(1080deg) scale(0.5);
        opacity: 0;
    }
}

/* =========================================
   Music Player
   ========================================= */
.music-toggle {
    position: fixed;
    bottom: 100px;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-mid), var(--pink-hot));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 5px 30px rgba(255, 46, 147, 0.4);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(255, 46, 147, 0.6);
}

.music-toggle.playing {
    animation: none;
}

.music-toggle.playing i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 5px 30px rgba(255, 46, 147, 0.4);
    }

    50% {
        box-shadow: 0 5px 50px rgba(255, 46, 147, 0.8);
    }
}

/* Snow Toggle Button */
.snow-toggle {
    position: fixed;
    bottom: 160px;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-mid), var(--pink-hot));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 5px 30px rgba(255, 46, 147, 0.4);
    transition: all 0.3s;
}

.snow-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(255, 46, 147, 0.6);
}

.snow-toggle.active {
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    box-shadow: 0 5px 30px rgba(255, 46, 147, 0.6);
    animation: pulse 2s infinite;
}

.snow-toggle.active i {
    animation: snowSpin 3s linear infinite;
}

@keyframes snowSpin {
    100% {
        transform: rotate(360deg);
    }
}

/* Snow Container */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: snowFall linear forwards;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

@keyframes snowFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) translateX(30px) rotate(360deg);
        opacity: 0.6;
    }
}

/* =========================================
   Hero / Home Header
   ========================================= */
.home-header {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, var(--purple-deep) 0%, var(--bg-dark) 70%);
}

.home-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff2e93' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.home-header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 10vw, 5rem);
    background: linear-gradient(135deg, var(--pink-pale), var(--pink-hot), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px rgba(255, 46, 147, 0.5);
    animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes glowText {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 46, 147, 0.5));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(255, 46, 147, 0.8));
    }
}

.home-header .subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

/* =========================================
   Countdown Timer
   ========================================= */
.countdown-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.countdown-item {
    background: linear-gradient(135deg, rgba(123, 40, 105, 0.5), rgba(26, 26, 46, 0.8));
    border: 1px solid rgba(255, 46, 147, 0.3);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    min-width: 90px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 46, 147, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.countdown-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--pink-hot);
    box-shadow: 0 20px 40px rgba(255, 46, 147, 0.3);
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--cream), var(--pink-pale));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--pink-soft);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Birthday Message */
.birthday-message {
    display: none;
    animation: fadeInUp 1s ease;
    text-align: center;
    padding: 2rem;
}

.birthday-message.active {
    display: block;
}

.birthday-message h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 12vw, 6rem);
    margin-bottom: 1.5rem;
}

.birthday-message p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--cream-dark);
    max-width: 600px;
    line-height: 1.8;
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--pink-soft);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Section Styles
   ========================================= */
.section-content {
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    background: linear-gradient(135deg, var(--pink-pale), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1rem;
}

/* =========================================
   Love Notes (Open When...)
   ========================================= */
.notes-section {
    background: linear-gradient(180deg, var(--bg-dark), rgba(74, 25, 66, 0.3), var(--bg-dark));
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.envelope {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 46, 147, 0.2);
    position: relative;
    overflow: hidden;
}

.envelope::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-hot), var(--purple-light), var(--gold));
}

.envelope::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 46, 147, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.envelope:hover::after {
    opacity: 1;
}

.envelope:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--pink-hot);
    box-shadow: 0 25px 50px rgba(255, 46, 147, 0.3);
}

.envelope-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--purple-mid), var(--pink-hot));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s;
}

.envelope:hover .envelope-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 46, 147, 0.5);
}

.envelope h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

.envelope p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   Reasons Section
   ========================================= */
.reasons-section {
    background: radial-gradient(ellipse at center, var(--purple-deep) 0%, var(--bg-dark) 70%);
}

.reason-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 46, 147, 0.3);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--pink-hot), var(--purple-light), var(--gold), var(--pink-hot));
    border-radius: 27px;
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.reason-card .quote-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.reason-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    color: var(--cream);
    line-height: 1.8;
    min-height: 60px;
    transition: all 0.3s ease;
}

.reason-counter {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.new-reason-btn {
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 46, 147, 0.4);
    position: relative;
    overflow: hidden;
}

.new-reason-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.new-reason-btn:hover::before {
    left: 100%;
}

.new-reason-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 46, 147, 0.6);
}

/* =========================================
   Poem Section
   ========================================= */
.poem-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card), var(--bg-dark));
}

.poem-container {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.poem-card {
    background: linear-gradient(135deg, rgba(123, 40, 105, 0.3), rgba(26, 26, 46, 0.8));
    border: 1px solid rgba(255, 46, 147, 0.2);
    border-radius: 25px;
    padding: 2.5rem 2rem;
}

.poem-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--cream);
    line-height: 1.9;
    white-space: pre-line;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.poem-author {
    margin-top: 1.5rem;
    color: var(--pink-soft);
    font-style: italic;
}

/* =========================================
   Vault Section
   ========================================= */
.vault-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--purple-deep) 50%, var(--bg-card) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vault-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 46, 147, 0.1), transparent 50%);
    animation: pulseGlow 3s ease infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.vault-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vault-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border-radius: 25px;
    padding: 3rem 2rem;
    border: 2px dashed var(--pink-hot);
}

.lock-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.lock-icon i {
    background: linear-gradient(135deg, var(--gold), var(--pink-hot));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.lock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.vault-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.vault-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.vault-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.6);
}

.vault-btn.unlocked {
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    color: white;
}

.surprise-content {
    display: none;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--purple-deep), var(--bg-card));
    border-radius: 20px;
    border: 1px solid rgba(255, 46, 147, 0.3);
}

.surprise-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* =========================================
   Quiz Section
   ========================================= */
.quiz-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card), var(--bg-dark));
}

.quiz-container {
    max-width: 550px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border-radius: 25px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 46, 147, 0.2);
    position: relative;
    overflow: hidden;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--pink-hot), transparent, var(--purple-light), transparent);
    animation: rotateBorder 4s linear infinite;
    opacity: 0.1;
}

@keyframes rotateBorder {
    100% {
        transform: rotate(360deg);
    }
}

.quiz-question {
    position: relative;
    z-index: 1;
    text-align: center;
}

.quiz-progress {
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-progress-text {
    color: var(--pink-soft);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 46, 147, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink-hot), var(--purple-light));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.quiz-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.quiz-options {
    display: grid;
    gap: 0.8rem;
}

.quiz-option {
    background: rgba(255, 46, 147, 0.1);
    border: 2px solid rgba(255, 46, 147, 0.3);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--cream);
    font-size: 0.95rem;
    text-align: left;
}

.quiz-option:hover {
    background: rgba(255, 46, 147, 0.3);
    border-color: var(--pink-hot);
    transform: translateX(10px);
}

.quiz-option.correct {
    background: rgba(0, 255, 100, 0.2);
    border-color: #00ff64;
}

.quiz-option.wrong {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4444;
}

.quiz-score-display {
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 46, 147, 0.1);
    border-radius: 10px;
}

.quiz-score-display span {
    color: var(--pink-hot);
    font-weight: 600;
    font-size: 1.1rem;
}

.quiz-result {
    display: none;
    text-align: center;
    padding: 2rem;
}

.quiz-result.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.quiz-result i {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quiz-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pink-hot);
}

/* =========================================
   Memories Timeline Section
   ========================================= */
.memories-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card-lighter), var(--bg-dark));
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--pink-hot), var(--purple-light), var(--gold));
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem 0;
    width: 50%;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(odd) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
    padding-left: 3rem;
    transform: translateX(50px);
}

.timeline-item:nth-child(odd).visible {
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    padding-right: 3rem;
}

.timeline-item::after {
    content: '❤';
    position: absolute;
    top: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-mid), var(--pink-hot));
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 46, 147, 0.5);
}

.timeline-item:nth-child(odd)::after {
    left: -20px;
}

.timeline-item:nth-child(even)::after {
    right: -20px;
}

.timeline-content {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 350px;
    border: 1px solid rgba(255, 46, 147, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 46, 147, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 46, 147, 0.3);
    border-color: var(--pink-hot);
}

.timeline-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    color: var(--pink-hot);
    margin-bottom: 0.8rem;
}

.timeline-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--purple-deep), var(--pink-hot));
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.timeline-image i {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   Modal
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border-radius: 25px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 46, 147, 0.3);
    box-shadow: 0 30px 80px rgba(255, 46, 147, 0.3);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotateX(30deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.modal h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--pink-pale), var(--pink-hot));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal p {
    color: var(--cream-dark);
    line-height: 1.8;
    font-size: 1rem;
}

/* =========================================
   Alert Popup
   ========================================= */
.alert-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    padding: 2.5rem 2rem;
    border-radius: 25px;
    text-align: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 46, 147, 0.3);
    box-shadow: 0 30px 80px rgba(255, 46, 147, 0.4);
    max-width: 380px;
    width: 90%;
}

.alert-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.alert-popup i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.alert-popup h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.alert-popup p {
    color: var(--text-muted);
    line-height: 1.7;
}

.alert-popup button {
    margin-top: 1.5rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.alert-popup button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 46, 147, 0.4);
}

/* =========================================
   Heart Rain Effect
   ========================================= */
.heart-rain {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    animation: heartFall 2s ease-out forwards;
}

@keyframes heartFall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(300px) scale(0.5);
        opacity: 0;
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .bottom-nav {
        gap: 0.5rem;
        padding: 0.6rem;
    }

    .nav-tab {
        padding: 0.5rem 1rem;
    }

    .nav-tab i {
        font-size: 1.3rem;
    }

    .nav-tab span {
        font-size: 0.65rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 1rem 1.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after,
    .timeline-item:nth-child(odd)::after {
        left: 0;
        right: auto;
    }

    .modal {
        padding: 2rem 1.5rem;
    }

    .music-toggle {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.6rem;
    }

    .countdown-item {
        min-width: 65px;
        padding: 0.8rem 1rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .reason-card,
    .vault-box {
        padding: 2rem 1.5rem;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   BIRTHDAY CELEBRATION EFFECTS
   ========================================= */

/* Birthday Mode - Special Background */
body.birthday-mode {
    overflow: hidden;
}

body.birthday-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 46, 147, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: birthdayGlow 3s ease-in-out infinite alternate;
}

@keyframes birthdayGlow {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

/* Celebration Overlay */
.birthday-celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(74, 25, 66, 0.98), rgba(13, 13, 13, 0.99));
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.birthday-celebration-overlay.active {
    opacity: 1;
    transform: scale(1);
}

.birthday-celebration-overlay.closing {
    opacity: 0;
    transform: scale(0.9);
}

.celebration-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

/* Birthday Title */
.birthday-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 12vw, 6rem);
    background: linear-gradient(135deg, var(--gold), var(--pink-hot), var(--pink-pale), var(--gold));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease infinite, floatTitle 2s ease-in-out infinite;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
}

@keyframes shimmerText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatTitle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.birthday-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Cake Container */
.cake-container {
    margin-bottom: 2rem;
}

.birthday-cake {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0) rotate(-10deg);
    opacity: 0;
}

.birthday-cake.animate-in {
    animation: cakeEntrance 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes cakeEntrance {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Candles */
.candle-row {
    display: flex;
    gap: 15px;
    margin-bottom: -10px;
    z-index: 5;
}

.candle {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: candleWobble 2s ease-in-out infinite;
}

@keyframes candleWobble {

    0%,
    100% {
        transform: rotate(-1deg);
    }

    50% {
        transform: rotate(1deg);
    }
}

.candle-body {
    width: 12px;
    height: 50px;
    background: linear-gradient(to right, #fff5e6, #ffe4c4, #fff5e6);
    border-radius: 3px 3px 0 0;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 228, 196, 0.5);
}

.candle-body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(200, 100, 50, 0.5), transparent);
}

.candle-flame {
    position: relative;
    width: 20px;
    height: 30px;
    margin-bottom: 5px;
    transition: all 0.5s ease;
}

.flame-inner {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 25px;
    background: linear-gradient(to top, #ff6b35, #ffcc00, #ffffff);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.3s ease-in-out infinite alternate;
    box-shadow: 0 0 20px #ffcc00, 0 0 40px #ff6b35;
}

.flame-glow {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.6), transparent 70%);
    border-radius: 50%;
    animation: glowFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% {
        transform: translateX(-50%) scale(1) rotate(-2deg);
    }

    100% {
        transform: translateX(-50%) scale(1.05) rotate(2deg);
    }
}

@keyframes glowFlicker {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

.candle-flame.blown-out {
    animation: blowOut 0.5s ease forwards;
}

.candle-flame.blown-out .flame-inner,
.candle-flame.blown-out .flame-glow {
    opacity: 0;
    transform: translateX(-50%) scale(0) translateY(-20px);
}

@keyframes blowOut {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3) rotate(15deg);
    }

    100% {
        transform: scale(0) translateY(-20px);
        opacity: 0;
    }
}

/* Cake Layers */
.cake-layer {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cake-layer-top {
    width: 120px;
    height: 45px;
    background: linear-gradient(to bottom, #ff9ecd, #ff6b9d);
    margin-bottom: -5px;
    z-index: 3;
}

.cake-layer-middle {
    width: 160px;
    height: 55px;
    background: linear-gradient(to bottom, #ff7eb9, #ff4d94);
    margin-bottom: -5px;
    z-index: 2;
}

.cake-layer-bottom {
    width: 200px;
    height: 65px;
    background: linear-gradient(to bottom, #ff4d94, #ff2e93);
    z-index: 1;
}

.frosting {
    position: absolute;
    top: -10px;
    left: -5px;
    right: -5px;
    height: 25px;
    background: linear-gradient(to bottom, #fff5f5, #ffc0d3);
    border-radius: 50%;
}

.frosting::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 20%;
    height: 15px;
    background: inherit;
    border-radius: 0 0 50% 50%;
}

.frosting::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15%;
    width: 25%;
    height: 12px;
    background: inherit;
    border-radius: 0 0 50% 50%;
}

.sprinkles {
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    height: 30px;
}

.sprinkle {
    position: absolute;
    width: 3px;
    height: 8px;
    border-radius: 2px;
}

.cake-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.decoration-heart,
.decoration-star {
    animation: decorPulse 1s ease-in-out infinite alternate;
}

.decoration-star {
    animation-delay: 0.5s;
}

@keyframes decorPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.cake-ribbon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 15px;
    background: linear-gradient(90deg, var(--gold), #ffe66d, var(--gold));
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.cake-plate {
    width: 240px;
    height: 20px;
    background: linear-gradient(to bottom, #c0c0c0, #e8e8e8, #c0c0c0);
    border-radius: 50%;
    margin-top: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Blow Candles Button */
.blow-candles-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
    animation: pulseBtn 2s infinite;
    position: relative;
    overflow: hidden;
}

.blow-candles-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: btnShine 2s infinite;
}

@keyframes btnShine {
    100% {
        left: 100%;
    }
}

@keyframes pulseBtn {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(255, 46, 147, 0.6);
    }
}

.blow-candles-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.7);
}

.blow-candles-btn.wish-granted {
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    color: white;
    animation: none;
}

.blow-candles-btn:disabled {
    cursor: default;
}

/* Glitter Container */
.glitter-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
    overflow: hidden;
}

.glitter-particle {
    position: absolute;
    top: -50px;
    animation: glitterFall 4s linear forwards;
    text-shadow: 0 0 10px currentColor;
}

@keyframes glitterFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Fireworks Container */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10002;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 10px;
    height: 10px;
}

.firework-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: fireworkExplode 1.5s ease-out forwards;
}

@keyframes fireworkExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform:
            translate(calc(cos(var(--angle)) * var(--distance)),
                calc(sin(var(--angle)) * var(--distance))) scale(0);
        opacity: 0;
    }
}

.firework-flash {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: flashBurst 0.3s ease-out forwards;
    filter: blur(20px);
}

@keyframes flashBurst {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Balloons Container */
.balloons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.birthday-balloon {
    position: absolute;
    bottom: -150px;
    width: 60px;
    height: 75px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    animation: balloonFloat 8s ease-in-out forwards;
    box-shadow: inset -10px -10px 30px rgba(0, 0, 0, 0.2);
}

.birthday-balloon::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: inherit;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.balloon-string {
    position: absolute;
    bottom: -80px;
    left: 50%;
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    transform-origin: top;
    animation: stringWave 2s ease-in-out infinite;
}

@keyframes balloonFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-60vh) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) rotate(-5deg);
        opacity: 0.5;
    }
}

@keyframes stringWave {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

/* Special Birthday Message */
.special-birthday-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 46, 147, 0.2), rgba(123, 40, 105, 0.3));
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.special-birthday-message.active {
    opacity: 1;
    transform: translateY(0);
}

.special-birthday-message h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.special-birthday-message p {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.message-sparkle {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 2rem;
    animation: sparkleRotate 2s linear infinite;
}

.message-sparkle.right {
    left: auto;
    right: 15px;
    animation-direction: reverse;
}

@keyframes sparkleRotate {
    from {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

.continue-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--pink-hot), var(--purple-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 46, 147, 0.4);
}

.continue-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 46, 147, 0.6);
}

/* Random Sparkles */
.random-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    animation: randomSparkle 2s ease-out forwards;
}

@keyframes randomSparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Heart Rain Effect Enhancement */
.heart-rain {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: heartFloat 2s ease-out forwards;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

/* Birthday Mode Enhancements for Main Content */
body.birthday-mode .birthday-message h1 {
    animation: glowText 1s ease-in-out infinite alternate, partyPulse 0.5s ease-in-out infinite;
}

@keyframes partyPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

body.birthday-mode .countdown-item {
    animation: birthdayBounce 0.6s ease-in-out infinite alternate;
}

@keyframes birthdayBounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

/* =========================================
   App Footer
   ========================================= */
.app-footer {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    background: transparent;
    margin-bottom: 60px;
}

.app-footer p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--pink-soft);
    font-style: italic;
    opacity: 0.8;
}


/* =========================================
   Photos Section
   ========================================= */
.photos-section {
    background: linear-gradient(180deg, var(--bg-dark), rgba(74, 25, 66, 0.2), var(--bg-dark));
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.photo-frame {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-lighter));
    border: 2px solid rgba(255, 46, 147, 0.3);
    border-radius: 20px;
    padding: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--pink-hot), var(--purple-light), var(--gold), var(--pink-hot));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.photo-frame:hover::before {
    opacity: 0.6;
}

.photo-frame:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--pink-hot);
    box-shadow: 0 25px 50px rgba(255, 46, 147, 0.4);
}

.photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Fix emoji display in titles */
.emoji-fix {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    font-size: 0.9em;
    vertical-align: middle;
}

