/* ============== RESET ============== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg-0: #07070a;
  --bg-1: #0d0c10;
  --bg-2: #14121a;
  --surface: rgba(20, 18, 26, 0.7);
  --surface-2: rgba(28, 24, 36, 0.85);
  --border: rgba(255, 50, 50, 0.18);
  --border-strong: rgba(255, 50, 50, 0.4);
  --border-cool: rgba(255, 255, 255, 0.08);
  --text: #f5f1ea;
  --text-dim: #8a8480;
  --muted: #5a554f;
  --red: #ff2a2a;
  --red-bright: #ff4d4d;
  --red-deep: #a30808;
  --red-blood: #6b0000;
  --gold: #ffb43d;
  --green: #4ade80;
  --cyan: #4ad6ff;
  --shadow-red: 0 12px 40px -8px rgba(255,42,42,0.5);
  --shadow-deep: 0 30px 60px -20px rgba(0,0,0,0.8);
  --hud-blip: 0 0 0 1px rgba(255,42,42,0.4), 0 0 20px rgba(255,42,42,0.2);
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  font-weight: 500;
}

/* ============== BACKGROUND LAYERS ============== */
.bg-base {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(255,42,42,0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(120,0,0,0.25), transparent 60%),
    linear-gradient(180deg, #08070a 0%, #050306 100%);
  z-index: -5;
}

.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,42,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,42,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 80%);
  z-index: -4;
  animation: grid-pulse 6s ease-in-out infinite;
}
@keyframes grid-pulse {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.bg-scanlines {
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    rgba(255,255,255,0.015) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: -3;
  pointer-events: none;
}

.bg-vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: -2;
  pointer-events: none;
}

.bg-sparks {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1,h2,h3,h4 {
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.accent {
  background: linear-gradient(180deg, #ff5454 0%, #ff2a2a 50%, #a30808 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,42,42,0.4));
}

.eyebrow {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--red-bright);
  margin-bottom: 14px;
  position: relative;
  padding-left: 0;
}

.muted { color: var(--text-dim); }

/* ============== KILL FEED TICKER (top) ============== */
.kill-feed {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(90deg, var(--red-deep), #1a0303);
  border-bottom: 1px solid var(--red);
  z-index: 110;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.kill-feed::before {
  content: 'CANLI';
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.2em;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  animation: live-blink 1.5s infinite;
}
@keyframes live-blink {
  0%,100% { background: var(--red); }
  50% { background: var(--red-bright); }
}
.kf-track {
  display: flex;
  white-space: nowrap;
  animation: kf-scroll 60s linear infinite;
  padding-left: 20px;
}
.kf-track span {
  padding: 0 28px;
  color: var(--text);
  position: relative;
}
.kf-track span::before {
  content: '⚔';
  margin-right: 8px;
  color: var(--red-bright);
}
.kf-track .kill-target { color: var(--red-bright); font-weight: 700; }
.kf-track .kill-killer { color: var(--gold); font-weight: 700; }
@keyframes kf-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== TOPBAR ============== */
.topbar {
  position: fixed;
  top: 28px; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7,7,10,0.75);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.topbar.scrolled { background: rgba(7,7,10,0.95); border-color: var(--border-strong); }
.topbar-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.6;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--red-bright);
  filter: drop-shadow(0 0 12px rgba(255,42,42,0.6));
  animation: mark-pulse 2.5s ease-in-out infinite;
}
@keyframes mark-pulse {
  0%,100% { filter: drop-shadow(0 0 12px rgba(255,42,42,0.5)); transform: rotate(0deg); }
  50% { filter: drop-shadow(0 0 20px rgba(255,77,77,0.9)); transform: rotate(0deg); }
}
.logo-text {
  font-family: 'Russo One', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}
.logo-text small {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.55em;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  margin-top: 5px;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all 0.2s;
}
.nav a .num {
  font-size: 0.65em;
  color: var(--red-bright);
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(255,42,42,0.1);
}
.nav a:hover .num, .nav a.active .num { opacity: 1; }

.topbar-actions {
  display: flex;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--red-bright);
  transition: 0.3s;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-xl { padding: 18px 36px; font-size: 1.15rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  box-shadow: 0 16px 50px -8px rgba(255,77,77,0.7);
  transform: translateY(-2px);
}
.btn-flash {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: flash 3s linear infinite;
}
@keyframes flash {
  0% { left: -60%; }
  100% { left: 110%; }
}
.btn > * { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--red-bright);
  border-color: var(--red-bright);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-ghost {
  background: rgba(255,42,42,0.05);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-bright);
  background: rgba(255,42,42,0.12);
}

.btn-arrow {
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-haze {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,42,42,0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(120,0,0,0.4), transparent 60%);
  filter: blur(60px);
  animation: haze-drift 8s ease-in-out infinite alternate;
}
@keyframes haze-drift {
  from { transform: translate(-2%, 0) scale(1); }
  to { transform: translate(2%, -2%) scale(1.05); }
}

.combat-rings {
  position: absolute;
  top: 50%; right: -10%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
}
.combat-rings span {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255,42,42,0.15);
  border-radius: 50%;
  animation: ring-rotate 60s linear infinite;
}
.combat-rings span:nth-child(2) {
  inset: 80px;
  border-style: solid;
  border-color: rgba(255,42,42,0.08);
  animation-duration: 40s;
  animation-direction: reverse;
}
.combat-rings span:nth-child(3) {
  inset: 160px;
  border-color: rgba(255,180,61,0.1);
  animation-duration: 80s;
}
@keyframes ring-rotate { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; }

