/* ============================================================
   RF NERYTH - HUD Tech Sci-Fi
   Identidade visual única com scanlines, cantos chanfrados,
   tipografia mono-tech e HUD de mecha
   ============================================================ */

:root {
  /* Base */
  --bg-0: #060810;
  --bg-1: #0a0e18;
  --bg-2: #111726;
  --bg-3: #1a2238;
  --panel: rgba(15, 22, 38, 0.85);
  --panel-strong: rgba(20, 28, 45, 0.95);

  /* Borders */
  --line: rgba(255, 154, 61, 0.15);
  --line-2: rgba(0, 212, 255, 0.18);
  --line-active: rgba(255, 154, 61, 0.55);

  /* Acentos - Identidade Neryth */
  --amber: #ff9a3d;        /* Cor primária do servidor */
  --amber-bright: #ffb866;
  --amber-glow: rgba(255, 154, 61, 0.5);
  --cyan: #00d4ff;          /* Tech / dados */
  --cyan-glow: rgba(0, 212, 255, 0.4);
  --purple: #b85cff;        /* Cora */
  --red: #ff3838;           /* Accretia / alerta */
  --blue: #3b9eff;          /* Bellato */
  --green: #4ade80;         /* Online / sucesso */
  --yellow: #ffd84d;        /* Premium / destaque */

  /* Texto */
  --t-1: #f0f3f8;
  --t-2: #b8bfcc;
  --t-3: #7a8294;
  --t-4: #4a5266;

  /* Fontes */
  --f-display: 'Orbitron', sans-serif;
  --f-mono: 'JetBrains Mono', 'Share Tech Mono', monospace;
  --f-body: 'Rajdhani', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--t-1);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   BACKGROUND DECORATIVO
   ============================================================ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(255, 100, 30, 0.18), transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(80, 30, 200, 0.15), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 100, 200, 0.05), transparent 70%);
}
.bg-fx::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 154, 61, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 154, 61, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Scanlines globais sutis */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.008) 2px,
    rgba(255, 255, 255, 0.008) 3px
  );
  pointer-events: none;
  z-index: 1000;
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.hide { opacity: 0; visibility: hidden; }

.loader-box {
  text-align: center;
  font-family: var(--f-mono);
}
.loader-hex {
  width: 90px; height: 90px;
  margin: 0 auto 24px;
  position: relative;
}
.loader-hex svg { width: 100%; height: 100%; }
.loader-hex .ring {
  stroke: var(--amber);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: drawRing 1.5s ease infinite;
}
.loader-hex .ring2 {
  animation-delay: 0.3s;
  stroke: var(--cyan);
}
@keyframes drawRing {
  0% { stroke-dashoffset: 240; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}
.loader-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--amber);
  text-transform: uppercase;
}
.loader-text span {
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ============================================================
   HEADER / TOPBAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 8, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
.topbar.scrolled {
  background: rgba(6, 8, 16, 0.98);
  border-bottom-color: var(--line-active);
}
.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--amber);
  flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px;
  filter: drop-shadow(0 0 10px var(--amber-glow));
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { line-height: 1; }
.brand-name {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--t-1);
}
.brand-sub {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-top: 4px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--t-3);
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--amber); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 16px; right: 16px;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Botão clip-path tech (cantos chanfrados) */
.btn {
  position: relative;
  padding: 12px 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.btn svg { width: 14px; height: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  color: var(--bg-0);
  font-weight: 800;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--amber-glow);
}

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}
.btn-outline:hover { background: rgba(255, 154, 61, 0.1); }

.btn-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-cyan:hover { background: rgba(0, 212, 255, 0.1); }

.btn-ghost {
  background: var(--panel);
  color: var(--t-2);
  border: 1px solid var(--line);
}
.btn-ghost:hover { color: var(--t-1); border-color: var(--line-active); }

.btn-discord {
  background: #5865f2;
  color: white;
}
.btn-discord:hover { transform: translateY(-2px); background: #4752c4; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--amber);
}

/* ============================================================
   HUD PANEL - Componente base (cantos chanfrados, scanlines)
   ============================================================ */
.hud {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  clip-path: polygon(
    14px 0, 100% 0,
    100% calc(100% - 14px), calc(100% - 14px) 100%,
    0 100%, 0 14px
  );
}
.hud::before {
  /* Linha de luz no topo */
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.6;
}
.hud-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--amber);
  pointer-events: none;
}
.hud-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hud-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hud-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.hud-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.hud-title::before {
  content: '> ';
  color: var(--cyan);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 100, 30, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(120, 50, 200, 0.12), transparent 55%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, var(--bg-0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-left { max-width: 720px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 6px 16px;
  border: 1px solid var(--line-2);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(0, 212, 255, 0.05);
}
.hero-kicker::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title .glitch {
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px var(--amber-glow));
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--t-2);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats row do hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 560px;
}
.hero-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 14px;
  text-align: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  position: relative;
}
.hero-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 2px;
  background: var(--amber);
}
.hero-stat-icon {
  width: 24px; height: 24px;
  margin: 0 auto 8px;
  color: var(--amber);
}
.hero-stat-value {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--amber);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-top: 6px;
  text-transform: uppercase;
}

/* Hero right - HUD card decorativo */
.hero-right {
  position: relative;
  height: 480px;
}
.hud-display {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
}
.hud-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.4) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255, 154, 61, 0.02) 3px, rgba(255, 154, 61, 0.02) 4px);
  pointer-events: none;
}
.hud-display-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hud-display-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.hud-display-header .live {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hud-display-header .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.5s infinite;
}

.races-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: center;
}
.race-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.race-emblem {
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-family: var(--f-display);
  font-weight: 900;
  border: 1px solid;
  background: rgba(0, 0, 0, 0.4);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex-shrink: 0;
}
.race-bar.bellato .race-emblem { color: var(--blue); border-color: var(--blue); box-shadow: 0 0 12px rgba(59, 158, 255, 0.3); }
.race-bar.cora .race-emblem { color: var(--purple); border-color: var(--purple); box-shadow: 0 0 12px rgba(184, 92, 255, 0.3); }
.race-bar.accretia .race-emblem { color: var(--red); border-color: var(--red); box-shadow: 0 0 12px rgba(255, 56, 56, 0.3); }

.race-info-display { flex: 1; }
.race-info-display .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.race-info-display .desc {
  font-size: 12px;
  color: var(--t-3);
  font-family: var(--f-mono);
  letter-spacing: 1px;
}

.hud-display-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--t-3);
}
.hud-display-footer .blink { animation: blink 2s infinite; }

/* ============================================================
   STATUS PANEL (Chip War + Server + Próximas CW)
   ============================================================ */
.status-section {
  padding: 60px 0;
  position: relative;
}
.status-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 20px;
}

