* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== EMOJI RAIN EFFECT ===== */
.emoji-rain {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999;
}

.falling-emoji {
    position: absolute;
    font-size: 3rem;
    opacity: 0.8;
    animation: rainDown 3s linear forwards;
}

@keyframes rainDown {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== LOVE SCREENS ===== */
.love-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(255, 20, 147, 0.05) 100%),
                linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    flex-direction: column;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.love-screen.hidden {
    display: none !important;
}

.love-screen.hidden-fade {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.love-question {
    text-align: center;
    max-width: 600px;
}

.love-question h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    color: var(--primary-pink);
    margin-bottom: 2rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.love-question p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--soft-pink);
    line-height: 1.6;
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.4s both;
}

.love-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--light-gold);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.love-btn.yes-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    color: white;
}

.love-btn.no-btn {
    background: transparent;
    color: var(--primary-pink);
}

.love-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
}

.love-btn:active {
    transform: scale(0.95);
}

/* ===== MY QUEEN PAGE ===== */
.my-queen-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    z-index: 600;
    overflow-y: auto;
    padding: 2rem;
}

.my-queen-page.hidden {
    display: none !important;
}

.queen-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.queen-header h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-pink);
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
}

.queen-photo-container {
    max-width: 450px;
    margin: 3rem auto;
    position: relative;
    animation: fadeInUp 1.2s ease 0.2s both;
}

.queen-photo-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.heart-frame {
    position: relative;
    width: 320px;
    height: 320px;
    animation: heartPulse 1.5s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    border-radius: 50%;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.5), 0 0 40px rgba(255, 105, 180, 0.3);
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(255, 105, 180, 0.7));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 45px rgba(255, 105, 180, 0.9));
    }
}

.queen-photo {
    position: absolute;
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: photoZoom 0.8s ease;
    border: 5px solid white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ===== CAKE CELEBRATION SCREEN ===== */
.cake-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.15) 0%, rgba(255, 20, 147, 0.1) 100%),
                linear-gradient(180deg, var(--dark-bg) 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 800;
    padding: 2rem;
    animation: fadeIn 0.6s ease;
}

.cake-celebration.hidden {
    display: none;
}

.ribbon-banner {
    position: absolute;
    top: 2rem;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-family: 'Great Vibes', cursive;
    color: var(--primary-pink);
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
    animation: slideDown 0.8s ease;
    letter-spacing: 2px;
    font-weight: bold;
}

.cake-celebrate-container {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.knife-wrapper {
    position: absolute;
    left: 10%;
    top: 15%;
    cursor: grab;
    user-select: none;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
    touch-action: none;
}

.knife-wrapper:active {
    cursor: grabbing;
}

.knife {
    font-size: clamp(2rem, 6vw, 4rem);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.knife-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--soft-pink);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 600;
    margin-top: 0.5rem;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

.cake-big {
    position: relative;
    width: clamp(150px, 25vw, 280px);
    height: clamp(200px, 35vw, 350px);
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
    filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.5));
    perspective: 1200px;
    transform-style: preserve-3d;
}

.cake-big .cake-layer {
    width: 100%;
    height: 26%;
    background: linear-gradient(180deg, 
        #E8A76D 0%, 
        #D2691E 15%, 
        #A0522D 35%, 
        #8B4513 65%, 
        #6B3410 85%,
        #5A2B0A 100%);
    border-radius: 10px 10px 0 0;
    position: relative;
    box-shadow: 
        inset 0 2px 5px rgba(255, 255, 200, 0.4),
        inset 0 -5px 12px rgba(0, 0, 0, 0.7),
        inset -8px 0 15px rgba(0, 0, 0, 0.4),
        inset 8px 0 15px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #4A1F0F;
    border-top-width: 2px;
    border-top-color: #8B4513;
}

.cake-big .cake-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.cake-big .cake-layer:nth-child(2) {
    border-radius: 0;
    border-top: none;
    margin-top: -1px;
}

.cake-big .cake-layer:nth-child(4) {
    border-radius: 0;
    border-top: none;
    margin-top: -1px;
}

.cake-big .cake-layer:nth-child(6) {
    border-radius: 0 0 15px 15px;
    border-top: none;
    margin-top: -1px;
}

.cake-big .frosting {
    width: 100%;
    height: 13%;
    background: linear-gradient(180deg, 
        #FFB6D9 0%, 
        #FF85C0 20%,
        #FF69B4 45%, 
        #FF3399 70%, 
        #E6006B 100%);
    position: relative;
    box-shadow: 
        inset 0 4px 10px rgba(255, 255, 255, 0.7),
        inset 0 -3px 8px rgba(0, 0, 0, 0.4),
        0 6px 18px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 0, 100, 0.5);
}

/* Frosting texture and shine */
.cake-big .frosting::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        linear-gradient(90deg, 
            rgba(255, 255, 255, 0.25) 0%, 
            transparent 20%, 
            transparent 80%, 
            rgba(255, 255, 255, 0.1) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 30%);
    pointer-events: none;
}

