/* =========================================================
   concengine.net — Dark-mode whimsy meets simulation theater
   ========================================================= */

:root {
    --bg-primary: #0b0e17;    /* Obsidian Void */
    --bg-secondary: #0f1a2e;  /* Midnight Loam */
    --bg-tertiary: #141e30;   /* Deep Humus */
    --neon-cyan: #00e5cc;     /* Bioluminescent Cyan */
    --neon-amber: #ffc857;    /* Firefly Amber */
    --neon-violet: #b06cff;   /* Spore Violet */
    --text-primary: #e8e4dc;  /* Moth Wing White */
    --text-secondary: #8a9bae;/* Lichen Silver */
    --alert-rose: #ff4f6e;    /* Deadlock Rose */

    --glow-cyan: 0 0 12px rgba(0, 229, 204, 0.3);
    --glow-cyan-strong: 0 0 22px rgba(0, 229, 204, 0.55);
    --glow-amber: 0 0 10px rgba(255, 200, 87, 0.25);
    --glow-amber-strong: 0 0 20px rgba(255, 200, 87, 0.55);
    --glow-violet: 0 0 14px rgba(176, 108, 255, 0.3);
    --glow-violet-strong: 0 0 24px rgba(176, 108, 255, 0.55);

    --font-display: "Libre Baskerville", Georgia, serif;
    --font-body: "Lora", Georgia, serif;
    --font-accent: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-organic: cubic-bezier(0.45, 0.05, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 15%, rgba(0, 229, 204, 0.06), transparent 60%),
        radial-gradient(ellipse at 80% 85%, rgba(176, 108, 255, 0.05), transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 200, 87, 0.025), transparent 70%);
}

main {
    display: block;
    position: relative;
}

/* =========================================================
   Zone Shell
   ========================================================= */

.zone {
    min-height: 100vh;
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 5rem);
    overflow: hidden;
}

.zone-header {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    z-index: 3;
}

.zone-kicker {
    font-family: var(--font-accent);
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.85;
    text-shadow: var(--glow-cyan);
}

.zone-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.zone-heading em {
    font-style: italic;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.zone-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* =========================================================
   Pollen-Grain Navigation
   ========================================================= */

.pollen-nav {
    position: fixed;
    right: clamp(1rem, 2vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem 0.65rem;
    background: rgba(11, 14, 23, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 40% 60% 50% 50% / 50% 50% 40% 60%;
    border: 1px solid rgba(0, 229, 204, 0.08);
}

.pollen {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.7), rgba(255, 200, 87, 0.15) 70%, transparent);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 400ms var(--ease-bounce), background 400ms ease;
    box-shadow: 0 0 6px rgba(255, 200, 87, 0.3);
}

.pollen::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 400ms ease, inset 400ms var(--ease-bounce);
}

.pollen:hover {
    transform: scale(1.3);
}

.pollen.active {
    background: radial-gradient(circle, var(--neon-amber), rgba(255, 200, 87, 0.35) 70%, transparent);
    box-shadow: var(--glow-amber-strong);
    animation: pulseGlow 2.4s ease-in-out infinite;
}

.pollen.active::after {
    border-color: rgba(255, 200, 87, 0.5);
    inset: -6px;
}

.pollen-label {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease, right 300ms ease;
    background: rgba(11, 14, 23, 0.85);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(138, 155, 174, 0.2);
}

.pollen:hover .pollen-label,
.pollen.active .pollen-label {
    opacity: 1;
    right: 26px;
    color: var(--text-primary);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 200, 87, 0.4); }
    50% { box-shadow: 0 0 22px rgba(255, 200, 87, 0.75); }
}

/* =========================================================
   Bounce-Enter Animation
   ========================================================= */