.status-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--t-2);
}
.status-row .label { color: var(--t-3); }
.status-row .value { color: var(--t-1); font-weight: 600; }
.status-row .big {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  margin-right: 8px;
  vertical-align: middle;
}
.status-dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* Chip War detalhado */
.cw-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cw-bar-item .head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
}
.cw-bar-item .head .name { color: var(--t-2); }
.cw-bar-item .head .pct {
  font-weight: 700;
  font-family: var(--f-display);
}
.cw-bar-track {
  height: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cw-bar-fill {
  height: 100%;
  transition: width 1s ease;
  position: relative;
}
.cw-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2.5s linear infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.cw-bar-item.accretia .cw-bar-fill { background: linear-gradient(90deg, var(--red), #ff7676); }
.cw-bar-item.bellato .cw-bar-fill { background: linear-gradient(90deg, var(--blue), #6bb6ff); }
.cw-bar-item.cora .cw-bar-fill { background: linear-gradient(90deg, var(--purple), #d088ff); }
.cw-bar-item.accretia .pct { color: var(--red); }
.cw-bar-item.bellato .pct { color: var(--blue); }
.cw-bar-item.cora .pct { color: var(--purple); }

.cw-result {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
}
.cw-result .item .lbl { color: var(--t-3); display: block; margin-bottom: 4px; }
.cw-result .item .val { font-weight: 700; color: var(--t-1); }
.cw-result .item .val.win { color: var(--green); }
.cw-result .item .val.lose { color: var(--red); }

/* CW Times */
.cw-time-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.cw-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--amber);
  font-family: var(--f-mono);
}
.cw-time .num {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
}
.cw-time .timer {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--amber);
}

/* ============================================================
   SECTIONS GERAIS
   ============================================================ */
section.block {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 18px;
}
.section-tag::before, .section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.5;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title .accent {
  color: var(--amber);
  text-shadow: 0 0 20px var(--amber-glow);
}
.section-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--t-2);
  font-size: 17px;
}

/* ============================================================
   FEATURES (About section)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 40px 28px;
  text-align: center;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: all 0.4s ease;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature:hover {
  background: var(--panel-strong);
  transform: translateY(-6px);
}
.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 70px; height: 70px;
  margin: 0 auto 24px;
  color: var(--amber);
  filter: drop-shadow(0 0 12px var(--amber-glow));
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.feature p { color: var(--t-2); font-size: 14px; }

/* ============================================================
   NEWS / EVENTS GRIDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  position: relative;
}
.card:hover {
  border-color: var(--line-active);
  transform: translateY(-4px);
}
.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8));
}
.card-body { padding: 22px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.card-meta .date { color: var(--t-3); }
.card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-text {
  color: var(--t-2);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--t-4);
  font-style: italic;
  font-family: var(--f-mono);
  font-size: 13px;
}

/* ============================================================
   RANKING TABLE
   ============================================================ */
.ranking-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
}
.rank-row, .rank-head {
  display: grid;
  grid-template-columns: 70px 1fr 130px 100px 100px 90px;
  gap: 16px;
  padding: 16px 24px;
  align-items: center;
}
.rank-head {
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
  border-bottom: 1px solid var(--line);
}
.rank-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}
.rank-row:hover { background: rgba(255, 154, 61, 0.04); }
.rank-row:last-child { border-bottom: none; }

.rank-pos {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--amber);
}
.rank-row.top-1 .rank-pos { color: #ffd700; font-size: 22px; }
.rank-row.top-2 .rank-pos { color: #c0c0c0; font-size: 20px; }
.rank-row.top-3 .rank-pos { color: #cd7f32; font-size: 20px; }

.rank-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
}
.rank-race {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  text-align: center;
  display: inline-block;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.rank-race.bellato { background: rgba(59, 158, 255, 0.15); color: var(--blue); border: 1px solid var(--blue); }
.rank-race.cora { background: rgba(184, 92, 255, 0.15); color: var(--purple); border: 1px solid var(--purple); }
.rank-race.accretia { background: rgba(255, 56, 56, 0.15); color: var(--red); border: 1px solid var(--red); }
.rank-kills { color: var(--green); font-weight: 600; font-family: var(--f-mono); }
.rank-deaths { color: var(--red); font-weight: 600; font-family: var(--f-mono); }
.rank-kd { color: var(--amber); font-weight: 700; font-family: var(--f-mono); }

/* ============================================================
   PÁGINAS INTERNAS
   ============================================================ */
.page-header {
  padding: 140px 0 50px;
  text-align: center;
  position: relative;
}
.page-header .breadcrumb {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-bottom: 18px;
}
.page-header .breadcrumb a { color: var(--cyan); }
.page-header h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.page-header .subtitle {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-top: 12px;
}

/* RATES TABLES */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.rates-section { /* hud panel já aplicado */ }

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 13px;
}
.rates-table th {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--t-3);
  text-transform: uppercase;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.rates-table th.center { text-align: center; }
.rates-table td {
  padding: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
  color: var(--t-2);
}
.rates-table tr:last-child td { border-bottom: none; }
.rates-table .free { color: var(--cyan); text-align: center; font-weight: 600; }
.rates-table .premium { color: var(--yellow); text-align: center; font-weight: 700; }
.rates-table .label-cell { color: var(--t-1); font-weight: 500; }

/* Enable / Disable tables */
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.config-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.config-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 2px solid;
  font-family: var(--f-mono);
  font-size: 12px;
}
.config-item.enable { border-left-color: var(--green); }
.config-item.disable { border-left-color: var(--red); }
.config-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.config-item.enable .config-icon { color: var(--green); }
.config-item.disable .config-icon { color: var(--red); }
.config-label { flex: 1; color: var(--t-1); font-weight: 500; }
.config-value { color: var(--t-3); font-size: 11px; }

/* DROPS LIST */
.drops-section {
  margin-bottom: 30px;
}
.drops-map-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.drops-map-title::before, .drops-map-title::after {
  content: '';
  height: 1px;
  background: var(--line-active);
  flex: 0 0 30px;
}
.drops-map-title::after { flex: 1; }

.drop-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 13px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.drop-item.highlight {
  border-color: var(--amber);
  background: rgba(255, 154, 61, 0.05);
}
.drop-monster {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--t-1);
  letter-spacing: 1px;
}
.drop-info { color: var(--t-2); line-height: 1.5; }
.drop-note {
  display: block;
  color: var(--amber);
  font-size: 12px;
  margin-top: 6px;
  font-style: italic;
}

/* CRAFTS */
.crafts-category {
  margin-bottom: 30px;
}
.crafts-category-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 14px;
  padding: 8px 16px;
  background: rgba(255, 154, 61, 0.08);
  border-left: 3px solid var(--amber);
  text-transform: uppercase;
}
.craft-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 13px;
}
.craft-table th {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  text-align: left;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.craft-table td {
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--t-2);
  background: var(--panel);
}
.craft-table td.cost { color: var(--yellow); text-align: center; font-weight: 700; }
.craft-table td.result { color: var(--green); font-weight: 600; }

