/* Nice88 Asia — Premium Organic Light Design System */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --neon: #39FF14;
    --neon-bright: #00FF66;
    --neon-dim: #00cc44;
    --neon-glow: rgba(57, 255, 20, 0.55);
    --neon-soft: rgba(57, 255, 20, 0.12);
    --bg-base: #0a100a;
    --bg-surface: #111a11;
    --bg-elevated: #1a241a;
    --text-moss: #e8ffe8;
    --text-dark: #0a100a;
    --emerald: var(--neon);
    --gold: #FFD700;
    --glass-white: rgba(17, 26, 17, 0.72);
    --glass-border: rgba(57, 255, 20, 0.22);
    --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(57, 255, 20, 0.06);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(57, 255, 20, 0.04);
    --ease-premium: cubic-bezier(0.25, 1, 0.5, 1);
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --radius-organic: 2.5rem 1.25rem 2.75rem 1.5rem / 1.5rem 2.5rem 1.25rem 2.75rem;
    --radius-pebble: 3rem 1.75rem 2.25rem 2rem / 2rem 2.75rem 1.5rem 3rem;

    /* Override legacy tokens for neon dark theme */
    --primary: #39FF14;
    --primary-dark: #00cc44;
    --primary-deep: #0a100a;
    --on-primary: #0a100a;
    --dark-blue: #1a241a;
    --dark-blue-alt: #111a11;
    --accent: #39FF14;
    --accent-muted: #6b9e6b;
    --dark-bg: #0a100a;
    --card-bg: rgba(17, 26, 17, 0.88);
    --card-hover: rgba(26, 36, 26, 0.95);
    --border-color: rgba(57, 255, 20, 0.18);
    --text-primary: #e8ffe8;
    --text-secondary: #a8d4a8;
    --text-muted: #6b9e6b;
    --success: #39FF14;
    --gradient-primary: linear-gradient(135deg, #39FF14 0%, #00FF66 50%, #00cc44 100%);
    --gradient-dark: linear-gradient(180deg, #0a100a 0%, #111a11 100%);
    --primary-rgb: 57 255 20;
    --shadow-sm: var(--shadow-soft);
    --shadow-md: var(--shadow-deep);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(57, 255, 20, 0.08);
    --transition: 0.55s var(--ease-premium);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-base);
    color: var(--text-moss);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(57, 255, 20, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 255, 102, 0.08) 0%, transparent 50%),
        var(--bg-base);
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-moss);
    letter-spacing: -0.02em;
}

a {
    color: var(--text-moss);
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--neon);
}

/* ─── Organic floating navbar ─── */
.nav-float-wrap {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 2rem));
    z-index: 1000;
    pointer-events: none;
}

.nav-organic {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem 0.65rem 1.1rem;
    background: rgba(10, 16, 10, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-organic);
    box-shadow: var(--shadow-deep), 0 0 24px rgba(57, 255, 20, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.nav-organic__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-organic__logo img {
    height: 42px;
    width: auto;
}

.nav-organic__links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-organic__links::-webkit-scrollbar {
    display: none;
}

.nav-organic__link {
    position: relative;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-moss);
    text-decoration: none;
    border-radius: 2rem;
    transition: color var(--transition);
    z-index: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-organic__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(57, 255, 20, 0.18);
    border-radius: inherit;
    transform: scale(0.6);
    opacity: 0;
    transition: transform 0.65s var(--ease-premium), opacity 0.65s var(--ease-premium);
    z-index: -1;
}

.nav-organic__link:hover::before,
.nav-organic__link--active::before {
    transform: scale(1);
    opacity: 1;
}

.nav-organic__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    background: linear-gradient(145deg, var(--neon) 0%, var(--neon-bright) 100%);
    border: 1px solid rgba(57, 255, 20, 0.5);
    border-radius: var(--radius-pebble);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.nav-organic__cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 32px rgba(57, 255, 20, 0.55);
    background: linear-gradient(145deg, var(--neon-bright) 0%, var(--neon) 100%);
    color: var(--text-dark);
}

.nav-organic__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-organic__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-moss);
    margin: 5px auto;
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-organic__links {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 1rem;
        background: rgba(10, 16, 10, 0.96);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(57, 255, 20, 0.2);
        border-radius: 1.5rem;
        box-shadow: var(--shadow-deep);
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .nav-organic__links.is-open {
        display: flex;
    }

    .nav-organic__toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-organic {
        flex-wrap: wrap;
        position: relative;
    }
}

/* ─── Glass panel utility ─── */
.glass-panel {
    background: rgba(17, 26, 17, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-deep);
}

/* ─── Fluid hero ─── */
.hero-fluid {
    min-height: 100vh;
    padding: 8rem 1.5rem 4rem;
    display: flex;
    align-items: center;
}

