/* p9r.st - Goblincore Digital Archaeology */
/* Colors: Earth-tones palette */

:root {
    --loam-dark: #1a1710;
    --bark-brown: #3d3526;
    --umber-warm: #7a6b52;
    --parchment: #c4b89a;
    --cream-fog: #e8dfc8;
    --moss-green: #5a7247;
    --lichen-sage: #6b7a5a;
    --rust-oxide: #8b4a2a;
    --spore-gold: #b8943e;
    --mycelium-white: #d4cdb8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--loam-dark);
    color: var(--parchment);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
}

/* ===== THE CLEARING (HERO) ===== */
.clearing {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(90,114,71,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(139,74,42,0.1) 0%, transparent 40%),
        linear-gradient(180deg, var(--loam-dark) 0%, var(--bark-brown) 100%);
}

.clearing-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Spore particles */
.spore-field {
    position: absolute;
    inset: 0;
}

.spore {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--spore-gold);
    opacity: 0;
    animation: sporeDrift 8s infinite ease-in-out;
}

@keyframes sporeDrift {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.4; }
    50% { opacity: 0.6; transform: translateY(-40px) scale(1); }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* Isometric scene behind title */
.clearing-scene {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) rotateX(55deg) rotateZ(-45deg);
    width: 400px;
    height: 400px;
    z-index: 1;
    opacity: 0.15;
}

.iso-ground {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--bark-brown);
    border: 1px solid var(--umber-warm);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iso-shape {
    position: absolute;
    border-radius: 50%;
}

.iso-shape-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--moss-green) 0%, transparent 70%);
    top: 60px;
    left: 80px;
}

.iso-shape-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--lichen-sage) 0%, transparent 70%);
    top: 150px;
    left: 200px;
}

.iso-shape-3 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--rust-oxide) 0%, transparent 70%);
    top: 100px;
    left: 280px;
}

.iso-shape-4 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, var(--moss-green) 0%, transparent 70%);
    top: 240px;
    left: 120px;
}

.iso-shape-5 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--spore-gold) 0%, transparent 70%);
    top: 200px;
    left: 60px;
}

/* Domain name */
.clearing-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.domain-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--umber-warm) 0%, var(--bark-brown) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-40px);
    animation: charBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.char[data-index='0'] { animation-delay: 0ms; }
.char[data-index='1'] { animation-delay: 80ms; }
.char[data-index='2'] { animation-delay: 160ms; }
.char[data-index='3'] { animation-delay: 240ms; }
.char[data-index='4'] { animation-delay: 320ms; }
.char[data-index='5'] { animation-delay: 400ms; }

@keyframes charBounce {
    0% { opacity: 0; transform: translateY(-40px); }
    60% { opacity: 1; transform: translateY(2px); }
    80% { transform: translateY(-1px); }
    100% { opacity: 1; transform: translateY(0); }
}

.subtitle {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-style: italic;
    color: var(--parchment);
    opacity: 0;
    animation: fadeInSubtle 1.5s ease-in 1.2s forwards;
    letter-spacing: 0.05em;
}

@keyframes fadeInSubtle {
    0% { opacity: 0; }
    100% { opacity: 0.7; }
}

/* Wave forms */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 5;
}

.wave-svg {
    width: 200%;
    height: 100%;
}

.wave-path {
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
}

.wave-1 {
    stroke: var(--lichen-sage);
    opacity: 0.3;
    animation: waveDrift 25s linear infinite;
}

.wave-2 {
    stroke: var(--moss-green);
    opacity: 0.2;
    animation: waveDrift 35s linear infinite;
}

.wave-3 {
    stroke: var(--umber-warm);
    opacity: 0.15;
    animation: waveDrift 45s linear infinite;
}

@keyframes waveDrift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== MYCELIUM NETWORK ===== */
.mycelium-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

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

