/* ============================================================
   VBL MANAGER — UNIFIED DESIGN SYSTEM
   Inspired by bleed.bot, greed.best, fume.rocks
   Clean, Human-Made, Dark Minimalist Aesthetics
   ============================================================ */

:root {
  --bg: #070708;
  --bg-raised: #0d0e12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --surface-active: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --text: rgba(255, 255, 255, 0.65);
  --text-mid: rgba(255, 255, 255, 0.82);
  --text-bright: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.38);

  --heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-border: rgba(245, 158, 11, 0.28);
  --accent-glow: rgba(245, 158, 11, 0.12);

  --discord: #5865F2;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;

  --content-max: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

.i {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.12em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Ambient Background ── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 60%),
    var(--bg);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal.in,
.hero .reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================================
   NAVIGATION (Shared Universal Centered Floating Pill)
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  background: rgba(13, 14, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 10px 7px 16px;
  pointer-events: auto;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo span {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-invite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #070708;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: opacity 0.18s, transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.nav-invite:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.nav-invite svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.nav-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-mobile-btn:hover {
  color: var(--text-bright);
  background: var(--surface);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-bar {
    max-width: 520px;
    padding: 6px 8px 6px 14px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    padding: 0 12px;
    top: 12px;
  }
  .nav-bar {
    padding: 6px 8px 6px 12px;
  }
  .nav-logo span {
    display: none;
  }
  .nav-invite {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 16px;
  right: 16px;
  z-index: 999;
  background: rgba(13, 14, 18, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer.active { display: flex; }

.mobile-drawer a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.mobile-drawer a:hover {
  background: var(--surface);
  color: var(--text-bright);
}

/* ============================================================
   HERO SECTION (index.html) — Split Layout (bleed.bot inspired)
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 135px 24px 60px;
  min-height: 88vh;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

/* 2-Column Split Hero Container */
.hero-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

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

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

.hero-main-title {
  font-family: var(--heading);
  font-size: clamp(36px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 18px;
}

.title-brand {
  color: #ffffff;
  font-weight: 800;
}

.title-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 55%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-main-sub {
  font-size: clamp(14.5px, 1.4vw, 16px);
  color: var(--text);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #070708;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.38);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-bright);
  transform: translateY(-1.5px);
}

/* Right Column: Floating Feature Badges (bleed.bot style) */
.hero-floating-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-feature-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(245, 158, 11, 0.08);
}

.hfp-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hfp-icon svg {
  width: 17px;
  height: 17px;
}

.hfp-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.hfp-title {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hfp-sub {
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* ============================================================
   LIVE SOCIAL PROOF MARQUEE (bleed.bot style)
   ============================================================ */
.hero-marquee-wrap {
  width: 100%;
  max-width: 1140px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-marquee-caption {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-family: var(--mono);
  text-transform: uppercase;
}

.hero-marquee-caption .accent-white {
  color: var(--accent);
  font-weight: 700;
}

.marquee-track-outer {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  padding: 6px 0;
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-server-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.marquee-server-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.msi-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.msi-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.msi-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 5px;
}

.msi-verified {
  flex-shrink: 0;
}

.msi-members {
  font-size: 10.5px;
  color: var(--text-dim);
  font-family: var(--mono);
}

@media (max-width: 900px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-content-left {
    align-items: center;
    text-align: center;
  }
  .hero-main-title {
    text-align: center;
  }
  .hero-main-sub {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* ============================================================
   SECTION DIVIDERS — Dashed Arcs (bleed.bot style)
   ============================================================ */
.divider {
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.divider path {
  fill: none;
}

/* ============================================================
   SECTIONS & BENTO FEATURES
   ============================================================ */
.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 70px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--heading);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 15px;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.feat-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fc-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.9;
}

.fc-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feat-card h3 {
  font-family: var(--heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: auto;
}

.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.fc-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
}

.feat-card--wide {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card--wide { grid-column: span 1; }
}

/* ============================================================
   SHOWCASE PANELS (macOS / Discord Embedded Windows)
   ============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.showcase-window {
  background: #111216;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-window:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.sw-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sw-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sw-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sw-dots .dot.red { background: #ed4245; }
.sw-dots .dot.yellow { background: #fee75c; }
.sw-dots .dot.green { background: #57f287; }

.sw-title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.sw-body {
  padding: 0;
  background: #1e1f22;
  display: flex;
}

.sw-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INTERACTIVE SCRIM SIMULATOR
   ============================================================ */
.scrim-sim-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(16px);
}

.scrim-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.scrim-sim-title-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.scrim-sim-icon {
  font-size: 24px;
  line-height: 1;
}

.scrim-sim-title-text h3 {
  font-family: var(--heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 2px;
}

.scrim-sim-title-text p {
  font-size: 13px;
  color: var(--text-dim);
}

.scrim-sim-title-text code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 1px 6px;
  border-radius: 4px;
}

.scrim-sim-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scrim-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-mid);
  transition: all 0.18s ease;
}

.scrim-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-bright);
}

.scrim-btn-primary {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.scrim-btn-primary:hover {
  background: rgba(245, 158, 11, 0.22);
  color: var(--accent);
}

.scrim-btn-outline {
  background: transparent;
}

.scrim-court-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 680px) {
  .scrim-court-grid { grid-template-columns: 1fr; }
  .scrim-net-divider { display: none; }
}

.scrim-team-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.scrim-team-box.team-red {
  border-left: 3px solid #ef4444;
}

.scrim-team-box.team-blue {
  border-left: 3px solid #3b82f6;
}

.scrim-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.scrim-team-name {
  font-family: var(--heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-bright);
}

.scrim-team-mmr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.scrim-player-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.scrim-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.025);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.scrim-p-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scrim-p-pos {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 1px 5px;
  border-radius: 4px;
}

.scrim-p-name {
  color: var(--text-mid);
  font-weight: 600;
}

.scrim-p-role-tag {
  font-size: 10.5px;
  color: var(--text-dim);
}

.scrim-p-mmr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}

.scrim-net-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.net-line {
  width: 1px;
  flex: 1;
  background: var(--border);
}

.net-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 6px;
}