.hero-fluid__inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-fluid__copy {
    min-width: 0;
}

.hero-fluid__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.hero-fluid__title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-fluid__title em {
    font-style: italic;
    color: transparent;
    background: linear-gradient(120deg, var(--neon) 0%, var(--neon-bright) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.4));
}

.hero-fluid__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 32rem;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-fluid__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-fluid__stat-value {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-moss);
}

.hero-fluid__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Capsule CTA with liquid glow */
.btn-capsule {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    background: linear-gradient(135deg, var(--neon) 0%, var(--neon-bright) 100%);
    border: 1px solid rgba(57, 255, 20, 0.5);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.3);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-capsule::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 255, 255, 0.45) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.8s var(--ease-premium);
}

.btn-capsule:hover::before {
    opacity: 1;
}

.btn-capsule:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.5);
}

.btn-capsule span {
    position: relative;
    z-index: 1;
}

.btn-capsule--ghost {
    background: transparent;
    color: var(--neon);
    border-color: rgba(57, 255, 20, 0.45);
    box-shadow: none;
    margin-left: 1rem;
}

.btn-capsule--ghost:hover {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-bright);
}

/* Blob visual */
.hero-blob-stage {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 60% 40% 55% 45% / 48% 58% 42% 52%;
    background:
        radial-gradient(circle at 30% 30%, rgba(57, 255, 20, 0.85) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(0, 255, 102, 0.35) 0%, transparent 40%),
        linear-gradient(145deg, rgba(57, 255, 20, 0.25) 0%, rgba(10, 16, 10, 0.6) 100%);
    box-shadow:
        0 0 80px rgba(57, 255, 20, 0.45),
        inset 0 0 60px rgba(57, 255, 20, 0.15);
    filter: blur(0.5px);
    transform: translate(calc(var(--blob-x, 0) * 12px), calc(var(--blob-y, 0) * 12px));
    animation: blob-morph 14s var(--ease-premium) infinite alternate;
    transition: transform 0.35s var(--ease-premium);
}

.hero-blob__ring {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(57, 255, 20, 0.35);
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    animation: blob-morph 18s var(--ease-premium) infinite alternate-reverse;
}

.hero-blob__core {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    background: rgba(10, 16, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 50%;
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.hero-blob__core-value {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--neon);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.hero-blob__core-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

@keyframes blob-morph {
    0% { border-radius: 60% 40% 55% 45% / 48% 58% 42% 52%; }
    50% { border-radius: 45% 55% 40% 60% / 55% 45% 58% 42%; }
    100% { border-radius: 52% 48% 60% 40% / 42% 52% 48% 58%; }
}

@media (max-width: 900px) {
    .hero-fluid__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-fluid__title,
    .hero-fluid__desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-fluid__stats {
        justify-content: center;
    }
    .btn-capsule--ghost {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    .hero-fluid__copy > div:first-of-type {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ─── Masonry features ─── */
.section-organic {
    padding: 5rem 1.5rem;
}

.section-organic__head {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-organic__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-organic__lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-masonry {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-organic {
    position: relative;
    padding: 2.25rem 2.5rem;
    border-radius: var(--radius-organic);
    background: var(--bg-surface);
    border: 1px solid rgba(57, 255, 20, 0.12);
    box-shadow: var(--shadow-soft);
    cursor: default;
    z-index: 1;
    transition:
        background 0.85s var(--ease-premium),
        color 0.85s var(--ease-premium),
        transform 0.85s var(--ease-premium),
        box-shadow 0.85s var(--ease-premium);
    max-width: 85%;
}

.feature-organic:nth-child(1) { margin-left: 0; align-self: flex-start; }
.feature-organic:nth-child(2) { margin-left: auto; align-self: flex-end; max-width: 78%; margin-top: 0; }
.feature-organic:nth-child(3) { margin-left: 8%; align-self: flex-start; max-width: 82%; margin-top: 0; }

.feature-organic:hover,
.feature-organic.is-active {
    background: rgba(57, 255, 20, 0.12);
    border-color: rgba(57, 255, 20, 0.45);
    color: var(--text-moss);
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(57, 255, 20, 0.15);
    z-index: 2;
}

.feature-organic__title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.feature-organic__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
    box-shadow: 0 0 12px var(--gold);
}

.feature-organic:hover .feature-organic__pulse,
.feature-organic.is-active .feature-organic__pulse {
    opacity: 1;
    transform: scale(1);
    animation: gold-pulse 2s var(--ease-premium) infinite;
}

@keyframes gold-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.6); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 1); }
}

.feature-organic__title {
    font-size: 1.35rem;
    text-align: left;
    color: var(--text-moss);
    transition: color 0.85s var(--ease-premium);
}

.feature-organic:hover .feature-organic__title,
.feature-organic.is-active .feature-organic__title {
    color: var(--neon);
}

.feature-organic__text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    transition: color 0.85s var(--ease-premium);
}

.feature-organic:hover .feature-organic__text,
.feature-organic.is-active .feature-organic__text {
    color: var(--text-moss);
}

.feature-organic__text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Data root graph ─── */
.data-root {
    padding: 6rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.06) 50%, transparent 100%);
}

