/* ==========================================================================
   gamelicensor.info - Cinematic Parallax Experience
   ========================================================================== */

/* --- Color Reference ---
   #0D0D11 - Obsidian Charcoal (primary bg)
   #C9A84C - Burnished Gold (display headings)
   #8B6F3A - Amber Resin (warm highlights)
   #B8C4D0 - Platinum Fog (subheadings)
   #5A7089 - Steel Horizon (cool accent)
   #1A2333 - Midnight Ink (final bg)
   #D4A0B9 - Prism Rose (bubble iridescent)
   #7EC8C8 - Prism Cyan (bubble iridescent)
   #E8E0D4 - Warm Parchment (text)
   #D0D8E0 - Cool Silver (late text)
   #151A22 - Mid-dark transition
   #1A1510 - Warm dark transition
*/

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Commissioner', sans-serif;
    background: #0D0D11;
    color: #E8E0D4;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Parallax Container --- */
.parallax-container {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    background: linear-gradient(180deg, #0D0D11 0%, #1A1510 20%, #151A22 60%, #1A2333 100%);
    background-attachment: fixed;
}

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

/* --- Depth Layers --- */
.layer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(-600px) scale(1.5);
    pointer-events: none;
    z-index: 1;
}

.layer-mid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(-300px) scale(1.25);
    pointer-events: none;
    z-index: 2;
}

.layer-fg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* --- Section Navigation --- */
.section-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.nav-dot:hover {
    background: rgba(201, 168, 76, 0.3);
    border-color: #8B6F3A;
}

.nav-dot.active {
    background: #C9A84C;
    border-color: #C9A84C;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* --- Grand Orbs --- */
.grand-orb {
    position: absolute;
    border-radius: 50%;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    animation: orb-drift-1 80s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    top: 30%;
    right: -8%;
    background: radial-gradient(circle at center, rgba(139, 111, 58, 0.06) 0%, transparent 70%);
    animation: orb-drift-2 100s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    bottom: -5%;
    left: 40%;
    background: radial-gradient(circle at center, rgba(212, 160, 185, 0.05) 0%, transparent 70%);
    animation: orb-drift-3 90s ease-in-out infinite;
}

.orb-4 {
    width: 600px;
    height: 600px;
    top: -15%;
    left: 20%;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    animation: orb-drift-1 120s ease-in-out infinite;
}

.orb-5 {
    width: 450px;
    height: 450px;
    bottom: -10%;
    right: 10%;
    background: radial-gradient(circle at center, rgba(126, 200, 200, 0.05) 0%, transparent 70%);
    animation: orb-drift-2 95s ease-in-out infinite;
}

.orb-6 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -10%;
    background: radial-gradient(circle at center, rgba(90, 112, 137, 0.07) 0%, transparent 70%);
    animation: orb-drift-3 110s ease-in-out infinite;
}

.orb-7 {
    width: 550px;
    height: 550px;
    top: -5%;
    right: -10%;
    background: radial-gradient(circle at center, rgba(90, 112, 137, 0.06) 0%, transparent 70%);
    animation: orb-drift-1 100s ease-in-out infinite;
}

.orb-8 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 5%;
    background: radial-gradient(circle at center, rgba(126, 200, 200, 0.05) 0%, transparent 70%);
    animation: orb-drift-2 85s ease-in-out infinite;
}

.orb-9 {
    width: 300px;
    height: 300px;
    top: 30%;
    left: 35%;
    background: radial-gradient(circle at center, rgba(90, 112, 137, 0.06) 0%, transparent 70%);
    animation: orb-drift-3 75s ease-in-out infinite;
}