/* BOOSTER */
.booster-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 12px;
}
.booster-table th {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
  border: 1px solid var(--line);
  text-align: center;
}
.booster-table td {
  padding: 12px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
  color: var(--t-2);
}
.booster-table td.grade {
  background: rgba(255, 154, 61, 0.1);
  color: var(--amber);
  font-weight: 700;
  font-family: var(--f-display);
  letter-spacing: 1px;
}
.booster-table td.success { color: var(--green); font-weight: 700; }
.booster-table td.failure { color: var(--red); font-weight: 600; }
.booster-table td.downgrade { color: var(--yellow); font-weight: 600; }
.booster-bonuses {
  margin-top: 24px;
}

/* RULES */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rule-item {
  background: var(--panel);
  border-left: 3px solid;
  padding: 20px 24px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.rule-item.severity-normal { border-left-color: var(--cyan); }
.rule-item.severity-high { border-left-color: var(--yellow); }
.rule-item.severity-critical { border-left-color: var(--red); background: rgba(255, 56, 56, 0.05); }
.rule-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.rule-head h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
}
.rule-severity {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  text-transform: uppercase;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.rule-item.severity-normal .rule-severity { background: rgba(0, 212, 255, 0.15); color: var(--cyan); }
.rule-item.severity-high .rule-severity { background: rgba(255, 216, 77, 0.15); color: var(--yellow); }
.rule-item.severity-critical .rule-severity { background: rgba(255, 56, 56, 0.15); color: var(--red); }
.rule-content { color: var(--t-2); font-size: 14px; line-height: 1.6; }

/* DOAÇÃO */
.donation-info {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 216, 77, 0.05);
  border: 1px dashed rgba(255, 216, 77, 0.3);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--t-2);
}
.donation-info .icon { color: var(--yellow); font-size: 18px; margin-right: 8px; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.package {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 24px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.package.featured {
  border-color: var(--yellow);
  background: rgba(255, 216, 77, 0.05);
  transform: scale(1.03);
}
.package:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--amber);
}
.package.featured:hover {
  transform: translateY(-8px) scale(1.05);
}
.package-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  background: var(--yellow);
  color: var(--bg-0);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.package-icon {
  width: 50px; height: 50px;
  margin: 0 auto 16px;
  color: var(--yellow);
}
.package-name {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--t-3);
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.package-cp {
  text-align: center;
  margin-bottom: 16px;
}
.package-cp-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--yellow);
  line-height: 1;
}
.package-cp-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--t-2);
  margin-top: 4px;
}
.package-price {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--t-1);
  margin-bottom: 10px;
}
.package-bonus {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 20px;
  min-height: 14px;
}
.package-exchange {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--t-4);
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.package-btn {
  background: linear-gradient(135deg, var(--yellow), #ffec80);
  color: var(--bg-0);
  font-weight: 800;
  padding: 14px;
  width: 100%;
  justify-content: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.package-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 216, 77, 0.4); }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.cta-section {
  padding: 100px 0;
}
.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.1), rgba(0, 212, 255, 0.05));
  border: 1px solid var(--line-active);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, var(--amber-glow), transparent 50%);
  opacity: 0.15;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-tag { margin-bottom: 16px; }
.cta-content h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cta-content p { color: var(--t-2); font-size: 16px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 40px;
  border-left: 1px solid var(--line);
  position: relative; z-index: 1;
}
.cta-stat .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--amber);
  line-height: 1;
}
.cta-stat .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-top: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  margin-top: 60px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.footer-support {
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px dashed var(--line);
}
.footer-support .support-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 14px;
}
.footer-support .support-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 2s infinite;
}
.footer-support h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-support h3 .br { color: var(--cyan); }
.footer-support p {
  color: var(--t-3);
  margin-bottom: 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 1px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col h4::before { content: '> '; color: var(--cyan); }
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--t-2);
  font-size: 13px;
  font-family: var(--f-mono);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-col .info {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 0;
}
.footer-col .info .k { color: var(--t-3); letter-spacing: 1px; }
.footer-col .info .v { color: var(--cyan); }

.footer-bottom {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--t-4);
  padding-top: 30px;
  border-top: 1px dashed var(--line);
}

/* === Selo "Desenvolvido por Neryth System" === */
.footer-dev {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
  margin-top: 16px;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
}

.footer-dev-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--t-3);
  text-decoration: none;
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.02);
  transition: all 0.25s ease;
}

.footer-dev-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px -8px var(--cyan-glow);
}

.fd-label {
  color: var(--t-4);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.footer-dev-link:hover .fd-label {
  color: var(--t-3);
}

.fd-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--t-1);
}

.fd-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--cyan);
  color: var(--bg-0);
  border-radius: 3px;
  transition: all 0.25s;
}

.fd-mark svg { width: 13px; height: 13px; }

.footer-dev-link:hover .fd-mark {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.fd-brand em {
  font-style: normal;
  font-weight: 300;
  color: var(--t-3);
}

.fd-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: all 0.25s;
}

.footer-dev-link:hover .fd-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .footer-dev-link {
    gap: 10px;
    padding: 10px 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .fd-label { font-size: 9px; }
  .fd-brand { font-size: 11px; }
}

/* ============================================================
   UTILS / ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber-bright); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-main { display: none; }
  .nav-main.open {
    display: flex;
    position: fixed;
    top: 75px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-1);
    padding: 16px;
    border-bottom: 1px solid var(--line);
    gap: 6px;
    z-index: 99;
  }
  .menu-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { height: 360px; margin-top: 30px; }
  .status-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .rates-grid, .config-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 30px; }
  .cta-stats { padding-left: 0; padding-top: 30px; border-left: none; border-top: 1px solid var(--line); flex-direction: row; justify-content: space-around; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .drop-item { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar-inner { padding: 12px 16px; gap: 10px; }
  .brand-name { font-size: 16px; letter-spacing: 2px; }
  .brand-sub { display: none; }
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .rank-head, .rank-row { grid-template-columns: 50px 1fr 70px 60px; padding: 10px 12px; font-size: 13px; }
  .rank-deaths, .rank-kd { display: none; }
  .rank-head span:nth-child(5), .rank-head span:nth-child(6) { display: none; }
  .package { transform: none !important; }
  .nav-cta .btn { padding: 8px 14px; font-size: 10px; }
}

/* ============================================================
   COUNTDOWN PRINCIPAL (substitui chip war na home)
   ============================================================ */
.countdown-section {
  padding: 80px 0;
  position: relative;
}

.countdown-hero {
  position: relative;
  background: var(--panel-strong);
  border: 1px solid var(--line-active);
  padding: 50px 40px;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  overflow: hidden;
}
.countdown-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 154, 61, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(184, 92, 255, 0.15), transparent 50%);
  pointer-events: none;
}
.countdown-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  box-shadow: 0 0 14px var(--amber-glow);
}

.countdown-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.countdown-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--amber);
  margin-bottom: 14px;
  padding: 8px 20px;
  border: 1px solid var(--amber);
  background: rgba(255, 154, 61, 0.08);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.countdown-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red);
  animation: pulse 1.2s infinite;
}

.countdown-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.countdown-title .accent {
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.countdown-date {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 36px;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 40px;
}
.cd-block {
  position: relative;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  padding: 28px 18px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.cd-block::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--amber);
  opacity: 0.7;
}
.cd-block .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--amber);
  line-height: 1;
  text-shadow: 0 0 20px var(--amber-glow);
  letter-spacing: -2px;
}
.cd-block .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--t-3);
  margin-top: 10px;
  text-transform: uppercase;
}