.data-root__inner {
    width: min(1000px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.data-root__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    text-align: left;
    margin-bottom: 1rem;
}

.data-root__lead {
    color: var(--text-secondary);
    text-align: left;
}

.data-root__viz {
    position: relative;
    min-height: 420px;
    overflow: visible;
}

.data-root__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.data-root__line {
    fill: none;
    stroke: rgba(57, 255, 20, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke 1.2s var(--ease-premium), filter 1.2s var(--ease-premium);
}

.data-root__line.is-lit {
    stroke: var(--neon);
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.9));
}

.data-root__node {
    opacity: 0;
    transition: opacity 0.9s var(--ease-premium);
}

.data-root__node.is-visible {
    opacity: 1;
}

.data-root__pill {
    fill: rgba(10, 16, 10, 0.92);
    stroke: rgba(57, 255, 20, 0.28);
    stroke-width: 1;
}

.data-root__counter {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 700;
    fill: var(--neon);
    dominant-baseline: middle;
}

.data-root__counter-label {
    font-family: var(--font-sans);
    font-size: 9px;
    fill: var(--text-secondary);
    dominant-baseline: middle;
}

@media (max-width: 768px) {
    .footer-eco .footer__grid {
        grid-template-columns: 1fr;
    }
    .data-root__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .data-root__viz {
        min-height: 360px;
        overflow-x: auto;
    }
    .data-root__svg {
        min-width: 340px;
    }
    .feature-organic,
    .feature-organic:nth-child(2),
    .feature-organic:nth-child(3) {
        max-width: 100%;
        margin-left: 0;
    }
}

/* ─── Overlapping lobby cards ─── */
.lobby-flow {
    width: min(1200px, 100%);
    margin: 0 auto;
    position: relative;
    padding: 2rem 0 4rem;
}

.lobby-flow__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    row-gap: 2.5rem;
}

.lobby-card {
    grid-column: span 4;
    position: relative;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-organic);
    overflow: hidden;
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.75s var(--ease-premium), box-shadow 0.75s var(--ease-premium);
}

.lobby-card:nth-child(2),
.lobby-card:nth-child(3),
.lobby-card:nth-child(4),
.lobby-card:nth-child(5) {
    margin-top: 0;
}

.lobby-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 24px rgba(57, 255, 20, 0.12);
    border-color: rgba(57, 255, 20, 0.35);
}

.lobby-card__img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.lobby-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.lobby-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-align: left;
}

.lobby-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .lobby-card { grid-column: span 6; margin-top: 0 !important; }
}

@media (max-width: 600px) {
    .lobby-card { grid-column: span 12; }
}

/* ─── Terminal contact ─── */
.contact-terminal {
    padding: 5rem 1.5rem 3rem;
}

.contact-terminal__panel {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 3rem 3.5rem;
    border-radius: 2rem 3rem 2rem 2.5rem / 2.5rem 2rem 3rem 2rem;
}

.contact-terminal__title {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.contact-terminal__lead {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: left;
}

.terminal-form {
    display: grid;
    gap: 2rem;
}

.terminal-field {
    position: relative;
}

.terminal-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.terminal-field input,
.terminal-field textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-moss);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(57, 255, 20, 0.25);
    outline: none;
    transition: border-color var(--transition);
    resize: vertical;
}

.terminal-field__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--neon-bright), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.75s var(--ease-premium);
}

.terminal-field input:focus ~ .terminal-field__wave,
.terminal-field textarea:focus ~ .terminal-field__wave {
    transform: scaleX(1);
}

/* ─── Eco footer ─── */
.footer-eco {
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem 2rem;
    margin-top: 2rem;
}

.footer-eco__ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(57, 255, 20, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0, 255, 102, 0.06) 0%, transparent 50%);
    animation: breathe 8s var(--ease-premium) infinite;
    pointer-events: none;
}

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

.footer-eco .container {
    position: relative;
    z-index: 1;
}

.footer-eco .footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-eco .footer__brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 28rem;
}

.footer-eco .footer__column h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-eco .footer__links a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-eco .trust-links,
.footer-eco .responsible-gaming {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(15, 41, 27, 0.08);
}