/* Frosting swirl pattern */
.cake-big .frosting::after {
    content: '';
    position: absolute;
    width: 95%;
    height: 70%;
    top: 15%;
    left: 2.5%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.15) 3px,
            rgba(255, 255, 255, 0.15) 6px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            rgba(255, 100, 200, 0.08) 3px,
            rgba(255, 100, 200, 0.08) 6px
        );
    border-radius: 30% 30% 20% 20%;
    pointer-events: none;
}

/* Gold/Pearl ball decorations on frosting */
.cake-big .frosting-ball {
    position: absolute;
    width: 7%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 25% 25%, #FFED4E 0%, #FFD700 25%, #FFA500 60%, #FF8C00 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 12px rgba(255, 165, 0, 0.9),
        0 0 8px rgba(255, 237, 78, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.4),
        inset 2px 2px 4px rgba(255, 255, 255, 0.4);
    animation: ballGlow 2s ease-in-out infinite;
}

.frosting-ball:nth-child(1) { left: 5%; top: 30%; animation-delay: 0s; }
.frosting-ball:nth-child(2) { left: 15%; top: 15%; animation-delay: 0.2s; }
.frosting-ball:nth-child(3) { left: 45%; top: 20%; animation-delay: 0.4s; }
.frosting-ball:nth-child(4) { left: 70%; top: 25%; animation-delay: 0.6s; }
.frosting-ball:nth-child(5) { left: 88%; top: 35%; animation-delay: 0.8s; }

@keyframes ballGlow {
    0%, 100% {
        box-shadow: 
            0 4px 12px rgba(255, 165, 0, 0.9),
            0 0 8px rgba(255, 237, 78, 0.6),
            inset -2px -2px 4px rgba(0, 0, 0, 0.4),
            inset 2px 2px 4px rgba(255, 255, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 5px 18px rgba(255, 165, 0, 1),
            0 0 15px rgba(255, 237, 78, 0.8),
            inset -2px -2px 4px rgba(0, 0, 0, 0.4),
            inset 2px 2px 4px rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }
}

/* Decorative candles - Realistic stick candles */
.cake-big::before,
.cake-big::after {
    content: '';
    position: absolute;
    width: 8%;
    height: 45%;
    top: -40%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        #FFFACD 10%, 
        #FFD700 50%, 
        #FFFACD 90%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50% 50% 30% 30%;
    box-shadow: 
        0 0 20px #FFD700,
        0 0 40px #FF6B00,
        inset -2px 0 8px rgba(255, 200, 0, 0.6),
        inset 2px 0 8px rgba(255, 100, 0, 0.4);
    animation: candleFlame 1.2s ease-in-out infinite;
}

.cake-big::before {
    left: 12%;
    animation-delay: 0s;
}

.cake-big::after {
    right: 12%;
    animation-delay: 0.3s;
}

/* Flame on top of candles */
.cake-big::before::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 120%;
    background: 
        radial-gradient(ellipse at 50% 0%, 
            rgba(255, 237, 74, 0.8) 0%, 
            rgba(255, 165, 0, 0.4) 40%, 
            rgba(255, 69, 0, 0.1) 100%);
    border-radius: 50% 50% 50% 50%;
    box-shadow: 
        0 0 15px #FFD700,
        0 0 30px #FF8C00,
        inset -3px 0 10px rgba(255, 100, 0, 0.6);
    filter: blur(2px);
}

