/* Extracted from index.html inline styles - 2026-02-18 */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    
    :root {
      --cyan: #00d4ff;
      --cyan-glow: rgba(0, 212, 255, 0.6);
      --neon-blue: #00d4ff;
      --neon-blue-glow: rgba(0, 212, 255, 0.5);
      --neon-blue-intense: rgba(0, 212, 255, 0.8);
      --purple: #b44aff;
      --purple-glow: rgba(180, 74, 255, 0.5);
      --green: #39ff14;
      --gold: #ffd700;
      --coral: #ff6b6b;
      --void: #020408;
      --text-primary: #f4f7fa;
      --text-secondary: #a8b5c4;
      --text-muted: #6b7a8c;
      --glass: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(255, 255, 255, 0.08);
      --font-display: 'Cormorant Garamond', Georgia, serif;
      --font-body: 'Outfit', 'DM Sans', -apple-system, sans-serif;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      
      --lumavine-primary: #7C3AED;
      --lumavine-secondary: #A855F7;
      --lumavine-accent: #C084FC;
      --lumavine-glow: rgba(124, 58, 237, 0.4);
      --hope-green: #10B981;
      --calm-blue: #3B82F6;
      --alert-red: #EF4444;
      --trust-teal: #14B8A6;
      --reward-gold: #FFD700;
      --reward-gold-glow: rgba(255, 215, 0, 0.5);
      --surface-dark: #0F0F14;
      --surface-mid: #1A1A24;
      --surface-light: #252532;
      --surface-elevated: #2D2D3D;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-active: rgba(0, 212, 255, 0.6);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --radius-full: 9999px;
      --shadow-glow: 0 0 40px var(--lumavine-glow);
      --transition-fast: 150ms ease;
      --transition-base: 250ms ease;

      /* Sidebar-specific variables */
      --neon-gold: #ffd700;
      --neon-cyan: #00d4ff;
      --glass-white: rgba(255, 255, 255, 0.1);
      --transition-slow: 300ms ease;
    }

    html { scroll-behavior: smooth; overflow-x: hidden; }
    
    body {
      font-family: var(--font-body);
      background: var(--void);
      color: var(--text-primary);
      overflow-x: hidden;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
    ::selection { background: var(--purple); color: white; }

    /* =====================================================
       LOADING SCREEN
       ===================================================== */
    #loadingScreen {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: #040710;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    /* --- Supermega3 background layers --- */
    .sm3-scan {
      position: fixed; inset: 0; pointer-events: none; z-index: 30;
      background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,200,0.005) 2px, rgba(0,255,200,0.005) 4px);
    }
    .sm3-grid {
      position: fixed; bottom: 0; left: 0; right: 0; height: 35vh; z-index: -1;
      background:
        linear-gradient(180deg, transparent, rgba(0,220,180,0.025)),
        repeating-linear-gradient(90deg, rgba(0,220,180,0.035) 0px, transparent 1px, transparent 65px),
        repeating-linear-gradient(0deg, rgba(0,220,180,0.035) 0px, transparent 1px, transparent 65px);
      transform: perspective(500px) rotateX(60deg); transform-origin: bottom;
    }
    .sm3-bg {
      position: fixed; inset: 0; z-index: -2;
      background: radial-gradient(ellipse at 50% 45%, rgba(10,12,22,1), #040710 75%);
    }

    /* --- Rain & ambient particles --- */
    .sm3-rain {
      position: fixed; width: 1px;
      background: linear-gradient(180deg, rgba(0,220,180,0.4), transparent);
      animation: sm3Dr 3.5s linear infinite; z-index: -1;
    }
    @keyframes sm3Dr { from { transform: translateY(-100vh); opacity: 0.5; } to { transform: translateY(100vh); opacity: 0; } }

    .sm3-amb { position: fixed; border-radius: 50%; z-index: 1; pointer-events: none; }
    .sm3-amb.a { background: rgba(255,160,50,0.3); box-shadow: 0 0 6px rgba(255,130,40,0.25); animation: sm3Ru 9s ease-out infinite; }
    .sm3-amb.b { background: rgba(0,200,180,0.22); animation: sm3Ru 11s ease-out infinite; }
    .sm3-amb.c { background: rgba(212,175,55,0.2); animation: sm3Dd 13s ease-in-out infinite; }
    @keyframes sm3Ru { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 0.5; } 100% { transform: translateY(-100vh) translateX(15px); opacity: 0; } }
    @keyframes sm3Dd { 0%,100% { transform: translate(0,0); opacity: 0; } 30% { opacity: 0.3; } 50% { transform: translate(30px,-25px); opacity: 0.2; } 80% { opacity: 0; } }

    /* --- Wrap container --- */
    .sm3-wrap {
      display: flex; flex-direction: column; align-items: center; gap: 18px;
      position: relative; z-index: 5; width: 100%; max-width: 980px;
      animation: sm3WIn 2.5s cubic-bezier(0.16,1,0.3,1) both;
      padding: 20px;
    }
    @keyframes sm3WIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

    /* --- Canvas --- */
    canvas#wave { width: 100%; max-width: 960px; height: 400px; }

    /* --- Brand text --- */
    .sm3-brand { text-align: center; }
    .sm3-nm {
      font-family: 'DM Serif Display', serif; font-size: 48px; letter-spacing: 4px;
      background: linear-gradient(90deg, #00c4b4, #50c890, #d4af37, #ff8c32); background-size: 300% 100%;
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      animation: sm3Sp 8s ease-in-out infinite; line-height: 1;
    }
    @keyframes sm3Sp { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

    .sm3-eco {
      font-family: 'Jost', sans-serif; font-weight: 100; font-size: 10px;
      letter-spacing: 10px; text-transform: uppercase; color: rgba(0,200,180,0.2); margin-top: 3px;
    }
    .sm3-orn { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 5px 0; }
    .sm3-ol { width: 50px; height: 1px; }
    .sm3-ol.l { background: linear-gradient(90deg, transparent, rgba(0,200,180,0.2)); }
    .sm3-ol.r { background: linear-gradient(90deg, rgba(212,175,55,0.2), transparent); }
    .sm3-od { width: 4px; height: 4px; border: 1px solid rgba(200,180,120,0.15); transform: rotate(45deg); }

    .sm3-tg {
      font-family: 'DM Serif Display', serif; font-style: italic; font-size: 17px;
      background: linear-gradient(90deg, rgba(0,200,180,0.35), rgba(255,180,80,0.35));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 1px;
    }

    /* --- Meta badges --- */
    .sm3-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; justify-content: center; flex-wrap: wrap; }
    .sm3-mb {
      display: inline-flex; align-items: center; gap: 3px;
      font-family: 'Geist Mono', monospace; font-size: 7px; letter-spacing: 2px;
      text-transform: uppercase; padding: 2px 8px; border-radius: 10px;
    }
    .sm3-mb.s { color: rgba(0,180,150,0.22); border: 1px solid rgba(0,180,150,0.08); }
    .sm3-mb.x { color: rgba(212,175,55,0.18); border: 1px solid rgba(212,175,55,0.06); }
    .sm3-mb.p { color: rgba(140,135,120,0.18); border: 1px solid rgba(140,135,120,0.06); }

    .sm3-ld { width: 3px; height: 3px; border-radius: 50%; background: rgba(0,220,180,0.5); animation: sm3Lp 2s infinite; }
    @keyframes sm3Lp { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

    /* --- Flame icons --- */
    .sm3-sf { display: flex; gap: 2px; }
    .sm3-fl { width: 4px; height: 7px; border-radius: 50% 50% 50% 50%/60% 60% 40% 40%; animation: sm3Fk 1.2s infinite; }
    .sm3-fl.on { background: linear-gradient(180deg, #f5c842, #d4622a); }
    .sm3-fl.off { background: rgba(45,38,28,0.12); }
    @keyframes sm3Fk { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.1) scaleX(0.9); } }

    /* --- Pulse dots --- */
    .sm3-pds { display: flex; gap: 4px; margin-top: 6px; justify-content: center; }
    .sm3-pd { width: 3px; height: 3px; border-radius: 50%; animation: sm3Pp 3s infinite; }
    .sm3-pd.a { background: rgba(0,196,180,0.3); }
    .sm3-pd.b { background: rgba(212,175,55,0.3); }
    @keyframes sm3Pp { 0%,100% { opacity: 0.12; } 50% { opacity: 0.85; } }

    /* --- Progress bar (unchanged) --- */
    .load-ui {
      position: relative;
      left: auto; bottom: auto; transform: none;
      z-index: 60;
      text-align: center;
      transition: opacity 0.8s ease;
      margin-top: 10px;
    }

    .prog-bar {
      width: 200px; height: 3px;
      background: rgba(255,255,255,0.1);
      border-radius: 2px; overflow: hidden;
      margin: 0 auto 15px;
    }

    .prog-fill {
      height: 100%; width: 0;
      background: linear-gradient(90deg, var(--cyan), var(--purple), var(--green));
      transition: width 0.3s ease;
    }

    .load-txt {
      font-size: 11px; letter-spacing: 3px;
      color: var(--text-muted); text-transform: uppercase;
    }

    .load-pct {
      font-size: 13px; color: var(--text-secondary);
      margin-top: 8px; font-weight: 500;
    }

    #loadingScreen.fade-out {
      opacity: 0; pointer-events: none;
      transition: opacity 1.5s ease;
    }

    /* --- Responsive canvas --- */
    @media (max-width: 600px) {
      canvas#wave { height: 250px; }
      .sm3-nm { font-size: 32px; letter-spacing: 2px; }
      .sm3-tg { font-size: 14px; }
    }

    /* =====================================================
       AGE VERIFICATION
       ===================================================== */
    #ageVerifyScreen {
      position: fixed; 
      inset: 0; 
      z-index: 9000; 
      opacity: 0; 
      pointer-events: none;
      transition: opacity 0.8s ease;
    }
    
    #ageVerifyScreen.visible { opacity: 1; pointer-events: auto; }
    #ageVerifyScreen.fade-out { opacity: 0; pointer-events: none; }
    #ageVerifyBg { position: absolute; inset: 0; width: 100%; height: 100%; }
    
    .age-box {
      position: absolute; 
      z-index: 10; 
      left: 50%; 
      top: 50%; 
      transform: translate(-50%, -50%);
      background: rgba(10, 10, 20, 0.85); 
      border: 1px solid var(--glass-border);
      border-radius: 24px; 
      padding: 50px 60px; 
      text-align: center;
      backdrop-filter: blur(30px); 
      max-width: 460px; 
      width: 90%;
    }
    
    .age-icon { 
      font-size: 48px; 
      margin-bottom: 20px; 
      filter: drop-shadow(0 0 20px var(--cyan-glow)); 
    }
    
    .age-title { 
      font-family: var(--font-display); 
      font-size: 32px; 
      font-weight: 400; 
      margin-bottom: 12px; 
    }
    
    .age-sub { 
      color: var(--text-secondary); 
      font-size: 15px; 
      line-height: 1.7; 
      margin-bottom: 30px; 
    }
    
    .age-btns { 
      display: flex; 
      gap: 16px; 
      justify-content: center; 
    }
    
    .age-btn {
      padding: 14px 36px; 
      border-radius: 50px; 
      font-size: 14px; 
      font-weight: 600;
      cursor: pointer; 
      transition: all 0.3s ease; 
      border: none;
    }
    
    .age-btn.yes { 
      background: linear-gradient(135deg, var(--cyan), var(--purple)); 
      color: white; 
    }
    
    .age-btn.yes:hover { 
      transform: translateY(-2px); 
      box-shadow: 0 10px 30px var(--purple-glow); 
    }
    
    .age-btn.no { 
      background: transparent; 
      border: 1px solid var(--text-muted); 
      color: var(--text-secondary); 
    }
    
    .age-btn.no:hover {
      border-color: var(--coral);
      color: var(--coral);
    }

    .age-legal {
      margin-top: 20px;
      font-size: 11px;
      line-height: 1.6;
      color: var(--text-muted);
      padding: 12px 8px 0;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .age-legal strong { color: var(--text-secondary); }
    .age-legal a {
      color: var(--cyan);
      text-decoration: none;
      white-space: nowrap;
    }
    .age-legal a:hover { text-decoration: underline; }
    
    .age-denied {
      position: absolute; 
      z-index: 10; 
      left: 50%; 
      top: 50%; 
      transform: translate(-50%, -50%);
      text-align: center; 
      opacity: 0; 
      pointer-events: none; 
      transition: opacity 0.5s ease;
    }
    
    .age-denied.show { opacity: 1; }
    .denied-icon { font-size: 64px; margin-bottom: 20px; }
    .denied-txt { font-size: 18px; color: var(--text-secondary); }

    /* =====================================================
       LUMACORE MAIN SCREEN
       ===================================================== */
    #lumaCoreScreen { 
      opacity: 0; 
      pointer-events: none; 
      transition: opacity 1s ease 0.3s;
      position: fixed;
      inset: 0;
      z-index: 100;
    }
    
    #lumaCoreScreen.visible { opacity: 1; pointer-events: auto; }

    .lumacore-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      background: linear-gradient(135deg, #020408 0%, #0a0a14 50%, #050510 100%);
    }

    .gradient-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.3;
      animation: float 20s ease-in-out infinite;
    }

    .orb-1 {
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
      top: -200px;
      left: -100px;
    }

    .orb-2 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
      bottom: -150px;
      right: -100px;
      animation-delay: -7s;
    }

    .orb-3 {
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, var(--hope-green) 0%, transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      animation-delay: -14s;
      opacity: 0.15;
    }

    .grid-overlay {
      position: absolute;
      inset: 0;
      background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
      background-size: 50px 50px;
      mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    }

    /* LUMACORE CONTAINER */
    .lumacore-container {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 85px 1fr 66px;
      height: 100vh;
      height: 100dvh;
      max-width: 100vw;
      width: 100vw;
    }

    .lumacore-container > header,
    .lumacore-container > main,
    .lumacore-container > footer {
      grid-column: 1 / -1;
    }

    .lumacore-header,
    .main-content,
    .messages-area,
    .input-area,
    .app-footer,
    .landing-hero {
      width: 100%;
      max-width: 100%;
    }

    .welcome-message {
      width: calc(100vw - 40px);
      max-width: calc(100vw - 40px);
      margin: 0 auto;
    }

    .landing-hero-inner {
      width: calc(100vw - 40px);
      max-width: calc(100vw - 40px);
      margin: 0 auto;
    }

    .input-container {
      width: calc(100vw - 160px);
      max-width: calc(100vw - 160px);
      margin: 0 auto;
    }

    @media (max-width: 900px) {
      .lumacore-container {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
      }
      .lumacore-header {
        flex-shrink: 0;
      }
      .main-content {
        flex: 1;
        min-height: 0;
      }
    }

    /* LUMACORE HEADER */
    .lumacore-header {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 32px 16px 16px;
      background: rgba(15, 15, 20, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-subtle);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    [dir="rtl"] .lumacore-header {
      padding: 16px 16px 16px 32px;
      flex-direction: row-reverse;
    }

    .logo-section {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-right: auto;
    }

    [dir="rtl"] .logo-section {
      margin-right: 0;
      margin-left: auto;
      flex-direction: row-reverse;
    }

    [dir="rtl"] .header-actions {
      flex-direction: row-reverse;
    }

    [dir="rtl"] .input-area {
      direction: rtl;
    }

    [dir="rtl"] .input-container {
      flex-direction: row-reverse;
    }

    [dir="rtl"] .input-wrapper {
      direction: rtl;
    }

    [dir="rtl"] .app-footer {
      flex-direction: row-reverse;
    }

    [dir="rtl"] .header-actions .header-nav-btn {
      margin-right: 0 !important;
      margin-left: 0.5rem;
    }

    [dir="rtl"] .mode-indicator {
      flex-direction: row-reverse;
    }

    .lumacore-logo-mark {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-md);
      object-fit: cover;
      position: relative;
      box-shadow:
        0 0 20px var(--neon-blue-glow),
        0 0 40px var(--neon-blue-glow);
      border: 2px solid var(--neon-blue);
      animation: neonPulse 3s ease-in-out infinite;
    }

    @keyframes neonPulse {
      0%, 100% { 
        box-shadow: 
          0 0 20px var(--neon-blue-glow),
          0 0 40px var(--neon-blue-glow),
          inset 0 0 20px rgba(0, 212, 255, 0.1);
        border-color: var(--neon-blue);
      }
      50% { 
        box-shadow: 
          0 0 30px var(--neon-blue-intense),
          0 0 60px var(--neon-blue-glow),
          0 0 80px rgba(0, 212, 255, 0.3),
          inset 0 0 30px rgba(0, 212, 255, 0.2);
        border-color: #40e0ff;
      }
    }

    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-title {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .logo-subtitle {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.15em;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .header-nav-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
    }

    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      background: var(--surface-mid);
      color: var(--text-primary);
      cursor: pointer;
      font-size: 20px;
    }

    @media (max-width: 900px) {
      .mobile-menu-btn {
        display: none;
      }
    }

    .user-profile {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .user-profile:hover {
      background: var(--surface-light);
      border-color: var(--border-active);
    }

    .user-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--hope-green), var(--trust-teal));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .user-info {
      display: flex;
      flex-direction: column;
    }

    .user-name {
      font-size: 0.875rem;
      font-weight: 500;
    }

    .user-first-name {
      font-size: 0.75rem;
      color: var(--hope-green);
      font-weight: 600;
    }

    /* SIDEBAR */
    .lumacore-sidebar {
      background: rgba(12, 12, 24, 0.85);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      border-right: 1px solid rgba(138, 79, 255, 0.15);
      padding: 24px 16px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    /* Desktop only: position relative for ::before/::after pseudo-elements */
    @media (min-width: 901px) {
      .lumacore-sidebar {
        position: relative;
      }
    }

    .lumacore-sidebar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 250px;
      background: linear-gradient(180deg, rgba(124, 58, 237, 0.15) 0%, rgba(138, 79, 255, 0.08) 50%, transparent 100%);
      pointer-events: none;
      z-index: 0;
    }

    .lumacore-sidebar::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 1px;
      height: 100%;
      background: linear-gradient(180deg, rgba(138, 79, 255, 0.5) 0%, rgba(92, 225, 230, 0.3) 50%, rgba(138, 79, 255, 0.5) 100%);
      box-shadow: 0 0 20px rgba(138, 79, 255, 0.4);
      pointer-events: none;
    }

    .lumacore-sidebar > * {
      position: relative;
      z-index: 1;
    }

    .lumacore-sidebar::-webkit-scrollbar {
      width: 5px;
    }

    .lumacore-sidebar::-webkit-scrollbar-track {
      background: transparent;
    }

    .lumacore-sidebar::-webkit-scrollbar-thumb {
      background: rgba(124, 58, 237, 0.3);
      border-radius: 10px;
    }

    .lumacore-sidebar::-webkit-scrollbar-thumb:hover {
      background: rgba(124, 58, 237, 0.5);
    }

    .sidebar-section {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .section-label {
      font-size: 11px;
      font-weight: 700;
      color: rgba(124, 58, 237, 0.7);
      text-transform: uppercase;
      letter-spacing: 1.8px;
      padding: 0 14px 10px;
      font-family: 'Inter', 'Outfit', sans-serif;
    }

    .platform-btn {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 14px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: left;
      width: 100%;
      color: rgba(255, 255, 255, 0.65);
      font-size: 14px;
      font-weight: 500;
      position: relative;
    }

    .platform-btn:hover {
      color: white;
      background: rgba(124, 58, 237, 0.08);
      border-color: rgba(124, 58, 237, 0.15);
      transform: translateX(4px);
    }

    .platform-btn.active {
      color: white;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(138, 79, 255, 0.12) 50%, rgba(92, 225, 230, 0.08) 100%);
      border-color: rgba(124, 58, 237, 0.4);
      box-shadow: 0 0 24px rgba(138, 79, 255, 0.3);
    }

    .platform-btn.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 24px;
      background: linear-gradient(180deg, #8a4fff 0%, #5ce1e6 100%);
      border-radius: 0 4px 4px 0;
      box-shadow: 0 0 16px rgba(138, 79, 255, 0.8);
    }

    /* Locked chatbot state - plan-based access control */
    .platform-btn.locked {
      opacity: 0.5;
      position: relative;
      cursor: not-allowed;
    }

    .platform-btn.locked:hover {
      background: transparent;
      color: var(--text-secondary);
    }

    .platform-btn.locked .lock-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.5);
      border-radius: inherit;
      /* Removed backdrop-filter blur for Android mobile compatibility */
      z-index: 1;
    }

    .platform-btn.locked .lock-overlay .lock-icon::before {
      content: '🔒';
      font-size: 1.25rem;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .platform-btn.locked .upgrade-badge {
      position: absolute;
      top: 4px;
      right: 4px;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #fff;
      font-size: 0.625rem;
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      z-index: 2;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Modal backdrop for chatbot selection and upgrade prompts */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      /* Removed backdrop-filter blur for Android mobile compatibility
         blur effects can cause entire screen to appear blurred on some Android devices */
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .modal-backdrop.open {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
    }

    .modal-content {
      background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 1.5rem;
      max-width: 500px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
      transform: translateY(20px) scale(0.95);
      transition: transform 0.3s ease;
    }

    .modal-backdrop.open .modal-content {
      transform: translateY(0) scale(1);
    }

    .platform-icon {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.125rem;
      flex-shrink: 0;
    }

    .platform-info {
      flex: 1;
      min-width: 0;
    }

    .platform-name {
      font-size: 0.875rem;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .platform-status {
      font-size: 0.7rem;
      color: rgba(255, 255, 255, 0.45);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--hope-green);
    }

    .quick-actions {
      margin-top: auto;
      padding-top: 24px;
      border-top: 1px solid var(--border-subtle);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .quick-action-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: var(--surface-light);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      font-size: 0.875rem;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .quick-action-btn:hover {
      background: var(--surface-elevated);
      border-color: var(--border-active);
      color: var(--text-primary);
    }

    .quick-action-btn.emergency {
      background: rgba(239, 68, 68, 0.1);
      border-color: rgba(239, 68, 68, 0.3);
      color: var(--alert-red);
    }

    .quick-action-btn.rewards {
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
      border-color: rgba(255, 215, 0, 0.4);
      color: var(--reward-gold);
    }

    /* MAIN CONTENT */
    .main-content {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
    }

    /* MESSAGES AREA */
    .messages-area {
      flex: 1;
      overflow-y: auto;
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .messages-area::-webkit-scrollbar {
      width: 8px;
    }

    .messages-area::-webkit-scrollbar-thumb {
      background: var(--border-subtle);
      border-radius: var(--radius-full);
    }

    /* WELCOME MESSAGE WITH 3D WORLD */
    .welcome-message {
      text-align: center;
      padding: 20px 32px 48px;
      max-width: 850px;
      margin: 0 auto;
    }

    /* LOGO ANIMATION CONTAINER */
    #worldContainer {
      width: 100%;
      height: 320px;
      margin: 0 auto 20px;
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      background: radial-gradient(ellipse at center, rgba(8, 12, 20, 1), #030409 65%);
      border: 1px solid rgba(0, 200, 170, 0.15);
      box-shadow:
        0 0 40px rgba(0, 200, 170, 0.08),
        inset 0 0 60px rgba(0, 200, 170, 0.03);
    }

    #logoField {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
    }

    .world-label {
      position: absolute;
      bottom: 12px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.65rem;
      color: rgba(0, 180, 165, 0.5);
      text-transform: uppercase;
      letter-spacing: 6px;
      opacity: 0.9;
      background: rgba(3, 4, 9, 0.6);
      padding: 5px 14px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(0, 200, 170, 0.1);
    }

    .welcome-message h1 {
      font-family: var(--font-display);
      font-size: 2.25rem;
      font-weight: 600;
      margin-bottom: 16px;
      background: linear-gradient(135deg, var(--text-primary), var(--neon-blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .welcome-message > p {
      color: var(--text-secondary);
      font-size: 1.125rem;
      line-height: 1.7;
      margin-bottom: 24px;
    }

    .tagline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 28px;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
      border: 1px solid rgba(0, 212, 255, 0.4);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--neon-blue);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }

    .quick-suggestions {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
      margin-top: 36px;
    }

    .suggestion-card {
      padding: 20px;
      background: linear-gradient(135deg, var(--surface-mid) 0%, rgba(0, 212, 255, 0.03) 100%);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      cursor: pointer;
      transition: all 0.3s var(--ease-out-expo);
      text-align: left;
      position: relative;
      overflow: hidden;
    }

    .suggestion-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(180, 74, 255, 0.1) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .suggestion-card:hover::before {
      opacity: 1;
    }

    .suggestion-card:hover {
      background: var(--surface-light);
      border-color: var(--border-active);
      transform: translateY(-4px) scale(1.02);
      box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.2),
        0 0 0 1px rgba(0, 212, 255, 0.3);
    }

    .suggestion-icon {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .suggestion-card h3 {
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .suggestion-card p {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* MESSAGES */
    .message {
      display: flex;
      gap: 12px;
      max-width: 85%;
      animation: messageIn 0.3s ease-out;
    }

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

    .message.user {
      margin-left: auto;
      flex-direction: row-reverse;
    }

    .message-avatar {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1rem;
    }

    .message.assistant .message-avatar {
      background: linear-gradient(135deg, var(--lumavine-primary), var(--lumavine-secondary));
      border: 2px solid var(--neon-blue);
      box-shadow: 0 0 10px var(--neon-blue-glow);
    }

    .message.user .message-avatar {
      background: linear-gradient(135deg, var(--hope-green), var(--trust-teal));
    }

    .message-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .message-bubble {
      padding: 16px 20px;
      border-radius: var(--radius-lg);
      font-size: 0.9375rem;
      line-height: 1.7;
    }

    .message.assistant .message-bubble {
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-top-left-radius: 4px;
    }

    .message.user .message-bubble {
      background: linear-gradient(135deg, var(--lumavine-primary), var(--lumavine-secondary));
      border-top-right-radius: 4px;
    }

    .message-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .message.user .message-meta {
      justify-content: flex-end;
    }

    .platform-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 8px;
      background: rgba(0, 212, 255, 0.2);
      border-radius: var(--radius-sm);
      font-size: 0.7rem;
      color: var(--neon-blue);
    }

    /* TYPING INDICATOR */
    .typing-indicator {
      display: flex;
      gap: 12px;
      padding: 16px 0;
    }

    .typing-dots {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 16px 20px;
      background: var(--surface-mid);
      border-radius: var(--radius-lg);
      border-top-left-radius: 4px;
    }

    .typing-dot {
      width: 8px;
      height: 8px;
      background: var(--neon-blue);
      border-radius: 50%;
      animation: typingBounce 1.4s ease-in-out infinite;
    }

    .typing-dot:nth-child(2) { animation-delay: 0.2s; }
    .typing-dot:nth-child(3) { animation-delay: 0.4s; }

    @keyframes typingBounce {
      0%, 60%, 100% { transform: translateY(0); }
      30% { transform: translateY(-4px); }
    }

    /* INPUT AREA */
    .input-area {
      padding: 24px 32px;
      background: var(--surface-mid);
      border-top: 1px solid var(--border-subtle);
      flex-shrink: 0;
    }

    .input-container {
      display: flex;
      align-items: flex-end;
      gap: 12px;
      max-width: 900px;
      margin: 0 auto;
    }

    .input-wrapper {
      flex: 1;
      display: flex;
      align-items: flex-end;
      background: var(--surface-dark);
      border: 2px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 8px;
      transition: all var(--transition-fast);
    }

    .input-wrapper:focus-within {
      border-color: var(--neon-blue);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }

    .message-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 0.9375rem;
      padding: 8px 12px;
      resize: none;
      max-height: 150px;
      line-height: 1.5;
    }

    .message-input::placeholder {
      color: var(--text-muted);
    }

    .input-actions {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 4px;
    }

    .input-action-btn {
      width: 36px;
      height: 36px;
      border: none;
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all var(--transition-fast);
    }

    .input-action-btn:hover {
      background: var(--surface-light);
      color: var(--text-primary);
    }

    /* Voice recording animation */
    @keyframes pulse {
      0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
      50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    }

    .input-action-btn.recording {
      background: rgba(239, 68, 68, 0.2);
      color: #ef4444;
    }

    .send-btn {
      width: 52px;
      height: 52px;
      border: none;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--neon-blue), var(--purple));
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      transition: all var(--transition-fast);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }

    .send-btn:hover:not(:disabled) {
      transform: scale(1.05);
      box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.3);
    }

    .send-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }

    /* ===== SOUND TOGGLE (TTS) ===== */
    .sound-toggle {
      width: 42px;
      height: 42px;
      min-width: 42px;
      min-height: 42px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.3s ease;
      -webkit-tap-highlight-color: rgba(124, 58, 237, 0.3);
      touch-action: manipulation;
      user-select: none;
      -webkit-user-select: none;
    }
    .sound-toggle:hover {
      transform: scale(1.08);
      border-color: var(--neon-blue);
      box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
    }
    .sound-toggle:active {
      transform: scale(0.95);
    }
    .sound-toggle.active {
      background: linear-gradient(135deg, var(--neon-blue), var(--purple));
      border-color: var(--neon-blue);
      box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
    }
    .sound-toggle span {
      pointer-events: none;
      user-select: none;
      -webkit-user-select: none;
    }

    /* ===== HEADER GAMES DROPDOWN ===== */
    .header-dropdown {
      position: relative;
    }
    .header-dropdown-btn {
      padding: 0.5rem 0.85rem;
      background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(167, 139, 250, 0.15));
      border: 1px solid rgba(167, 139, 250, 0.3);
      color: #c4b5fd;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
      font-family: var(--font-body);
      white-space: nowrap;
    }
    .header-dropdown-btn:hover {
      background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(167, 139, 250, 0.25));
      transform: translateY(-2px);
    }
    .dropdown-caret {
      font-size: 0.7em;
      margin-left: 2px;
      transition: transform 0.2s;
    }
    .header-dropdown-btn[aria-expanded="true"] .dropdown-caret {
      transform: rotate(180deg);
    }
    .header-dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 6px;
      min-width: 220px;
      max-height: 400px;
      overflow-y: auto;
      z-index: 1000;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }
    .header-dropdown-menu.open {
      display: block;
    }
    /* Hidden on desktop, shown on mobile via 600px media query */
    .mobile-platform-select {
      display: none;
    }
    .dropdown-game-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 8px;
      color: rgba(255, 255, 255, 0.75);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: all 0.15s;
    }
    .dropdown-game-item:hover {
      background: rgba(124, 58, 237, 0.12);
      color: white;
    }
    .dropdown-game-item.coming-soon {
      opacity: 0.5;
      pointer-events: none;
      cursor: default;
    }
    .coming-soon-badge {
      margin-left: auto;
      font-size: 0.65rem;
      font-weight: 600;
      color: #fbbf24;
      background: rgba(251, 191, 36, 0.12);
      padding: 2px 6px;
      border-radius: 4px;
      white-space: nowrap;
    }
    .dg-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }

    /* ===== PLATFORM DROPDOWN (next to send) ===== */
    .platform-dropdown-wrapper {
      position: relative;
    }
    .platform-dropdown-btn {
      width: auto;
      min-width: 160px;
      height: 34px;
      border: none;
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(168, 85, 247, 0.2));
      border: 1px solid rgba(124, 58, 237, 0.4);
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      transition: all var(--transition-fast);
      gap: 4px;
      padding: 0 12px;
      white-space: nowrap;
    }
    .platform-dropdown-btn:hover {
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(168, 85, 247, 0.35));
      box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }
    .platform-dropdown-btn .dropdown-caret {
      font-size: 0.6em;
    }
    .platform-dropdown-btn[aria-expanded="true"] .dropdown-caret {
      transform: rotate(180deg);
    }
    .platform-dropdown-menu {
      display: none;
      position: absolute;
      bottom: calc(100% + 10px);
      right: 0;
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 8px;
      min-width: 260px;
      max-height: 420px;
      overflow-y: auto;
      z-index: 1000;
      box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    }
    .platform-dropdown-menu.open {
      display: block;
    }
    .pd-group {
      margin-bottom: 4px;
    }
    .pd-group-label {
      display: block;
      padding: 6px 10px 3px;
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    .pd-item {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 7px 10px;
      border: none;
      border-radius: 8px;
      background: transparent;
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s;
      text-align: left;
      font-family: var(--font-body);
    }
    .pd-item:hover {
      background: rgba(124, 58, 237, 0.12);
      color: white;
    }
    .pd-item.active {
      background: rgba(124, 58, 237, 0.2);
      color: white;
      border-left: 3px solid var(--lumavine-primary);
    }
    .pd-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }

    .mode-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 8px;
      font-size: 0.75rem;
      color: var(--text-muted);
    }



    .mode-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(180, 74, 255, 0.2));
      border-radius: var(--radius-full);
      color: var(--neon-blue);
    }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 999;
    }

    /* CRISIS MODAL */
    .crisis-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 32px;
    }

    .crisis-modal.open {
      display: flex;
    }

    .crisis-content {
      background: var(--surface-mid);
      border: 2px solid var(--alert-red);
      border-radius: var(--radius-xl);
      padding: 48px;
      max-width: 500px;
      text-align: center;
    }

    .crisis-icon {
      width: 64px;
      height: 64px;
      background: rgba(239, 68, 68, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      font-size: 2rem;
    }

    .crisis-content h2 {
      font-size: 1.5rem;
      margin-bottom: 16px;
      color: var(--alert-red);
    }

    .crisis-content > p {
      color: var(--text-secondary);
      margin-bottom: 32px;
    }

    .crisis-numbers {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
    }

    .crisis-number {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px;
      background: var(--surface-dark);
      border-radius: var(--radius-md);
    }

    .crisis-number span {
      font-size: 0.875rem;
    }

    .crisis-number a {
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--alert-red);
      text-decoration: none;
    }

    .close-crisis-btn {
      padding: 12px 32px;
      background: var(--surface-light);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      cursor: pointer;
      font-size: 0.875rem;
      transition: all var(--transition-fast);
    }

    .close-crisis-btn:hover {
      background: var(--surface-elevated);
    }

    /* SETTINGS MODAL */
    .settings-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 32px;
    }

    .settings-modal.open {
      display: flex;
    }

    .settings-content {
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      padding: 40px;
      max-width: 500px;
      width: 100%;
    }

    .settings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
    }

    .settings-header h2 {
      font-size: 1.5rem;
      font-weight: 600;
    }

    .settings-close {
      width: 36px;
      height: 36px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      background: transparent;
      color: var(--text-secondary);
      cursor: pointer;
      font-size: 1.25rem;
    }

    .settings-section {
      margin-bottom: 24px;
    }

    .settings-section h3 {
      font-size: 0.875rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 16px;
    }

    .setting-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
      background: var(--surface-dark);
      border-radius: var(--radius-md);
      margin-bottom: 8px;
    }

    .setting-label span {
      display: block;
      font-size: 0.9375rem;
      font-weight: 500;
    }

    .setting-label small {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .toggle-switch {
      width: 48px;
      height: 26px;
      background: var(--surface-light);
      border-radius: var(--radius-full);
      position: relative;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .toggle-switch.active {
      background: var(--hope-green);
    }

    .toggle-switch::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      background: white;
      border-radius: 50%;
      top: 3px;
      left: 3px;
      transition: transform 0.3s ease;
    }

    .toggle-switch.active::after {
      transform: translateX(22px);
    }

    /* FOOTER */
    .app-footer {
      padding: 16px 32px;
      background: rgba(15, 15, 20, 0.95);
      border-top: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .footer-links {
      display: flex;
      gap: 24px;
    }

    .footer-links a {
      color: var(--text-muted);
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: var(--neon-blue);
    }

    .footer-info {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .version-badge {
      padding: 4px 8px;
      background: var(--surface-light);
      border-radius: var(--radius-sm);
      font-size: 0.7rem;
    }

    /* TOAST NOTIFICATIONS */
    .toast-container {
      position: fixed;
      bottom: calc(100px + env(safe-area-inset-bottom, 0px));
      right: calc(32px + env(safe-area-inset-right, 0px));
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .toast {
      padding: 16px 24px;
      background: var(--surface-mid);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      gap: 12px;
      animation: toastIn 0.3s ease;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .toast.success {
      border-color: var(--hope-green);
    }

    .toast.reward {
      border-color: var(--reward-gold);
      background: linear-gradient(135deg, var(--surface-mid), rgba(255, 215, 0, 0.1));
    }

    @keyframes toastIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    .toast-icon {
      font-size: 1.5rem;
    }

    .toast-content h4 {
      font-size: 0.9375rem;
      font-weight: 600;
    }

    .toast-content p {
      font-size: 0.8125rem;
      color: var(--text-secondary);
    }

    @media (max-width: 600px) {
      .lumacore-header {
        padding: 8px 12px;
        flex-wrap: nowrap;
        gap: 8px;
      }
      .logo-section {
        flex: 1;
        min-width: 0;
      }
      .lumacore-logo-mark {
        width: 36px;
        height: 36px;
      }
      .logo-title { font-size: 1rem; }
      .logo-subtitle { display: none; }
      .header-actions {
        gap: 4px;
        flex-wrap: nowrap;
        flex-shrink: 0;
      }
      .header-actions .header-nav-btn {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.7rem !important;
        margin-right: 0 !important;
        white-space: nowrap;
      }
      /* Hide sign in/up text on very small screens - just keep SafeHaven */
      #signin-link, #signup-link {
        display: none !important;
      }
      /* Mobile: compact games dropdown button */
      .header-dropdown-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
      }
      /* Mobile: platform dropdown button */
      .platform-dropdown-btn {
        width: auto;
        min-width: auto;
        height: 34px;
        font-size: 0.75rem;
      }
      /* Mobile: dropdown menus as fixed full-width overlays */
      .header-dropdown-menu {
        position: fixed !important;
        top: 130px !important;
        bottom: auto !important;
        left: 8px !important;
        right: 8px !important;
        min-width: auto !important;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 9999;
      }
      .user-profile {
        gap: 6px;
      }
      .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
      }
      .user-info { display: none; }
      /* Show mobile platform button in header */
      .mobile-platform-select {
        display: flex !important;
      }
      /* Mobile input: textarea on top, buttons below */
      .input-area {
        padding: 5px 8px;
        padding-bottom: max(4px, env(safe-area-inset-bottom));
        flex-shrink: 0;
        min-height: auto;
        position: relative;
        z-index: 10;
      }
      .input-container {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        max-width: 100%;
        box-sizing: border-box;
      }
      /* Textarea takes full width on its own row */
      .input-wrapper {
        flex: 1 1 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 3px 6px;
      }
      /* Buttons row below textarea */
      .sound-toggle {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        font-size: 1rem;
        order: 2;
      }
      .send-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        flex-shrink: 0;
        font-size: 16px;
        order: 3;
      }
      /* Hide platform dropdown from input area on mobile (moved to header) */
      .platform-dropdown-wrapper {
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
      }
      .platform-dropdown-btn {
        display: none !important;
      }
      /* Position the platform menu as fixed overlay on mobile */
      .platform-dropdown-menu {
        position: fixed !important;
        top: 130px !important;
        bottom: auto !important;
        left: 8px !important;
        right: 8px !important;
        min-width: auto !important;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 9999;
      }
      /* Compact mode indicator on mobile */
      .mode-indicator {
        padding: 2px 0;
        font-size: 0.7rem;
        gap: 4px;
      }
      .mode-chip {
        padding: 2px 8px;
        font-size: 0.7rem;
      }
      .messages-area { padding: 16px; }
      .welcome-message { padding: 16px; }
      .welcome-message h1 { font-size: 1.5rem; }
      .quick-suggestions { grid-template-columns: 1fr; }
      #worldContainer { height: 260px; }
      .toast-container { right: 16px; left: 16px; }

      .main-content {
        min-height: 0;
      }

      .message-input {
        font-size: 16px; /* Prevent iOS zoom on focus */
        padding: 4px 8px;
        max-height: 60px;
        min-height: 32px;
        line-height: 1.3;
      }

      .input-action-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 14px;
      }

      .input-actions {
        gap: 2px;
        padding: 2px;
      }

      .platform-dropdown-btn {
        height: 30px;
        font-size: 0.7rem;
        padding: 0 8px;
      }

      /* Hide footer on mobile to maximize chat space */
      .app-footer {
        display: none;
      }

    }

        /* Accessible Focus Indicators */
        *:focus-visible {
            outline: var(--focus-outline-width, 3px) var(--focus-outline-style, solid) var(--color-focus-outline, #a78bfa);
            outline-offset: var(--focus-outline-offset, 2px);
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* ============================================
           SIDEBAR COMPONENT STYLES
           ============================================ */

        /* SIDEBAR CONTAINER - hidden on desktop, available on mobile via hamburger */
        .lumavine-sidebar {
          position: fixed;
          left: 0;
          top: 0;
          z-index: 40;
          height: 100vh;
          height: 100dvh;
          width: 288px;
          transition: all var(--transition-slow) ease-in-out;
          display: none;
          flex-direction: column;
        }

        /* Chatbot removed - now at /lumacore.html */

        /* Hide mobile menu toggle during loading */
        .mobile-menu-toggle {
          display: none !important;
        }

        /* Show mobile menu after loading */
        body.loaded .mobile-menu-toggle {
          display: block !important;
          opacity: 0;
          animation: fadeInUI 0.5s ease 0.4s forwards;
        }

        @keyframes fadeInUI {
          to {
            opacity: 1;
          }
        }

        /* Collapsed State */
        .lumavine-sidebar.collapsed {
          width: 64px;
        }

        /* Mobile - Hidden by Default */
        @media (max-width: 767px) {
          .lumavine-sidebar {
            transform: translateX(-100%);
          }

          .lumavine-sidebar.mobile-open {
            transform: translateX(0);
          }
        }

        /* Desktop - Always Visible */
        @media (min-width: 768px) {
          .lumavine-sidebar {
            transform: translateX(0) !important;
          }
        }

        /* Glass Morphism Background */
        .sidebar-inner {
          display: flex;
          height: 100%;
          flex-direction: column;
          background: rgba(15, 15, 20, 0.95);
          backdrop-filter: blur(24px);
          -webkit-backdrop-filter: blur(24px);
          border-right: 1px solid rgba(255, 255, 255, 0.1);
          box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
        }

        /* LOGO SECTION */
        .sidebar-logo {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 16px;
          border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo-icon {
          display: flex;
          height: 48px;
          width: 48px;
          align-items: center;
          justify-content: center;
          border-radius: 12px;
          background: linear-gradient(135deg, var(--lumavine-primary), var(--lumavine-secondary));
          box-shadow: 0 0 10px rgba(124, 58, 237, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
          flex-shrink: 0;
          transition: box-shadow var(--transition-slow) ease;
          text-decoration: none;
          color: inherit;
        }

        .logo-icon:hover {
          box-shadow: 0 0 20px rgba(124, 58, 237, 0.5), 0 0 40px rgba(124, 58, 237, 0.3);
        }

        .logo-icon span {
          font-size: 24px;
        }

        .logo-text {
          flex: 1;
          min-width: 0;
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .logo-text {
          opacity: 0;
          pointer-events: none;
          position: absolute;
        }

        .logo-title {
          font-family: 'Cormorant Garamond', Georgia, serif;
          font-size: 20px;
          font-weight: 700;
          background: linear-gradient(135deg, #ffffff, var(--neon-cyan));
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
          margin: 0;
        }

        .logo-tagline {
          font-size: 12px;
          color: rgba(255, 255, 255, 0.5);
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        /* NAVIGATION SECTIONS */
        .sidebar-nav {
          flex: 1;
          overflow-y: auto;
          padding: 12px;
          display: flex;
          flex-direction: column;
          gap: 24px;
        }

        /* Custom Scrollbar */
        .sidebar-nav::-webkit-scrollbar {
          width: 6px;
        }

        .sidebar-nav::-webkit-scrollbar-track {
          background: rgba(255, 255, 255, 0.05);
          border-radius: 3px;
        }

        .sidebar-nav::-webkit-scrollbar-thumb {
          background: rgba(124, 58, 237, 0.3);
          border-radius: 3px;
        }

        .sidebar-nav::-webkit-scrollbar-thumb:hover {
          background: rgba(124, 58, 237, 0.5);
        }

        /* Section Headers */
        .nav-section-header {
          padding: 0 12px 8px;
          font-size: 12px;
          font-weight: 600;
          color: rgba(255, 255, 255, 0.4);
          text-transform: uppercase;
          letter-spacing: 0.1em;
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .nav-section-header {
          opacity: 0;
          position: absolute;
          pointer-events: none;
        }

        /* Navigation List */
        .nav-list {
          list-style: none;
          display: flex;
          flex-direction: column;
          gap: 4px;
        }

        /* Navigation Items */
        .nav-item {
          position: relative;
        }

        .nav-link {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 10px 12px;
          border-radius: 8px;
          transition: all var(--transition-base) ease;
          text-decoration: none;
          color: rgba(255, 255, 255, 0.7);
          position: relative;
          min-height: 44px;
        }

        .nav-link:hover {
          background: var(--glass-white);
          color: #ffffff;
          box-shadow: 0 0 10px rgba(124, 58, 237, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
        }

        .nav-link.active {
          background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(0, 212, 255, 0.1));
          border: 1px solid rgba(0, 212, 255, 0.3);
          color: #ffffff;
          box-shadow: 0 0 10px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
        }

        .nav-link:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
        }

        .nav-icon {
          font-size: 18px;
          flex-shrink: 0;
          width: 20px;
          text-align: center;
        }

        .nav-label {
          font-size: 14px;
          font-weight: 500;
          flex: 1;
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .nav-label {
          opacity: 0;
          position: absolute;
          pointer-events: none;
        }

        .nav-badge {
          padding: 2px 8px;
          font-size: 10px;
          font-weight: 600;
          border-radius: 9999px;
          background: rgba(255, 215, 0, 0.2);
          color: var(--neon-gold);
          border: 1px solid rgba(255, 215, 0, 0.3);
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .nav-badge {
          opacity: 0;
          position: absolute;
          pointer-events: none;
        }

        /* Collapsible Sections */
        .collapsible-section {
          margin-top: 8px;
        }

        .collapsible-toggle {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 8px 12px;
          background: transparent;
          border: none;
          color: rgba(255, 255, 255, 0.4);
          font-size: 12px;
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 0.1em;
          cursor: pointer;
          transition: color var(--transition-base) ease;
        }

        .collapsible-toggle:hover {
          color: rgba(255, 255, 255, 0.6);
        }

        .collapsible-toggle:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
          border-radius: 4px;
        }

        .collapsed .collapsible-toggle {
          justify-content: center;
        }

        .toggle-arrow {
          transition: transform var(--transition-base) ease;
        }

        .collapsible-toggle[aria-expanded="true"] .toggle-arrow {
          transform: rotate(180deg);
        }

        .collapsed .toggle-text {
          display: none;
        }

        .collapsible-content {
          max-height: 0;
          overflow: hidden;
          transition: max-height var(--transition-slow) ease;
        }

        .collapsible-content.expanded {
          max-height: 256px;
          overflow-y: auto;
        }

        /* SIDEBAR FOOTER */
        .sidebar-footer {
          padding: 16px;
          border-top: 1px solid rgba(255, 255, 255, 0.05);
          background: linear-gradient(180deg, rgba(7, 7, 20, 0.4) 0%, rgba(12, 12, 24, 0.8) 100%);
          display: flex;
          flex-direction: column;
          gap: 8px;
          position: relative;
          z-index: 1;
        }

        /* Quick Actions */
        .quick-action {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 10px 12px;
          border-radius: 8px;
          text-decoration: none;
          transition: all var(--transition-base) ease;
          min-height: 44px;
        }

        .quick-action.crisis {
          background: rgba(239, 68, 68, 0.1);
          border: 1px solid rgba(239, 68, 68, 0.3);
          color: var(--alert-red);
        }

        .quick-action.crisis:hover {
          background: rgba(239, 68, 68, 0.2);
          box-shadow: 0 0 10px rgba(255, 110, 199, 0.5), 0 0 20px rgba(255, 110, 199, 0.3);
        }

        .quick-action.lumacare {
          background: rgba(124, 58, 237, 0.1);
          border: 1px solid rgba(124, 58, 237, 0.3);
          color: var(--lumavine-accent);
        }

        .quick-action.lumacare:hover {
          background: rgba(124, 58, 237, 0.2);
          box-shadow: 0 0 10px rgba(124, 58, 237, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
        }

        .quick-action:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
        }

        /* User Profile */
        .user-profile {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 8px 12px;
          border-radius: 8px;
          text-decoration: none;
          color: inherit;
          transition: background var(--transition-base) ease;
          min-height: 44px;
        }

        .user-profile:hover {
          background: var(--glass-white);
        }

        .user-profile:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
        }

        .user-avatar {
          width: 32px;
          height: 32px;
          border-radius: 50%;
          background: linear-gradient(135deg, var(--hope-green), var(--trust-teal));
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;
          box-shadow: 0 0 10px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
        }

        .user-initials {
          font-size: 12px;
          font-weight: 600;
          color: #ffffff;
        }

        .user-info {
          flex: 1;
          min-width: 0;
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .user-info {
          opacity: 0;
          position: absolute;
          pointer-events: none;
        }

        .user-name {
          font-size: 14px;
          font-weight: 500;
          color: #ffffff;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .user-action {
          font-size: 12px;
          color: rgba(255, 255, 255, 0.5);
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        /* Collapse Toggle */
        .collapse-toggle {
          display: none;
          width: 100%;
          align-items: center;
          justify-content: center;
          gap: 8px;
          padding: 8px 12px;
          border-radius: 8px;
          background: transparent;
          border: none;
          color: rgba(255, 255, 255, 0.5);
          cursor: pointer;
          transition: all var(--transition-base) ease;
          min-height: 44px;
        }

        @media (min-width: 1024px) {
          .collapse-toggle {
            display: flex;
          }
        }

        .collapse-toggle:hover {
          background: var(--glass-white);
          color: #ffffff;
        }

        .collapse-toggle:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
        }

        .collapse-icon {
          font-size: 18px;
          transition: transform var(--transition-base) ease;
        }

        .collapsed .collapse-icon {
          transform: rotate(180deg);
        }

        .collapse-label {
          font-size: 14px;
          transition: opacity var(--transition-base) ease;
        }

        .collapsed .collapse-label {
          opacity: 0;
          position: absolute;
          pointer-events: none;
        }

        /* MOBILE OVERLAY */
        .sidebar-overlay {
          display: none;
          position: fixed;
          inset: 0;
          z-index: 30;
          background: rgba(0, 0, 0, 0.6);
          /* Removed backdrop-filter blur - causes issues on Android mobile
             where dropdown content becomes invisible behind blur layer */
          pointer-events: none;
        }

        @media (max-width: 767px) {
          .sidebar-overlay.active {
            display: block;
            pointer-events: auto;
          }
        }

        /* MAIN CONTENT WRAPPER */
        #main-content-wrapper {
          margin-left: 288px;
          transition: margin-left var(--transition-slow);
        }

        body.sidebar-collapsed #main-content-wrapper {
          margin-left: 64px;
        }

        @media (max-width: 767px) {
          #main-content-wrapper {
            margin-left: 0 !important;
          }
        }

        /* MOBILE MENU TOGGLE */
        .mobile-menu-toggle {
          position: fixed;
          top: calc(16px + env(safe-area-inset-top, 0px));
          left: calc(16px + env(safe-area-inset-left, 0px));
          z-index: 50;
          display: none;
          width: 44px;
          height: 44px;
          border-radius: 8px;
          background: rgba(15, 15, 20, 0.95);
          backdrop-filter: blur(24px);
          border: 1px solid rgba(255, 255, 255, 0.1);
          color: white;
          font-size: 24px;
          cursor: pointer;
          align-items: center;
          justify-content: center;
        }

        @media (max-width: 767px) {
          .mobile-menu-toggle {
            display: flex !important;
          }
        }

        .mobile-menu-toggle:hover {
          background: rgba(15, 15, 20, 1);
          box-shadow: 0 0 10px rgba(124, 58, 237, 0.4), 0 0 20px rgba(124, 58, 237, 0.2);
        }

        .mobile-menu-toggle:focus-visible {
          outline: 2px solid var(--neon-cyan);
          outline-offset: 2px;
        }

    /* Sidebar Accordion Styles */
    .sidebar-accordion-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px;
      background: transparent;
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      color: var(--text-primary);
      font-family: var(--font-body);
      transition: all var(--transition-fast);
    }
    .sidebar-accordion-toggle:hover {
      background: rgba(124, 58, 237, 0.08);
    }
    .accordion-count {
      padding: 2px 8px;
      background: linear-gradient(135deg, #8a4fff, #5ce1e6);
      border-radius: var(--radius-full);
      font-size: 0.65rem;
      color: white;
      font-weight: 700;
    }
    .accordion-arrow {
      margin-left: auto;
      font-size: 0.75rem;
      color: rgba(138, 79, 255, 0.6);
      transition: transform 0.25s ease;
    }
    .sidebar-accordion-toggle[aria-expanded="true"] .accordion-arrow {
      transform: rotate(180deg);
    }
    .sidebar-accordion-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s var(--ease-out-expo);
      position: relative;
      z-index: 1;
    }
    .sidebar-accordion-body.expanded {
      max-height: 1200px;
      overflow-y: auto;
    }
    .sidebar-subsection {
      padding-top: 8px;
    }
    .sidebar-subsection .section-label {
      padding-left: 8px;
    }

    /* Landing Hero Page */
    .landing-hero {
      position: fixed;
      inset: 0;
      z-index: 100;
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 32px;
      background: var(--void);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.8s ease;
    }
    .landing-hero.visible {
      opacity: 1;
      pointer-events: auto;
    }
    .landing-hero.hidden {
      display: none;
    }
    .landing-hero-inner {
      max-width: 720px;
      width: 100%;
    }
    .lh-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 28px;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
      border: 1px solid rgba(0, 212, 255, 0.4);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--neon-blue);
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
      margin-bottom: 32px;
      opacity: 0;
      animation: lhFadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
    }
    .lh-pulse {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--hope-green);
      animation: lhPulse 2s ease-in-out infinite;
    }
    @keyframes lhPulse {
      0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
      50% { opacity:0.7; box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    }
    .lh-title {
      font-family: var(--font-display);
      font-size: clamp(48px, 9vw, 88px);
      font-weight: 300;
      letter-spacing: 0.04em;
      line-height: 1.05;
      margin-bottom: 24px;
      opacity: 0;
      animation: lhFadeUp 1s var(--ease-out-expo) 0.4s forwards;
    }
    .lh-gradient {
      background: linear-gradient(135deg, var(--neon-blue), var(--purple));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .lh-desc {
      font-size: 1.15rem;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 40px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
      opacity: 0;
      animation: lhFadeUp 1s var(--ease-out-expo) 0.6s forwards;
    }
    .lh-stats {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      margin-bottom: 40px;
      opacity: 0;
      animation: lhFadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
    }
    .lh-stat { text-align: center; }
    .lh-stat-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 600;
      color: var(--neon-blue);
      text-shadow: 0 0 20px var(--neon-blue-glow);
    }
    .lh-stat-label {
      font-size: 0.72rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-top: 4px;
    }
    .lh-stat-divider {
      width: 1px;
      height: 36px;
      background: var(--border-subtle);
    }
    .lh-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 48px;
      opacity: 0;
      animation: lhFadeUp 0.8s var(--ease-out-expo) 1s forwards;
    }
    .lh-enter-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 40px;
      background: linear-gradient(135deg, var(--neon-blue), var(--purple));
      border: none;
      border-radius: var(--radius-full);
      color: white;
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 0 30px var(--purple-glow);
    }
    .lh-enter-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 40px var(--purple-glow), 0 0 60px rgba(0, 212, 255, 0.3);
    }
    .lh-arrow {
      transition: transform 0.3s ease;
    }
    .lh-enter-btn:hover .lh-arrow {
      transform: translateX(4px);
    }
    .lh-signup-btn {
      display: inline-flex;
      padding: 16px 40px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      color: var(--text-secondary);
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      text-decoration: none;
      cursor: pointer;
      background: transparent;
    }
    .lh-signup-btn:hover {
      border-color: var(--neon-blue);
      color: var(--neon-blue);
    }
    .lh-platforms-scroll {
      overflow: hidden;
      opacity: 0;
      animation: lhFadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
    }
    .lh-scroll-track {
      display: flex;
      gap: 32px;
      width: max-content;
      animation: lhMarquee 40s linear infinite;
    }
    .lh-scroll-track span {
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      white-space: nowrap;
      opacity: 0.4;
    }
    @keyframes lhMarquee { to { transform: translateX(-50%); } }
    @keyframes lhFadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @media (max-width: 600px) {
      .lh-title { font-size: clamp(36px, 10vw, 52px); }
      .lh-stats { gap: 16px; }
    }