/* --- Micro Bubbles --- */
.micro-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.mb-1 { width: 6px; height: 6px; top: 15%; left: 20%; animation: micro-drift 18s ease-in-out infinite; }
.mb-2 { width: 8px; height: 8px; top: 45%; left: 70%; animation: micro-drift 15s ease-in-out infinite 2s; }
.mb-3 { width: 5px; height: 5px; top: 70%; left: 35%; animation: micro-drift 20s ease-in-out infinite 4s; }
.mb-4 { width: 10px; height: 10px; top: 25%; left: 85%; animation: micro-drift 16s ease-in-out infinite 1s; }
.mb-5 { width: 4px; height: 4px; top: 60%; left: 50%; animation: micro-drift 22s ease-in-out infinite 3s; }
.mb-6 { width: 7px; height: 7px; top: 80%; left: 15%; animation: micro-drift 19s ease-in-out infinite 5s; }
.mb-7 { width: 5px; height: 5px; top: 10%; left: 55%; animation: micro-drift 17s ease-in-out infinite 2.5s; }
.mb-8 { width: 9px; height: 9px; top: 50%; left: 90%; animation: micro-drift 21s ease-in-out infinite 6s; }
.mb-9 { width: 6px; height: 6px; top: 20%; left: 25%; animation: micro-drift 18s ease-in-out infinite 1.5s; }
.mb-10 { width: 8px; height: 8px; top: 55%; left: 65%; animation: micro-drift 16s ease-in-out infinite 3.5s; }
.mb-11 { width: 4px; height: 4px; top: 75%; left: 40%; animation: micro-drift 20s ease-in-out infinite 0.5s; }
.mb-12 { width: 7px; height: 7px; top: 30%; left: 80%; animation: micro-drift 15s ease-in-out infinite 4.5s; }
.mb-13 { width: 5px; height: 5px; top: 85%; left: 55%; animation: micro-drift 19s ease-in-out infinite 2.2s; }
.mb-14 { width: 10px; height: 10px; top: 10%; left: 10%; animation: micro-drift 22s ease-in-out infinite 5.5s; }
.mb-15 { width: 6px; height: 6px; top: 18%; left: 30%; animation: micro-drift 17s ease-in-out infinite 1.2s; }
.mb-16 { width: 8px; height: 8px; top: 42%; left: 75%; animation: micro-drift 20s ease-in-out infinite 3.8s; }
.mb-17 { width: 5px; height: 5px; top: 68%; left: 22%; animation: micro-drift 15s ease-in-out infinite 0.8s; }
.mb-18 { width: 7px; height: 7px; top: 88%; left: 60%; animation: micro-drift 18s ease-in-out infinite 4.2s; }
.mb-19 { width: 4px; height: 4px; top: 35%; left: 48%; animation: micro-drift 21s ease-in-out infinite 2.8s; }
.mb-20 { width: 6px; height: 6px; top: 12%; left: 18%; animation: micro-drift 16s ease-in-out infinite 1.8s; }
.mb-21 { width: 9px; height: 9px; top: 48%; left: 72%; animation: micro-drift 19s ease-in-out infinite 5.2s; }
.mb-22 { width: 5px; height: 5px; top: 72%; left: 38%; animation: micro-drift 22s ease-in-out infinite 0.3s; }
.mb-23 { width: 8px; height: 8px; top: 28%; left: 88%; animation: micro-drift 15s ease-in-out infinite 3.2s; }
.mb-24 { width: 4px; height: 4px; top: 62%; left: 52%; animation: micro-drift 18s ease-in-out infinite 6.5s; }
.mb-25 { width: 7px; height: 7px; top: 82%; left: 12%; animation: micro-drift 20s ease-in-out infinite 1.6s; }
.mb-26 { width: 6px; height: 6px; top: 8%; left: 58%; animation: micro-drift 17s ease-in-out infinite 4.8s; }
.mb-27 { width: 5px; height: 5px; top: 22%; left: 42%; animation: micro-drift 19s ease-in-out infinite 2.5s; }
.mb-28 { width: 8px; height: 8px; top: 52%; left: 78%; animation: micro-drift 16s ease-in-out infinite 0.7s; }
.mb-29 { width: 4px; height: 4px; top: 78%; left: 28%; animation: micro-drift 21s ease-in-out infinite 3.6s; }
.mb-30 { width: 7px; height: 7px; top: 38%; left: 62%; animation: micro-drift 18s ease-in-out infinite 5.8s; }

/* --- Meso Bubbles --- */
.meso-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.meso-1 {
    width: 70px; height: 70px;
    top: 20%; left: 15%;
    background: radial-gradient(circle at 30% 30%, #D4A0B933 0%, transparent 70%);
    animation: bubble-drift 18s ease-in-out infinite;
}

.meso-2 {
    width: 50px; height: 50px;
    top: 60%; right: 20%;
    background: radial-gradient(circle at 30% 30%, #7EC8C82E 0%, transparent 70%);
    animation: bubble-drift 22s ease-in-out infinite 3s;
}

.meso-3 {
    width: 90px; height: 90px;
    top: 40%; left: 75%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.15) 0%, transparent 70%);
    animation: bubble-drift 25s ease-in-out infinite 6s;
}

