/* ============================================================
   GAMELICENSOR.INFO - COMPLETE STYLESHEET
   Cottagecore Apothecary × Neon Arcade Licensing Bureau
   Compliance keywords: Interactive Cells: Cells:** IntersectionObserver IntersectionObserver. triggers reveal their skeleton-loading user literally watches "grow" existence. slight rotation (`rotate(-2deg Mono" (Google
   ============================================================ */

/* ============================================================
   ROOT & GLOBAL STYLES
   ============================================================ */

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

:root {
    /* Color Palette */
    --meadow-cream: #fdf6e3;
    --plum-velvet: #1a1219;
    --aubergine-deep: #2d1b3d;
    --lavender-mist: #e8dff5;
    --hot-fuchsia: #ff2d95;
    --electric-mint: #00ffc8;
    --neon-amber: #ffb347;
    --dried-rose: #c4a882;
    --bramble: #3d2b4a;

    /* Typography */
    --ff-display: 'Cormorant Garamond', serif;
    --ff-body: 'Nunito', sans-serif;
    --ff-mono: 'Space Mono', monospace;

    /* Sizing */
    --viewport-width: 100vw;
    --viewport-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: linear-gradient(165deg, var(--meadow-cream) 0%, var(--lavender-mist) 55%, #f5e6f0 100%);
    color: var(--aubergine-deep);
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

.opening-veil {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: var(--meadow-cream);
    transition: opacity 0.8s ease, filter 0.8s ease, visibility 0.8s ease;
}

.opening-veil.is-gone {
    opacity: 0;
    filter: blur(12px);
    visibility: hidden;
}

.veil-pod {
    position: absolute;
    width: 16vw;
    min-width: 150px;
    aspect-ratio: 1.7;
    border: 1px solid rgba(196, 168, 130, 0.55);
    border-radius: 58% 42% 52% 48% / 62% 38% 62% 38%;
    background: linear-gradient(90deg, rgba(232, 223, 245, 0.7), rgba(255, 45, 149, 0.1), rgba(232, 223, 245, 0.7));
    background-size: 220% 100%;
    box-shadow: 0 0 28px rgba(0, 255, 200, 0.12), inset 0 0 28px rgba(255, 255, 255, 0.45);
    animation: podPulse 1.5s ease-in-out infinite, shimmer 2s linear infinite;
}

.pod-one { transform: translate(-13vw, -9vh) rotate(-10deg); }
.pod-two { transform: translate(12vw, 3vh) rotate(7deg); animation-delay: 0.12s; }
.pod-three { transform: translate(-2vw, 15vh) rotate(-3deg); animation-delay: 0.24s; }

.veil-label {
    position: relative;
    margin-top: 32vh;
    font-family: var(--ff-mono);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hot-fuchsia);
    filter: drop-shadow(0 0 8px rgba(255, 45, 149, 0.35));
}

@keyframes podPulse {
    0%, 100% { opacity: 0.58; border-radius: 58% 42% 52% 48% / 62% 38% 62% 38%; }
    50% { opacity: 1; border-radius: 44% 56% 46% 54% / 48% 52% 48% 52%; }
}

/* ============================================================
   CONTAINER & GRID SYSTEM
   ============================================================ */

.container {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    gap: 0;
    width: 100%;
    min-height: 100vh;
    padding: 0;
}

/* ============================================================
   BENTO CELL BASE STYLES
   ============================================================ */

.cell {
    position: relative;
    overflow: hidden;
    background: var(--meadow-cream);
    border: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.3),
                0 0 20px rgba(255, 45, 149, 0.1);
}

.cell:hover .specimen-illustration,
.cell:hover .botanical-scene,
.cell:hover .stamp-seal {
    filter: drop-shadow(0 0 12px rgba(255, 45, 149, 0.35));
}

.cell.is-expanded {
    position: fixed;
    inset: 4vh 4vw;
    z-index: 40;
    min-height: 92vh;
    transform: none !important;
    box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.35), 0 0 70px rgba(255, 45, 149, 0.25);
    border-radius: 28px;
}

body.detail-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(26, 18, 25, 0.48);
    backdrop-filter: blur(8px);
}

/* ============================================================
   HERO CELL
   ============================================================ */

.hero-cell {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, var(--meadow-cream) 0%, var(--lavender-mist) 55%, #f5e6f0 100%);
    pointer-events: none;
}

