/* ARCAD × Robinhood Chain
   Black / warm neutrals / Robin Neon #CCFF00
   Inspired by Robinhood 2024 identity — original ARCAD mark. */

:root {
  --bg: #110e08;
  --bg-2: #0b0a08;
  --surface: #18150f;
  --surface-2: #1f1b14;
  --text: #f5f2ea;
  --muted: #9a9588;
  --faint: #6b665c;
  --neon: #ccff00;
  --neon-ink: #110e08;
  --neon-dim: rgba(204, 255, 0, 0.12);
  --neon-line: rgba(204, 255, 0, 0.28);
  --line: rgba(245, 242, 234, 0.10);
  --line-strong: rgba(245, 242, 234, 0.16);
  --card: rgba(24, 21, 15, 0.86);
  --card-hover: #1f1b14;
  --success: #ccff00;
  --danger: #ff6b5a;
  --amber: #e8c56b;
  --phosphor: #ccff00;
  --cyan: #ccff00;
  --orange: #ccff00;
  --magenta: #d8ff66;
  --blue: #c8e88a;
  --purple: #c8e88a;
  --pink: #d8ff66;
  --radius: 14px;
  --max: 1120px;
  --nav-h: 72px;
  --bezel: 0 0 0 1px rgba(204, 255, 0, 0.14);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(204, 255, 0, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(204, 255, 0, 0.03), transparent 50%),
    linear-gradient(180deg, #16130d 0%, #110e08 42%, #0b0a08 100%);
}

.bg-dots,
.crt-vignette,
.crt-flicker,
.particles,
.scanlines { display: none !important; }

.wrap { position: relative; z-index: 1; }

/* NAV */
nav, .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled, .nav.scrolled {
  background: rgba(17, 14, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #110e08;
  box-shadow: 0 0 0 1px var(--neon-line);
}

.brand-name,
.brand .pixel {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: none;
  -webkit-text-fill-color: var(--text);
  background: none;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
}

.nav-links li { flex-shrink: 0; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-ink);
  background: var(--neon);
  border-color: var(--neon);
  text-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  image-rendering: auto;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--neon);
  color: var(--neon-ink);
  border-color: var(--neon);
  box-shadow: none;
  text-shadow: none;
  filter: none;
}

.btn-primary:hover {
  filter: none;
  background: #d8ff3d;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: var(--neon-dim);
  box-shadow: none;
}

.btn-white {
  background: var(--text);
  color: var(--neon-ink);
  border-color: var(--text);
  box-shadow: none;
}

.btn-white:hover { box-shadow: none; opacity: 0.92; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--neon-line);
  background: var(--neon-dim);
  color: var(--neon);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: none;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 12px;
  text-shadow: none;
}

.x-icon { fill: currentColor; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(17, 14, 8, 0.97);
  backdrop-filter: blur(16px);
  padding: calc(var(--nav-h) + 24px) 24px 40px;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

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

@media (max-width: 1100px) {
  .nav-links,
  .nav-cta { display: none !important; }
  .menu-btn { display: flex; }
}
