:root {
    --pink: #ff74a4;
    --glow-color: rgba(255, 116, 164, 0.6);
}

body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #fff5f8; font-family: 'Poppins', sans-serif; }

.full-page { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.8s ease; }
.active { opacity: 1; visibility: visible; }

.vertical-stack { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }

/* CAKE & CANDLE ALIGNMENT */
.cake-area { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 50px; }
.cake-main { position: relative; width: 180px; height: 80px; background: #e1bee7; border-radius: 10px; }
.frosting-top { width: 180px; height: 35px; background: #ff80ab; border-radius: 50%; position: absolute; top: -15px; }
.candle { width: 10px; height: 45px; background: white; margin-bottom: -5px; z-index: 5; cursor: pointer; border-radius: 3px; position: relative; }
.flame { width: 18px; height: 26px; background: orange; border-radius: 50% 50% 20% 20%; position: absolute; top: -26px; left: -4px; box-shadow: 0 0 15px orange; animation: flicker 0.1s infinite; }
.tap-hint-center { margin-top: 25px; color: var(--pink); font-weight: bold; }

/* AUTO SLIDER */
.slider-container { width: 100%; overflow: hidden; margin: 20px 0; }
.auto-slider { display: flex; width: max-content; animation: scroll 20s linear infinite; }
.slide { width: 280px; padding: 10px; cursor: pointer; }
.card { background: white; padding: 10px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card img { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; }
.image-caption { font-family: 'Dancing Script', cursive; font-size: 1.1rem; color: var(--pink); margin-top: 10px; }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* GLOWING MESSAGE CARD */
.glow-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 85%;
    border: 2px solid var(--pink);
    box-shadow: 0 0 20px var(--glow-color);
    text-align: center;
    position: relative;
    animation: borderGlow 2s infinite alternate;
}

.highlight-glow {
    color: var(--pink);
    font-weight: 600;
    text-shadow: 0 0 8px var(--glow-color);
}

@keyframes borderGlow {
    from { box-shadow: 0 0 10px var(--glow-color); transform: scale(1); }
    to { box-shadow: 0 0 25px var(--pink); transform: scale(1.02); }
}

/* ZOOM */
#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 1000; }
#zoom-img { max-width: 85%; max-height: 70%; border: 4px solid white; border-radius: 10px; }
#zoom-caption { color: white; font-family: 'Dancing Script', cursive; font-size: 2rem; margin-top: 20px; }

.cta-button { background: var(--pink); color: white; border: none; padding: 12px 35px; border-radius: 50px; cursor: pointer; margin-top: 15px; font-weight: 600; }
#typewriter { font-family: 'Dancing Script', cursive; font-size: 3rem; color: var(--pink); }
.glow-text { font-family: 'Dancing Script', cursive; font-size: 3rem; color: var(--pink); text-shadow: 0 0 15px var(--pink); margin-bottom: 20px; }
.hidden { display: none; }