@keyframes bounceEnter {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    50% { opacity: 1; transform: translateY(-8px) scale(1.02); }
    70% { transform: translateY(4px) scale(0.99); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.bounce-target {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

.bounce-target.in-view {
    animation: bounceEnter 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bounce-target.in-view:nth-child(1) { animation-delay: 0ms; }
.bounce-target.in-view:nth-child(2) { animation-delay: 120ms; }
.bounce-target.in-view:nth-child(3) { animation-delay: 240ms; }
.bounce-target.in-view:nth-child(4) { animation-delay: 360ms; }
.bounce-target.in-view:nth-child(5) { animation-delay: 480ms; }
.bounce-target.in-view:nth-child(6) { animation-delay: 600ms; }

/* =========================================================
   ZONE 1 — Seed Vault (Hero)
   ========================================================= */

.zone-seed-vault {
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.seed-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.seed {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.3px);
}

@keyframes seedFloat {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    40% {
        transform: translate3d(22px, -35vh, 0);
        opacity: 0.8;
    }
    60% {
        transform: translate3d(-18px, -60vh, 0);
        opacity: 0.75;
    }
    85% {
        transform: translate3d(14px, -95vh, 0);
        opacity: 0.5;
    }
    100% {
        transform: translate3d(-10px, -120vh, 0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 9rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1.05;
    margin: 1.25rem 0;
    text-shadow:
        0 0 20px rgba(0, 229, 204, 0.15),
        0 0 45px rgba(176, 108, 255, 0.08);
    position: relative;
}

.wordmark::after {
    content: "";
    display: block;
    width: clamp(60px, 10vw, 140px);
    height: 1px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    box-shadow: var(--glow-cyan);
}

.tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.scroll-tendril {
    margin-top: clamp(3rem, 7vw, 5rem);
    display: inline-block;
    opacity: 0.7;
    animation: tendrilSway 5s ease-in-out infinite;
}

@keyframes tendrilSway {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(6px) rotate(2deg); }
}

/* =========================================================
   ZONE 2 — Germination Field (Concept petals)
   ========================================================= */

.zone-germination {
    background: var(--bg-primary);
    padding-bottom: clamp(7rem, 12vw, 10rem);
}

.petal-garden {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: clamp(900px, 100vh, 1100px);
    margin: 0 auto;
}

.petal-panel {
    position: absolute;
    width: clamp(220px, 30vw, 380px);
    padding: clamp(1.5rem, 2.5vw, 2.2rem);
    background: var(--bg-tertiary);
    border: 1px solid var(--neon-cyan);
    border-radius: 30% 70% 60% 40% / 50% 40% 70% 30%;
    box-shadow:
        var(--glow-cyan),
        inset 0 0 24px rgba(0, 229, 204, 0.04);
    transition:
        border-radius 800ms ease-in-out,
        transform 800ms var(--ease-organic),
        box-shadow 600ms ease,
        border-color 600ms ease;
    z-index: 2;
}

.petal-panel[data-accent="amber"] {
    border-color: var(--neon-amber);
    box-shadow:
        var(--glow-amber),
        inset 0 0 24px rgba(255, 200, 87, 0.04);
}

.petal-panel[data-accent="violet"] {
    border-color: var(--neon-violet);
    box-shadow:
        var(--glow-violet),
        inset 0 0 24px rgba(176, 108, 255, 0.04);
}

.petal-panel:hover {
    border-radius: 60% 40% 30% 70% / 40% 60% 30% 70%;
    transform: translateY(-6px) rotate(var(--hover-rot, 0deg));
    box-shadow:
        var(--glow-cyan-strong),
        inset 0 0 32px rgba(0, 229, 204, 0.08);
}

.petal-panel[data-accent="amber"]:hover {
    box-shadow:
        var(--glow-amber-strong),
        inset 0 0 32px rgba(255, 200, 87, 0.08);
}

.petal-panel[data-accent="violet"]:hover {
    box-shadow:
        var(--glow-violet-strong),
        inset 0 0 32px rgba(176, 108, 255, 0.08);
}

.petal-panel:nth-child(2) { top: 5%; left: 8%; transform: rotate(-2deg); --hover-rot: -2deg; }
.petal-panel:nth-child(3) { top: 2%; left: 38%; transform: rotate(1.5deg); --hover-rot: 1.5deg; }
.petal-panel:nth-child(4) { top: 26%; left: 55%; transform: rotate(-1deg); --hover-rot: -1deg; }
.petal-panel:nth-child(5) { top: 48%; left: 12%; transform: rotate(2deg); --hover-rot: 2deg; }
.petal-panel:nth-child(6) { top: 52%; left: 62%; transform: rotate(-0.5deg); --hover-rot: -0.5deg; }

.petal-illus {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.petal-tag {
    font-family: var(--font-accent);
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

.petal-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
    text-align: center;
}

.petal-panel[data-accent="cyan"] .petal-title { text-shadow: var(--glow-cyan); }
.petal-panel[data-accent="amber"] .petal-title { text-shadow: var(--glow-amber); }
.petal-panel[data-accent="violet"] .petal-title { text-shadow: var(--glow-violet); }

.petal-body {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.15vw, 1rem);
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.9;
}

.ring-pattern {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(138, 155, 174, 0.14);
    pointer-events: none;
    z-index: 0;
}

.ring-pattern::before,
.ring-pattern::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(138, 155, 174, 0.09);
}

.ring-pattern::before { inset: 30px; }
.ring-pattern::after { inset: 60px; border-color: rgba(138, 155, 174, 0.05); }

.ring-a { width: 520px; height: 520px; top: 8%; left: -120px; }
.ring-b { width: 340px; height: 340px; bottom: 10%; right: -80px; }
.ring-c { width: 620px; height: 620px; top: 20%; left: 18%; border-color: rgba(0, 229, 204, 0.06); }
.ring-d { width: 480px; height: 480px; top: -80px; right: -100px; border-color: rgba(255, 200, 87, 0.08); }
.ring-e { width: 360px; height: 360px; bottom: -60px; left: -80px; border-color: rgba(176, 108, 255, 0.07); }

/* Leaf silhouettes (subliminal texture) */
.leaf {
    position: absolute;
    width: 200px;
    height: 300px;
    background: var(--bg-tertiary);
    clip-path: polygon(50% 0%, 80% 20%, 95% 50%, 80% 80%, 50% 100%, 20% 80%, 5% 50%, 20% 20%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.leaf-1 { top: 8%; left: 4%; transform: rotate(-24deg); }
.leaf-2 { bottom: 12%; right: 6%; transform: rotate(40deg); width: 160px; height: 240px; }
.leaf-3 { top: 40%; right: 20%; transform: rotate(12deg); width: 120px; height: 180px; opacity: 0.25; }

/* =========================================================
   ZONE 3 — Canopy (Vine Timeline)
   ========================================================= */

.zone-canopy {
    background: var(--bg-primary);
    padding-top: clamp(6rem, 10vw, 9rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.vine-stage {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 0;
}

.vine-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(800px, 100%);
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#mainVine {
    stroke-dasharray: 3500;
    stroke-dashoffset: 3500;
    transition: stroke-dashoffset 3s ease-in-out;
}

#mainVine.drawn {
    stroke-dashoffset: 0;
}

.vine-branch {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    transition: stroke-dashoffset 1.1s ease-in-out;
}

.vine-branch.drawn {
    stroke-dashoffset: 0;
}

.vine-bud {
    transform: scale(0);
    transform-origin: center;
    transform-box: fill-box;
    transition: transform 600ms var(--ease-bounce);
}

.vine-bud.drawn {
    transform: scale(1);
    animation: budPulse 3s ease-in-out infinite 1s;
}

@keyframes budPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.vine-nodes {
    list-style: none;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.vine-node {
    position: relative;
    max-width: 340px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: 1.5rem 1.75rem;
    background: rgba(20, 30, 48, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 40% 60% 50% 50% / 50% 50% 40% 60%;
    border: 1px solid rgba(0, 229, 204, 0.18);
    box-shadow: var(--glow-cyan);
}

.vine-node.node-left {
    margin-right: auto;
    margin-left: clamp(0px, 4vw, 3rem);
}

.vine-node.node-right {
    margin-left: auto;
    margin-right: clamp(0px, 4vw, 3rem);
    border-color: rgba(176, 108, 255, 0.22);
    box-shadow: var(--glow-violet);
}

.node-index {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: var(--glow-cyan);
}

.node-right .node-index {
    color: var(--neon-violet);
    text-shadow: var(--glow-violet);
}

.node-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
}

.node-body {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: var(--text-primary);
    opacity: 0.88;
}

.branch-divider {
    max-width: 900px;
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    opacity: 0.75;
}

/* =========================================================
   ZONE 4 — Mycelium (Interconnection Collage)
   ========================================================= */

.zone-mycelium {
    background: var(--bg-primary);
    position: relative;
    padding: clamp(6rem, 10vw, 9rem) clamp(1rem, 5vw, 4rem);
    overflow: hidden;
}

.mycelium-collage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    mix-blend-mode: screen;
    opacity: 0.28;
}

.blob-1 {
    width: 520px; height: 520px;
    top: -80px; left: 6%;
    background: radial-gradient(circle, var(--neon-cyan), transparent 65%);
    clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 78% 90%, 30% 100%, 8% 70%, 0% 35%, 25% 10%);
    animation: blobDrift1 24s ease-in-out infinite;
}

.blob-2 {
    width: 460px; height: 460px;
    bottom: -100px; right: 10%;
    background: radial-gradient(circle, var(--neon-violet), transparent 65%);
    clip-path: polygon(40% 5%, 80% 10%, 100% 45%, 95% 80%, 60% 100%, 20% 95%, 0% 60%, 10% 25%);
    animation: blobDrift2 30s ease-in-out infinite;
}

.blob-3 {
    width: 360px; height: 360px;
    top: 30%; right: -40px;
    background: radial-gradient(circle, var(--neon-amber), transparent 60%);
    animation: blobDrift3 22s ease-in-out infinite;
    opacity: 0.18;
}

.blob-4 {
    width: 280px; height: 280px;
    bottom: 15%; left: -40px;
    background: radial-gradient(circle, var(--alert-rose), transparent 65%);
    opacity: 0.12;
    animation: blobDrift4 28s ease-in-out infinite;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.05); }
    66% { transform: translate(-30px, 50px) scale(0.97); }
}

@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.06); }
}