.footer-eco .trust-links__label,
.footer-eco .responsible-gaming__title {
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-eco .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 41, 27, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Legacy section harmonization on premium pages */
.section--dark {
    background: linear-gradient(180deg, #111a11 0%, var(--bg-base) 100%) !important;
}

.section {
    background: transparent;
}

.announcement-banner {
    background: rgba(17, 26, 17, 0.9);
    backdrop-filter: blur(12px);
    color: var(--text-moss);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 999px;
    max-width: 900px;
    margin: 1.5rem auto 2.5rem;
    padding: 0.85rem 1.5rem;
    text-align: center;
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.1);
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

.game-card,
.promo-card,
.infographic-item,
.feature-block,
.provider-item {
    background: var(--bg-surface) !important;
    border: 1px solid rgba(57, 255, 20, 0.15) !important;
    color: var(--text-moss) !important;
    border-radius: var(--radius-organic) !important;
    box-shadow: var(--shadow-soft) !important;
}

.content-page__content {
    background: rgba(17, 26, 17, 0.82);
    backdrop-filter: blur(16px);
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    color: var(--text-secondary);
}

.content-page__content h2,
.content-page__content h3 {
    text-align: left;
}

.section__title {
    text-align: center;
}

.breadcrumbs {
    padding-top: 6rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

/* Hide legacy header when premium nav present */
body.has-premium-nav .header {
    display: none !important;
}

body.has-premium-nav .nav-overlay {
    display: none !important;
}

body.has-premium-nav {
    padding-top: 0;
}

body:not(.has-premium-nav) {
    padding-top: 5.5rem;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.1s var(--ease-premium), transform 1.1s var(--ease-premium);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob,
    .hero-blob__ring,
    .footer-eco__ambient,
    .feature-organic__pulse {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ─── Light-surface readability (default / non-hover) ─── */
.section__title,
.section-organic__title,
.data-root__title,
.contact-terminal__title,
.steps__title,
.game-section__title,
.game-card__title,
.promo-card__title,
.lobby-card__title,
.feature-organic__title,
.feature-block__title,
.infographic-item__value,
.infographic-item__label,
.step__body h4,
.content-page__content h2,
.content-page__content h3 {
    color: var(--text-moss);
}

.section__intro,
.section-organic__lead,
.data-root__lead,
.contact-terminal__lead,
.by-numbers__lead,
.feature-organic__text,
.feature-block__text,
.game-card__meta,
.promo-card__meta,
.lobby-card__meta,
.infographic-item__label,
.step__body p,
.content-page__content,
.content-page__content p,
.content-page__content li {
    color: var(--text-secondary);
}

.game-section__intro .game-section__title {
    color: var(--text-moss);
}

.game-section__intro {
    background: var(--bg-surface);
    border-color: rgba(57, 255, 20, 0.15);
    box-shadow: var(--shadow-soft);
}

.step__body {
    background: var(--bg-surface);
    border-color: rgba(57, 255, 20, 0.15);
    box-shadow: var(--shadow-soft);
}

.step__body h4 {
    color: var(--text-moss);
}

.step__body p {
    color: var(--text-secondary);
}

.step__body a {
    color: var(--text-moss);
}

.infographic-item__value {
    color: var(--text-moss);
}

.provider-item {
    color: var(--text-moss) !important;
}

.lobby-card,
.game-card,
.promo-card {
    color: var(--text-moss);
}

.lobby-card__title,
.game-card__title,
.promo-card__title {
    color: var(--text-moss);
}

.feature-organic:not(:hover):not(.is-active) .feature-organic__title {
    color: var(--text-moss);
}

.feature-organic:not(:hover):not(.is-active) .feature-organic__text {
    color: var(--text-secondary);
}

.feature-organic:not(:hover):not(.is-active) .feature-organic__text a {
    color: var(--neon);
}

/* Inner-page heroes keep light text on dark image overlay */
.hero .hero__title,
.hero h1.hero__title {
    color: #ffffff;
}

.hero .hero__subtitle,
.hero .hero__text,
.hero .hero__highlights,
.hero .hero__highlights li {
    color: rgba(255, 255, 255, 0.9);
}

.hero .hero__stat-label {
    color: rgba(255, 255, 255, 0.75);
}

/* Default links on dark backgrounds */
.section a:not(.btn):not(.btn-capsule):not(.game-card):not(.lobby-card):not(.promo-card):not(.nav-organic__cta):not(.nav-organic__link),
.content-page__content a {
    color: var(--neon);
}

.section a:not(.btn):not(.btn-capsule):not(.game-card):not(.lobby-card):not(.promo-card):hover,
.content-page__content a:hover {
    color: var(--neon-bright);
}

.announcement-banner a {
    color: var(--neon);
    font-weight: 600;
}