.countdown-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.countdown-live {
  display: none;
  text-align: center;
}
.countdown-live.show {
  display: block;
}
.countdown-live .live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 4px;
  color: var(--green);
  text-shadow: 0 0 25px var(--green);
  margin-bottom: 24px;
}
.countdown-live .live-pulse::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
  animation: pulse 1s infinite;
}

/* ============================================================
   TRANSMISSIONS TERMINAL (substitui chip war)
   ============================================================ */
.transmissions-section {
  padding: 80px 0;
}

.transmissions-wrap {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
}

.terminal-feed {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--line-active);
  padding: 0;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
  min-height: 480px;
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 154, 61, 0.04);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
}
.terminal-head .dots {
  display: flex;
  gap: 6px;
}
.terminal-head .dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal-head .dots span:nth-child(1) { background: var(--red); }
.terminal-head .dots span:nth-child(2) { background: var(--yellow); }
.terminal-head .dots span:nth-child(3) { background: var(--green); }
.terminal-head .title {
  color: var(--amber);
  letter-spacing: 3px;
}
.terminal-head .status {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-head .status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.terminal-body {
  padding: 22px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.7;
  height: 420px;
  overflow-y: auto;
  position: relative;
}
.terminal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 154, 61, 0.018) 3px, rgba(255, 154, 61, 0.018) 4px);
  pointer-events: none;
}
.terminal-body::-webkit-scrollbar { width: 4px; }

.tx-msg {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  opacity: 0;
  animation: txIn 0.6s forwards;
}
.tx-msg:last-child { border-bottom: none; }
@keyframes txIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 2px;
}
.tx-callsign {
  font-weight: 700;
  letter-spacing: 1.5px;
}
.tx-callsign.bellato { color: var(--blue); }
.tx-callsign.cora { color: var(--purple); }
.tx-callsign.accretia { color: var(--red); }
.tx-callsign.neryth { color: var(--amber); }
.tx-class {
  color: var(--t-4);
  font-size: 9px;
  padding: 2px 8px;
  border: 1px solid var(--t-4);
}
.tx-class.classified {
  color: var(--red);
  border-color: var(--red);
}
.tx-msg-text {
  color: var(--t-1);
  font-size: 13px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  margin-top: 8px;
}
.tx-msg.bellato .tx-msg-text { border-color: var(--blue); }
.tx-msg.cora .tx-msg-text { border-color: var(--purple); }
.tx-msg.accretia .tx-msg-text { border-color: var(--red); }
.tx-msg.neryth .tx-msg-text { border-color: var(--amber); }

.tx-cursor::after {
  content: '_';
  color: var(--amber);
  animation: blink 1s steps(2) infinite;
}

/* Side panel das raças */
.race-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.race-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px 20px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.3s;
}
.race-card:hover {
  background: var(--panel-strong);
  transform: translateX(-4px);
}
.race-card.bellato { border-left: 3px solid var(--blue); }
.race-card.cora { border-left: 3px solid var(--purple); }
.race-card.accretia { border-left: 3px solid var(--red); }

.race-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.race-card-emblem {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  border: 1px solid;
  background: rgba(0, 0, 0, 0.4);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.race-card.bellato .race-card-emblem { color: var(--blue); border-color: var(--blue); }
.race-card.cora .race-card-emblem { color: var(--purple); border-color: var(--purple); }
.race-card.accretia .race-card-emblem { color: var(--red); border-color: var(--red); }
.race-card-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
}
.race-card-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--t-3);
  display: block;
  margin-top: 4px;
}
.race-card-desc {
  font-size: 13px;
  color: var(--t-2);
  line-height: 1.5;
}

/* ============================================================
   ROADMAP TIMELINE
   ============================================================ */
.roadmap-section { padding: 80px 0; }

.roadmap-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 0;
}
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--amber), var(--cyan), transparent);
  transform: translateX(-50%);
}

.roadmap-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: center;
}
.roadmap-item:last-child { margin-bottom: 0; }

.roadmap-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  position: relative;
  transition: all 0.3s;
}
.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
}

.roadmap-item.right .roadmap-card { grid-column: 3; }
.roadmap-item.left .roadmap-card { grid-column: 1; }
.roadmap-item.left .roadmap-card { text-align: right; }

.roadmap-node {
  grid-column: 2;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  border: 2px solid var(--amber);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--amber);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255, 154, 61, 0.4);
}
.roadmap-item.completed .roadmap-node {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg-0);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}
.roadmap-item.in_progress .roadmap-node {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg-0);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  animation: pulseNode 2s infinite;
}
@keyframes pulseNode {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
}
.roadmap-node svg { width: 26px; height: 26px; }

.roadmap-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.roadmap-badge.completed { background: rgba(74, 222, 128, 0.15); color: var(--green); border: 1px solid var(--green); }
.roadmap-badge.in_progress { background: rgba(0, 212, 255, 0.15); color: var(--cyan); border: 1px solid var(--cyan); }
.roadmap-badge.upcoming { background: rgba(255, 154, 61, 0.15); color: var(--amber); border: 1px solid var(--amber); }

.roadmap-phase {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--t-3);
  margin-bottom: 6px;
}
.roadmap-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.roadmap-desc {
  color: var(--t-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.roadmap-date {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.roadmap-date::before { content: '◆'; color: var(--cyan); }

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-section {
  padding: 60px 0;
}

.download-icon-main {
  width: 90px; height: 90px;
  margin: 0 auto 20px;
  color: var(--amber);
  filter: drop-shadow(0 0 20px var(--amber-glow));
}

.mirrors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.mirror-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px 26px;
  text-align: center;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: all 0.3s;
  position: relative;
}
.mirror-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}
.mirror-card.primary {
  background: rgba(255, 154, 61, 0.05);
  border-color: var(--amber);
}
.mirror-card.primary::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  background: var(--amber);
  color: var(--bg-0);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  z-index: 2;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.mirror-card.primary {
  padding-top: 50px;
}
.mirror-provider {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--amber);
}
.mirror-label {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--t-2);
  margin-bottom: 14px;
}
.mirror-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--t-3);
}
.mirror-meta .pill {
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
}
.mirror-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  color: var(--bg-0);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  cursor: pointer;
  transition: all 0.25s;
}
.mirror-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--amber-glow); }

/* Tutorial */
.tutorial-section {
  max-width: 880px;
  margin: 0 auto 60px;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--t-3);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 2px;
}
.video-placeholder svg {
  width: 64px; height: 64px;
  color: var(--amber);
  opacity: 0.5;
}

