/* ============================================
   🎂 Birthday Website — Core Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
    /* Colors — Luxury Light Theme */
    --bg-primary: #FFF5F8;
    --bg-secondary: #FDF2F8;
    --bg-tertiary: #F3E8FF;
    --accent-gold: #D97706;
    --accent-gold-light: #F59E0B;
    --accent-gold-dark: #B45309;
    --accent-pink: #E11D48;
    --accent-pink-dark: #BE123C;
    --accent-purple: #8B5CF6;
    --accent-purple-light: #A78BFA;
    --text-white: #2D1537;
    --text-cream: #3B1B54;
    --text-muted: rgba(60, 20, 70, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(225, 29, 72, 0.15);
    --glass-bg-strong: rgba(255, 255, 255, 0.92);

    /* Typography */
    --font-cursive: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 100px 40px;
    --container-max: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    height: 100vh;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar (for internal page scroll) */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(123, 47, 247, 0.3);
    border-radius: 10px;
}

/* Pages Wrapper */
.pages-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* --- Utility Classes --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-pink {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.glass-card-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* --- Page Base (each section is a full-screen page) --- */
.section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--section-padding);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.section.page-active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Internal scroll wrapper for pages with overflow */
.page-scroll {
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 20px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(123,47,247,0.3) transparent;
}

.section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* --- Page Transition Animations --- */
.section.page-enter-right {
    animation: pageSlideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.section.page-enter-left {
    animation: pageSlideInLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.section.page-exit-left {
    animation: pageSlideOutLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.section.page-exit-right {
    animation: pageSlideOutRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes pageSlideInRight {
    from { transform: translateX(80px); opacity: 0; visibility: visible; }
    to   { transform: translateX(0); opacity: 1; visibility: visible; }
}
@keyframes pageSlideInLeft {
    from { transform: translateX(-80px); opacity: 0; visibility: visible; }
    to   { transform: translateX(0); opacity: 1; visibility: visible; }
}
@keyframes pageSlideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(-80px); opacity: 0; }
}
@keyframes pageSlideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(80px); opacity: 0; }
}

/* ============================================
   SECTION 1: Grand Entrance
   ============================================ */
.entrance {
    background: radial-gradient(ellipse at center, #FFF0F5 0%, #FCE7F3 60%, #F3E8FF 100%);
    padding: 0;
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.entrance.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.entrance canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.entrance-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
}

.entrance-emoji {
    font-size: 80px;
    margin-bottom: 30px;
    animation: floatEmoji 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(225, 29, 72, 0.25));
}

.entrance-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    color: var(--text-cream);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
    text-align: center;
    max-width: 600px;
    text-shadow: 0 4px 15px rgba(225, 29, 72, 0.15);
}

.entrance-sparkle {
    font-family: var(--font-cursive);
    font-size: clamp(2rem, 6vw, 4rem);
    margin-top: 10px;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards 1s;
}

.enter-btn {
    margin-top: 50px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #E11D48, #D97706);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1.8s;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

.enter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
}

.enter-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: btnShimmer 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 2.5s;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================================
   SECTION 2: Hero — Big Reveal
   ============================================ */