.hero-content { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: rgba(255,42,42,0.08);
  border: 1px solid var(--red);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  color: var(--red-bright);
  margin-bottom: 28px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  position: relative;
}
.alert-dot {
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-bright);
  animation: alert-blink 1s infinite;
}
@keyframes alert-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.alert-meta { color: var(--text); margin-left: 4px; padding-left: 14px; border-left: 1px solid rgba(255,42,42,0.4); }

.hero-title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(3.5rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line-2 {
  font-size: 0.5em;
  margin-top: 8px;
  font-style: italic;
  color: var(--text);
}
.hero-title .slash {
  color: var(--red);
  margin-right: 12px;
  font-style: normal;
}

/* Glitch effect */
.glitch {
  position: relative;
  display: inline-block;
  color: #fff;
  text-shadow:
    0 0 30px rgba(255,42,42,0.6),
    0 4px 0 rgba(0,0,0,0.4);
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--red);
  animation: glitch-1 4s infinite;
  z-index: -1;
}
.glitch::after {
  color: var(--cyan);
  animation: glitch-2 4s infinite;
  z-index: -2;
  opacity: 0.6;
}
@keyframes glitch-1 {
  0%,90%,100% { transform: translate(0); }
  92% { transform: translate(-3px, -2px); }
  94% { transform: translate(3px, 2px); }
  96% { transform: translate(-2px, 1px); }
  98% { transform: translate(2px, -1px); }
}
@keyframes glitch-2 {
  0%,90%,100% { transform: translate(0); }
  92% { transform: translate(3px, 1px); }
  94% { transform: translate(-3px, -1px); }
  96% { transform: translate(2px, -2px); }
  98% { transform: translate(-2px, 2px); }
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--red-bright); font-weight: 700; }

/* Big Countdown */
.big-countdown { margin-bottom: 40px; max-width: 720px; }
.bcd-frame {
  position: relative;
  background: linear-gradient(135deg, rgba(20,18,26,0.9), rgba(10,8,14,0.9));
  border: 1px solid var(--border-strong);
  padding: 24px 28px 20px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: var(--shadow-deep), inset 0 0 60px rgba(255,42,42,0.04);
}
.bcd-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}
.bcd-corner.tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.bcd-corner.tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.bcd-corner.bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.bcd-corner.br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.bcd-grid {
  display: flex;
  align-items: stretch;
  gap: 6px;
  justify-content: space-between;
}
.bcd-cell {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcd-num {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,42,42,0.7), 0 0 8px rgba(255,42,42,0.5);
  font-variant-numeric: tabular-nums;
  position: relative;
}
.bcd-num::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.bcd-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  margin-top: 8px;
}
.bcd-sep {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--red);
  align-self: flex-start;
  margin-top: 6px;
  animation: sep-blink 1s infinite;
}
@keyframes sep-blink {
  0%,49% { opacity: 1; }
  50%,100% { opacity: 0.3; }
}
.bcd-status {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--red-bright);
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-buttons.centered { justify-content: center; }

/* HUD Stats */
.hud-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hud-stat { display: flex; flex-direction: column; gap: 8px; }
.hud-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.hud-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #ff8c00);
  box-shadow: 0 0 12px rgba(255,180,61,0.5);
  transition: width 1.5s cubic-bezier(.2,.7,.2,1);
}
.hud-fill.red {
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 12px rgba(255,77,77,0.6);
}
.hud-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.hud-val { color: var(--red-bright); }

/* Marquee */
.hero-marquee {
  margin-top: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,42,42,0.1), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.marquee-track span { padding-right: 60px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SECTIONS ============== */
.section {
  padding: 120px 0;
  position: relative;
}
.section.dark { background: linear-gradient(180deg, transparent 0%, rgba(10,8,12,0.6) 50%, transparent 100%); }

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-head h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* ============== BATTLE FEED ============== */
.battle-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.feed-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  position: relative;
  overflow: hidden;
}
.feed-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,42,42,0.03), transparent 30%);
  pointer-events: none;
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255,42,42,0.08);
  border-bottom: 1px solid var(--border-strong);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}
