/* ============================================
   senggack.com - Fairycore Nocturnal Garden
   ============================================ */

/* @property registrations for gradient mesh animation */
@property --mesh-x1 {
    syntax: '<percentage>';
    initial-value: 20%;
    inherits: false;
}
@property --mesh-y1 {
    syntax: '<percentage>';
    initial-value: 20%;
    inherits: false;
}
@property --mesh-x2 {
    syntax: '<percentage>';
    initial-value: 80%;
    inherits: false;
}
@property --mesh-y2 {
    syntax: '<percentage>';
    initial-value: 30%;
    inherits: false;
}
@property --mesh-x3 {
    syntax: '<percentage>';
    initial-value: 30%;
    inherits: false;
}
@property --mesh-y3 {
    syntax: '<percentage>';
    initial-value: 70%;
    inherits: false;
}
@property --mesh-x4 {
    syntax: '<percentage>';
    initial-value: 75%;
    inherits: false;
}
@property --mesh-y4 {
    syntax: '<percentage>';
    initial-value: 80%;
    inherits: false;
}
@property --seam-color {
    syntax: '<color>';
    initial-value: #9b6dff;
    inherits: false;
}
@property --body-weight {
    syntax: '<number>';
    initial-value: 300;
    inherits: true;
}

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --midnight-velvet: #0d0a1a;
    --deep-ultraviolet: #2d0066;
    --acid-fuchsia: #ff2d7b;
    --electric-lime: #a8ff04;
    --phantom-orchid: #9b6dff;
    --spectral-teal: #00f5d4;
    --moonlit-parchment: #e8daf0;
    --void-black: #050208;

    --heading-weight: 700;
    --spring-ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
    --font-accent: 'Homemade Apple', cursive;
}

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

html {
    overflow: hidden;
    height: 100%;
    background: var(--void-black);
}

body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.7;
    letter-spacing: 0.015em;
    color: var(--moonlit-parchment);
    background: var(--void-black);
    font-variation-settings: 'wght' var(--body-weight);
    animation: breatheWeight 8s ease-in-out infinite;
}

@keyframes breatheWeight {
    0%, 100% { --body-weight: 300; }
    50% { --body-weight: 350; }
}

/* ============================================
   Split Container
   ============================================ */
.split-container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ============================================
   Left Veil
   ============================================ */
.left-veil {
    width: 50vw;
    height: 100vh;
    background: var(--midnight-velvet);
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--spring-ease);
    flex-shrink: 0;
}

.left-veil-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Custom scrollbar for Left Veil */
.left-veil-inner::-webkit-scrollbar {
    width: 2px;
}

.left-veil-inner::-webkit-scrollbar-track {
    background: transparent;
}

.left-veil-inner::-webkit-scrollbar-thumb {
    background: #c9f0ff4d; /* #C9F0FF at 30% opacity */
    border-radius: 1px;
}

/* Damask pattern overlay */
.damask-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2C14 8 8 14 2 20c6 6 12 12 18 18 6-6 12-12 18-18C32 14 26 8 20 2zm0 6c4 4 8 8 12 12-4 4-8 8-12 12-4-4-8-8-12-12 4-4 8-8 12-12z' fill='%23e8daf0' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

/* Paper grain noise overlay */
.left-veil::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ============================================
   Veil Scenes
   ============================================ */
.veil-scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    z-index: 2;
}

.veil-content {
    max-width: 380px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--spring-ease);
}

.veil-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Entry horizontal rule */
.entry-hr {
    width: 0;
    height: 1px;
    background: rgba(232, 218, 240, 0.3);
    margin: 0 auto 2rem;
    transition: width 0.7s ease;
}

.entry-hr.drawn {
    width: 100%;
}

/* Veil titles */
.veil-title {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: 'wght' var(--heading-weight, 700);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: var(--phantom-orchid);
    margin-bottom: 1.5rem;
}

#entryTitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--moonlit-parchment);
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-bottom: 2rem;
}

#entryTitle.visible {
    opacity: 1;
}

/* Scene title colors cycle */
#veilScene2 .veil-title { color: var(--spectral-teal); }
#veilScene3 .veil-title { color: var(--acid-fuchsia); }
#veilScene4 .veil-title { color: var(--phantom-orchid); }
#veilScene5 .veil-title { color: var(--spectral-teal); }

/* Navigation tags */
.veil-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nav-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--phantom-orchid);
    border: 1px solid var(--phantom-orchid);
    border-radius: 999px;
    padding: 0.2em 0.8em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    opacity: 0.6;
}

.nav-tag.active {
    opacity: 1;
    background: rgba(155, 109, 255, 0.15);
}

