:root {
    --bg-center: #1a0020;
    --bg-edge: #0a0010;
    --text-gold: #ffd700;
    --border-glow: rgba(255, 150, 180, 0.6);
    --shadow-glow: rgba(255, 50, 100, 0.8);
    --carousel-width: min(88vw, 320px); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: radial-gradient(ellipse at center, var(--bg-center) 0%, var(--bg-edge) 100%);
    overflow: hidden;
    font-family: Georgia, serif;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas { position: fixed; top: 0; left: 0; z-index: 10; pointer-events: none; }

#reveal {
    position: relative;
    z-index: 20;
    text-align: center;
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 2s ease, transform 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

#reveal.show { opacity: 1; transform: scale(1); pointer-events: auto; }

.gallery-container { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glow);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    width: 45px; height: 45px;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 50, 100, 0.2);
    flex-shrink: 0;
}

.nav-btn:hover { background: rgba(255, 50, 100, 0.4); transform: scale(1.1); box-shadow: 0 0 25px rgba(255, 50, 100, 0.6); }
.nav-btn:active { transform: scale(0.95); }

.carousel-wrapper {
    width: var(--carousel-width);
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 0 30px var(--shadow-glow), 0 0 80px rgba(255, 50, 100, 0.3);
    border: 3px solid var(--border-glow);
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; 
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track img {
    flex: 0 0 100%; width: 100%;
    scroll-snap-align: center;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    object-position: top center;
    display: block;
    pointer-events: none;
}

#title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    color: var(--text-gold);
    text-shadow: 0 0 20px rgba(255,200,0,0.9), 0 0 50px rgba(255,100,0,0.5);
    font-style: italic;
    letter-spacing: 2px;
}

#subtitle { color: rgba(255,200,220,0.75); font-size: 0.85rem; margin-top: 6px; letter-spacing: 4px; text-transform: uppercase; }

#boom {
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(4rem, 18vw, 10rem);
    z-index: 30; pointer-events: none;
    animation: heartbeat 0.6s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}