@keyframes candleFlame {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 15px #FFD700) drop-shadow(0 0 30px #FF6B00);
        transform: translateY(-2px) scaleY(1);
    }
    25% {
        opacity: 0.98;
        filter: drop-shadow(0 0 12px #FFD700) drop-shadow(0 0 25px #FF6B00);
        transform: translateY(1px) scaleY(0.98);
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 22px #FFD700) drop-shadow(0 0 40px #FF6B00);
        transform: translateY(-3px) scaleY(1.05);
    }
    75% {
        opacity: 0.96;
        filter: drop-shadow(0 0 10px #FFD700) drop-shadow(0 0 28px #FF6B00);
        transform: translateY(0px) scaleY(0.95);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-pink);
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

@keyframes photoZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.photo-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.photo-heart {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 4s ease-in-out infinite;
}

@keyframes floatAround {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(1);
    }
}

.continue-btn {
    display: block;
    margin: 3rem auto;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    color: white;
    border: 2px solid var(--light-gold);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideUp 0.8s ease 0.4s both;
}

.continue-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

:root {
    --primary-pink: #ff69b4;
    --soft-pink: #ffc0cb;
    --rose-red: #ff1493;
    --light-gold: #ffd700;
    --white: #ffffff;
    --dark-bg: #1a1a2e;
    --text-light: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ===== OPENING SCREEN ===== */
.opening-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
    animation: fadeOutOverlay 0.8s ease-out 4s forwards;
}

.opening-screen.hidden {
    display: none !important;
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.main-content.hidden {
    display: none;
}

.floating-heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: floatUp 3s ease-in infinite;
}

@keyframes floatUp {
    0% {
        opacity: 0.6;
        transform: translateY(0) translateX(0);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-300px) translateX(100px);
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleAnim 2s ease-in-out infinite;
}

@keyframes sparkleAnim {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.opening-text {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 3rem;
    animation: textAppear 1.5s ease-out 0.5s both;
    font-family: 'Great Vibes', cursive;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

@keyframes textAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.surprise-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    color: white;
    border: 2px solid var(--light-gold);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    animation: glowPulse 2s ease-in-out infinite 2s;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    font-weight: 600;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.5), 0 0 40px rgba(255, 105, 180, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 105, 180, 0.8), 0 0 60px rgba(255, 105, 180, 0.5);
        transform: scale(1.05);
    }
}

.surprise-btn:hover {
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.9), 0 0 80px rgba(255, 105, 180, 0.6);
    transform: scale(1.1);
}

/* ===== MAIN CONTAINER ===== */
.main-content {
    opacity: 0;
    animation: fadeIn 1s ease-out 4s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1) 0%, rgba(255, 20, 147, 0.05) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ff69b4" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: var(--primary-pink);
    margin-bottom: 2rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--soft-pink);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.heart-float {
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: floatHeart 8s ease-in-out infinite;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== PHOTO MEMORIES SECTION ===== */
.memories {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
}

.memories h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    color: var(--primary-pink);
    margin-bottom: 3rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem 1rem;
}

.photo-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(255, 105, 180, 0.25);
    animation: slideInUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    aspect-ratio: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid rgba(255, 105, 180, 0.1);
}

.photo-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.4);
    border-color: rgba(255, 105, 180, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateY(-20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

.photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.photo-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.3) 0%, rgba(255, 20, 147, 0.5) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 4rem;
    animation: heartBeat 0.6s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 105, 180, 0.6));
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: var(--primary-pink);
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* ===== LOVE MESSAGE SECTION ===== */
.love-message {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-container {
    max-width: 700px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.1) 0%, rgba(255, 20, 147, 0.05) 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.1);
    animation: fadeInUp 1s ease-out;
}

.love-message h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--primary-pink);
    margin-bottom: 2rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
}

.typing-text {
    font-size: 1.1rem;
    color: var(--soft-pink);
    line-height: 1.8;
    text-align: left;
    font-weight: 300;
    min-height: 200px;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--primary-pink);
    margin-left: 5px;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0; }
}

/* ===== COUNTDOWN SECTION ===== */
.countdown {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-pink);
    margin-bottom: 3rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    animation: fadeInUp 1s ease-out;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
    margin-bottom: 3rem;
    animation: slideUp 1s ease-out 0.2s both;
}