.mycelium-path {
    fill: none;
    stroke: var(--lichen-sage);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

/* ===== THE COLLECTION GRID ===== */
.collection {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Undergrowth dividers span full width */
.undergrowth-divider {
    grid-column: 1 / -1;
    height: 80px;
    overflow: hidden;
    margin: 1rem 0;
}

.undergrowth-svg {
    width: 200%;
    height: 100%;
}

.ug-wave {
    fill: none;
    stroke-width: 1.5px;
    stroke-linecap: round;
}

.ug-wave-1 {
    stroke: var(--lichen-sage);
    opacity: 0.25;
    animation: waveDrift 28s linear infinite;
}

.ug-wave-2 {
    stroke: var(--umber-warm);
    opacity: 0.18;
    animation: waveDrift 38s linear infinite;
}

.ug-wave-3 {
    stroke: var(--moss-green);
    opacity: 0.15;
    animation: waveDrift 48s linear infinite;
}

/* Specimen Tiles */
.specimen-tile {
    position: relative;
    background: linear-gradient(145deg, rgba(61,53,38,0.8) 0%, rgba(26,23,16,0.9) 100%);
    border: 1px solid rgba(122,107,82,0.15);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
}

.specimen-tile.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.specimen-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26,23,16,0.5);
    border-color: rgba(90,114,71,0.3);
}

/* Varying tile heights */
.tile-1 { min-height: 360px; transform-origin: center; }
.tile-2 { min-height: 340px; }
.tile-3 { min-height: 380px; }
.tile-4 { min-height: 350px; }
.tile-5 { min-height: 390px; }
.tile-6 { min-height: 345px; }
.tile-7 { min-height: 370px; }
.tile-8 { min-height: 355px; }
.tile-9 { min-height: 365px; }

/* Slight rotations for organic feel */
.tile-1 { transform: rotate(0.5deg) translateY(30px) scale(0.95); }
.tile-2 { transform: rotate(-1deg) translateY(30px) scale(0.95); }
.tile-3 { transform: rotate(0.8deg) translateY(30px) scale(0.95); }
.tile-4 { transform: rotate(-0.5deg) translateY(30px) scale(0.95); }
.tile-5 { transform: rotate(1.5deg) translateY(30px) scale(0.95); }
.tile-6 { transform: rotate(-0.8deg) translateY(30px) scale(0.95); }
.tile-7 { transform: rotate(0.3deg) translateY(30px) scale(0.95); }
.tile-8 { transform: rotate(-1.2deg) translateY(30px) scale(0.95); }
.tile-9 { transform: rotate(0.7deg) translateY(30px) scale(0.95); }

.tile-1.visible { transform: rotate(0.5deg) translateY(0) scale(1); }
.tile-2.visible { transform: rotate(-1deg) translateY(0) scale(1); }
.tile-3.visible { transform: rotate(0.8deg) translateY(0) scale(1); }
.tile-4.visible { transform: rotate(-0.5deg) translateY(0) scale(1); }
.tile-5.visible { transform: rotate(1.5deg) translateY(0) scale(1); }
.tile-6.visible { transform: rotate(-0.8deg) translateY(0) scale(1); }
.tile-7.visible { transform: rotate(0.3deg) translateY(0) scale(1); }
.tile-8.visible { transform: rotate(-1.2deg) translateY(0) scale(1); }
.tile-9.visible { transform: rotate(0.7deg) translateY(0) scale(1); }

.tile-1:hover { transform: rotate(0.5deg) translateY(-4px); }
.tile-2:hover { transform: rotate(-1deg) translateY(-4px); }
.tile-3:hover { transform: rotate(0.8deg) translateY(-4px); }
.tile-4:hover { transform: rotate(-0.5deg) translateY(-4px); }
.tile-5:hover { transform: rotate(1.5deg) translateY(-4px); }
.tile-6:hover { transform: rotate(-0.8deg) translateY(-4px); }
.tile-7:hover { transform: rotate(0.3deg) translateY(-4px); }
.tile-8:hover { transform: rotate(-1.2deg) translateY(-4px); }
.tile-9:hover { transform: rotate(0.7deg) translateY(-4px); }