.scrim-sim-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.scrim-fairness-meter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fairness-label {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

.fairness-bar-bg {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.fairness-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.scrim-match-log {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* ============================================================
   STATS STRIP (3 metrics)
   ============================================================ */
.stat-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  color: var(--accent);
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.stat p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ============================================================
   CALL TO ACTION (CTA)
   ============================================================ */
.cta-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 30px 24px 70px;
}

.cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 28px;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-family: var(--heading);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta .cta-soft {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.cta .btn {
  margin-top: 22px;
}

/* ============================================================
   COMMANDS PAGE (commands.html)
   ============================================================ */
.page-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 20px 80px;
}

.cmd-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cmd-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmd-title-badge {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 6px;
}

.cmd-page-title {
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin: 0;
}

.cmd-search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  width: 280px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.cmd-search-pill:focus-within {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}

.cmd-search-pill input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-bright);
  font-size: 13.5px;
  width: 100%;
}

.cmd-search-pill input::placeholder {
  color: var(--text-dim);
}

.cmd-cat-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.cmd-tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cmd-tab-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-bright);
}

.cmd-tab-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.cmd-tab-count {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.75;
}

/* Command Grid */
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.cmd-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cmd-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1.5px);
}

.cmd-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cmd-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.cmd-card-copy {
  color: var(--text-dim);
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.cmd-card-copy:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.08);
}

.cmd-card-desc {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.cmd-subcmds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cmd-sub-tag {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 2px 7px;
  border-radius: 4px;
}

.cmd-card-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 12px;
}

.cmd-card-label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.cmd-card-val {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.cmd-card-val.none {
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11px;
}

.cmd-chip {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-mid);
}

.cmd-chip.perm {
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: #c084fc;
}

/* ============================================================
   FEEDBACK PAGE (feedback.html)
   ============================================================ */
.fb-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 110px 20px 80px;
}

.fb-hero-head {
  text-align: center;
  margin-bottom: 28px;
}