@keyframes blobDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
}

@keyframes blobDrift4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

.mycelium-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
}

.net-1 { mix-blend-mode: overlay; }
.net-2 { mix-blend-mode: screen; }

.spore-field {
    position: absolute;
    inset: 0;
}

.spore {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--text-secondary), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

@keyframes sporeDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.35; }
    50% { transform: translate(var(--sx, 20px), var(--sy, -30px)); opacity: 0.7; }
}

.mycelium-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(3rem, 6vw, 5rem);
}

.myc-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 3;
    max-width: 720px;
    text-shadow: 0 0 30px rgba(11, 14, 23, 0.9);
    padding: 1.5rem 2rem;
    border-left: 1px solid var(--neon-cyan);
    background: rgba(15, 26, 46, 0.35);
    border-radius: 20% 40% 30% 50% / 30% 30% 50% 30%;
    backdrop-filter: blur(2px);
}

.myc-quote p {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    letter-spacing: 0.03em;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.myc-quote cite {
    font-family: var(--font-accent);
    font-style: normal;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
}

.myc-quote.quote-1 { justify-self: start; border-left-color: var(--neon-cyan); box-shadow: -6px 0 18px rgba(0, 229, 204, 0.12); }
.myc-quote.quote-2 { justify-self: end; border-left: none; border-right: 1px solid var(--neon-violet); text-align: right; box-shadow: 6px 0 18px rgba(176, 108, 255, 0.12); }
.myc-quote.quote-3 { justify-self: center; border-left-color: var(--neon-amber); box-shadow: -6px 0 18px rgba(255, 200, 87, 0.1); }

/* =========================================================
   ZONE 5 — Canopy Crown (Invitation)
   ========================================================= */

.zone-crown {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.zone-crown::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0, 229, 204, 0.09), transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 200, 87, 0.08), transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(176, 108, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.crown-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: clamp(2rem, 4vw, 3rem);
}

