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

:root {
    --deep-purple: #1e1b2e;
    --blush: #f5cfc7;
    --pink: #ff9eb8;
    --lavender: #a89eb8;
    --dark-purple: #2a2540;
    --mint: #7dffc3;
    --sage: #b8e6d4;
    --lilac: #d8c5f0;
    --ghost-white: #f0ecf5;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--deep-purple);
    color: var(--ghost-white);
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

.blob-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    pointer-events: none;
}

.nav-blob {
    pointer-events: auto;
}

.nav-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    color: var(--ghost-white);
    opacity: 0.8;
}

.nav-dots {
    display: flex;
    gap: 0.75rem;
    pointer-events: auto;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lavender);
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.4s, transform 0.4s, background 0.4s;
}

.nav-dot.active {
    opacity: 1;
    background: var(--mint);
    transform: scale(1.3);
}

.chamber {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chamber-0 { background: linear-gradient(180deg, #1e1b2e 0%, #2a2540 100%); }
#chamber-1 { background: linear-gradient(180deg, #2a2540 0%, #1e1b2e 100%); }
#chamber-2 { background: linear-gradient(180deg, #1e1b2e 0%, #2a2540 100%); }
#chamber-3 { background: linear-gradient(180deg, #2a2540 0%, #1e1b2e 100%); }
#chamber-4 { background: linear-gradient(180deg, #1e1b2e 0%, #2a2540 100%); }

.blob-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.blob-layer-back { z-index: 1; }
.blob-layer-mid { z-index: 2; }
.blob-layer-front { z-index: 3; }

.blob {
    width: 60vw;
    height: 60vh;
    opacity: 0.25;
    filter: blur(2px);
    animation: blobFloat 12s ease-in-out infinite;
}

.blob-lg {
    width: 75vw;
    height: 75vh;
}

.blob-sm {
    width: 35vw;
    height: 35vh;
    animation-duration: 8s;
}

.blob-xs {
    width: 20vw;
    height: 20vh;
    animation-duration: 6s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(2%, -3%) scale(1.02) rotate(1deg); }
    50% { transform: translate(-1%, 2%) scale(0.98) rotate(-1deg); }
    75% { transform: translate(1%, 1%) scale(1.01) rotate(0.5deg); }
}

.chamber-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
}

.display-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-transform: lowercase;
    color: var(--ghost-white);
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--blush);
    opacity: 0.9;
}

.mono-text {
    font-family: 'Inconsolata', monospace;
    font-size: 0.9rem;
    color: var(--mint);
    opacity: 0.7;
    margin-top: 1rem;
    display: block;
}

.blob-creature {
    position: absolute;
    z-index: 5;
    opacity: 0.7;
    animation: creatureDrift 15s ease-in-out infinite;
}

.creature-1 {
    width: 160px;
    bottom: 15%;
    right: 10%;
    animation-delay: -2s;
}

.creature-2 {
    width: 140px;
    top: 20%;
    left: 8%;
    animation-delay: -5s;
}

.creature-3 {
    width: 180px;
    bottom: 10%;
    left: 15%;
    animation-delay: -8s;
}

.creature-4 {
    width: 150px;
    top: 15%;
    right: 12%;
    animation-delay: -3s;
}

@keyframes creatureDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(2deg); }
    50% { transform: translate(-8px, 10px) rotate(-1deg); }
    75% { transform: translate(5px, -5px) rotate(1deg); }
}

.blink-dot {
    animation: blink 3s ease-in-out infinite;
}

.blink-dot:nth-child(even) {
    animation-delay: -1.5s;
}

@keyframes blink {
    0%, 40%, 100% { opacity: 0.3; }
    20% { opacity: 1; }
}

.circuit-overlay {
    position: absolute;
    z-index: 4;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    opacity: 0.5;
}

.circuit-svg {
    width: 100%;
    height: 100%;
}

.cta-blob {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #7dffc320, #d8c5f020);
    border: 1px solid #7dffc340;
    border-radius: 50px;
    display: inline-block;
    cursor: pointer;
    transition: background 0.4s, border-color 0.4s, transform 0.3s;
}

.cta-blob:hover {
    background: linear-gradient(135deg, #7dffc340, #d8c5f040);
    border-color: #7dffc380;
    transform: scale(1.05);
}

.cta-blob .mono-text {
    margin-top: 0;
    opacity: 1;
}
