/* ============================================
   chrono.games - Luxury Timepiece x Gaming
   Isometric Diorama Experience
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --sunset-amber: #E8713A;
    --parchment-gold: #F5E6C8;
    --deep-aubergine: #3D1C4A;
    --antiqued-gold: #D4A843;
    --coral-blush: #E8967A;
    --midnight-vault: #1A0E26;
    --burnt-sienna: #C45A2D;
    --horizon-lavender: #9B7DBF;

    --font-display: 'Fraunces', serif;
    --font-body: 'Outfit', sans-serif;

    --spring-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-aubergine);
    color: var(--parchment-gold);
    font-family: var(--font-body);
    font-weight: 350;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Scene (Full Viewport Sections) --- */
.scene {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scene-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

/* --- Section Dividers --- */
.section-divider {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-line {
    width: 60%;
    height: 2px;
    background-color: var(--antiqued-gold);
    transform: rotate(-45deg);
    transform-origin: center;
}

/* --- Typography --- */

/* Hero logotype */
.logotype {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 200;
    font-variation-settings: 'opsz' 144, 'WONK' 1;
    color: var(--parchment-gold);
    letter-spacing: -0.02em;
    animation: breathe 60s ease-in-out infinite;
    position: relative;
    z-index: 10;
    text-align: left;
    margin-top: 2rem;
}

.logotype:hover {
    animation-duration: 30s;
}

@keyframes breathe {
    0%, 100% { font-variation-settings: 'wght' 200, 'opsz' 144, 'WONK' 1; }
    50% { font-variation-settings: 'wght' 700, 'opsz' 144, 'WONK' 1; }
}

.hero-tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--antiqued-gold);
    margin-top: 0.5rem;
    position: relative;
    z-index: 10;
    align-self: flex-start;
    margin-left: 5%;
}

/* Section headings */
.section-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-variation-settings: 'opsz' 48;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--sunset-amber);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* Pull quotes */
.pull-quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-variation-settings: 'opsz' 36, 'WONK' 1;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--antiqued-gold);
    line-height: 1.5;
}

/* Body text */
.body-text {
    font-family: var(--font-body);
    font-weight: 350;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
    color: var(--parchment-gold);
}

/* Captions and labels */
.caption {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--antiqued-gold);
}

/* Variable-fluid: at narrow viewports, reduce WONK */
@media (max-width: 768px) {
    .logotype {
        font-variation-settings: 'opsz' 72, 'WONK' 0;
    }
    @keyframes breathe {
        0%, 100% { font-variation-settings: 'wght' 200, 'opsz' 72, 'WONK' 0; }
        50% { font-variation-settings: 'wght' 700, 'opsz' 72, 'WONK' 0; }
    }
}

/* ============================================
   ISOMETRIC SYSTEM
   ============================================ */

.isometric-stage {
    transform: rotateX(55deg) rotateZ(45deg);
    transform-style: preserve-3d;
    position: relative;
}

/* Three-tone face system */
.iso-face {
    position: absolute;
}

.iso-top {
    background-color: var(--sunset-amber);
}

.iso-left {
    background-color: var(--burnt-sienna);
}

.iso-right {
    background-color: var(--deep-aubergine);
}

/* ============================================
   SECTION 0: THE CLOCKTOWER
   ============================================ */

#clocktower {
    background-color: var(--deep-aubergine);
}

#clocktower .isometric-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotateX(55deg) rotateZ(45deg);
}

/* Tower blocks - stacked isometric cubes */
.tower {
    position: relative;
    transform-style: preserve-3d;
}

.tower-block {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
}

.tower-block .iso-top {
    width: 100px;
    height: 100px;
    transform: translateZ(40px);
    top: 0;
    left: 0;
}

.tower-block .iso-left {
    width: 100px;
    height: 40px;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    bottom: 0;
    left: 0;
}

.tower-block .iso-right {
    width: 40px;
    height: 100px;
    transform: rotateY(90deg);
    transform-origin: right;
    top: 0;
    right: 0;
}

.tower-block-1 { transform: translateZ(0px); }
.tower-block-2 { transform: translateZ(40px); width: 90px; height: 90px; left: 5px; top: 5px; }
.tower-block-3 { transform: translateZ(80px); width: 80px; height: 80px; left: 10px; top: 10px; }
.tower-block-4 { transform: translateZ(120px); width: 70px; height: 70px; left: 15px; top: 15px; }
.tower-block-5 { transform: translateZ(160px); width: 60px; height: 60px; left: 20px; top: 20px; }

