/* gabs.boo - Vaporwave Haunted Value Revelation */

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

:root {
    --deep-vapor: #1A0A2E;
    --mist-purple: #2E1A3A;
    --deep-ocean: #0A1A2E;
    --hot-pink: #FF71CE;
    --cyan-glow: #01CDFE;
    --lilac-neon: #B967FF;
    --mint-ghost: #05FFA1;
    --sunset-orange: #FF6B6B;
    --vapor-text: #E0D0F0;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.7;
    background: #0A0A1E;
    color: var(--vapor-text);
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100vh;
}

/* ==================== SCROLL CONTAINER ==================== */
.scroll-container {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    height: 100vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* ==================== CHAMBERS ==================== */
.chamber {
    min-width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.entrance { background: linear-gradient(135deg, #1A0A2E 0%, #2E1A3A 40%, #0A1A2E 100%); }
.c1 { background: linear-gradient(135deg, #1A0A2E, #2E1A3A); }
.c2 { background: linear-gradient(135deg, #0A1A2E, #1A2A4E); }
.c3 { background: linear-gradient(135deg, #2E0A2E, #3A1A2A); }
.c4 { background: linear-gradient(135deg, #0A2E1A, #1A3A2E); }
.c5 { background: linear-gradient(135deg, #1A1A2E, #0A0A1E); }

.chamber-content {
    text-align: center;
    max-width: 600px;
    z-index: 2;
}

/* ==================== HERO TEXT ==================== */
.hero-gabs {
    font-family: 'Righteous', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--hot-pink);
    line-height: 1;
    text-shadow: 4px 0 var(--hot-pink), -4px 0 var(--cyan-glow);
    transition: text-shadow 200ms ease;
}

.hero-gabs.settled {
    text-shadow: 0 0 0 transparent;
}

.hero-boo {
    display: block;
    font-family: 'Creepster', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--cyan-glow);
    text-shadow: 0 0 0px rgba(1, 205, 254, 0);
    transition: text-shadow 400ms ease;
}

.hero-boo.glowing {
    text-shadow: 0 0 20px rgba(1, 205, 254, 0.4);
}

.scroll-hint {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: hintPulse 2s ease-in-out infinite;
}

.hint-arrow {
    font-size: 1.2rem;
    color: var(--lilac-neon);
}

.hint-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--lilac-neon);
    opacity: 0.5;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==================== CHAMBER CONTENT ==================== */
.chamber-value {
    font-family: 'Righteous', sans-serif;
    font-size: 5rem;
    color: var(--hot-pink);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.chamber-title {
    font-family: 'Creepster', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--cyan-glow);
    margin-bottom: 1.5rem;
}

.chamber-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--vapor-text);
    opacity: 0;
    transition: opacity 500ms ease;
}

.chamber-desc.visible {
    opacity: 1;
}

/* ==================== GHOSTS ==================== */
.ghost {
    position: absolute;
    z-index: 1;
}

.ghost-entrance {
    bottom: 15%;
    right: 15%;
}

.ghost-float {
    animation: ghostFloat 3s ease-in-out infinite;
}

.c1 .ghost { top: 15%; right: 10%; }
.c2 .ghost { bottom: 20%; left: 8%; }
.c3 .ghost { top: 10%; left: 15%; }
.c4 .ghost { bottom: 15%; right: 12%; }

@keyframes ghostFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==================== TOMBSTONES ==================== */
.cemetery-title {
    margin-bottom: 2rem;
}

.tombstone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.tombstone {
    width: 120px;
    height: 160px;
    border: 2px solid var(--lilac-neon);
    border-radius: 12px 12px 0 0;
    background: rgba(185, 103, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    transform: scale(0.8);
    transition: transform 300ms ease;
}

.tombstone.revealed {
    transform: scale(1);
}

.tombstone:hover {
    animation: tombWobble 300ms ease;
}

@keyframes tombWobble {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

.tomb-rip {
    font-family: 'Creepster', sans-serif;
    font-size: 0.8rem;
    color: var(--lilac-neon);
}

.tomb-price {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--hot-pink);
}

.tomb-note {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--vapor-text);
    opacity: 0.6;
    text-align: center;
}

/* ==================== FOOTER ==================== */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    pointer-events: none;
    z-index: 10;
}

.exit-portal {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hot-pink) 0%, transparent 70%);
    margin: 0 auto 0.5rem;
    opacity: 0.3;
}

.footer-text {
    font-family: 'Creepster', sans-serif;
    font-size: 1rem;
    color: var(--hot-pink);
    opacity: 0.5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
    .tombstone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tombstone {
        width: 100%;
    }
}