/* System requirements */
.sys-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.sys-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  position: relative;
}
.sys-card.recommended {
  border-color: var(--amber);
  background: rgba(255, 154, 61, 0.04);
}
.sys-card.recommended::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  background: var(--amber);
  color: var(--bg-0);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  z-index: 2;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.sys-card.recommended {
  padding-top: 50px;
}
.sys-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  text-transform: uppercase;
}
.sys-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono);
  font-size: 12px;
}
.sys-row:last-child { border: none; }
.sys-row .lbl { color: var(--t-3); letter-spacing: 1.5px; }
.sys-row .val { color: var(--t-1); font-weight: 600; }

/* ============================================================
   WIKI
   ============================================================ */
.wiki-section { padding: 60px 0; }

.wiki-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.wiki-tab {
  padding: 10px 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.wiki-tab:hover { color: var(--amber); border-color: var(--amber); }
.wiki-tab.active {
  background: var(--amber);
  color: var(--bg-0);
  border-color: var(--amber);
  font-weight: 700;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.wiki-item {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 24px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.3s;
}
.wiki-item:hover { border-color: var(--amber); transform: translateY(-3px); }
.wiki-item h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--t-1);
  letter-spacing: 1px;
}
.wiki-item-content {
  color: var(--t-2);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.wiki-item-extra {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--cyan);
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.wiki-item-extra::before { content: '> '; color: var(--amber); }

/* ============================================================
   PARTNERS (Guildas Parceiras)
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.partner-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  text-align: center;
  transition: all 0.3s;
}
.partner-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}
.partner-emblem {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  background: rgba(0, 0, 0, 0.4);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 26px;
}
.partner-card.bellato .partner-emblem { color: var(--blue); border-color: var(--blue); }
.partner-card.cora .partner-emblem { color: var(--purple); border-color: var(--purple); }
.partner-card.accretia .partner-emblem { color: var(--red); border-color: var(--red); }
.partner-card.neutral .partner-emblem { color: var(--amber); border-color: var(--amber); }

.partner-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.partner-race-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: inline-block;
  padding: 3px 10px;
  text-transform: uppercase;
}
.partner-card.bellato .partner-race-tag { color: var(--blue); background: rgba(59, 158, 255, 0.1); }
.partner-card.cora .partner-race-tag { color: var(--purple); background: rgba(184, 92, 255, 0.1); }
.partner-card.accretia .partner-race-tag { color: var(--red); background: rgba(255, 56, 56, 0.1); }
.partner-card.neutral .partner-race-tag { color: var(--amber); background: rgba(255, 154, 61, 0.1); }

.partner-info {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--t-2);
  margin-bottom: 6px;
}
.partner-info .lbl { color: var(--t-4); letter-spacing: 1px; }

/* ============================================================
   STREAMERS
   ============================================================ */
.streamers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.streamer-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: all 0.3s;
}
.streamer-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}
.streamer-card.live { border-color: var(--red); }
.streamer-card.live::before {
  content: 'AO VIVO';
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--red);
  color: white;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  z-index: 2;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  animation: pulse 1.5s infinite;
}

.streamer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.streamer-avatar {
  width: 56px; height: 56px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--amber);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--amber);
  flex-shrink: 0;
}
.streamer-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.streamer-info { flex: 1; }
.streamer-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.streamer-platform {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
}
.streamer-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  color: var(--t-1);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.streamer-btn:hover { background: var(--amber); color: var(--bg-0); border-color: var(--amber); }

/* ============================================================
   REGRAS - GRID DE CATEGORIAS
   ============================================================ */
.rules-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.rules-cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.rules-cat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.rules-cat-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 154, 61, 0.12);
  border: 1px solid var(--amber);
  color: var(--amber);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.rules-cat-icon svg { width: 20px; height: 20px; }
.rules-cat-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.rules-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rules-cat-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--t-2);
  font-size: 13.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.rules-cat-list li:last-child { border: none; }
.rules-cat-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
}
.rules-cat-list li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.rules-cat-list li.critical::before { border-color: var(--red); }
.rules-cat-list li.critical::after { background: var(--red); }
.rules-cat-list li.high::before { border-color: var(--yellow); }
.rules-cat-list li.high::after { background: var(--yellow); }
.rules-cat-list li strong {
  color: var(--t-1);
  font-weight: 600;
}

/* ============================================================
   DROPDOWN MENU (Wiki/Informações)
   ============================================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle svg {
  width: 10px; height: 10px;
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-1);
  border: 1px solid var(--line-active);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--t-2);
  text-transform: uppercase;
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 154, 61, 0.08);
  color: var(--amber);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .countdown-timer { grid-template-columns: repeat(2, 1fr); }
  .transmissions-wrap { grid-template-columns: 1fr; }
  .roadmap-timeline::before { left: 30px; }
  .roadmap-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .roadmap-node { grid-column: 1; }
  .roadmap-item.left .roadmap-card,
  .roadmap-item.right .roadmap-card {
    grid-column: 2;
    text-align: left;
  }
  .sys-req-grid, .rules-categories { grid-template-columns: 1fr; }
  .nav-dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; }
}

@media (max-width: 640px) {
  .countdown-hero { padding: 30px 18px; }
  .cd-block { padding: 18px 8px; }
  .terminal-body { font-size: 11px; padding: 16px; }
}

/* ============================================================
   COMMAND CENTER - DOSSIÊ ÉPICO
   ============================================================ */
.command-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.command-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber) 70%, transparent);
  opacity: 0.5;
}
.command-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 154, 61, 0.08), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(0, 212, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.command-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

/* DOSSIÊ */
.command-dossier {
  position: relative;
}

.dossier-header {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px dashed var(--line-active);
}
.dossier-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.dossier-tag .dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 1.5s infinite;
}
.dossier-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-3);
  letter-spacing: 1.5px;
}
.dossier-meta strong {
  color: var(--t-1);
  font-weight: 600;
}

.command-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 22px;
}
.command-title .prefix {
  color: var(--amber);
  margin-right: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.command-title .accent {
  background: linear-gradient(135deg, var(--amber), var(--amber-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.command-lead {
  color: var(--t-2);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 560px;
}

/* DOSSIÊ STATS - 4 cards de specs */
.dossier-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
  max-width: 540px;
}
.dossier-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 154, 61, 0.03);
  border: 1px solid var(--line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s;
}
.dossier-stat:hover {
  background: rgba(255, 154, 61, 0.06);
  border-color: var(--amber);
}
.dossier-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
  opacity: 0.5;
}
.ds-icon {
  width: 32px; height: 32px;
  color: var(--amber);
  flex-shrink: 0;
}
.ds-icon svg { width: 100%; height: 100%; }
.ds-data { flex: 1; }
.ds-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--t-3);
  margin-bottom: 2px;
}
.ds-value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--t-1);
}

.dossier-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FEATURES ÉPICAS (HUD cards) */
.command-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-card {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  padding: 22px 24px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-card:hover {
  background: rgba(255, 154, 61, 0.04);
  border-color: var(--amber);
  transform: translateX(-6px);
}
.feat-card:hover .feat-card-glow { opacity: 1; }
.feat-card:hover .feat-card-icon {
  color: var(--amber-bright);
  transform: rotate(360deg) scale(1.05);
}

.feat-card-glow {
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 61, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* Cantos cyber HUD */
.feat-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--amber);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.feat-card:hover .feat-corner { opacity: 1; }
.feat-corner.tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.feat-corner.tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.feat-corner.bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.feat-corner.br { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.feat-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.feat-card-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px var(--amber-glow));
}
.feat-card-icon svg { width: 100%; height: 100%; }