.hero {
    background: linear-gradient(180deg, #FFF5F8 0%, #FDE8E8 50%, #F3E8FF 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-greeting {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-muted);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-name {
    font-family: var(--font-cursive);
    font-size: clamp(3.5rem, 13vw, 9.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #E11D48, #D97706, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 8px 25px rgba(225, 29, 72, 0.25));
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(225, 29, 72, 0.15);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-star {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #E11D48;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.6);
}

/* Confetti Canvas */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* Floating Balloons */
.balloons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.balloon {
    position: absolute;
    bottom: -150px;
    width: 60px;
    height: 75px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    animation: floatBalloon 8s ease-in-out infinite;
    opacity: 0.7;
    filter: blur(0.5px);
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: rgba(255,255,255,0.3);
}

.balloon:nth-child(1) { left: 5%; background: linear-gradient(135deg, #FF6B9D, #FF3366); animation-delay: 0s; animation-duration: 9s; }
.balloon:nth-child(2) { left: 15%; background: linear-gradient(135deg, #FFD700, #FFA500); animation-delay: 1.5s; animation-duration: 7s; }
.balloon:nth-child(3) { left: 25%; background: linear-gradient(135deg, #7B2FF7, #A855F7); animation-delay: 0.8s; animation-duration: 10s; }
.balloon:nth-child(4) { left: 40%; background: linear-gradient(135deg, #00D4AA, #00B4D8); animation-delay: 2s; animation-duration: 8s; }
.balloon:nth-child(5) { left: 55%; background: linear-gradient(135deg, #FF6B9D, #FF85B3); animation-delay: 0.3s; animation-duration: 9.5s; }
.balloon:nth-child(6) { left: 70%; background: linear-gradient(135deg, #FFD700, #FFE55C); animation-delay: 1.2s; animation-duration: 7.5s; }
.balloon:nth-child(7) { left: 80%; background: linear-gradient(135deg, #7B2FF7, #6C3CE1); animation-delay: 2.5s; animation-duration: 8.5s; }
.balloon:nth-child(8) { left: 92%; background: linear-gradient(135deg, #FF4757, #FF6B81); animation-delay: 0.6s; animation-duration: 10.5s; }

/* ============================================
   SECTION 3: Interactive Cake
   ============================================ */
.cake-section {
    background: radial-gradient(ellipse at center bottom, #FEF3C7 0%, #FFF5F8 70%);
}

.cake-section .section-title {
    font-family: var(--font-cursive);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}

.cake-section .section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.cake-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

/* --- 3D Cake --- */
.cake {
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cake-toppings {
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 10;
    pointer-events: none;
}

.topping {
    font-size: 22px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    animation: floatEmoji 4s ease-in-out infinite alternate;
}

.topping.berry-1 { animation-delay: 0s; }
.topping.cherry-1 { animation-delay: 0.5s; }
.topping.berry-2 { animation-delay: 1s; }
.topping.cherry-2 { animation-delay: 1.5s; }
.topping.berry-3 { animation-delay: 2s; }

.cake-plate {
    width: 310px;
    height: 22px;
    background: linear-gradient(180deg, #FDE68A, #D97706, #92400E);
    border-radius: 50%;
    margin-top: -6px;
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.3), 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.plate-shine {
    position: absolute;
    top: 2px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.cake-layer {
    position: relative;
    margin: 0 auto;
    box-shadow: inset 0 -6px 15px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.08);
}

.cake-layer-bottom {
    width: 250px;
    height: 85px;
    background: linear-gradient(180deg, #F472B6, #DB2777, #9D174D);
    border-radius: 18px 18px 24px 24px;
}

.cake-layer-middle {
    width: 205px;
    height: 72px;
    background: linear-gradient(180deg, #FBBF24, #F59E0B, #D97706);
    border-radius: 15px 15px 18px 18px;
    margin: -3px auto 0;
}

.cake-layer-top {
    width: 165px;
    height: 62px;
    background: linear-gradient(180deg, #F472B6, #EC4899, #BE185D);
    border-radius: 12px 12px 15px 15px;
    margin: -3px auto 0;
}

.sprinkle {
    position: absolute;
    font-size: 10px;
    opacity: 0.8;
}
.sprinkle.s1 { top: 20px; left: 30px; }
.sprinkle.s2 { top: 25px; right: 35px; }

/* Frosting drips */
.frosting {
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 25px;
    overflow: visible;
}

.frosting-drip {
    position: absolute;
    background: #FFF5F8;
    border-radius: 0 0 12px 12px;
    top: 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.cake-layer-bottom .frosting-drip.drip-1 { left: 12%; width: 20px; height: 30px; }
.cake-layer-bottom .frosting-drip.drip-2 { left: 32%; width: 16px; height: 22px; }
.cake-layer-bottom .frosting-drip.drip-3 { left: 52%; width: 22px; height: 36px; }
.cake-layer-bottom .frosting-drip.drip-4 { left: 74%; width: 18px; height: 25px; }
.cake-layer-bottom .frosting-drip.drip-5 { left: 88%; width: 14px; height: 18px; }

.cake-layer-middle .frosting-drip.drip-1 { left: 10%; width: 18px; height: 26px; }
.cake-layer-middle .frosting-drip.drip-2 { left: 38%; width: 22px; height: 32px; }
.cake-layer-middle .frosting-drip.drip-3 { left: 65%; width: 16px; height: 20px; }
.cake-layer-middle .frosting-drip.drip-4 { left: 84%; width: 18px; height: 28px; }

.cake-layer-top .frosting-drip.drip-1 { left: 18%; width: 16px; height: 22px; }
.cake-layer-top .frosting-drip.drip-2 { left: 50%; width: 20px; height: 30px; }
.cake-layer-top .frosting-drip.drip-3 { left: 80%; width: 15px; height: 20px; }

/* Candles */
.candles-row {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: -6px;
    position: relative;
    z-index: 15;
}

.candle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}

.candle:hover {
    transform: translateY(-3px) scale(1.1);
}

.candle-stick {
    width: 12px;
    height: 48px;
    border-radius: 4px 4px 2px 2px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.candle-stick.stick-1 { background: repeating-linear-gradient(45deg, #E11D48, #E11D48 6px, #FFFFFF 6px, #FFFFFF 12px); }
.candle-stick.stick-2 { background: repeating-linear-gradient(45deg, #8B5CF6, #8B5CF6 6px, #FFFFFF 6px, #FFFFFF 12px); }
.candle-stick.stick-3 { background: repeating-linear-gradient(45deg, #D97706, #D97706 6px, #FFFFFF 6px, #FFFFFF 12px); }
.candle-stick.stick-4 { background: repeating-linear-gradient(45deg, #10B981, #10B981 6px, #FFFFFF 6px, #FFFFFF 12px); }
.candle-stick.stick-5 { background: repeating-linear-gradient(45deg, #EC4899, #EC4899 6px, #FFFFFF 6px, #FFFFFF 12px); }

.candle-wick {
    width: 2px;
    height: 8px;
    background: #333;
    border-radius: 1px;
    margin-bottom: -1px;
}

.candle-flame {
    width: 16px;
    height: 26px;
    background: radial-gradient(ellipse at bottom, #FFF5F8 0%, #F59E0B 40%, #E11D48 85%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameFlicker 0.4s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 12px #F59E0B) drop-shadow(0 0 24px rgba(225, 29, 72, 0.6));
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
}

.flame-inner {
    width: 6px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px #FFFFFF;
}

.candle-flame.blown {
    opacity: 0;
    transform: scale(0) translateY(-25px);
}

.candle-smoke {
    width: 4px;
    height: 0;
    background: rgba(180, 180, 180, 0.6);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    top: 10px;
    transition: all 0.5s ease;
}

.candle-smoke.active {
    height: 35px;
    opacity: 0.6;
    animation: smokeRise 2.5s ease forwards;
}

/* Candle Progress Box */
.candle-progress-box {
    margin-top: 25px;
    padding: 12px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 280px;
    width: 100%;
}

.progress-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(225, 29, 72, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #E11D48, #D97706);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Controls */
.cake-controls {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.cake-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 1px solid rgba(225, 29, 72, 0.2);
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-cream);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.08);
}

.cake-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.2);
}

.cake-btn.mic-btn.active {
    background: linear-gradient(135deg, #E11D48, #D97706);
    color: #FFFFFF;
    border-color: #E11D48;
    animation: pulse 1.5s ease-in-out infinite;
}

.cake-instruction {
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--accent-pink);
    animation: pulse 2s ease-in-out infinite;
    font-weight: 500;
}

/* Celebration Text Banner */
.cake-celebration-text {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.cake-celebration-text.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.celebration-badge {
    background: linear-gradient(135deg, #E11D48, #D97706);
    color: #FFFFFF;
    padding: 8px 25px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
    margin-bottom: 12px;
    animation: bounceIn 0.8s ease;
}

.celebration-heading {
    font-family: var(--font-cursive);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    background: linear-gradient(135deg, #E11D48, #D97706, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.celebration-sub {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.relight-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--accent-pink);
    background: #FFFFFF;
    color: var(--accent-pink);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.15);
}

.relight-btn:hover {
    background: var(--accent-pink);
    color: #FFFFFF;
    transform: scale(1.08);
}

/* Fireworks Canvas */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}

/* ============================================
   SECTION 4: Photo Gallery
   ============================================ */
.gallery-section {
    background: linear-gradient(180deg, #FFF5F8 0%, #FCE7F3 50%, #F3E8FF 100%);
    padding: 100px 20px;
}

.gallery-section .section-title {
    font-family: var(--font-cursive);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}

.gallery-section .section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.polaroid {
    background: #ffffff;
    padding: 15px 15px 50px 15px;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(180, 100, 140, 0.15), 0 2px 8px rgba(0,0,0,0.04);
    transform: rotate(var(--rotation, 0deg));
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(225, 29, 72, 0.08);
}

.polaroid:nth-child(odd) { --rotation: -3deg; }
.polaroid:nth-child(even) { --rotation: 3deg; }
.polaroid:nth-child(3n) { --rotation: -1deg; }

.polaroid:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(123, 47, 247, 0.3), 0 0 0 2px var(--accent-gold);
    z-index: 10;
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-placeholder {
    font-size: 60px;
    filter: grayscale(0.3);
}

.polaroid-caption {
    position: absolute;
    bottom: 12px;
    left: 15px;
    right: 15px;
    text-align: center;
    font-family: var(--font-cursive);
    font-size: 1.1rem;
    color: #333;
}

/* ============================================
   SECTION 5: Birthday Message (Letter)
   ============================================ */
.message-section {
    background: radial-gradient(ellipse at center, #FDE8E8 0%, #FFF5F8 70%);
    position: relative;
}

.message-section .section-title {
    font-family: var(--font-cursive);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
}

.message-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-serif);
    font-size: 120px;
    color: rgba(225, 29, 72, 0.08);
    line-height: 1;
}

.message-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-white);
    line-height: 2;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.message-signature {
    margin-top: 30px;
    text-align: right;
    font-family: var(--font-cursive);
    font-size: 1.8rem;
    color: var(--accent-gold);
}

/* Floating Hearts */
.hearts-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    color: var(--accent-pink);
    font-size: 20px;
    opacity: 0.3;
    animation: floatHeart 6s ease-in-out infinite;
}

.floating-heart:nth-child(1) { left: 5%; animation-delay: 0s; font-size: 18px; }
.floating-heart:nth-child(2) { left: 15%; animation-delay: 1s; font-size: 24px; }
.floating-heart:nth-child(3) { left: 25%; animation-delay: 2.5s; font-size: 16px; }
.floating-heart:nth-child(4) { left: 40%; animation-delay: 0.5s; font-size: 22px; }
.floating-heart:nth-child(5) { left: 55%; animation-delay: 3s; font-size: 20px; }
.floating-heart:nth-child(6) { left: 65%; animation-delay: 1.5s; font-size: 26px; }
.floating-heart:nth-child(7) { left: 75%; animation-delay: 2s; font-size: 14px; }
.floating-heart:nth-child(8) { left: 85%; animation-delay: 0.8s; font-size: 18px; }
.floating-heart:nth-child(9) { left: 92%; animation-delay: 3.5s; font-size: 22px; }

/* Wishes Cards */
.wishes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.wish-card {
    padding: 20px 30px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-cream);
    transition: var(--transition-bounce);
    cursor: default;
    flex: 0 1 auto;
}

.wish-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

/* ============================================
   SECTION 6: Countdown Timer
   ============================================ */
.countdown-section {
    background: linear-gradient(180deg, #F3E8FF 0%, #FFF5F8 50%, #FEF3C7 100%);
}

.countdown-section .section-title {
    font-family: var(--font-cursive);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}

.countdown-section .section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.countdown-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    padding: 30px 25px;
    min-width: 130px;
}

.countdown-number {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
    transition: transform 0.3s ease;
}

.countdown-number.flip {
    animation: flipNumber 0.6s ease;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* Birthday Today celebration */
.birthday-today {
    text-align: center;
}

.birthday-today-emoji {
    font-size: 100px;
    animation: bounceEmoji 1s ease infinite;
    display: block;
    margin-bottom: 20px;
}

.birthday-today-text {
    font-family: var(--font-cursive);
    font-size: clamp(3rem, 8vw, 5rem);
    animation: neonPulse 2s ease-in-out infinite;
}

/* ============================================
   SECTION 7: Footer / Final Wish
   ============================================ */
.footer-section {
    background: radial-gradient(ellipse at center top, #FCE7F3 0%, #FFF5F8 70%);
    min-height: 80vh;
    position: relative;
}

.footer-section .section-title {
    font-family: var(--font-cursive);
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    animation: neonPulse 2s ease-in-out infinite;
    text-shadow:
        0 0 10px var(--accent-gold),
        0 0 20px var(--accent-gold),
        0 0 40px var(--accent-gold-dark),
        0 0 80px var(--accent-gold-dark);
}

.footer-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 40px;
}

.footer-hearts {
    font-size: 30px;
    margin-bottom: 40px;
    animation: pulse 2s ease-in-out infinite;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: white;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--accent-gold);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.music-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent-gold);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.2);
}

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

/* Shooting Stars Canvas */
#shootingStarsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Footer bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom span {
    color: var(--accent-pink);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.section.page-active .reveal,
.section.page-active .reveal-left,
.section.page-active .reveal-right,
.section.page-active .reveal-scale,
.section.page-active .stagger-children > * {
    opacity: 1;
    transform: none;
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.active > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.active > *:nth-child(8) { transition-delay: 0.8s; }

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

/* ============================================
   PAGE NAVIGATION UI
   ============================================ */
.page-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

/* Arrow Buttons */
.page-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    pointer-events: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.page-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.2);
}

.page-arrow.disabled {
    opacity: 0.2;
    pointer-events: none;
    cursor: default;
}

.page-arrow-prev {
    left: 25px;
}

.page-arrow-next {
    right: 25px;
}

/* Page Indicators (dots + counter) */
.page-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.page-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.page-dot .dot-icon {
    font-size: 14px;
    line-height: 1;
    filter: grayscale(0.8);
    transition: filter 0.3s ease;
}

.page-dot:hover {
    border-color: var(--accent-gold);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.page-dot:hover .dot-icon {
    filter: grayscale(0);
}

.page-dot.active {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    border-color: var(--accent-gold);
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.page-dot.active .dot-icon {
    filter: grayscale(0) brightness(1.2);
}

.page-counter {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 500;
}

/* ============================================
   Hero Override for Page Mode
   ============================================ */
.hero {
    min-height: auto;
    height: 100vh;
}

/* Gallery Override — compact for page mode */
.gallery-section .gallery-grid {
    gap: 25px;
}

.gallery-section .polaroid {
    padding: 10px 10px 40px 10px;
}

/* Message section scroll */
.message-section .section-content {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(123,47,247,0.3) transparent;
}

/* Footer override — shooting stars canvas */
.footer-section #shootingStarsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   PIN LOCK UI STYLES
   ============================================ */
.pin-instruction {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 25px;
    font-weight: 500;
}

.pin-display {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.pin-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--accent-pink);
    background: transparent;
    transition: var(--transition-bounce);
}

.pin-dot.filled {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.5);
    transform: scale(1.15);
}

.pin-message {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 24px;
    margin-bottom: 15px;
    color: var(--accent-pink);
    transition: all 0.3s ease;
}

.pin-message.error {
    color: #E11D48;
    animation: shakePin 0.5s ease;
}

.pin-message.success {
    color: #10B981;
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 280px;
    margin: 0 auto 20px auto;
}

.keypad-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: var(--text-cream);
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.08);
}

.keypad-btn:hover {
    background: #FFFFFF;
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.2);
}

.keypad-btn:active {
    transform: scale(0.95);
}

.keypad-btn.keypad-action {
    font-size: 1.1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.6);
}

.pin-hint-btn {
    background: transparent;
    border: 1px dashed var(--accent-pink);
    color: var(--accent-pink);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 5px;
}

.pin-hint-btn:hover {
    background: rgba(225, 29, 72, 0.1);
    transform: scale(1.05);
}

.pin-hint-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-top: 10px;
    font-style: italic;
    animation: fadeIn 0.4s ease;
}

@keyframes shakePin {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-12px); }
    40%, 80% { transform: translateX(12px); }
}

/* ============================================
   GRAND FINALE PAGE STYLES
   ============================================ */
.finale-container {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px 60px 10px;
}

.finale-badge {
    background: linear-gradient(135deg, #E11D48, #D97706);
    color: #FFFFFF;
    padding: 6px 22px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2);
    display: inline-block;
    margin-bottom: 12px;
}

.finale-title {
    font-family: var(--font-cursive);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    background: linear-gradient(135deg, #E11D48, #D97706, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1.2;
}

.finale-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Gift Box Card */
.gift-box-wrapper {
    margin: 20px auto;
    width: 100%;
    max-width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 180px;
}

.gift-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px dashed rgba(225, 29, 72, 0.35);
    border-radius: 25px;
    padding: 30px 45px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: 0 10px 35px rgba(225, 29, 72, 0.15);
    width: 100%;
}

.gift-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: #E11D48;
    box-shadow: 0 15px 45px rgba(225, 29, 72, 0.28);
}

.gift-emoji {
    font-size: 70px;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 15px rgba(225, 29, 72, 0.3));
}

.gift-heading {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 10px;
}

.gift-instruction {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-pink);
    margin-top: 8px;
}

/* Award Card */
.award-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 30px;
    width: 100%;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 15px 50px rgba(217, 119, 6, 0.25);
    position: relative;
}

.award-trophy {
    font-size: 60px;
    margin-bottom: 10px;
    animation: bounceEmoji 1.5s ease infinite;
    filter: drop-shadow(0 6px 12px rgba(217, 119, 6, 0.4));
}

.award-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.award-to {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-cream);
    margin-bottom: 8px;
}

.award-stars {
    font-size: 16px;
    margin: 6px 0;
}

.award-message {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-white);
    font-style: italic;
    margin-bottom: 15px;
    max-width: 480px;
}

.award-sign {
    font-family: var(--font-cursive);
    font-size: 1.5rem;
    color: var(--accent-pink);
}

/* Finale Action Buttons */
.finale-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.finale-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.finale-btn.fireworks-btn {
    background: linear-gradient(135deg, #E11D48, #D97706);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
}

.finale-btn.fireworks-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 35px rgba(225, 29, 72, 0.5);
}

.finale-btn.replay-btn {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
}

.finale-btn.replay-btn:hover {
    background: var(--accent-purple);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}


