  :root {
    --bg: #000000; --surface: #1c1c1e; --surface2: #2c2c2e;
    --frost-blue: #4fc8f8; --frost-deep: #1a7fc4; --frost-glow: #0a84ff;
    --text: #f5f5f7; --muted: #86868b; --border: rgba(255,255,255,0.1);
    --boost: #bf5af2; --boost-deep: #8944ab;
    --blurple: #5865F2;
    --green: #32d74b;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Space Grotesk', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh;
  }
  .topo-bg, #particles { display: none; }
  #cursor-glow {
    position: fixed; left: 0; top: 0;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,200,248,0.07) 0%, rgba(79,200,248,0.03) 40%, transparent 70%);
    pointer-events: none; z-index: 3; opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.35s ease;
    mix-blend-mode: screen;
  }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 68px;
    backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); text-decoration: none; }
  .nav-logo-icon { width: 20px; height: 20px; }
  .nav-logo span { color: var(--text); }
  .nav-back { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .nav-back:hover { color: var(--text); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-signin-btn {
    display: inline-flex; align-items: center;
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--muted); background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 980px; cursor: pointer;
    padding: 8px 16px; text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .nav-signin-btn img { display: none; }
  .nav-signin-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.09); }
  .nav-signin-btn.loading { opacity: 0.6; pointer-events: none; }
  .nav-signin-btn.is-logged-in { color: var(--frost-blue); }

  .lite-page { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 140px 24px 100px; text-align: center; width: 100%; flex: 1; min-width: 0; }
  .lite-page.centered { display: flex; flex-direction: column; justify-content: center; padding: 68px 24px 40px; }
  .lite-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--green); margin-bottom: 16px; animation: fadeDown 0.6s ease both; }
  .lite-page h1 { font-size: clamp(30px, 5.5vw, 46px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 14px; animation: fadeDown 0.6s ease 0.08s both; }
  .lite-grad { color: var(--frost-blue); }
  .lite-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 440px; margin: 0 auto; animation: fadeDown 0.6s ease 0.16s both; }

  @keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes spin { to { transform: rotate(360deg); } }

  .lite-card {
    margin-top: 44px; position: relative; overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 22px;
    padding: 44px 36px;
    animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.22s both;
  }
  .lite-card::before { content: none; }

  .state { display: none; }
  .state.active { display: block; animation: stateIn 0.45s cubic-bezier(0.22,1,0.36,1) both; }
  @keyframes stateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

  .spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--frost-blue); border-radius: 50%; margin: 0 auto 18px; animation: spin 0.8s linear infinite; }
  .state-icon { width: 52px; height: 52px; margin: 0 auto 18px; display: block; }
  .state-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
  .state-text { font-size: 14.5px; color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0 auto 24px; }
  .state-note { font-size: 12px; color: var(--muted); opacity: 0.75; margin-top: 18px; }

  .btn-discord {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    background: var(--blurple); color: #fff; border: none; cursor: pointer;
    font-family: inherit; font-size: 15.5px; font-weight: 600;
    padding: 14px 30px; border-radius: 980px; width: 100%;
    transition: transform 0.2s, filter 0.2s;
  }
  .btn-discord:hover { transform: translateY(-1px); filter: brightness(1.08); }
  .btn-discord:active { transform: translateY(0) scale(0.98); }
  .btn-discord.loading { pointer-events: none; opacity: 0.75; }
  .btn-discord .btn-spinner {
    width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
    border-radius: 50%; animation: spin 0.7s linear infinite; display: none;
  }
  .btn-discord.loading .btn-spinner { display: inline-block; }

  .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--text);
    border: 1px solid var(--border); cursor: pointer; text-decoration: none;
    font-family: inherit; font-size: 14.5px; font-weight: 600;
    padding: 13px 28px; border-radius: 980px; width: 100%;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.05); transform: translateY(-1px); }

  .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--frost-blue);
    color: #06121c; text-decoration: none;
    font-family: inherit; font-size: 15.5px; font-weight: 600;
    padding: 14px 30px; border-radius: 980px; width: 100%;
    transition: transform 0.2s, filter 0.2s;
    margin-bottom: 14px;
  }
  .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
  .btn-primary:active { transform: translateY(0) scale(0.98); }

  footer { border-top: 1px solid var(--border); padding: 60px 48px 40px; position: relative; z-index: 1; }
  .footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px 56px; }
  .footer-brand { flex: 1 1 200px; }
  .footer-col { flex: 1 1 130px; }
  .footer-logo { font-size: 18px; font-weight: 700; color: var(--frost-blue); margin-bottom: 12px; letter-spacing: -0.2px; }
  .footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.5; }
  .footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
  .footer-col a, .footer-link-btn { display: block; color: var(--text); font-size: 14px; text-decoration: none; margin-bottom: 10px; opacity: 0.75; transition: opacity 0.2s; }
  .footer-col a:hover, .footer-link-btn:hover { opacity: 1; }
  .footer-link-btn { background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
  .footer-social-icons { display: flex; align-items: center; gap: 12px; }
  .footer-social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); margin-bottom: 0; opacity: 1; transition: border-color 0.2s, transform 0.15s, background 0.2s; }
  .footer-social-icons a:hover { border-color: rgba(255,255,255,0.28); background: var(--surface2); transform: translateY(-2px); }
  .footer-social-icons img { width: 18px; height: 18px; object-fit: contain; opacity: 0.85; transition: opacity 0.2s; }
  .footer-social-icons a:hover img { opacity: 1; }
  .footer-bottom { max-width: 1160px; margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--muted); }
  @media(max-width:900px){ .footer-inner { flex-direction: column; gap: 40px; } }
  @media(max-width:600px){
    nav { padding: 0 20px; }
    .lite-card { padding: 36px 22px; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  }