.meso-4 {
    width: 60px; height: 60px;
    top: 15%; left: 80%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.2) 0%, transparent 70%);
    animation: bubble-drift 20s ease-in-out infinite 2s;
}

.meso-5 {
    width: 80px; height: 80px;
    top: 55%; left: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.18) 0%, transparent 70%);
    animation: bubble-drift 24s ease-in-out infinite 5s;
}

.meso-6 {
    width: 45px; height: 45px;
    top: 75%; right: 25%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.22) 0%, transparent 70%);
    animation: bubble-drift 16s ease-in-out infinite 1s;
}

.meso-7 {
    width: 55px; height: 55px;
    top: 35%; left: 45%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.16) 0%, transparent 70%);
    animation: bubble-drift 19s ease-in-out infinite 4s;
}

.meso-8 {
    width: 65px; height: 65px;
    top: 25%; right: 15%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.2) 0%, transparent 70%);
    animation: bubble-drift 21s ease-in-out infinite 2.5s;
}

.meso-9 {
    width: 75px; height: 75px;
    top: 65%; left: 30%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.17) 0%, transparent 70%);
    animation: bubble-drift 23s ease-in-out infinite 7s;
}

.meso-10 {
    width: 55px; height: 55px;
    top: 30%; left: 25%;
    background: radial-gradient(circle at 30% 30%, rgba(90, 112, 137, 0.2) 0%, transparent 70%);
    animation: bubble-drift 20s ease-in-out infinite 3.5s;
}

.meso-11 {
    width: 40px; height: 40px;
    top: 60%; right: 30%;
    background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.18) 0%, transparent 70%);
    animation: bubble-drift 17s ease-in-out infinite 1.5s;
}

