/* Cayden's Creator HQ theme.
 * Cyberpunk register. Dark base. Neon cyan accent. Cinematic, gaming-adjacent.
 * Inspired by the colebuilderflux / cyberpunk-city images in PAUL NEEDS TO SEE.
 */

body.theme-cayden {
  --bg: #060a12;
  --bg-raised: #0b1220;
  --surface: #121a2b;
  --surface-soft: #1a2440;
  --text: #e6f1ff;
  --text-muted: #8aa0c2;
  --text-faint: #5a6a86;
  --accent: #3dd6ff;
  --accent-glow: rgba(61, 214, 255, 0.24);
  --accent-strong: #7ae8ff;
  --ok: #4ade80;
  --warn: #f97316;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(61, 214, 255, 0.12);
  --shadow-glow: 0 0 0 1px rgba(61, 214, 255, 0.4), 0 0 50px var(--accent-glow);
  --font-body: "JetBrains Mono", "SF Mono", "Fira Code", "Menlo", "Consolas", ui-monospace, monospace;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
}

body.theme-cayden {
  background:
    radial-gradient(1400px 700px at 10% 0%, rgba(61, 214, 255, 0.08), transparent 60%),
    radial-gradient(1000px 600px at 95% 100%, rgba(150, 80, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #060a12 0%, #030509 100%);
  background-attachment: fixed;
}

body.theme-cayden::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body.theme-cayden .topbar,
body.theme-cayden .chat-main,
body.theme-cayden .picker-header,
body.theme-cayden .picker-grid,
body.theme-cayden .picker-footer {
  position: relative;
  z-index: 1;
}

body.theme-cayden .topbar {
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 214, 255, 0.2);
}

body.theme-cayden .topbar-title {
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--accent);
}

body.theme-cayden .topbar-nav a {
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8em;
  border-bottom: 1px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

body.theme-cayden .topbar-nav a:hover,
body.theme-cayden .topbar-nav a.active {
  opacity: 1;
  border-bottom-color: var(--accent);
}

body.theme-cayden h1,
body.theme-cayden h2,
body.theme-cayden h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.theme-cayden .chat-input,
body.theme-cayden input,
body.theme-cayden textarea {
  background: rgba(18, 26, 43, 0.9);
  border: 1px solid rgba(61, 214, 255, 0.25);
  color: var(--text);
  border-radius: 10px;
  font-family: var(--font-ui);
}

body.theme-cayden .chat-input:focus,
body.theme-cayden textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 214, 255, 0.2);
  outline: none;
}

body.theme-cayden .btn,
body.theme-cayden button {
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85em;
}

body.theme-cayden .btn.primary {
  background: var(--accent);
  color: #03080f;
  box-shadow: 0 0 30px rgba(61, 214, 255, 0.4);
}

body.theme-cayden .btn.primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 0 40px rgba(61, 214, 255, 0.6);
}

body.theme-cayden .chat-log .msg-paul {
  border-left: 2px solid var(--accent);
  background: rgba(61, 214, 255, 0.04);
}

body.theme-cayden .chat-log .msg-user {
  background: rgba(150, 80, 255, 0.08);
  border-left: 2px solid #9650ff;
}

/* DVN wallet card specific */
body.theme-cayden .wallet-card {
  background: linear-gradient(135deg, rgba(61, 214, 255, 0.04) 0%, rgba(150, 80, 255, 0.04) 100%);
  border: 1px solid rgba(61, 214, 255, 0.3);
  box-shadow: var(--shadow-glow);
  border-radius: var(--radius-lg);
  padding: 1.5em 2em;
}

body.theme-cayden .wallet-balance {
  font-family: var(--font-body);
  font-size: 2.8em;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(61, 214, 255, 0.5);
  letter-spacing: 0.02em;
}

body.theme-cayden .wallet-address {
  font-family: var(--font-body);
  font-size: 0.7em;
  color: var(--text-muted);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5em 0.8em;
  border-radius: 6px;
  border: 1px solid rgba(61, 214, 255, 0.15);
}