.timer-box {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3);
    transition: transform 0.3s ease;
}

.timer-box:hover {
    transform: scale(1.05);
}

.timer-value {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.timer-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== MUSIC SECTION ===== */
/* ===== CAKE SECTION ===== */
.cake-section {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cake-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

.cake {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 3rem;
}

.cake-layer {
    position: absolute;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cake-layer:nth-child(1) {
    top: 100px;
}

.cake-layer:nth-child(2) {
    top: 60px;
    width: 85%;
    left: 7.5%;
}

.cake-layer:nth-child(3) {
    top: 20px;
    width: 70%;
    left: 15%;
}

.candle {
    position: absolute;
    width: 4px;
    height: 40px;
    background: #FFD700;
    border-radius: 2px;
    left: 50%;
    top: 0;
}

.candle:nth-child(4) { left: 30%; }
.candle:nth-child(5) { left: 70%; }

.flame {
    position: absolute;
    width: 8px;
    height: 20px;
    background: linear-gradient(to top, #FF6347, #FFD700, #FFA500);
    border-radius: 50% 50% 50% 0;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    animation: flicker 0.4s ease-in-out infinite;
}

.candle:nth-child(4) .flame { left: 50%; }
.candle:nth-child(5) .flame { left: 50%; }

@keyframes flicker {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scaleY(0.9);
    }
}

.candle.blown-out .flame {
    animation: blow-out 0.5s ease-out forwards;
}

@keyframes blow-out {
    0% {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scaleY(0);
    }
}

.frosting {
    position: absolute;
    width: 100%;
    height: 10px;
    background: linear-gradient(135deg, #FF69B4 0%, #FFB6C1 100%);
    top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.frosting:nth-child(6) {
    top: 50px;
}

.frosting:nth-child(7) {
    top: 90px;
    width: 85%;
    left: 7.5%;
}

.blow-btn {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--rose-red) 100%);
    color: white;
    border: 2px solid var(--light-gold);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
    font-weight: 600;
    margin-top: 2rem;
    animation: slideUp 1s ease-out 0.3s both;
}

.blow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.5);
}

.blow-btn:active {
    transform: scale(0.95);
}

.wish-message {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-pink);
    margin-top: 2rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    opacity: 0;
    animation: fadeInMessage 0.8s ease-out 0.5s forwards;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== CONFETTI ===== */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-pink);
    pointer-events: none;
    animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ===== FINAL SECTION ===== */
.final-message {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.final-text {
    font-size: clamp(2rem, 8vw, 4rem);
    color: var(--primary-pink);
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    text-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
    animation: glowText 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 105, 180, 0.4), 0 0 40px rgba(255, 105, 180, 0.2);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 105, 180, 0.7), 0 0 80px rgba(255, 105, 180, 0.4);
    }
}

/* ===== PARTICLE SYSTEM ===== */
.particle-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    pointer-events: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PHOTO UPLOAD ===== */




/* ===== MOBILE FIRST ===== */
.hero h1 {
    font-size: 1.8rem;
}

.hero p {
    font-size: 1rem;
}

.opening-text {
    font-size: 2rem;
}

.gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.countdown-timer {
    gap: 0.8rem;
}

.timer-box {
    padding: 1.2rem 0.6rem;
}

.timer-value {
    font-size: 1.5rem;
}

.timer-label {
    font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cake-celebrate-container {
        gap: 1rem;
        height: auto;
        min-height: 70vh;
        flex-wrap: wrap;
        padding: 2rem 1rem;
    }

    .ribbon-banner {
        font-size: 1.3rem;
        top: 1rem;
    }

    .knife-wrapper {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 1rem;
    }

    .cake-big {
        order: 2;
        margin: 0 auto;
    }

    .confetti {
        width: 8px;
        height: 8px;
    }

    .cake-big {
        width: clamp(120px, 40vw, 200px);
        height: clamp(160px, 50vw, 270px);
    }
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .opening-text {
        font-size: 2.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .timer-box {
        padding: 1.5rem 0.8rem;
    }

    .timer-value {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .opening-text {
        font-size: 3.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .countdown-timer {
        gap: 1.5rem;
    }

    .timer-box {
        padding: 2rem 1rem;
    }

    .timer-value {
        font-size: 3rem;
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}