.tower-block-2 .iso-top,
.tower-block-4 .iso-top { background-color: var(--deep-aubergine); }
.tower-block-2 .iso-left,
.tower-block-4 .iso-left { background-color: var(--midnight-vault); }
.tower-block-2 .iso-right,
.tower-block-4 .iso-right { background-color: var(--burnt-sienna); }

/* Clock face */
.clock-face {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--parchment-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(200px);
    z-index: 5;
}

.clock-hand {
    position: absolute;
    background-color: var(--midnight-vault);
    transform-origin: bottom center;
    bottom: 50%;
    left: 50%;
}

.clock-hour {
    width: 3px;
    height: 14px;
    margin-left: -1.5px;
}

.clock-minute {
    width: 2px;
    height: 20px;
    margin-left: -1px;
}

.clock-center {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--sunset-amber);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Tower shadow */
.tower-shadow {
    position: absolute;
    width: 200px;
    height: 60px;
    background: var(--midnight-vault);
    opacity: 0.5;
    border-radius: 42% 58% 70% 30% / 45% 55% 60% 40%;
    top: 80%;
    left: 60%;
    transform: rotateX(55deg) rotateZ(45deg) skewX(-15deg);
    filter: blur(20px);
}

/* Scroll chevron */
.scroll-chevron {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.chevron-diamond {
    width: 20px;
    height: 20px;
    border: 2px solid var(--antiqued-gold);
    transform: rotate(45deg);
    animation: pulse-chevron 2s ease-in-out infinite;
}

.chevron-diamond:hover {
    transform: rotate(45deg) scale(1.08);
    transition: transform 400ms var(--spring-ease);
}

@keyframes pulse-chevron {
    0%, 100% { opacity: 1; transform: rotate(45deg) translateY(0); }
    50% { opacity: 0.5; transform: rotate(45deg) translateY(8px); }
}

/* ============================================
   ORGANIC BLOBS
   ============================================ */

.blob {
    position: absolute;
    transition: border-radius 800ms ease;
}

.blob-hero-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(232, 150, 122, 0.4);
    border-radius: 42% 58% 70% 30% / 45% 55% 60% 40%;
    top: 15%;
    right: 10%;
    animation: blob-morph-1 10s ease-in-out infinite;
}

.blob-hero-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(155, 125, 191, 0.25);
    border-radius: 62% 38% 50% 50% / 35% 65% 35% 65%;
    bottom: 20%;
    left: 8%;
    animation: blob-morph-2 10s ease-in-out infinite;
}

.blob:hover {
    border-radius: 58% 42% 30% 70% / 55% 45% 40% 60%;
}

@keyframes blob-morph-1 {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 55% 60% 40%; }
    33% { border-radius: 55% 45% 40% 60% / 65% 35% 55% 45%; }
    66% { border-radius: 38% 62% 55% 45% / 50% 50% 40% 60%; }
}

@keyframes blob-morph-2 {
    0%, 100% { border-radius: 62% 38% 50% 50% / 35% 65% 35% 65%; }
    33% { border-radius: 45% 55% 65% 35% / 50% 50% 55% 45%; }
    66% { border-radius: 55% 45% 35% 65% / 60% 40% 50% 50%; }
}

/* ============================================
   SECTION 1: THE GEARWORKS
   ============================================ */

#gearworks {
    background-color: var(--deep-aubergine);
}

#gearworks .scene-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.gearworks-stage {
    position: relative;
    width: 350px;
    height: 350px;
    flex-shrink: 0;
}

/* Gear styling */
.gear {
    position: absolute;
    border-radius: 50%;
}

.gear-body {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid var(--sunset-amber);
    background-color: var(--burnt-sienna);
}

.gear-large {
    width: 160px;
    height: 160px;
    top: 40px;
    left: 40px;
    animation: gear-rotate 30s linear infinite;
}

.gear-medium {
    width: 110px;
    height: 110px;
    top: 20px;
    right: 40px;
    animation: gear-rotate-reverse 20s linear infinite;
}

.gear-small {
    width: 70px;
    height: 70px;
    bottom: 60px;
    left: 100px;
    animation: gear-rotate 15s linear infinite;
}

@keyframes gear-rotate {
    to { transform: rotateZ(360deg); }
}

@keyframes gear-rotate-reverse {
    to { transform: rotateZ(-360deg); }
}