.nav-tag:hover {
    background: rgba(155, 109, 255, 0.2);
    opacity: 1;
}

/* Body text */
.veil-text {
    color: var(--moonlit-parchment);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

/* Handwritten notes */
.handwritten-note {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--spectral-teal);
    opacity: 0.7;
    transform: rotate(-2deg);
    margin-top: 1rem;
}

/* Vintage divider */
.vintage-divider {
    margin: 2rem 0;
    text-align: center;
}

.key-icon {
    width: 60px;
    height: 24px;
}

/* Orb description area */
.orb-description {
    margin-top: 1.5rem;
    min-height: 60px;
}

.orb-text {
    color: var(--moonlit-parchment);
    opacity: 0;
    transition: opacity 0.4s ease;
    font-style: italic;
}

.orb-text.visible {
    opacity: 0.85;
}

/* ============================================
   Right Glow
   ============================================ */
.right-glow {
    width: 50vw;
    height: 100vh;
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--spring-ease);
    flex-shrink: 0;
    overflow: hidden;
}

.right-glow-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.right-glow-inner::-webkit-scrollbar {
    width: 0;
}

/* ============================================
   Glow Scenes
   ============================================ */
.glow-scene {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Gradient Meshes
   ============================================ */
.gradient-mesh {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.gradient-mesh.active {
    opacity: 1;
}

/* Scene 1: Awakening - Acid Fuchsia + Phantom Orchid */
.mesh-awakening {
    background:
        radial-gradient(ellipse at var(--mesh-x1) var(--mesh-y1), rgba(255, 45, 123, 0.7) 0%, transparent 60%),
        radial-gradient(ellipse at var(--mesh-x2) var(--mesh-y2), rgba(155, 109, 255, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse at var(--mesh-x3) var(--mesh-y3), rgba(255, 45, 123, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at var(--mesh-x4) var(--mesh-y4), rgba(155, 109, 255, 0.5) 0%, transparent 65%);
    background-color: var(--deep-ultraviolet);
    mix-blend-mode: screen;
    animation: meshDrift1 10s ease-in-out infinite, meshDrift2 12s ease-in-out infinite, meshDrift3 14s ease-in-out infinite, meshDrift4 8s ease-in-out infinite;
}

/* Scene 2: The Garden - Electric Lime + Spectral Teal */
.mesh-garden {
    background:
        radial-gradient(ellipse at var(--mesh-x1) var(--mesh-y1), rgba(168, 255, 4, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse at var(--mesh-x2) var(--mesh-y2), rgba(0, 245, 212, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at var(--mesh-x3) var(--mesh-y3), rgba(168, 255, 4, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at var(--mesh-x4) var(--mesh-y4), rgba(0, 245, 212, 0.6) 0%, transparent 55%);
    background-color: var(--deep-ultraviolet);
    mix-blend-mode: screen;
    animation: meshDrift1 8s ease-in-out infinite, meshDrift2 9s ease-in-out infinite, meshDrift3 11s ease-in-out infinite, meshDrift4 7s ease-in-out infinite;
}

/* Scene 3: The Collection - All four accents */
.mesh-collection {
    background:
        radial-gradient(ellipse at var(--mesh-x1) var(--mesh-y1), rgba(255, 45, 123, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at var(--mesh-x2) var(--mesh-y2), rgba(168, 255, 4, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at var(--mesh-x3) var(--mesh-y3), rgba(0, 245, 212, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at var(--mesh-x4) var(--mesh-y4), rgba(155, 109, 255, 0.5) 0%, transparent 50%);
    background-color: var(--deep-ultraviolet);
    mix-blend-mode: screen;
    animation: meshDrift1 7s ease-in-out infinite, meshDrift2 8s ease-in-out infinite, meshDrift3 9s ease-in-out infinite, meshDrift4 6s ease-in-out infinite;
}

/* Scene 4: The Whisper - Phantom Orchid alone, dim */
.mesh-whisper {
    background:
        radial-gradient(ellipse at var(--mesh-x1) var(--mesh-y1), rgba(155, 109, 255, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at var(--mesh-x3) var(--mesh-y3), rgba(155, 109, 255, 0.2) 0%, transparent 50%);
    background-color: var(--deep-ultraviolet);
    mix-blend-mode: screen;
    animation: meshDrift1 14s ease-in-out infinite, meshDrift3 12s ease-in-out infinite;
}

/* Scene 5: The Parting - Spectral Teal fading to Void Black */
.mesh-parting {
    background:
        radial-gradient(ellipse at var(--mesh-x1) var(--mesh-y1), rgba(0, 245, 212, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse at var(--mesh-x3) var(--mesh-y3), rgba(0, 245, 212, 0.15) 0%, transparent 50%);
    background-color: var(--void-black);
    mix-blend-mode: screen;
    animation: meshDrift1 16s ease-in-out infinite, meshDrift3 14s ease-in-out infinite;
}

/* Mesh drift animations */
@keyframes meshDrift1 {
    0%, 100% { --mesh-x1: 20%; --mesh-y1: 20%; }
    33% { --mesh-x1: 35%; --mesh-y1: 30%; }
    66% { --mesh-x1: 25%; --mesh-y1: 40%; }
}

@keyframes meshDrift2 {
    0%, 100% { --mesh-x2: 80%; --mesh-y2: 30%; }
    33% { --mesh-x2: 65%; --mesh-y2: 20%; }
    66% { --mesh-x2: 75%; --mesh-y2: 45%; }
}

@keyframes meshDrift3 {
    0%, 100% { --mesh-x3: 30%; --mesh-y3: 70%; }
    33% { --mesh-x3: 45%; --mesh-y3: 60%; }
    66% { --mesh-x3: 35%; --mesh-y3: 80%; }
}

@keyframes meshDrift4 {
    0%, 100% { --mesh-x4: 75%; --mesh-y4: 80%; }
    33% { --mesh-x4: 60%; --mesh-y4: 70%; }
    66% { --mesh-x4: 80%; --mesh-y4: 65%; }
}

/* ============================================
   Hero Letters
   ============================================ */
.hero-letters {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.05em;
    z-index: 5;
    white-space: nowrap;
}

.hero-letter {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--letter-color);
    display: inline-block;
    opacity: 0;
    transform: translate(var(--scatter-x, 0), var(--scatter-y, 0)) rotate(var(--scatter-r, 0deg)) scale(0.3);
    transition: transform 1.2s var(--spring-ease), opacity 0.6s ease;
}

.hero-letter.assembled {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
}

/* Victorian frame corners */
.frame-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 3;
    pointer-events: none;
}

.frame-tl { top: 2rem; left: 2rem; }
.frame-tr { top: 2rem; right: 2rem; transform: scaleX(1); }
.frame-bl { bottom: 2rem; left: 2rem; }
.frame-br { bottom: 2rem; right: 2rem; }

/* ============================================
   Botanical SVG Overlays
   ============================================ */
.botanical {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}

.fern {
    width: 120px;
    height: 200px;
    right: 10%;
    bottom: 5%;
    animation: botanicalDrift 30s linear infinite;
}

.moth {
    width: 100px;
    height: 80px;
    left: 15%;
    top: 15%;
    animation: botanicalDrift 25s linear infinite reverse;
}

.mushroom {
    width: 80px;
    height: 100px;
    right: 25%;
    top: 60%;
    animation: botanicalDrift 35s linear infinite;
}

@keyframes botanicalDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-60px); }
}

.keyhole-icon {
    position: absolute;
    width: 40px;
    height: 60px;
    left: 5%;
    bottom: 10%;
    z-index: 3;
    pointer-events: none;
}

/* ============================================
   Orbs (Scene 3)
   ============================================ */
.orbs-container {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.orb {
    position: absolute;
    left: var(--orb-x);
    top: var(--orb-y);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    animation: orbPulse 3s ease-in-out infinite;
    transition: width 0.4s var(--spring-ease), height 0.4s var(--spring-ease), transform 0.4s var(--spring-ease);
    transform: translate(-50%, -50%);
}

.orb:hover {
    width: 200px;
    height: 200px;
}

.orb.expanded {
    width: 60%;
    height: 60%;
    left: 50%;
    top: 50%;
    border-radius: 16px;
    z-index: 10;
    animation: none;
}

.orb-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    position: absolute;
    inset: 0;
}

.orb-mesh-1 {
    background: radial-gradient(circle at 30% 30%, rgba(255, 45, 123, 0.8), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(155, 109, 255, 0.8), transparent 70%);
    background-color: var(--deep-ultraviolet);
}

.orb-mesh-2 {
    background: radial-gradient(circle at 50% 20%, rgba(168, 255, 4, 0.8), transparent 70%),
                radial-gradient(circle at 50% 80%, rgba(0, 245, 212, 0.8), transparent 70%);
    background-color: var(--deep-ultraviolet);
}

.orb-mesh-3 {
    background: radial-gradient(circle at 30% 60%, rgba(0, 245, 212, 0.8), transparent 70%),
                radial-gradient(circle at 80% 30%, rgba(255, 45, 123, 0.8), transparent 70%);
    background-color: var(--deep-ultraviolet);
}

.orb-mesh-4 {
    background: radial-gradient(circle at 40% 40%, rgba(155, 109, 255, 0.8), transparent 70%),
                radial-gradient(circle at 60% 60%, rgba(168, 255, 4, 0.8), transparent 70%);
    background-color: var(--deep-ultraviolet);
}

.orb-mesh-5 {
    background: radial-gradient(circle at 50% 50%, rgba(255, 45, 123, 0.6), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0, 245, 212, 0.6), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(168, 255, 4, 0.6), transparent 60%);
    background-color: var(--deep-ultraviolet);
}

.orb-motif {
    position: absolute;
    inset: 15%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.orb:hover .orb-motif,
.orb.expanded .orb-motif {
    opacity: 1;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ============================================
   The Seam
   ============================================ */
.seam-line {
    position: fixed;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100vh;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    animation: seamPulse 4s ease-in-out infinite;
}

@keyframes seamPulse {
    0%, 100% {
        background: var(--phantom-orchid);
        box-shadow: 0 0 8px rgba(155, 109, 255, 0.4);
    }
    50% {
        background: var(--spectral-teal);
        box-shadow: 0 0 8px rgba(0, 245, 212, 0.4);
    }
}

/* Seam Void */
.seam-void {
    position: fixed;
    top: 0;
    left: 50%;
    width: 6vw;
    height: 100vh;
    transform: translateX(-50%);
    background: var(--void-black);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.seam-void.revealed {
    opacity: 1;
}

.seam-particle {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--spectral-teal);
    box-shadow: 0 0 6px var(--spectral-teal);
    animation: seamParticleDrift var(--duration) linear infinite;
    animation-delay: var(--delay);
    opacity: 0.7;
    transition: transform 0.3s ease-out;
}

@keyframes seamParticleDrift {
    0% { transform: translateY(20px); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* ============================================
   Floating Particles (Fairy Dust)
   ============================================ */
.particles {
    position: fixed;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    left: var(--x);
    bottom: -10px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--color);
    box-shadow: 0 0 6px var(--color);
    animation: particleFloat var(--duration) linear infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes particleFloat {
    0% { transform: translateY(0); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translateY(-110vh); opacity: 0; }
}

/* ============================================
   Mobile Topbar
   ============================================ */
.mobile-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--midnight-velvet);
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(155, 109, 255, 0.2);
}

.mobile-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--moonlit-parchment);
}

.mobile-nav {
    display: flex;
    gap: 8px;
}

.mobile-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(155, 109, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s var(--spring-ease);
}

.mobile-nav-dot.active {
    background: var(--phantom-orchid);
    transform: scale(1.3);
}

/* ============================================
   Scene transition crossfade helpers
   ============================================ */
.glow-scene .gradient-mesh {
    transition: opacity 0.6s ease;
}

/* Botanical scene-change acknowledgment */
.botanical.scene-shift {
    animation: botanicalBreath 0.5s var(--spring-ease);
}

@keyframes botanicalBreath {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.02); }
    100% { transform: rotate(0deg) scale(1); }
}

/* ============================================
   Responsive: Mobile < 768px
   ============================================ */
@media (max-width: 767px) {
    .split-container {
        flex-direction: column;
    }

    .left-veil {
        display: none;
    }

    .right-glow {
        width: 100vw;
        height: calc(100vh - 60px);
        margin-top: 60px;
    }

    .mobile-topbar {
        display: flex;
    }

    .seam-line,
    .seam-void {
        display: none;
    }

    .hero-letter {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .orb {
        width: 60px;
        height: 60px;
    }

    .orb:hover {
        width: 140px;
        height: 140px;
    }

    .orb.expanded {
        width: 80%;
        height: 50%;
    }

    .glow-scene {
        min-height: calc(100vh - 60px);
    }

    .veil-scene {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   Entry animations
   ============================================ */
.mesh-awakening.initial {
    opacity: 1;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(155, 109, 255, 0.15) 0%, transparent 60%);
    background-color: var(--deep-ultraviolet);
    animation: meshBreathInitial 3s ease-in-out infinite;
}

@keyframes meshBreathInitial {
    0%, 100% { background-size: 100% 100%; }
    50% { background-size: 110% 110%; }
}

.mesh-awakening.erupted {
    opacity: 1;
    transform: scale(1);
    animation: meshDrift1 10s ease-in-out infinite, meshDrift2 12s ease-in-out infinite, meshDrift3 14s ease-in-out infinite, meshDrift4 8s ease-in-out infinite;
}

/* Full mesh eruption animation */
@keyframes meshErupt {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
