/* style.css — torzan.bozon minimal HUD */

:root {
  --bg: #050509;
  --bg-elevated: #0b0c12;
  --accent: #ff6bcb;
  --accent-soft: rgba(255, 107, 203, 0.4);
  --accent-alt: #3df5ff;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text-main: #f5f5fb;
  --text-dim: #9ca2ba;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --font-sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: radial-gradient(circle at 0 0, #18122b 0, #050509 45%) fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background noise */

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(circle at 0 0, rgba(61, 245, 255, 0.12) 0, transparent 55%),
                    radial-gradient(circle at 100% 0, rgba(255, 107, 203, 0.16) 0, transparent 60%);
  mix-blend-mode: screen;
  z-index: -1;
}

/* Top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.9));
  border-bottom: 1px solid var(--border-subtle);
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-alt);
  box-shadow: 0 0 14px rgba(61, 245, 255, 0.9);
}

.brand-text {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text b {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Buttons */

.btn {
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn i {
  font-size: 0.85rem;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent) 0, var(--accent-alt) 100%);
  color: #050509;
  box-shadow: 0 0 18px var(--accent-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(255, 107, 203, 0.65);
}

.btn.ghost {
  border-color: var(--border-subtle);
  color: var(--text-dim);
}

.btn.ghost:hover {
  border-color: var(--accent-alt);
  color: var(--accent-alt);
}

/* Menu toggle */

.menu-toggle {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.55rem;
  background: rgba(8, 9, 15, 0.9);
  color: var(--accent-alt);
  cursor: pointer;
  display: none;
}

/* Layout */

.page {
  max-width: 1080px;
  margin: 1.8rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.75rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Cards */

.card,
.nav-card {
  background: radial-gradient(circle at 0 0, rgba(61, 245, 255, 0.18), transparent 55%),
              var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.nav-card {
  background: rgba(7, 8, 14, 0.96);
  padding: 1rem 0.9rem;
}

/* Sidebar nav */

.nav-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.nav-link {
  display: block;
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.nav-link.small {
  font-size: 0.78rem;
}

.nav-link + .nav-link {
  margin-top: 0.15rem;
}

.nav-link:hover {
  background: rgba(61, 245, 255, 0.06);
  color: var(--text-main);
  transform: translateX(1px);
}

.nav-link.active {
  background: linear-gradient(120deg, rgba(255, 107, 203, 0.16), rgba(61, 245, 255, 0.12));
  color: var(--accent-alt);
  border: 1px solid rgba(61, 245, 255, 0.4);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 100% 0, rgba(255, 107, 203, 0.18), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.hero-kicker {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: flex-start;
}

.hero p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Hero stats */

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pill {
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(61, 245, 255, 0.25);
  background: rgba(6, 8, 16, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pill-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.pill-value {
  font-size: 0.86rem;
}

/* Headings & text */

h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

p + p {
  margin-top: 0.4rem;
}

/* Mirrors row */

.mirror-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.mirror-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 18, 0.95);
}

.mirror-chip .mono {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.mirror-chip code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-alt);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #555;
}

.dot.online {
  background: #3df5ff;
  box-shadow: 0 0 8px rgba(61, 245, 255, 0.9);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 3, 6, 0.98);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 1.2rem;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-col h3,
.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-col p {
  font-size: 0.82rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.25rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-col a:hover {
  color: var(--accent-alt);
  transform: translateX(1px);
}

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 1.4rem;
  font-size: 0.75rem;
  color: #5e657a;
}

/* Mobile drawer */

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.96);
  backdrop-filter: blur(18px);
  z-index: 30;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.drawer-close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  border: none;
  background: transparent;
  color: var(--accent-alt);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav {
  margin-top: 4.5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.drawer-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.drawer-nav a i {
  font-size: 0.95rem;
}

.drawer-nav a.active {
  color: var(--accent-alt);
}

/* Utilities & responsive */

.desktop-only {
  display: inline-flex;
}

@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
    padding-inline: 1.2rem;
  }

  .sidebar {
    order: 2;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar-inner {
    padding-inline: 1.1rem;
  }

  .page {
    padding-inline: 1.1rem;
  }

  .footer-inner,
  .footer-bottom {
    padding-inline: 1.1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card,
  .nav-card {
    padding-inline: 1rem;
  }
}
/* small copy buttons for mirror chips */
.copy-mini {
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: color 0.15s ease;
}

.copy-mini:hover {
  color: var(--accent-alt);
}
