/* =============================================================
   GeekPress theming contract — geekpress-game-theme (RaidLog)
   Shared --geekui-* palette for EVERY GeekPress UI surface
   (catalog, name/char, …). Loaded once before any context skin.
   -------------------------------------------------------------
   Two palettes: cyberpunk dark-neon (default) + a cold "daylight
   terminal" light variant, switched by the header theme toggle
   which sets data-theme on <body>. The palette is asserted on
   <body> AND on every GeekPress app root (#geekui-root-*) so it
   always reaches the React apps even past intermediate wrappers.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── DARK — cyberpunk neon (default) ───────────────────────────── */
body,
[id^="geekui-root"] {
    --geekui-bg:               #0a0f17;
    --geekui-bg-2:             #0e1521;
    --geekui-text:             #e9edf6;
    --geekui-text-dim:         #94a3b8;
    --geekui-text-mute:        #64748b;

    --geekui-accent:           #00d4c4;
    --geekui-accent-2:         #5af0e4;
    --geekui-accent-d:         #0b8a80;

    /* Poster-less catalog placeholders — per type, on-brand neon trio */
    --geekui-noposter-movie:   #ffa45c;
    --geekui-noposter-tv:      #00d4c4;
    --geekui-noposter-game:    #9b6cff;
    --geekui-noposter-person:  #00d4c4;
    --geekui-noposter-char:    #ff7ab0;

    /* Single theme font everywhere — Rajdhani (the cyberpunk
       display face used by the topbar + menu) so every GeekPress
       surface (catalog/name/char/profile/articles/etc.) stays
       visually consistent with the theme chrome. */
    --geekui-font-base:        'Rajdhani', 'Inter', system-ui, sans-serif;
    --geekui-font-title:       'Rajdhani', 'Inter', system-ui, sans-serif;
    --geekui-font-mono:        'JetBrains Mono', 'Courier New', monospace;

    --geekui-surface:          #111824;
    --geekui-surface-2:        rgba(0, 212, 196, 0.10);
    --geekui-border:           rgba(0, 212, 196, 0.20);
    --geekui-border-strong:    rgba(0, 212, 196, 0.50);
    --geekui-modal-bg:         #0e141d;
    --geekui-modal-text:       #e9edf6;

    --geekui-card-radius:      10px;
    --geekui-card-shadow:      0 6px 16px rgba(0, 0, 0, 0.45);
    --geekui-card-hover-shadow:0 10px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 212, 196, 0.16);
    --geekui-glow:             0 0 22px rgba(0, 212, 196, 0.25);
    --geekui-hero-fade:        linear-gradient(180deg, rgba(10,15,23,0.35) 0%, rgba(10,15,23,0.70) 55%, rgba(10,15,23,0.96) 100%);
    --geekui-hero-tint:        linear-gradient(135deg, rgba(0,212,196,0.12) 0%, rgba(224,64,251,0.06) 45%, transparent 70%);

    --geekui-tone-exceptional: #e040fb;
    --geekui-tone-great:       #00d4c4;
    --geekui-tone-good:        #14b8a6;
    --geekui-tone-mixed:       #fbbf24;
    --geekui-tone-poor:        #64748b;
    --geekui-tone-muted:       #475569;
}

/* ── LIGHT — cold "daylight terminal" ──────────────────────────── */
body[data-theme="light"],
body[data-theme="light"] [id^="geekui-root"] {
    --geekui-bg:               #eef1f5;
    --geekui-bg-2:             #e4e8ee;
    --geekui-text:             #18202c;
    --geekui-text-dim:         #4a5260;
    --geekui-text-mute:        #7a828f;

    --geekui-accent:           #0a8f86;
    --geekui-accent-2:         #0fb3a6;
    --geekui-accent-d:         #066b64;

    --geekui-surface:          #ffffff;
    --geekui-surface-2:        rgba(10, 143, 134, 0.10);
    --geekui-border:           rgba(10, 143, 134, 0.28);
    --geekui-border-strong:    rgba(10, 143, 134, 0.52);
    --geekui-modal-bg:         #ffffff;
    --geekui-modal-text:       #18202c;

    --geekui-card-shadow:      0 6px 16px rgba(24, 32, 44, 0.12);
    --geekui-card-hover-shadow:0 10px 24px rgba(24, 32, 44, 0.18), 0 0 18px rgba(10, 143, 134, 0.16);
    --geekui-glow:             0 0 22px rgba(10, 143, 134, 0.20);
    --geekui-hero-fade:        linear-gradient(180deg, rgba(238,241,245,0.30) 0%, rgba(238,241,245,0.72) 55%, rgba(238,241,245,0.97) 100%);
    --geekui-hero-tint:        linear-gradient(135deg, rgba(10,143,134,0.12) 0%, rgba(176,32,200,0.06) 45%, transparent 70%);

    --geekui-tone-exceptional: #b020c8;
    --geekui-tone-great:       #0a8f86;
    --geekui-tone-good:        #0e857d;
    --geekui-tone-mixed:       #c77f0a;
    --geekui-tone-poor:        #7a828f;
    --geekui-tone-muted:       #9aa1ab;
}