.feed-dot {
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-bright);
  animation: alert-blink 1.2s infinite;
}
.feed-title { color: var(--text); flex: 1; }
.feed-live {
  background: var(--red);
  color: #fff;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.feed-list {
  list-style: none;
  max-height: 480px;
  overflow-y: auto;
  padding: 8px 0;
}
.feed-list::-webkit-scrollbar { width: 6px; }
.feed-list::-webkit-scrollbar-thumb { background: var(--red-deep); }

.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
  animation: feed-in 0.4s ease both;
  transition: background 0.2s;
}
.feed-item:hover {
  background: rgba(255,42,42,0.05);
  border-left-color: var(--red);
}
@keyframes feed-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.feed-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  min-width: 50px;
}
.feed-action {
  color: var(--text-dim);
}
.feed-action .killer {
  color: var(--gold);
  font-weight: 700;
  font-family: 'Russo One', sans-serif;
}
.feed-action .verb {
  color: var(--red-bright);
  font-weight: 700;
  margin: 0 8px;
}
.feed-action .victim {
  color: var(--text);
  font-weight: 700;
  font-family: 'Russo One', sans-serif;
}
.feed-weapon {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 20px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.stat-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}
.stat-num.huge {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--red-bright);
  line-height: 1;
  text-shadow: 0 0 20px rgba(255,42,42,0.4);
  font-variant-numeric: tabular-nums;
}
.stat-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 8px;
}
.stat-trend {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-cool);
}
.stat-trend.up { color: var(--green); }
.stat-trend.down { color: var(--red-bright); }

/* ============== CLASSES ============== */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.class-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.class-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.class-card:hover::before { transform: translateX(0); }
.class-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-red), inset 0 0 60px rgba(255,42,42,0.04);
}
.cls-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
}
.cls-icon {
  color: var(--red-bright);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 16px rgba(255,42,42,0.4));
  transition: transform 0.4s;
}
.class-card:hover .cls-icon { transform: rotate(-5deg) scale(1.1); }
.class-card h3 {
  font-size: 2rem;
  margin-bottom: 4px;
  color: #fff;
}
.cls-role {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--red-bright);
  margin-bottom: 22px;
}
.cls-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.cs-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.cs-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.cs-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  box-shadow: 0 0 8px rgba(255,77,77,0.5);
  transition: width 1s ease 0.3s;
}
.cls-foot {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* ============== WAR FEATURES ============== */
.war-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.war-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.war-card.highlight {
  background: linear-gradient(135deg, rgba(255,42,42,0.08), var(--surface));
  border-color: var(--red);
}
.war-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}
.wc-num {
  font-family: 'Russo One', sans-serif;
  font-size: 3.5rem;
  color: rgba(255,42,42,0.15);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255,42,42,0.2);
}
.war-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: #fff;
}
.war-card > p {
  color: var(--text-dim);
  margin-bottom: 20px;
}
.wc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.wc-list li {
  font-size: 0.95rem;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.wc-list li::before {
  content: '⚔';
  position: absolute;
  left: 0;
  color: var(--red-bright);
}

/* ============== RANKING ============== */
.rank-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rtab {
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  transition: all 0.2s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.rtab.active {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.rtab:hover:not(.active) { border-color: var(--red); color: var(--red-bright); }

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  overflow-x: auto;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.rank-table thead {
  background: rgba(255,42,42,0.08);
}
.rank-table th {
  padding: 16px 22px;
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--red-bright);
  border-bottom: 1px solid var(--border-strong);
}
.rank-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
}
.rank-table tbody tr {
  transition: background 0.15s;
}
.rank-table tbody tr:hover {
  background: rgba(255,42,42,0.06);
}
.rank-table tbody tr:last-child td { border-bottom: none; }

.rank {
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  width: 60px;
  color: var(--text-dim);
}
.rank.gold { color: #ffd24d; text-shadow: 0 0 12px rgba(255,210,77,0.5); }
.rank.silver { color: #d0d4dc; }
.rank.bronze { color: #d18a52; }

/* ============== ENLIST CTA ============== */
.enlist {
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.enlist-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,42,42,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(120,0,0,0.4) 0%, transparent 70%);
  z-index: 0;
}
.enlist-rings {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255,42,42,0.2);
  border-radius: 50%;
  animation: ring-rotate 40s linear infinite;
}
.enlist-rings::before, .enlist-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,42,42,0.15);
}
.enlist-rings::before { inset: 60px; animation: ring-rotate 30s linear infinite reverse; }
.enlist-rings::after { inset: -80px; }
.enlist-inner { position: relative; z-index: 1; }
.enlist-mark {
  font-size: 4rem;
  color: var(--red-bright);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(255,42,42,0.8));
  animation: mark-pulse 2.5s ease-in-out infinite;
}
.enlist h2 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 22px; }
.enlist-sub {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.enlist-sub strong { color: var(--red-bright); }
.dl-meta {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.2em;
}
.dl-meta.centered-meta { justify-content: center; }
.dl-meta li {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}
.dl-meta li:last-child { border-right: none; }
.dl-meta strong {
  color: var(--red-bright);
  margin-right: 8px;
}

/* ============== FOOTER ============== */
.footer {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  border-top: 1px solid var(--border-strong);
  padding-top: 60px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.fcol h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--red-bright);
  margin-bottom: 18px;
}
.fcol a {
  display: block;
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: all 0.2s;
}
.fcol a:hover { color: var(--red-bright); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ============== REGISTER PAGE ============== */
.register-page {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 100vh;
}
.register-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.register-h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.register-lead {
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 480px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 22px 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
}
.info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.info-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--red-bright);
}
.info-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.info-text strong { color: var(--red-bright); }
.register-status.open .info-title { color: var(--green); }
.register-status.open .info-text strong { color: var(--green); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.online { background: var(--green); box-shadow: 0 0 10px var(--green); animation: alert-blink 2s infinite; }
.dot.pending { background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); animation: alert-blink 1.2s infinite; }