/* --- Prismatic Shards --- */
.prismatic-shard {
    position: absolute;
    width: 40px;
    height: 40px;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.shard-1 {
    top: 30%; left: 25%;
    background: linear-gradient(135deg, rgba(212, 160, 185, 0.15) 0%, rgba(126, 200, 200, 0.1) 100%);
    transform: rotate(35deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 30s ease-in-out infinite;
}

.shard-2 {
    top: 70%; right: 20%;
    width: 35px; height: 35px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(212, 160, 185, 0.08) 100%);
    transform: rotate(65deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 35s ease-in-out infinite 5s;
}

.shard-3 {
    top: 45%; right: 35%;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(126, 200, 200, 0.12) 0%, rgba(212, 160, 185, 0.08) 100%);
    transform: rotate(20deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 28s ease-in-out infinite 3s;
}

.shard-4 {
    top: 20%; left: 60%;
    width: 45px; height: 45px;
    background: linear-gradient(135deg, rgba(90, 112, 137, 0.15) 0%, rgba(126, 200, 200, 0.1) 100%);
    transform: rotate(50deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 32s ease-in-out infinite 8s;
}

.shard-5 {
    top: 75%; left: 40%;
    width: 30px; height: 30px;
    background: linear-gradient(135deg, rgba(212, 160, 185, 0.12) 0%, rgba(201, 168, 76, 0.08) 100%);
    transform: rotate(80deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 26s ease-in-out infinite 2s;
}

.shard-6 {
    top: 25%; left: 15%;
    width: 55px; height: 55px;
    background: linear-gradient(135deg, rgba(90, 112, 137, 0.12) 0%, rgba(126, 200, 200, 0.08) 100%);
    transform: rotate(40deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 33s ease-in-out infinite 4s;
}

.shard-7 {
    top: 70%; right: 15%;
    width: 38px; height: 38px;
    background: linear-gradient(135deg, rgba(212, 160, 185, 0.1) 0%, rgba(90, 112, 137, 0.08) 100%);
    transform: rotate(70deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: shard-float 29s ease-in-out infinite 6s;
}

/* --- Macro Bubbles --- */
.macro-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.macro-overture {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.03) 0%, transparent 80%);
}

.macro-archive {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 5%;
    background: radial-gradient(circle at center, rgba(126, 200, 200, 0.03) 0%, transparent 80%);
}

/* --- Ribbon Dividers --- */
.ribbon-divider {
    position: relative;
    width: 100%;
    height: 2px;
    z-index: 5;
}

.ribbon-1 {
    background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.06) 30%, rgba(201, 168, 76, 0.06) 70%, transparent 100%);
}

.ribbon-2 {
    background: linear-gradient(90deg, transparent 0%, rgba(184, 196, 208, 0.06) 30%, rgba(184, 196, 208, 0.06) 70%, transparent 100%);
}

.ribbon-3 {
    background: linear-gradient(90deg, transparent 0%, rgba(90, 112, 137, 0.06) 30%, rgba(90, 112, 137, 0.06) 70%, transparent 100%);
}

.ribbon-4 {
    background: linear-gradient(90deg, transparent 0%, rgba(90, 112, 137, 0.05) 30%, rgba(90, 112, 137, 0.05) 70%, transparent 100%);
}

/* --- Accent Numerals --- */
.accent-numeral {
    position: absolute;
    font-family: 'Commissioner', sans-serif;
    font-weight: 900;
    font-size: 200px;
    color: rgba(201, 168, 76, 0.08);
    letter-spacing: -0.03em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* --- Typography --- */
.display-heading {
    font-family: 'Commissioner', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #C9A84C;
}

.subheading {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: clamp(22px, 3vw, 36px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #B8C4D0;
    margin-top: 20px;
}

.body-text {
    font-family: 'Commissioner', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.75;
    color: #E8E0D4;
    max-width: 600px;
    margin-top: 24px;
}

.caption-text {
    font-family: 'Commissioner', sans-serif;
    font-weight: 200;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 192, 180, 0.6);
    display: block;
    margin-top: 32px;
}

/* --- Slide Reveal System --- */
.slide-reveal-mask {
    overflow: hidden;
    display: block;
}

.slide-content {
    transform: translateY(100%);
    transition: transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-content.revealed {
    transform: translateY(0);
}

/* --- Panel 1: Overture --- */
.panel-overture {
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.overture-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.title-reveal {
    font-family: 'Commissioner', sans-serif;
    font-weight: 800;
    font-size: clamp(56px, 10vw, 120px);
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #C9A84C;
    display: inline-flex;
}

.char-mask {
    overflow: hidden;
    display: inline-block;
}

.char {
    display: inline-block;
    transform: translateY(120%);
    transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.char.revealed {
    transform: translateY(0);
}

.overture-subtitle {
    font-family: 'Commissioner', sans-serif;
    font-weight: 300;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: 0.08em;
    color: #B8C4D0;
    margin-top: 8px;
}

/* --- Panel 2: Archive --- */
.panel-archive {
    background: radial-gradient(ellipse at 60% 40%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
}

.archive-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
    gap: 120px;
    position: relative;
    z-index: 10;
}

.archive-col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40vh;
    transform: translateY(-20vh);
}

/* --- Panel 3: Apparatus --- */
.panel-apparatus {
    background: radial-gradient(ellipse at 50% 50%, rgba(90, 112, 137, 0.06) 0%, transparent 70%);
}

.apparatus-content {
    max-width: 680px;
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.apparatus-heading {
    color: #B8C4D0;
}

.apparatus-content .subheading {
    color: #5A7089;
}

.apparatus-content .body-text {
    color: #D0D8E0;
    max-width: 100%;
}

/* --- Panel 4: Panorama --- */
.panel-panorama {
    background: radial-gradient(ellipse at 70% 50%, rgba(90, 112, 137, 0.08) 0%, transparent 70%);
}

.panorama-fg {
    padding: 0 80px;
    align-items: flex-start;
}

.panorama-heading {
    font-family: 'Commissioner', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #5A7089;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
}

.panorama-text {
    font-family: 'Commissioner', sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 1.8vw, 22px);
    line-height: 1.75;
    color: #D0D8E0;
    max-width: 700px;
    margin-top: 32px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.panorama-text-lower {
    margin-top: 24px;
}

/* --- Bubble Clusters (Panorama) --- */
.bubble-cluster {
    position: absolute;
}

.cluster-left {
    top: 10%;
    left: -5%;
}

.cluster-right {
    bottom: 10%;
    right: -5%;
}

.cluster-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.cb-1 { width: 80px; height: 80px; top: 0; left: 0; background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.2) 0%, transparent 70%); animation: bubble-drift 20s ease-in-out infinite; }
.cb-2 { width: 50px; height: 50px; top: 60px; left: 70px; background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.18) 0%, transparent 70%); animation: bubble-drift 18s ease-in-out infinite 2s; }
.cb-3 { width: 35px; height: 35px; top: 20px; left: 110px; background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.15) 0%, transparent 70%); animation: bubble-drift 22s ease-in-out infinite 4s; }
.cb-4 { width: 65px; height: 65px; top: 100px; left: 30px; background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.2) 0%, transparent 70%); animation: bubble-drift 16s ease-in-out infinite 1s; }
.cb-5 { width: 25px; height: 25px; top: 80px; left: 120px; background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.22) 0%, transparent 70%); animation: bubble-drift 24s ease-in-out infinite 6s; }
.cb-6 { width: 75px; height: 75px; top: 0; left: 0; background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.2) 0%, transparent 70%); animation: bubble-drift 19s ease-in-out infinite 3s; }
.cb-7 { width: 45px; height: 45px; top: 70px; left: 60px; background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.18) 0%, transparent 70%); animation: bubble-drift 21s ease-in-out infinite 5s; }
.cb-8 { width: 55px; height: 55px; top: 30px; left: 100px; background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.15) 0%, transparent 70%); animation: bubble-drift 17s ease-in-out infinite 1.5s; }
.cb-9 { width: 30px; height: 30px; top: 110px; left: 40px; background: radial-gradient(circle at 30% 30%, rgba(212, 160, 185, 0.2) 0%, transparent 70%); animation: bubble-drift 23s ease-in-out infinite 7s; }
.cb-10 { width: 90px; height: 90px; top: -20px; left: 50px; background: radial-gradient(circle at 30% 30%, rgba(126, 200, 200, 0.12) 0%, transparent 70%); animation: bubble-drift 25s ease-in-out infinite 4.5s; }