.tile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

/* Tile corner brackets */
.tile-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--lichen-sage);
    border-style: solid;
    border-width: 0;
    opacity: 0.3;
}

.tile-corner.tl { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.tile-corner.tr { top: 8px; right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.tile-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.tile-corner.br { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* Tile labels */
.tile-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.specimen-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    color: var(--parchment);
    opacity: 0.7;
}

.specimen-id {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--lichen-sage);
    letter-spacing: 0.05em;
    opacity: 0.6;
}

/* ===== ISOMETRIC CONTAINERS ===== */
.iso-container {
    position: relative;
    width: 180px;
    height: 180px;
    transform: rotateX(55deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    margin: 0 auto 2rem;
}

.iso-platform {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    background: var(--bark-brown);
    border: 1px solid rgba(122,107,82,0.3);
    box-shadow: 4px 4px 0 rgba(26,23,16,0.4);
}

/* ===== TILE 1: MUSHROOM CLUSTER ===== */
.mushroom {
    position: absolute;
}

.mushroom-1 {
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.mushroom-2 {
    bottom: 50px;
    left: 30%;
    transform: translateX(-50%) scale(0.8);
}

.mushroom-3 {
    bottom: 45px;
    left: 70%;
    transform: translateX(-50%) scale(0.65);
}

.mushroom-stem {
    width: 8px;
    height: 35px;
    background: var(--umber-warm);
    margin: 0 auto;
    border-radius: 2px;
}

.mushroom-cap {
    width: 36px;
    height: 20px;
    background: radial-gradient(ellipse at center, var(--spore-gold) 0%, var(--rust-oxide) 100%);
    border-radius: 50% 50% 0 0;
    margin: 0 auto;
    position: relative;
    top: -1px;
    box-shadow: 0 2px 6px rgba(139,74,42,0.3);
}

.mushroom-2 .mushroom-cap {
    background: radial-gradient(ellipse at center, var(--rust-oxide) 0%, #6b3a1a 100%);
}

.mushroom-3 .mushroom-cap {
    background: radial-gradient(ellipse at center, var(--spore-gold) 30%, var(--rust-oxide) 100%);
}

/* ===== TILE 2: MOSS CIRCUIT BOARD ===== */
.circuit-board {
    background: var(--bark-brown);
}

.pcb-trace {
    position: absolute;
    background: var(--lichen-sage);
    opacity: 0.5;
}

.trace-h-1 { width: 80%; height: 1.5px; top: 25%; left: 10%; }
.trace-h-2 { width: 60%; height: 1.5px; top: 65%; left: 20%; }
.trace-v-1 { width: 1.5px; height: 50%; top: 20%; left: 35%; }
.trace-v-2 { width: 1.5px; height: 40%; top: 40%; left: 70%; }
.trace-d-1 {
    width: 45%;
    height: 1.5px;
    top: 45%;
    left: 30%;
    transform: rotate(35deg);
}

.moss-patch {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--moss-green) 0%, rgba(90,114,71,0.3) 100%);
}

.moss-1 { width: 22px; height: 22px; top: 15%; left: 20%; }
.moss-2 { width: 16px; height: 16px; top: 50%; left: 55%; }
.moss-3 { width: 28px; height: 28px; top: 60%; left: 15%; }
.moss-4 { width: 14px; height: 14px; top: 30%; left: 75%; }
.moss-5 { width: 18px; height: 18px; top: 75%; left: 60%; }

.chip {
    position: absolute;
    width: 20px;
    height: 14px;
    background: var(--loam-dark);
    border: 1px solid var(--umber-warm);
}

.chip-1 { top: 35%; left: 45%; }
.chip-2 { top: 70%; left: 35%; }

/* ===== TILE 3: SNAIL ON HARD DRIVE ===== */
.hard-drive {
    background: var(--bark-brown);
}

.platter-groove {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(122,107,82,0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.groove-1 { width: 90%; height: 90%; }
.groove-2 { width: 72%; height: 72%; }
.groove-3 { width: 54%; height: 54%; }
.groove-4 { width: 36%; height: 36%; }
.groove-5 { width: 18%; height: 18%; }

.snail {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.snail-shell {
    display: block;
}

.snail-body {
    width: 30px;
    height: 8px;
    background: var(--parchment);
    border-radius: 0 0 50% 50%;
    opacity: 0.6;
    margin-left: 5px;
    margin-top: -4px;
}

/* ===== TILE 4: RIVER STONE STACK ===== */
.stone-base {
    background: var(--bark-brown);
}

.stone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.stone-bottom {
    width: 70px;
    height: 35px;
    bottom: 40px;
    background: linear-gradient(135deg, var(--umber-warm) 0%, var(--parchment) 100%);
    box-shadow: 3px 3px 8px rgba(26,23,16,0.5);
}

.stone-middle {
    width: 50px;
    height: 28px;
    bottom: 72px;
    background: linear-gradient(135deg, var(--parchment) 0%, var(--mycelium-white) 100%);
    box-shadow: 2px 2px 6px rgba(26,23,16,0.4);
}

.stone-top {
    width: 32px;
    height: 20px;
    bottom: 98px;
    background: linear-gradient(135deg, var(--umber-warm) 30%, var(--parchment) 100%);
    box-shadow: 2px 2px 5px rgba(26,23,16,0.4);
}

/* ===== TILE 5: FERN FROM USB PORT ===== */
.usb-port {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 14px;
    background: var(--bark-brown);
    border: 2px solid var(--umber-warm);
    border-radius: 2px;
    z-index: 1;
}

.fern-svg {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ===== TILE 6: ACORN & RAM STICK ===== */
.ram-stick {
    position: absolute;
    bottom: 50px;
    left: 25%;
    width: 80px;
    height: 20px;
    background: var(--bark-brown);
    border: 1px solid var(--umber-warm);
    border-radius: 1px;
}

.ram-chip {
    position: absolute;
    width: 12px;
    height: 10px;
    background: var(--loam-dark);
    border: 1px solid var(--umber-warm);
    top: 50%;
    transform: translateY(-50%);
}

.rc-1 { left: 5px; }
.rc-2 { left: 22px; }
.rc-3 { left: 39px; }
.rc-4 { left: 56px; }

.ram-notch {
    position: absolute;
    width: 6px;
    height: 4px;
    background: var(--loam-dark);
    bottom: -1px;
    left: 35px;
}

.acorn {
    position: absolute;
    bottom: 45px;
    right: 25%;
}

.acorn-cap {
    width: 22px;
    height: 10px;
    background: var(--umber-warm);
    border-radius: 50% 50% 0 0;
    margin: 0 auto;
    position: relative;
}

.acorn-cap::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: var(--bark-brown);
}

.acorn-body {
    width: 18px;
    height: 22px;
    background: radial-gradient(ellipse at center, var(--spore-gold) 0%, var(--rust-oxide) 100%);
    border-radius: 0 0 50% 50%;
    margin: 0 auto;
}

.acorn-stem {
    width: 2px;
    height: 6px;
    background: var(--bark-brown);
    margin: -1px auto 0;
}

/* ===== TILE 7: CRYSTALS WITH MOSS ===== */
.crystal {
    position: absolute;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.crystal-1 {
    width: 30px;
    height: 55px;
    background: linear-gradient(180deg, rgba(212,205,184,0.6) 0%, rgba(196,184,154,0.3) 100%);
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.crystal-2 {
    width: 22px;
    height: 42px;
    background: linear-gradient(180deg, rgba(232,223,200,0.5) 0%, rgba(196,184,154,0.2) 100%);
    bottom: 40px;
    left: 35%;
    transform: rotate(-10deg);
}

.crystal-3 {
    width: 18px;
    height: 35px;
    background: linear-gradient(180deg, rgba(184,148,62,0.4) 0%, rgba(196,184,154,0.2) 100%);
    bottom: 40px;
    left: 62%;
    transform: rotate(8deg);
}

.crystal-moss {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--moss-green) 0%, rgba(90,114,71,0.2) 100%);
}

.cm-1 { width: 20px; height: 12px; bottom: 38px; left: 40%; }
.cm-2 { width: 14px; height: 10px; bottom: 42px; left: 60%; }

/* ===== TILE 8: BEETLE ON CAPACITOR ===== */
.capacitor {
    position: absolute;
    bottom: 55px;
    left: 40%;
    transform: translateX(-50%);
}

.cap-body {
    width: 24px;
    height: 40px;
    background: var(--umber-warm);
    border-radius: 4px;
    border: 1px solid var(--parchment);
}

.cap-lead {
    width: 2px;
    height: 12px;
    background: var(--parchment);
    position: absolute;
    bottom: -12px;
}

.cap-lead-1 { left: 6px; }
.cap-lead-2 { right: 6px; }

.cap-stripe {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--spore-gold);
    opacity: 0.6;
}

.beetle {
    position: absolute;
    bottom: 70px;
    left: 60%;
}

.beetle-body {
    width: 18px;
    height: 24px;
    background: radial-gradient(ellipse, #3a2a1a 0%, var(--loam-dark) 100%);
    border-radius: 50% 50% 45% 45%;
    position: relative;
}

.beetle-head {
    width: 10px;
    height: 8px;
    background: #2a1a0a;
    border-radius: 50% 50% 30% 30%;
    margin: 0 auto;
    position: relative;
    top: -4px;
}

.beetle-wing-l, .beetle-wing-r {
    position: absolute;
    width: 8px;
    height: 20px;
    top: 2px;
    background: radial-gradient(ellipse, var(--rust-oxide) 0%, #4a2a1a 100%);
    border-radius: 40%;
}

.beetle-wing-l { left: 0; }
.beetle-wing-r { right: 0; }

.beetle-leg {
    position: absolute;
    width: 8px;
    height: 1.5px;
    background: #3a2a1a;
    left: -6px;
}

.bl-1 { top: 8px; transform: rotate(-20deg); }
.bl-2 { top: 13px; transform: rotate(-10deg); }
.bl-3 { top: 18px; transform: rotate(5deg); }

/* ===== TILE 9: VINE CABLE ===== */
.vine-cable-svg {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== THE HOLLOW (FOOTER) ===== */
.hollow {
    position: relative;
    z-index: 2;
    background: var(--loam-dark);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hollow-content {
    position: relative;
    z-index: 2;
}

.hollow-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--umber-warm);
    text-shadow: 0 0 30px rgba(90,114,71,0.3), 0 0 60px rgba(90,114,71,0.1);
    margin-bottom: 1rem;
}

.hollow-subtitle {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--parchment);
    opacity: 0.5;
    margin-bottom: 2rem;
}

.hollow-line {
    width: 60px;
    height: 1px;
    background: var(--lichen-sage);
    margin: 0 auto;
    opacity: 0.3;
}

.hollow-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    z-index: 1;
}

.wave-hollow-1 {
    stroke: var(--lichen-sage);
    opacity: 0.15;
    animation: waveDrift 30s linear infinite;
}

.wave-hollow-2 {
    stroke: var(--umber-warm);
    opacity: 0.1;
    animation: waveDrift 40s linear infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .collection {
        padding: 2rem 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .iso-container {
        width: 140px;
        height: 140px;
    }

    .clearing-scene {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .tile-label {
        flex-direction: column;
        gap: 4px;
    }
}

/* Spore dot background pattern */
.collection::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 45% 65%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 75% 35%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 85% 80%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 25% 90%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 55% 15%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 35% 50%, var(--spore-gold) 1px, transparent 1px),
        radial-gradient(circle at 95% 55%, var(--spore-gold) 1px, transparent 1px);
    background-size: 400px 400px;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}