.countdown-sm { display: flex; gap: 8px; }
.countdown-sm .cd-item {
  flex: 1;
  background: rgba(8,7,11,0.6);
  border: 1px solid var(--border);
  padding: 12px 8px;
  text-align: center;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.countdown-sm .cd-num {
  display: block;
  font-family: 'Russo One', sans-serif;
  font-size: 1.5rem;
  color: var(--red-bright);
  line-height: 1;
}
.countdown-sm .cd-label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-top: 5px;
}

.register-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.register-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20,18,26,0.5);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: all 0.25s;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.register-perks li:hover {
  border-color: var(--red);
  color: var(--text);
  transform: translateX(4px);
}
.perk-icon {
  font-size: 1.25rem;
  filter: drop-shadow(0 0 8px rgba(255,42,42,0.5));
}

.login-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.register-card { position: sticky; top: 110px; }

.card-header {
  padding: 26px 30px 12px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #fff;
}
.card-sub {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.link {
  color: var(--red-bright);
  font-weight: 700;
  border-bottom: 1px dashed var(--border-strong);
}
.link:hover { color: var(--gold); }

.card-form {
  padding: 26px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.card-form input,
.card-form select {
  padding: 12px 14px;
  background: rgba(8,7,11,0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
  letter-spacing: 0;
  text-transform: none;
}
.card-form input:focus, .card-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,42,42,0.15);
}
.card-form select option { background: var(--bg-1); color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.check {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.9rem !important;
  letter-spacing: 0 !important;
  color: var(--text-dim) !important;
  line-height: 1.5;
}
.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.form-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.form-link:hover { color: var(--red-bright); }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  background: linear-gradient(135deg, #4a1818, #2d0c0c);
  border-color: var(--red-deep);
  box-shadow: none;
  transform: none !important;
}
.btn[disabled] .btn-flash { display: none; }
.btn[disabled]:hover { transform: none; box-shadow: none; }

.btn.success {
  background: linear-gradient(135deg, var(--green), #15803d) !important;
  border-color: var(--green) !important;
}

.active-btn { color: var(--red-bright) !important; border-color: var(--red) !important; }

.server-status {
  padding: 14px 30px;
  background: rgba(8,7,11,0.5);
  border-top: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
}
.server-status strong { color: var(--red-bright); }
.server-status .ping { margin-left: auto; color: var(--gold); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1080px) {
  .battle-grid { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .register-inner { grid-template-columns: 1fr; gap: 40px; }
  .register-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
  .topbar-actions { display: none; }
  .hamburger { display: flex; }
  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7,7,10,0.98);
    backdrop-filter: blur(14px);
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-strong);
  }
  .nav.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    clip-path: none;
  }
  .hud-stats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding-top: 130px; }
  .section { padding: 80px 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .bcd-grid { gap: 2px; flex-wrap: wrap; }
  .bcd-sep { display: none; }
  .bcd-cell { min-width: 70px; }
  .bcd-num { font-size: 2rem; }
  .stats-panel { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1; }
  .alert-bar { flex-wrap: wrap; gap: 8px; padding: 8px 14px; }
  .alert-meta { padding-left: 0; border-left: none; margin-left: 0; }
  .feed-item { grid-template-columns: 1fr; gap: 4px; }
  .feed-time { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-cols { grid-template-columns: 1fr; }
  .rank-table th, .rank-table td { padding: 12px 14px; font-size: 0.85rem; }
  .dl-meta li { border-right: none; padding: 0; }
}