/* --- Panel 5: Coda --- */
.panel-coda {
    background: radial-gradient(ellipse at 50% 50%, rgba(26, 35, 51, 0.5) 0%, transparent 70%);
    position: relative;
}

.coda-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.coda-heading {
    font-family: 'Commissioner', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 6vw, 80px);
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #5A7089;
}

.coda-caption {
    font-family: 'Commissioner', sans-serif;
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 192, 180, 0.4);
    display: block;
    margin-top: 40px;
}

.coda-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, #0D0D11 100%);
    pointer-events: none;
    z-index: 20;
}

/* --- Frosted Glass Containers --- */
.archive-layout,
.apparatus-content {
    background: rgba(13, 13, 17, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 60px;
}

.archive-layout {
    padding: 80px 60px;
}

/* --- Section-Specific Warm/Cool Radials --- */
.panel-overture::before,
.panel-archive::before,
.panel-apparatus::before,
.panel-panorama::before,
.panel-coda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.panel-overture::before {
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.panel-archive::before {
    background: radial-gradient(ellipse at 60% 40%, rgba(139, 111, 58, 0.05) 0%, transparent 70%);
}

.panel-apparatus::before {
    background: radial-gradient(ellipse at 50% 50%, rgba(90, 112, 137, 0.06) 0%, transparent 70%);
}

.panel-panorama::before {
    background: radial-gradient(ellipse at 70% 50%, rgba(90, 112, 137, 0.08) 0%, transparent 70%);
}

.panel-coda::before {
    background: radial-gradient(ellipse at 50% 60%, rgba(26, 35, 51, 0.08) 0%, transparent 70%);
}

/* --- Keyframe Animations --- */
@keyframes orb-drift-1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(25px, -15px); }
    50% { transform: translate(-10px, 20px); }
    75% { transform: translate(15px, 10px); }
}

@keyframes orb-drift-2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, 10px); }
    50% { transform: translate(15px, -25px); }
    75% { transform: translate(-10px, -5px); }
}

@keyframes orb-drift-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, 20px); }
    66% { transform: translate(-15px, -10px); }
}

@keyframes micro-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
    33% { transform: translate(8px, -15px) scale(1.05); opacity: 0.15; }
    66% { transform: translate(-5px, -25px) scale(0.97); opacity: 0.08; }
}

@keyframes bubble-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(8px, -15px) scale(1.05); }
    66% { transform: translate(-5px, -25px) scale(0.97); }
}

@keyframes shard-float {
    0%, 100% { transform: rotate(var(--base-rotation, 35deg)) translate(0, 0); }
    50% { transform: rotate(var(--base-rotation, 35deg)) translate(10px, -12px); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .archive-layout {
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px;
    }

    .archive-col-right {
        padding-top: 0;
        transform: none;
    }

    .panorama-fg {
        padding: 0 24px;
    }

    .section-nav {
        right: 12px;
    }

    .accent-numeral {
        font-size: 120px;
    }
}

@media (max-width: 600px) {
    .apparatus-content {
        padding: 32px 16px;
    }

    .archive-layout {
        padding: 32px 16px;
    }

    .accent-numeral {
        font-size: 80px;
    }
}