.fb-hero-head h1 {
  font-family: var(--heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.fb-hero-head h1 .accent {
  color: var(--accent);
}

.fb-hero-head p {
  font-size: 14px;
  color: var(--text);
}

.fb-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.fb-group {
  margin-bottom: 20px;
}

.fb-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.fb-topic-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fb-chip {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.fb-chip:hover {
  background: var(--surface-hover);
  color: var(--text-bright);
}

.fb-chip.active {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.fb-select,
.fb-input,
.fb-textarea {
  width: 100%;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--text-bright);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
}

.fb-select:focus,
.fb-input:focus,
.fb-textarea:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}

.fb-textarea {
  min-height: 120px;
  resize: vertical;
}

.fb-counter {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  margin-top: 4px;
}

.fb-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.fb-submit-btn {
  background: var(--accent);
  color: #070708;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.18s, transform 0.15s;
}

.fb-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.fb-note {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 320px;
  line-height: 1.4;
}

.fb-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}

.fb-star {
  color: var(--accent);
  transition: transform 0.15s ease, color 0.15s ease;
}

.fb-star:hover {
  transform: scale(1.18);
}

#fb-rating-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 8px;
  font-family: var(--mono);
}

.fb-status-msg {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

/* ============================================================
   STATUS PAGE (status.html)
   ============================================================ */
.status-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 110px 20px 80px;
}

.status-banner {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.status-banner.connecting {
  background: var(--accent-dim);
  border-color: var(--accent-border);
}

.status-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

.status-banner.connecting .status-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.status-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
}

.status-banner-time {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.stat-card-lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.stat-card-val {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
}

.section-title .count {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: normal;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-card-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-bright);
}

.info-pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}

.info-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 3px 0;
}

.info-card-row b {
  color: var(--text-mid);
  font-family: var(--mono);
}

.lookup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.finder-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.finder-input {
  flex: 1;
  min-width: 220px;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--text-bright);
  outline: none;
}

.finder-btn {
  background: var(--accent);
  color: #070708;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.18s;
}

.finder-btn:hover { opacity: 0.9; }

/* ============================================================
   LEGAL PAGES (privacy.html, tos.html, cookie.html)
   ============================================================ */
.page-hero {
  text-align: center;
  padding: 120px 24px 36px;
}

.page-hero h1 {
  font-family: var(--heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-hero h1 .accent {
  color: var(--accent);
}

.page-hero p {
  font-size: 14.5px;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

@media (max-width: 780px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

.legal-toc {
  position: sticky;
  top: 90px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc h4 {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.legal-toc a {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.legal-toc a:hover,
.legal-toc a.on {
  color: var(--accent);
  background: var(--accent-dim);
}

.legal-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.legal-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-dim);
}

.legal-pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
}

.legal-body section {
  margin-bottom: 32px;
}

.legal-body h2 {
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.legal-body p {
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-body li {
  margin-bottom: 6px;
}

/* ============================================================
   UNIVERSAL FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.ft-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}

@media (max-width: 720px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ft-brand-info { grid-column: 1 / -1; }
}

.ft-brand-info {
  max-width: 280px;
}

.ft-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ft-brand-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.ft-brand-logo span {
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
}

.ft-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.ft-col h4 {
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ft-col a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s;
}

.ft-col a:hover {
  color: var(--text-bright);
}

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.ft-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.ft-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: opacity 0.18s;
}

.ft-status-pill:hover {
  opacity: 0.85;
}

.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid var(--accent-border);
  color: var(--text-bright);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  z-index: 10000;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   LANG DROPDOWN
   ============================================================ */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-dim);
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s;
}

.lang-dropdown-btn:hover {
  color: var(--text-mid);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 140px;
  z-index: 100;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.lang-dropdown-menu.show { display: block; }

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover {
  background: var(--surface);
  color: var(--text-bright);
}

.mobile-lang-row {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.mobile-lang-option {
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

/* ============================================================
   AD BANNERS
   ============================================================ */
#website-ad-banner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.vbl-ad-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.vbl-ad-wrapper:hover {
  border-color: var(--accent-border);
}

.vbl-ad-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Loaded body state */
body.loaded {}