.feat-card-body { flex: 1; }
.feat-card-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.feat-card-body h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  color: var(--t-1);
}
.feat-card-body p {
  color: var(--t-2);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .command-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dossier-stats { max-width: 100%; }
}
@media (max-width: 600px) {
  .command-section { padding: 60px 0; }
  .dossier-stats { grid-template-columns: 1fr; }
  .feat-card-content { flex-direction: column; text-align: center; gap: 12px; }
  .feat-card-icon { width: 50px; height: 50px; }
}

/* ============================================================
   TRANSIÇÃO ÉPICA: PRE-LAUNCH → ONLINE
   ============================================================ */
.phase-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s;
  backdrop-filter: blur(8px);
}
.phase-transition-overlay.show { opacity: 1; }
.phase-transition-overlay.closing { opacity: 0; }

.phase-transition-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(255, 154, 61, 0.15) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255, 154, 61, 0.04) 2px, rgba(255, 154, 61, 0.04) 3px);
  pointer-events: none;
  animation: ptxBgPulse 4s ease-in-out infinite;
}
@keyframes ptxBgPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.ptx-inner {
  position: relative;
  width: 90%;
  max-width: 720px;
  z-index: 2;
}

.ptx-frame {
  position: relative;
  background: rgba(8, 8, 12, 0.95);
  border: 1px solid var(--amber);
  padding: 50px 60px 40px;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow:
    0 0 80px rgba(255, 154, 61, 0.3),
    inset 0 0 30px rgba(255, 154, 61, 0.05);
  animation: ptxFrameIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ptxFrameIn {
  from { transform: scale(0.85); opacity: 0; filter: blur(10px); }
  to { transform: scale(1); opacity: 1; filter: blur(0); }
}

.ptx-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
}
.ptx-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ptx-corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.ptx-corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.ptx-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.ptx-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 154, 61, 0.08) 50%, transparent 100%);
  animation: ptxScan 3s linear infinite;
  pointer-events: none;
}
@keyframes ptxScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.ptx-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ptx-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ptx-status {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 4px;
  color: var(--amber);
  text-shadow: 0 0 20px var(--amber-glow);
  margin-bottom: 26px;
  animation: ptxBlink 1.4s ease-in-out infinite;
}
@keyframes ptxBlink {
  0%, 70%, 100% { opacity: 1; }
  85% { opacity: 0.5; }
}

.ptx-progress {
  height: 4px;
  background: rgba(255, 154, 61, 0.1);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 154, 61, 0.3);
}
.ptx-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber), var(--amber-bright), var(--amber));
  background-size: 200% 100%;
  animation: ptxFill 3.8s ease-out forwards, ptxBarShine 1.5s linear infinite;
  box-shadow: 0 0 12px var(--amber);
}
@keyframes ptxFill {
  to { width: 100%; }
}
@keyframes ptxBarShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.ptx-log {
  font-family: var(--f-mono);
  font-size: 13px;
  text-align: left;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 154, 61, 0.2);
  padding: 16px 20px;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 24px;
  line-height: 1.7;
}
.ptx-log::-webkit-scrollbar { width: 4px; }
.ptx-log::-webkit-scrollbar-thumb { background: var(--amber); }

.ptx-line {
  color: var(--t-2);
  opacity: 0;
  animation: ptxLineIn 0.3s forwards;
}
.ptx-line.ok { color: var(--cyan); }
.ptx-line.success {
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
  text-shadow: 0 0 10px var(--green);
}
@keyframes ptxLineIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.ptx-final {
  display: none;
  opacity: 0;
  transform: scale(0.9);
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px dashed rgba(255, 154, 61, 0.3);
  transition: opacity 0.6s, transform 0.6s;
}
.ptx-final.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}
.ptx-final-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--green);
  margin-bottom: 10px;
}
.ptx-final-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--green), #6dffba);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(74, 222, 128, 0.5));
  margin-bottom: 8px;
  animation: ptxFinalPulse 2s ease-in-out infinite;
}
@keyframes ptxFinalPulse {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(74, 222, 128, 0.5)); }
  50% { filter: drop-shadow(0 0 45px rgba(74, 222, 128, 0.8)); }
}
.ptx-final-sub {
  color: var(--t-2);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

@media (max-width: 700px) {
  .ptx-frame { padding: 30px 24px 26px; }
  .ptx-log { height: 160px; font-size: 11px; padding: 12px; }
}

/* CLASSIFIED no dossier-stat */
.ds-value:has(+ *)[data-classified],
.dossier-stat .ds-value {
  position: relative;
}
.dossier-stat .ds-data:has(.ds-value:not(:empty)) .ds-value {
  /* mantém default */
}
/* Quando o valor é "CLASSIFIED" usa cor vermelha pulsante */
.dossier-stat .ds-value {
  transition: all 0.3s;
}
.dossier-stat:has(.ds-value:not(:empty)) {
  /* */
}
/* Específico pro CLASSIFIED */
.ds-value-classified {
  color: var(--red) !important;
  text-shadow: 0 0 10px rgba(255, 56, 56, 0.5);
  letter-spacing: 2px !important;
  font-size: 14px !important;
  animation: classBlink 2.5s ease-in-out infinite;
}
@keyframes classBlink {
  0%, 90%, 100% { opacity: 1; }
  92%, 95% { opacity: 0.5; }
}

/* ============================================================
   EMBLEMAS DAS RAÇAS - ajustes pros SVGs reais
   ============================================================ */
.race-card-emblem,
.race-emblem,
.partner-emblem {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.race-card-emblem svg,
.race-emblem svg,
.partner-emblem svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 6px currentColor);
}
.partner-emblem { padding: 10px; }
.partner-emblem svg { filter: drop-shadow(0 0 10px currentColor); }

/* ============================================================
   TABELA CASH - NOVA DOAÇÃO
   ============================================================ */
.cash-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 28px 0 36px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--t-3);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.trust-item .dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.trust-item .dot.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.trust-item .dot.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.cash-table-wrap {
  background: var(--panel);
  border: 1px solid var(--line-active);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.cash-table-head {
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.12), rgba(255, 154, 61, 0.04));
  padding: 18px 28px;
  border-bottom: 1px solid var(--line-active);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cash-table-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--amber);
}
.cash-table-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--t-3);
}

.cash-table {
  width: 100%;
  border-collapse: collapse;
}
.cash-table th.lbl {
  text-align: left;
  padding: 14px 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--t-4);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.cash-table th.lbl.right { text-align: right; }
.cash-table th:last-child { width: 140px; }

.cash-row {
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}
.cash-row:last-child { border-bottom: none; }
.cash-row:hover {
  background: rgba(255, 154, 61, 0.06);
}
.cash-row:hover .cash-buy {
  background: var(--amber);
  color: var(--bg-0);
  transform: translateX(4px);
}
.cash-row:hover .cash-qty {
  color: var(--amber);
}