.crown-heading {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 1.5rem 0;
}

.crown-body {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-primary);
    opacity: 0.85;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.seed-pod {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.25rem;
    font-family: var(--font-accent);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: transparent;
    text-decoration: none;
    border-radius: 50% 40% 60% 30% / 40% 60% 40% 50%;
    transition: transform 600ms var(--ease-bounce), border-radius 800ms ease-in-out;
    z-index: 2;
    font-weight: 500;
}

.seed-pod .pod-core {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 45%, var(--neon-amber), #e5a92c 70%, #a8781c);
    box-shadow:
        var(--glow-amber-strong),
        inset 0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 0 40px rgba(176, 108, 255, 0.18);
    z-index: -1;
    animation: podPulse 3s ease-in-out infinite;
}

.seed-pod .pod-halo {
    position: absolute;
    inset: -18px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.25), transparent 70%);
    z-index: -2;
    animation: haloBreathe 4s ease-in-out infinite;
}

.seed-pod .pod-label {
    position: relative;
    z-index: 2;
    color: var(--bg-primary);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.seed-pod:hover {
    transform: scale(1.06) translateY(-3px);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.seed-pod:hover .pod-core {
    box-shadow:
        0 0 30px rgba(255, 200, 87, 0.7),
        0 0 60px rgba(255, 200, 87, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.4);
}

@keyframes podPulse {
    0%, 100% {
        box-shadow:
            var(--glow-amber-strong),
            inset 0 0 20px rgba(255, 255, 255, 0.3),
            inset 0 0 40px rgba(176, 108, 255, 0.18);
    }
    50% {
        box-shadow:
            0 0 28px rgba(255, 200, 87, 0.7),
            inset 0 0 26px rgba(255, 255, 255, 0.45),
            inset 0 0 50px rgba(176, 108, 255, 0.25);
    }
}

@keyframes haloBreathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.18); }
}

