/* glolos.com - Blobitecture Inflated Chamber Experience */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.8;
    overflow-x: hidden;
}

/* Section Indicator */
.section-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 100;
}

.indicator-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(200, 191, 214, 0.3);
    z-index: -1;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #C8BFD6;
    background: transparent;
    cursor: pointer;
    transition: all 400ms ease-out;
}

.indicator-dot.active {
    width: 14px;
    height: 14px;
    background: #C490E4;
    border-color: #C490E4;
}

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

.chamber-transition {
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 20vh;
    clip-path: ellipse(70% 85% at 50% 45%);
    z-index: 2;
}

.chamber-content {
    position: relative;
    max-width: 560px;
    width: 90%;
    z-index: 5;
    padding: 40px 0;
}

.section-number {
    font-family: 'Inconsolata', monospace;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 8vw, 72px);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.subsection-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.body-text {
    margin-bottom: 16px;
}

.return-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #C490E4, #90D4D4);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 10%;
    animation: drift1 12s ease-in-out infinite;
}

.orb-2 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    right: 15%;
    animation: drift2 14s ease-in-out infinite;
}

.orb-3 {
    width: 160px;
    height: 160px;
    top: 20%;
    right: 10%;
    animation: drift1 11s ease-in-out infinite;
}

.orb-4 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 15%;
    animation: drift2 13s ease-in-out infinite;
}

.orb-5 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: drift1 10s ease-in-out infinite;
    opacity: 0.12;
}

.orb-6 {
    width: 130px;
    height: 130px;
    top: 15%;
    right: 20%;
    animation: drift2 12s ease-in-out infinite;
}

.orb-7 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 20%;
    animation: drift1 14s ease-in-out infinite;
}

.orb-8 {
    width: 150px;
    height: 150px;
    top: 25%;
    left: 5%;
    animation: drift2 11s ease-in-out infinite;
}

.orb-9 {
    width: 130px;
    height: 130px;
    bottom: 20%;
    right: 10%;
    animation: drift1 13s ease-in-out infinite;
}

.orb-10 {
    width: 160px;
    height: 160px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: driftFade 4s ease-in-out forwards;
}

/* Blob Accent Shapes */
.blob-accent {
    position: absolute;
    border-radius: 58% 42% 65% 35% / 45% 55% 38% 62%;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.blob-accent-1 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -5%;
    background: #C490E4;
}

.blob-accent-2 {
    width: 450px;
    height: 350px;
    top: 5%;
    right: -10%;
    background: #90D4D4;
}

.blob-accent-3 {
    width: 380px;
    height: 420px;
    bottom: 5%;
    left: -8%;
    background: #90D4D4;
}

/* Pressure Lines */
.pressure-lines {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.pressure-lines-br {
    bottom: 10%;
    right: 10%;
}

.pressure-lines-tl {
    top: 10%;
    left: 10%;
}

.pressure-arc {
    position: absolute;
    border: 1px solid rgba(200, 191, 214, 0.15);
    border-radius: 50%;
}

.pressure-arc-1 {
    width: 160px;
    height: 160px;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.pressure-arc-2 {
    width: 240px;
    height: 240px;
    top: -40px;
    left: -40px;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.pressure-arc-3 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -80px;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

/* Chamber 1 - The Shell */
.chamber-1 {
    background: #F0E4FA;
    color: #4A3D5C;
}

.chamber-1 .hero-title {
    color: #2E1F42;
}

.chamber-1 .section-number {
    color: #8B7EA0;
}

/* Chamber 2 - The Float */
.chamber-2 {
    background: #E0F4F4;
    color: #2D5252;
}

.chamber-2 .chamber-transition {
    background: #E0F4F4;
}

.chamber-2 .section-title {
    color: #1A3D3D;
}

.chamber-2 .section-number {
    color: rgba(45, 82, 82, 0.5);
}

/* Chamber 3 - The Core */
.chamber-3 {
    background: #FFF4E6;
    color: #7A5A30;
}

.chamber-3 .chamber-transition {
    background: #FFF4E6;
}

.chamber-3 .section-title {
    color: #5C3D1A;
}

.chamber-3 .section-number {
    color: rgba(122, 90, 48, 0.5);
}

.chamber-3 .orb {
    background: radial-gradient(circle at 30% 30%, #E4C490, #D4B890);
}

/* Chamber 4 - The Garden */
.chamber-4 {
    background: #E8F0E4;
    color: #4A5C44;
}

.chamber-4 .chamber-transition {
    background: #E8F0E4;
}

.chamber-4 .section-title,
.chamber-4 .subsection-title {
    color: #2A3D24;
}

.chamber-4 .section-number {
    color: rgba(74, 92, 68, 0.5);
}

.garden-block {
    margin-bottom: 48px;
}

.garden-block:last-child {
    margin-bottom: 0;
}

/* Chamber 5 - The Close */
.chamber-5 {
    background: #F0E4FA;
    color: #4A3D5C;
}

.chamber-5 .section-number {
    color: #8B7EA0;
}

.closing-text {
    opacity: 0.8;
}

/* Animations */
@keyframes drift1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes drift2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes driftFade {
    0% { opacity: 0.15; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-40px); }
}

/* Reveal Animations */
.blur-focus {
    filter: blur(8px);
    opacity: 0.4;
    transition: filter 600ms ease-out, opacity 600ms ease-out;
}

.blur-focus.revealed {
    filter: blur(0);
    opacity: 1;
}

.fade-reveal {
    opacity: 0;
    transition: opacity 1000ms ease-out;
}

.fade-reveal.revealed {
    opacity: 1;
}

.slide-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
    transition-delay: var(--stagger, 0ms);
}

.slide-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .section-indicator {
        right: 12px;
    }

    .pressure-lines {
        display: none;
    }

    .blob-accent {
        width: 250px;
        height: 250px;
    }
}