.cash-row.featured {
  background: rgba(255, 154, 61, 0.04);
}
.cash-row.featured::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
}

.cash-row td {
  padding: 18px 28px;
  vertical-align: middle;
}

.cash-qty {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--t-1);
  transition: color 0.2s;
}

.cash-badge {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  background: var(--cyan);
  color: var(--bg-0);
  vertical-align: middle;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.cash-badge.featured {
  background: var(--amber);
}

.cash-price {
  text-align: right;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--green);
}

.cash-action {
  text-align: right;
  white-space: nowrap;
}
.cash-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border: 1px solid var(--amber);
  color: var(--amber);
  background: transparent;
  text-transform: uppercase;
  transition: all 0.2s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.cash-buy svg {
  width: 12px;
  height: 12px;
}

.cash-row.service .service-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--t-1);
  transition: color 0.2s;
}
.cash-row.service:hover .service-name { color: var(--amber); }
.cash-row.service .service-desc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-3);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.cash-table td.empty {
  padding: 40px;
  text-align: center;
  color: var(--t-4);
  font-family: var(--f-mono);
  font-size: 12px;
}

/* COMO FUNCIONA */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.how-step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 24px 22px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.how-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--amber);
  opacity: 0.35;
  position: absolute;
  top: 10px;
  right: 18px;
  letter-spacing: -2px;
}
.how-step h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 10px;
}
.how-step p {
  color: var(--t-2);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .cash-table th.lbl,
  .cash-row td { padding: 14px 16px; }
  .cash-qty { font-size: 15px; }
  .cash-price { font-size: 15px; }
  .cash-buy { padding: 6px 12px; font-size: 10px; }
  .cash-buy svg { display: none; }
  .cash-badge { display: block; margin: 6px 0 0 0; }
  .cash-table-head { padding: 14px 18px; }
}

/* ============================================================
   FIXES MOBILE DEFINITIVOS - cobre todas as páginas
   ============================================================ */