.crown-whisper {
    margin-top: 3rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    opacity: 0.75;
}

/* =========================================================
   Responsive — collapse organic flow on small screens
   ========================================================= */

@media (max-width: 900px) {
    .petal-garden {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 1rem 0;
    }

    .petal-panel,
    .petal-panel:nth-child(2),
    .petal-panel:nth-child(3),
    .petal-panel:nth-child(4),
    .petal-panel:nth-child(5),
    .petal-panel:nth-child(6) {
        position: static;
        transform: rotate(0);
        width: min(420px, 92%);
        --hover-rot: 0deg;
    }

    .vine-svg {
        display: none;
    }

    .vine-node.node-left,
    .vine-node.node-right {
        margin: 0 auto clamp(2rem, 5vw, 3.5rem);
        max-width: 520px;
    }

    .mycelium-content {
        gap: 2.5rem;
    }

    .myc-quote.quote-1,
    .myc-quote.quote-2,
    .myc-quote.quote-3 {
        justify-self: center;
        text-align: left;
        border-left: 1px solid var(--neon-cyan);
        border-right: none;
    }
}

@media (max-width: 560px) {
    .pollen-nav {
        right: 0.6rem;
        gap: 0.9rem;
        padding: 0.6rem 0.4rem;
    }

    .pollen-label {
        display: none;
    }

    .wordmark {
        letter-spacing: 0.08em;
    }

    .leaf-1, .leaf-2, .leaf-3 { opacity: 0.2; }
}