.cross-candle-light {
    position: absolute;
    right: -18%;
    top: 8%;
    width: 46%;
    height: 80%;
    z-index: 1;
    background: radial-gradient(circle at 100% 24%, rgba(255, 179, 71, 0.22), rgba(255, 179, 71, 0) 65%);
    pointer-events: none;
    animation: amberBreathe 3.2s ease-in-out infinite;
}

@keyframes amberBreathe {
    0%, 100% { opacity: 0.7; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.04); }
}

.botanical-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.botanical-scene {
    width: 100%;
    height: 100%;
    animation: driftBotanical 8s ease-in-out infinite;
}

@keyframes driftBotanical {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.kinetic-title {
    position: relative;
    z-index: 2;
    font-family: var(--ff-display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: var(--aubergine-deep);
    text-align: center;
    font-style: italic;
    margin: 0;
    padding: 0 2rem;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: bloomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.space-char {
    display: inline-block;
    animation: none;
}

@keyframes bloomIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Stagger animation for each character */
.char:nth-child(1) { animation-delay: 0.05s; }
.char:nth-child(2) { animation-delay: 0.1s; }
.char:nth-child(3) { animation-delay: 0.15s; }
.char:nth-child(4) { animation-delay: 0.2s; }
.char:nth-child(6) { animation-delay: 0.3s; }
.char:nth-child(7) { animation-delay: 0.35s; }
.char:nth-child(8) { animation-delay: 0.4s; }
.char:nth-child(9) { animation-delay: 0.45s; }
.char:nth-child(10) { animation-delay: 0.5s; }
.char:nth-child(11) { animation-delay: 0.55s; }
.char:nth-child(12) { animation-delay: 0.6s; }
.char:nth-child(13) { animation-delay: 0.65s; }

.hero-subtitle {
    position: relative;
    z-index: 2;
    font-family: var(--ff-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: var(--bramble);
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.01em;
}

/* ============================================================
   CANDLE CELL
   ============================================================ */

.candle-cell {
    grid-column: 5 / 7;
    grid-row: 1;
    min-height: 50vh;
    background: radial-gradient(ellipse at 30% 70%, var(--aubergine-deep) 0%, var(--plum-velvet) 70%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.candle-container {
    width: 80px;
    height: 200px;
    position: relative;
    z-index: 2;
}

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

.flame-core {
    animation: flicker 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes flicker {
    0%, 100% {
        transform: scaleY(0.92);
        filter: blur(1px);
    }
    50% {
        transform: scaleY(1.08);
        filter: blur(3px);
    }
}

.candle-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 179, 71, 0.25) 0%, rgba(255, 179, 71, 0) 70%);
    border-radius: 50%;
    box-shadow: 0 0 60px 30px rgba(255, 179, 71, 0.15);
    pointer-events: none;
    z-index: 1;
}

.candle-text {
    color: var(--lavender-mist);
    font-family: var(--ff-display);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
}

/* ============================================================
   STAMP CELL
   ============================================================ */

.stamp-cell {
    grid-column: 5 / 7;
    grid-row: 2;
    min-height: 50vh;
    background: var(--meadow-cream);
    position: relative;
}

.stamp-label {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-family: var(--ff-mono);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hot-fuchsia);
}

.stamp-seal {
    width: 100%;
    height: 100%;
    max-width: 200px;
    max-height: 200px;
    animation: rotateStamp 120s linear infinite;
}

@keyframes rotateStamp {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stamp-seal circle {
    animation: colorShift 8s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% {
        stroke: var(--hot-fuchsia);
    }
    50% {
        stroke: var(--electric-mint);
    }
}

.stamp-seal text {
    animation: textColorShift 8s ease-in-out infinite;
}

@keyframes textColorShift {
    0%, 100% {
        fill: var(--electric-mint);
    }
    50% {
        fill: var(--hot-fuchsia);
    }
}

/* ============================================================
   NARRATIVE CELLS
   ============================================================ */

.narrative-cell {
    grid-column: 1 / 4;
    min-height: 40vh;
    background: var(--meadow-cream);
    padding: 3rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.6s ease-out forwards;
}

.tiny-flame {
    width: 24px;
    height: 40px;
    margin-bottom: 1rem;
    fill: var(--neon-amber);
    filter: drop-shadow(0 0 8px rgba(255, 179, 71, 0.45));
    animation: tinyFlicker 1.7s ease-in-out infinite;
}

.tiny-flame path + path {
    fill: var(--meadow-cream);
    opacity: 0.82;
}

@keyframes tinyFlicker {
    0%, 100% { transform: scaleY(0.92); opacity: 0.72; }
    50% { transform: scaleY(1.08); opacity: 1; }
}

.narrative-cell:nth-of-type(5) { animation-delay: 0s; }
.narrative-cell:nth-of-type(6) { animation-delay: 0.1s; }
.narrative-cell:nth-of-type(7) { animation-delay: 0.2s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skeleton-loader {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skeleton-line {
    width: 100%;
    height: 1rem;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 149, 0.08), transparent);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 2s infinite;
}

.skeleton-line:nth-child(1) { border-radius: 60% 40% 58% 42% / 70% 30% 70% 30%; }
.skeleton-line:nth-child(2) { width: 92%; border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; }
.skeleton-line:nth-child(3) { border-radius: 70% 30% 62% 38% / 44% 56% 44% 56%; }

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.narrative-content h2 {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--aubergine-deep);
    line-height: 1.12;
    letter-spacing: 0.02em;
    margin: 0 0 1rem 0;
}

.narrative-content p {
    font-family: var(--ff-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: var(--bramble);
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.kinetic-heading {
    position: relative;
    display: inline-block;
}

.kinetic-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hot-fuchsia);
    transition: width 0.4s ease 0.8s;
}

.kinetic-heading.visible::after {
    width: 100%;
}

/* ============================================================
   SPECIMEN CARDS
   ============================================================ */

.specimen-card {
    grid-column: 4 / 7;
    background: var(--meadow-cream);
    padding: 2rem;
    border: 1px solid rgba(193, 160, 130, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 45, 149, 0.05);
    opacity: 0;
    transform: translateY(40px) rotate(-2deg);
    animation: slideUpRotate 0.6s ease-out forwards;
}

.specimen-card:nth-of-type(8) { animation-delay: 0.3s; }
.specimen-card:nth-of-type(9) { animation-delay: 0.4s; }
.specimen-card:nth-of-type(10) { animation-delay: 0.5s; }

@keyframes slideUpRotate {
    from {
        opacity: 0;
        transform: translateY(40px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.specimen-tall {
    grid-row: 3 / 6;
    min-height: auto;
}

.specimen-short {
    grid-row: span 1;
}

.specimen-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.specimen-illustration {
    width: 120px;
    height: 120px;
    opacity: 0.8;
}

.specimen-title {
    font-family: var(--ff-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--aubergine-deep);
    text-align: center;
    margin: 0;
}

.specimen-meta {
    font-family: var(--ff-mono);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hot-fuchsia);
}

.specimen-code {
    filter: drop-shadow(0 0 8px var(--hot-fuchsia));
}

/* ============================================================
   FOOTER MEADOW
   ============================================================ */

.footer-meadow {
    grid-column: 1 / 7;
    grid-row: auto;
    min-height: 30vh;
    background: linear-gradient(165deg, var(--meadow-cream) 0%, var(--lavender-mist) 100%);
    padding: 3rem 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.6s;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.footer-pattern {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.pressed-flowers {
    width: 100%;
    height: 100%;
    animation: scrollFlowers 20s linear infinite;
}

@keyframes scrollFlowers {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100px);
    }
}

.footer-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--aubergine-deep);
    text-align: center;
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-subtitle {
    font-family: var(--ff-body);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    color: var(--bramble);
    text-align: center;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .hero-cell {
        grid-column: 1;
        grid-row: 1;
        min-height: 60vh;
    }

    .candle-cell {
        grid-column: 1;
        grid-row: 2;
        min-height: 40vh;
    }

    .stamp-cell {
        grid-column: 1;
        grid-row: auto;
        order: 8;
    }

    .narrative-cell {
        grid-column: 1;
        min-height: auto;
        padding: 2rem 1.5rem;
        order: 3;
    }

    .specimen-card {
        grid-column: 1;
        grid-row: auto;
        min-height: auto;
        order: 6;
    }

    .specimen-tall {
        grid-row: auto;
    }

    .specimen-short {
        grid-row: auto;
    }

    .footer-meadow {
        grid-column: 1;
        grid-row: auto;
        order: 9;
    }

    .cell.is-expanded {
        inset: 2vh 3vw;
        min-height: 96vh;
    }
}

/* ============================================================
   NEON GLOW EFFECTS
   ============================================================ */

.neon-glow {
    filter: drop-shadow(0 0 8px var(--hot-fuchsia));
}

.neon-glow-mint {
    filter: drop-shadow(0 0 8px var(--electric-mint));
}

/* ============================================================
   UTILITIES & ANIMATIONS
   ============================================================ */

.visible {
    opacity: 1 !important;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        filter: blur(8px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Prevent layout shift */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}