/* Tablet/desktop pequeno (até 1024px) */
@media (max-width: 1024px) {
  .command-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .transmissions-wrap { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
}

/* Tablet (até 900px) */
@media (max-width: 900px) {
  .container { padding: 0 18px; }

  /* Hero - empilhar */
  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-right { display: none; } /* Esconde HUD lateral no mobile pra não poluir */

  /* Countdown */
  .countdown-hero { padding: 32px 20px !important; }
  .countdown-timer { grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; }
  .cd-block { padding: 16px 8px !important; }
  .cd-block .num { font-size: 32px !important; }
  .cd-block .lbl { font-size: 9px !important; letter-spacing: 1px !important; }
  .countdown-title { font-size: 26px !important; letter-spacing: 1px !important; }
  .countdown-actions { flex-direction: column; }
  .countdown-actions .btn { width: 100%; }

  /* Race panel - vira grid de 1 coluna abaixo do terminal */
  .race-panel { display: grid; grid-template-columns: 1fr; }

  /* Roadmap timeline mobile */
  .roadmap-timeline::before { left: 30px !important; }
  .roadmap-item {
    grid-template-columns: 60px 1fr !important;
    gap: 16px !important;
  }
  .roadmap-node { grid-column: 1 !important; width: 50px !important; height: 50px !important; }
  .roadmap-item.left .roadmap-card,
  .roadmap-item.right .roadmap-card {
    grid-column: 2 !important;
    text-align: left !important;
  }
  .roadmap-title { font-size: 17px !important; }

  /* Sys req e rules - 1 coluna */
  .sys-req-grid, .rules-categories { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Wiki / Partners / Streamers - cards menores */
  .wiki-grid, .partners-grid, .streamers-grid,
  .mirrors-grid, .cards-grid { grid-template-columns: 1fr !important; }

  /* Dossier stats - 2 colunas no tablet */
  .dossier-stats { grid-template-columns: repeat(2, 1fr) !important; }

  /* Feat cards - empilhar conteúdo */
  .feat-card-content { gap: 14px; }
  .feat-card-icon { width: 50px !important; height: 50px !important; }
  .feat-card-body h3 { font-size: 16px !important; }
  .feat-card-body p { font-size: 13px !important; }

  /* Hero stats responsivo */
  .hero-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
  .hero-stat { padding: 12px 8px !important; }
  .hero-stat-value { font-size: 18px !important; }
  .hero-stat-label { font-size: 9px !important; }

  /* Wiki tabs - scroll horizontal */
  .wiki-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    justify-content: flex-start !important;
  }
  .wiki-tab { flex-shrink: 0; }

  /* Cash table mobile - simplificar */
  .cash-row td { padding: 14px 14px !important; }
  .cash-qty { font-size: 14px !important; letter-spacing: 0.5px !important; }
  .cash-price { font-size: 14px !important; }
  .cash-buy { padding: 6px 10px !important; font-size: 9px !important; letter-spacing: 1px !important; }
  .cash-buy svg { display: none; }
  .cash-table th.lbl { padding: 12px 14px !important; font-size: 10px !important; letter-spacing: 1.5px !important; }
  .cash-badge {
    display: block !important;
    margin: 6px 0 0 0 !important;
    width: fit-content;
    font-size: 9px !important;
  }
  .cash-table-head { padding: 14px 18px !important; flex-direction: column; align-items: flex-start; gap: 4px; }
  .cash-table-title { font-size: 14px !important; }

  /* Trust items */
  .cash-trust { gap: 16px !important; font-size: 10px !important; }

  /* How steps */
  .how-steps { grid-template-columns: 1fr !important; }
  .how-num { font-size: 32px !important; top: 6px !important; right: 14px !important; }

  /* Page header */
  .page-header h1 { font-size: 28px !important; letter-spacing: 2px !important; }
  .page-header .subtitle { font-size: 11px !important; }

  /* Section heads */
  .section-title { font-size: 26px !important; letter-spacing: 1px !important; }
  .section-tag { font-size: 11px !important; letter-spacing: 2px !important; }

  /* Command section - dossier */
  .command-title { font-size: 28px !important; letter-spacing: 1px !important; }
  .command-lead { font-size: 14px !important; }
  .dossier-meta { gap: 14px !important; font-size: 10px !important; }
  .dossier-actions { flex-direction: column; }
  .dossier-actions .btn { width: 100%; }

  /* CTA section */
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .cta-stats { flex-direction: row !important; justify-content: space-around !important; }
  .cta-stat .num { font-size: 26px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .footer-support h3 { font-size: 22px !important; }

  /* Tables overflow */
  .admin-table-wrap,
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Terminal de transmissões */
  .terminal-body { font-size: 11px !important; padding: 14px !important; height: 320px !important; }
  .tx-msg-text { font-size: 12px !important; }
  .tx-head { font-size: 9px !important; }
}

/* Mobile pequeno (até 600px) */
@media (max-width: 600px) {
  .container { padding: 0 14px; }

  /* Brand */
  .brand-name { font-size: 14px !important; letter-spacing: 1.5px !important; }
  .brand-sub { display: none !important; }
  .brand-mark { width: 36px !important; height: 36px !important; }
  .topbar-inner { padding: 10px 14px !important; }

  /* Botões do header - menores */
  .nav-cta .btn { padding: 6px 10px !important; font-size: 9px !important; letter-spacing: 1px !important; }
  .nav-cta .btn svg { width: 12px !important; height: 12px !important; }

  /* Hero */
  .hero { padding: 100px 0 50px !important; }
  .hero-title { font-size: 32px !important; letter-spacing: 1px !important; }
  .hero-subtitle { font-size: 14px !important; }
  .hero-kicker { font-size: 10px !important; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Countdown apertado */
  .countdown-hero { padding: 26px 14px !important; }
  .countdown-timer { gap: 6px !important; }
  .cd-block .num { font-size: 26px !important; letter-spacing: -1px !important; }
  .cd-block .lbl { font-size: 8px !important; }
  .countdown-title { font-size: 22px !important; }
  .countdown-date { font-size: 11px !important; letter-spacing: 1px !important; }

  /* Dossier stats - 1 coluna apertada */
  .dossier-stats { grid-template-columns: 1fr !important; }

  /* Feat cards - empilhar vertical e centralizar */
  .feat-card-content { flex-direction: column; text-align: center; }
  .feat-card-body h3 { font-size: 15px !important; }

  /* Race cards */
  .race-card { padding: 14px 16px !important; }
  .race-card-emblem { width: 36px !important; height: 36px !important; padding: 4px !important; }
  .race-card-name { font-size: 14px !important; }
  .race-card-desc { font-size: 12px !important; }

  /* Cash table - super compacta */
  .cash-row td { padding: 12px 10px !important; }
  .cash-qty { font-size: 13px !important; }
  .cash-price { font-size: 13px !important; }
  .cash-buy { padding: 5px 8px !important; }
  .cash-table th.lbl { padding: 10px !important; font-size: 9px !important; }
  .cash-table th:last-child { width: 90px !important; }
  .cash-table-title { font-size: 13px !important; letter-spacing: 2px !important; }
  .cash-table-meta { font-size: 9px !important; }

  /* Wiki tabs scroll */
  .wiki-tab { padding: 8px 14px !important; font-size: 10px !important; }

  /* Partners / streamers */
  .partner-card, .streamer-card { padding: 18px !important; }
  .partner-emblem { width: 56px !important; height: 56px !important; padding: 8px !important; }
  .partner-name, .streamer-name { font-size: 15px !important; }

  /* Roadmap */
  .roadmap-timeline::before { left: 24px !important; }
  .roadmap-item { grid-template-columns: 48px 1fr !important; gap: 12px !important; }
  .roadmap-node { width: 44px !important; height: 44px !important; }
  .roadmap-node svg { width: 20px !important; height: 20px !important; }
  .roadmap-card { padding: 18px !important; }
  .roadmap-title { font-size: 15px !important; }
  .roadmap-desc { font-size: 13px !important; }
  .roadmap-phase { font-size: 10px !important; }
  .roadmap-badge { font-size: 9px !important; padding: 3px 8px !important; }

  /* Mirrors */
  .mirror-card { padding: 24px 18px !important; }
  .mirror-card.primary { padding-top: 46px !important; }
  .mirror-provider { font-size: 18px !important; }

  /* Sys req */
  .sys-card { padding: 18px !important; }
  .sys-card.recommended { padding-top: 46px !important; }
  .sys-row { font-size: 11px !important; }

  /* Rules */
  .rules-cat-card { padding: 20px 18px !important; }
  .rules-cat-title { font-size: 13px !important; letter-spacing: 2px !important; }
  .rules-cat-list li { font-size: 12.5px !important; padding-left: 24px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-col h4 { font-size: 12px !important; }
  .footer-bottom { font-size: 10px !important; }
  .footer-support { padding: 30px 18px !important; }
  .footer-support h3 { font-size: 18px !important; letter-spacing: 2px !important; }

  /* Page headers */
  .page-header { padding: 90px 0 30px !important; }
  .page-header h1 { font-size: 24px !important; }
  .breadcrumb { font-size: 10px !important; }

  /* Animação de transição (booting) */
  .ptx-frame { padding: 26px 18px 22px !important; }
  .ptx-status { font-size: 18px !important; letter-spacing: 2px !important; }
  .ptx-log { height: 140px !important; font-size: 10px !important; padding: 10px !important; }
  .ptx-final-title { font-size: 26px !important; letter-spacing: 2px !important; }
  .ptx-final-sub { font-size: 11px !important; }

  /* CTA */
  .cta-box { padding: 30px 20px !important; }
  .cta-content h2 { font-size: 26px !important; }

  /* Hero stats em 1 coluna no mobile super pequeno se necessário */
  .hero-stats { grid-template-columns: repeat(3, 1fr) !important; }
  .hero-stat { padding: 10px 4px !important; }
  .hero-stat-value { font-size: 15px !important; }
  .hero-stat-label { font-size: 8px !important; letter-spacing: 1px !important; }
}

/* Mobile super pequeno (até 380px) */
@media (max-width: 380px) {
  .countdown-timer { grid-template-columns: repeat(2, 1fr) !important; }
  .cd-block .num { font-size: 32px !important; }
  .hero-title { font-size: 26px !important; }
  .command-title { font-size: 24px !important; }
  .section-title { font-size: 22px !important; }
  .cash-row td { padding: 10px 8px !important; }
  .cash-action { display: none; } /* só mostra "Comprar" no hover do td principal */
}

/* TOUCH FRIENDLY - aumenta alvos clicáveis em telas touch */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .cash-row { min-height: 56px; }
  .nav-link { min-height: 44px; display: flex; align-items: center; }
  .wiki-tab { min-height: 40px; }
  .nav-dropdown-menu a { min-height: 40px; display: flex; align-items: center; }
}

/* Esconder scroll horizontal indesejado */
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video { max-width: 100%; height: auto; }

/* ============================================================
   MODAL "LINK INDISPONÍVEL" - HUD STYLE
   ============================================================ */
#link-pending-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
#link-pending-modal.show { opacity: 1; pointer-events: auto; }

.lpm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.lpm-frame {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: var(--bg-1);
  border: 1px solid var(--amber);
  padding: 36px 32px 28px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  box-shadow: 0 0 60px rgba(255, 154, 61, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#link-pending-modal.show .lpm-frame { transform: scale(1); }

.lpm-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--amber);
}
.lpm-corner.tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.lpm-corner.tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.lpm-corner.bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.lpm-corner.br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.lpm-content { text-align: center; }
.lpm-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--amber);
  filter: drop-shadow(0 0 12px var(--amber-glow));
  animation: lpmPulse 2s ease-in-out infinite;
}
@keyframes lpmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.lpm-icon svg { width: 100%; height: 100%; }

.lpm-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.lpm-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 14px;
}
.lpm-msg {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--t-2);
  line-height: 1.6;
  margin-bottom: 22px;
}