/* Gear teeth */
.gear-tooth {
    position: absolute;
    width: 16px;
    height: 8px;
    background-color: var(--sunset-amber);
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

.gear-large .gear-tooth:nth-child(1) { transform: rotate(0deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(2) { transform: rotate(45deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(3) { transform: rotate(90deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(4) { transform: rotate(135deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(5) { transform: rotate(180deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(6) { transform: rotate(225deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(7) { transform: rotate(270deg) translate(74px, -4px); }
.gear-large .gear-tooth:nth-child(8) { transform: rotate(315deg) translate(74px, -4px); }

.gear-medium .gear-tooth:nth-child(1) { transform: rotate(0deg) translate(49px, -4px); }
.gear-medium .gear-tooth:nth-child(2) { transform: rotate(60deg) translate(49px, -4px); }
.gear-medium .gear-tooth:nth-child(3) { transform: rotate(120deg) translate(49px, -4px); }
.gear-medium .gear-tooth:nth-child(4) { transform: rotate(180deg) translate(49px, -4px); }
.gear-medium .gear-tooth:nth-child(5) { transform: rotate(240deg) translate(49px, -4px); }
.gear-medium .gear-tooth:nth-child(6) { transform: rotate(300deg) translate(49px, -4px); }

.gear-small .gear-tooth:nth-child(1) { transform: rotate(0deg) translate(29px, -4px); }
.gear-small .gear-tooth:nth-child(2) { transform: rotate(72deg) translate(29px, -4px); }
.gear-small .gear-tooth:nth-child(3) { transform: rotate(144deg) translate(29px, -4px); }
.gear-small .gear-tooth:nth-child(4) { transform: rotate(216deg) translate(29px, -4px); }
.gear-small .gear-tooth:nth-child(5) { transform: rotate(288deg) translate(29px, -4px); }

.gear-center {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--antiqued-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gear-small .gear-center {
    width: 14px;
    height: 14px;
}

/* Isometric cards */
.iso-card {
    position: relative;
    background-color: rgba(61, 28, 74, 0.85);
    border: 1px solid rgba(212, 168, 67, 0.3);
    padding: 2rem;
    max-width: 420px;
    transform: skewY(-2deg);
    transition: transform 400ms var(--spring-ease);
}

.iso-card:hover {
    transform: skewY(-2deg) scale(1.08);
}

.card-blob {
    width: 120px;
    height: 120px;
    background-color: rgba(232, 150, 122, 0.4);
    border-radius: 55% 45% 60% 40% / 40% 60% 35% 65%;
    top: -30px;
    right: -20px;
    z-index: -1;
    animation: blob-morph-1 10s ease-in-out infinite;
}

.iso-card-1 {
    z-index: 5;
}

.iso-card-2 {
    z-index: 5;
    margin-top: 1rem;
}

/* ============================================
   SECTION 2: THE HOURGLASS GARDEN
   ============================================ */

#hourglass-garden {
    background-color: var(--deep-aubergine);
}

.garden-ground {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.ground-blob {
    position: absolute;
}

.ground-blob-1 {
    width: 500px;
    height: 200px;
    background-color: rgba(232, 150, 122, 0.4);
    border-radius: 48% 52% 65% 35% / 60% 40% 55% 45%;
    bottom: 15%;
    left: -5%;
    animation: blob-morph-1 12s ease-in-out infinite;
}

.ground-blob-2 {
    width: 400px;
    height: 180px;
    background-color: rgba(155, 125, 191, 0.25);
    border-radius: 55% 45% 38% 62% / 45% 55% 50% 50%;
    bottom: 10%;
    right: -5%;
    animation: blob-morph-2 14s ease-in-out infinite;
}

.ground-blob-3 {
    width: 300px;
    height: 150px;
    background-color: rgba(232, 150, 122, 0.3);
    border-radius: 40% 60% 55% 45% / 50% 50% 45% 55%;
    bottom: 20%;
    left: 30%;
    animation: blob-morph-1 11s ease-in-out infinite;
}

/* Hourglasses */
.hourglass-row {
    display: flex;
    gap: 4rem;
    align-items: flex-end;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.hourglass {
    position: relative;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 400ms var(--spring-ease);
}

.hourglass:hover {
    transform: scale(1.08);
}

.hourglass-top {
    width: 50px;
    height: 50px;
    border: 3px solid var(--antiqued-gold);
    border-bottom: none;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
    background: linear-gradient(180deg, var(--sunset-amber), transparent);
}

.hourglass-neck {
    width: 8px;
    height: 6px;
    background-color: var(--antiqued-gold);
}

.hourglass-bottom {
    width: 50px;
    height: 50px;
    border: 3px solid var(--antiqued-gold);
    border-top: none;
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.hourglass-sand {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

.hourglass-1 .hourglass-top { background: linear-gradient(180deg, var(--sunset-amber), rgba(232, 113, 58, 0.2)); }
.hourglass-1 .hourglass-sand { background-color: var(--sunset-amber); }
.hourglass-1 { height: 130px; }

.hourglass-2 .hourglass-top { background: linear-gradient(180deg, var(--coral-blush), rgba(232, 150, 122, 0.2)); }
.hourglass-2 .hourglass-sand { background-color: var(--coral-blush); }
.hourglass-2 { height: 150px; }

.hourglass-3 .hourglass-top { background: linear-gradient(180deg, var(--antiqued-gold), rgba(212, 168, 67, 0.2)); }
.hourglass-3 .hourglass-sand { background-color: var(--antiqued-gold); }
.hourglass-3 { height: 110px; }

/* Crystalline shards */
.shard {
    position: absolute;
    background-color: var(--antiqued-gold);
    opacity: 0.6;
    z-index: 1;
}

.shard-1 {
    width: 4px;
    height: 60px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    bottom: 30%;
    left: 25%;
    transform: rotate(15deg);
}

.shard-2 {
    width: 6px;
    height: 80px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    bottom: 25%;
    right: 30%;
    transform: rotate(-10deg);
}

.shard-3 {
    width: 3px;
    height: 45px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    bottom: 35%;
    left: 55%;
    transform: rotate(5deg);
}

/* Stone tablets */
.stone-tablet {
    position: relative;
    z-index: 5;
    background-color: rgba(61, 28, 74, 0.9);
    border: 1px solid rgba(212, 168, 67, 0.4);
    padding: 2.5rem;
    max-width: 500px;
    transform: skewY(-1deg);
    transition: transform 400ms var(--spring-ease);
}

.stone-tablet:hover {
    transform: skewY(-1deg) scale(1.08);
}

.stone-tablet-2 {
    margin-top: 2rem;
    max-width: 400px;
    align-self: flex-end;
}

/* ============================================
   SECTION 3: THE SUNDIAL ARENA
   ============================================ */

#sundial-arena {
    background-color: var(--deep-aubergine);
}

#sundial-arena .scene-inner {
    gap: 2rem;
}

.arena {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

/* Arena tiers */
.arena-tier {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-style: preserve-3d;
}

.arena-tier-1 {
    width: 360px;
    height: 60px;
    bottom: 0;
    background-color: var(--burnt-sienna);
    border-radius: 50%;
}

.arena-tier-2 {
    width: 300px;
    height: 50px;
    bottom: 40px;
    background-color: var(--deep-aubergine);
    border: 2px solid var(--burnt-sienna);
    border-radius: 50%;
}

.arena-tier-3 {
    width: 240px;
    height: 40px;
    bottom: 75px;
    background-color: var(--sunset-amber);
    border-radius: 50%;
}

/* Isometric figures (stacked cubes as people) */
.iso-figure {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.figure-block {
    width: 10px;
    height: 10px;
    background-color: var(--parchment-gold);
}

.figure-block:first-child {
    background-color: var(--coral-blush);
    border-radius: 2px;
}

.figure-1 { top: -18px; left: 30%; }
.figure-2 { top: -18px; right: 25%; }
.figure-3 { top: -18px; left: 40%; }

/* Sundial */
.sundial {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
}

.sundial-base {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--parchment-gold);
    position: relative;
    overflow: hidden;
}

/* Radial tile pattern on sundial */
.sundial-tiles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(
        var(--sunset-amber) 0deg 15deg,
        var(--parchment-gold) 15deg 30deg
    );
    border-radius: 50%;
    opacity: 0.3;
}

/* Sundial gnomon */
.sundial-gnomon {
    position: absolute;
    width: 4px;
    height: 50px;
    background-color: var(--midnight-vault);
    bottom: 50%;
    left: 50%;
    margin-left: -2px;
    transform-origin: bottom center;
    z-index: 3;
}

/* Sundial shadow (rotated by JS) */
.sundial-shadow {
    position: absolute;
    width: 3px;
    height: 70px;
    background: linear-gradient(to top, rgba(26, 14, 38, 0.7), transparent);
    bottom: 50%;
    left: 50%;
    margin-left: -1.5px;
    transform-origin: bottom center;
    z-index: 2;
    transition: transform 1s ease;
}

/* Sundial markers */
.sundial-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.marker {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--midnight-vault);
}

.marker-12 { top: 8px; left: 50%; transform: translateX(-50%); }
.marker-3 { right: 8px; top: 50%; transform: translateY(-50%); }
.marker-6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.marker-9 { left: 8px; top: 50%; transform: translateY(-50%); }

/* Iso card for arena */
.iso-card-arena {
    max-width: 460px;
}

/* Time display */
.arena-time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.time-value {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--antiqued-gold);
    letter-spacing: 0.05em;
}

/* ============================================
   SECTION 4: THE VAULT (FOOTER)
   ============================================ */

.scene-vault {
    background-color: var(--midnight-vault);
}

/* Vault door */
.vault-door {
    position: relative;
    width: 200px;
    height: 240px;
    margin-bottom: 3rem;
}

.vault-door-frame {
    position: absolute;
    width: 200px;
    height: 240px;
    border: 4px solid var(--antiqued-gold);
    border-radius: 100px 100px 0 0;
    background-color: var(--deep-aubergine);
}

.vault-door-panel {
    position: absolute;
    width: 180px;
    height: 220px;
    top: 10px;
    left: 10px;
    border: 2px solid rgba(212, 168, 67, 0.5);
    border-radius: 90px 90px 0 0;
    background-color: var(--midnight-vault);
    transform: perspective(400px) rotateY(-15deg);
    transform-origin: left center;
}

.vault-handle {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--antiqued-gold);
    border-radius: 50%;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}

.vault-handle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 3px;
    background-color: var(--antiqued-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vault-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 90px 90px 0 0;
    background: radial-gradient(ellipse at 0% 50%, rgba(212, 168, 67, 0.15), transparent 60%);
}

/* Vault interior */
.vault-interior {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 500px;
    width: 100%;
}

.vault-shelf {
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--antiqued-gold);
    position: relative;
}

.vault-shelf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.05), transparent);
    pointer-events: none;
}

.vault-heading {
    color: var(--antiqued-gold);
}

.vault-text {
    color: var(--parchment-gold);
    opacity: 0.85;
}

.vault-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.vault-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--parchment-gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 400ms var(--spring-ease), font-weight 300ms ease;
    display: inline-block;
}

.vault-link:hover {
    transform: scale(1.08);
    font-weight: 700;
    color: var(--antiqued-gold);
}

.vault-credit {
    font-family: var(--font-body);
    font-weight: 350;
    font-size: 0.875rem;
    color: var(--parchment-gold);
    opacity: 0.7;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Vault blobs */
.blob-vault-1 {
    width: 250px;
    height: 250px;
    background-color: rgba(155, 125, 191, 0.15);
    border-radius: 38% 62% 55% 45% / 50% 50% 40% 60%;
    top: 10%;
    right: -5%;
    animation: blob-morph-2 12s ease-in-out infinite;
}

.blob-vault-2 {
    width: 180px;
    height: 180px;
    background-color: rgba(232, 150, 122, 0.15);
    border-radius: 55% 45% 40% 60% / 65% 35% 55% 45%;
    bottom: 15%;
    left: -3%;
    animation: blob-morph-1 14s ease-in-out infinite;
}

/* ============================================
   SCALE-HOVER INTERACTION PATTERN
   ============================================ */

.scroll-chevron:hover .chevron-diamond,
.iso-card:hover,
.stone-tablet:hover,
.hourglass:hover,
.vault-link:hover {
    transition: transform 400ms var(--spring-ease);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .scene-inner {
        padding: 3rem 1.5rem;
    }

    #gearworks .scene-inner {
        flex-direction: column;
    }

    .gearworks-stage {
        width: 250px;
        height: 250px;
    }

    .gear-large { width: 110px; height: 110px; }
    .gear-medium { width: 80px; height: 80px; }
    .gear-small { width: 50px; height: 50px; }

    .hourglass-row {
        gap: 2rem;
    }

    .arena {
        width: 300px;
        height: 300px;
    }

    .arena-tier-1 { width: 280px; height: 50px; }
    .arena-tier-2 { width: 230px; height: 40px; }
    .arena-tier-3 { width: 180px; height: 35px; }

    .sundial {
        width: 140px;
        height: 140px;
    }

    .sundial-base {
        width: 140px;
        height: 140px;
    }

    .blob-hero-1 {
        width: 200px;
        height: 200px;
    }

    .blob-hero-2 {
        width: 140px;
        height: 140px;
    }

    .vault-door {
        width: 150px;
        height: 180px;
    }

    .vault-door-frame {
        width: 150px;
        height: 180px;
        border-radius: 75px 75px 0 0;
    }

    .vault-door-panel {
        width: 130px;
        height: 160px;
        border-radius: 65px 65px 0 0;
    }

    .iso-card,
    .stone-tablet {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hourglass-row {
        gap: 1.5rem;
    }

    .arena {
        width: 260px;
        height: 260px;
    }

    .gearworks-stage {
        width: 200px;
        height: 200px;
    }
}
