:root {
  --bg: #0a0f1c;
  --primary: #3b82f6;
  --secondary: #1e293b;
  --accent: #93c5fd;
  --accent-soft: rgba(147, 197, 253, 0.14);
  --text-main: #e2e8f0;
  --text-soft: #c8d7ea;
  --line: rgba(147, 197, 253, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 18% 16%, rgba(59, 130, 246, 0.24), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(147, 197, 253, 0.16), transparent 30%),
    var(--bg);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -16% -8%;
  background:
    radial-gradient(circle at 10% 22%, rgba(59, 130, 246, 0.24), transparent 36%),
    radial-gradient(circle at 78% 12%, rgba(59, 130, 246, 0.22), transparent 32%),
    radial-gradient(circle at 64% 86%, rgba(147, 197, 253, 0.18), transparent 30%);
  filter: blur(12px);
  z-index: -2;
  animation: drift-light 15s ease-in-out infinite, ambient-breathe 8s ease-in-out infinite;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(147, 197, 253, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(147, 197, 253, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -3;
  opacity: 0.45;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 62px,
      rgba(147, 197, 253, 0.03) 63px,
      rgba(147, 197, 253, 0.03) 64px
    );
  pointer-events: none;
  z-index: -1;
}

/* ── Floating Particle Canvas ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* ── Live Status Pulse ── */
.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  margin-top: 0.6rem;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.36);
  background: rgba(20, 83, 45, 0.18);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #86efac;
  z-index: 2;
  position: relative;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero {
  min-height: 36vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4.5rem 1.25rem 2rem;
  position: relative;
}

.site-corner-brand {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(147, 197, 253, 0.44);
  background: rgba(2, 6, 23, 0.62);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.28);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  z-index: 3;
}

.site-corner-brand img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.site-corner-brand:hover,
.site-corner-brand:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.4);
  outline: none;
}

.official-discord-fab {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 130;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  background: linear-gradient(120deg, rgba(88, 101, 242, 0.42), rgba(37, 99, 235, 0.32));
  color: #edf3ff;
  text-decoration: none;
  font-family: "Exo 2", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.24rem 0.72rem;
  box-shadow: 0 10px 20px rgba(5, 9, 20, 0.42), 0 0 18px rgba(88, 101, 242, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.official-discord-fab:hover,
.official-discord-fab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.76);
  box-shadow: 0 14px 24px rgba(5, 9, 20, 0.5), 0 0 22px rgba(88, 101, 242, 0.4);
  outline: none;
}

.official-discord-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(680px, 82vw);
  height: 180px;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.34), rgba(59, 130, 246, 0));
  filter: blur(18px);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(59, 130, 246, 0.35);
  position: relative;
  z-index: 1;
  animation: hero-glow-pulse 4s ease-in-out infinite;
  background: linear-gradient(90deg, #e2e8f0, #93c5fd, #60a5fa, #93c5fd, #e2e8f0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0.7rem 0 0;
  color: var(--accent);
  font-size: clamp(1rem, 2.7vw, 1.36rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  animation: subtitle-fade-in 1.2s ease 0.3s both;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  backdrop-filter: blur(8px);
  animation: subtitle-fade-in 1.2s ease 0.5s both;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444, 0 0 4px #ef4444;
  animation: pulse-dot 1.5s infinite alternate;
}

.site-nav {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.36rem;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.38);
  position: relative;
  z-index: 2;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.2rem 0.82rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(147, 197, 253, 0.5);
  background: rgba(59, 130, 246, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.nav-link.active {
  border-color: rgba(147, 197, 253, 0.58);
  background: rgba(59, 130, 246, 0.22);
  color: var(--accent);
}

.content {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto 4.5rem;
}

.leaderboard-highlight {
  margin-bottom: 1.3rem;
}

.top-player-card {
  --faction-flag-bg-image: none;
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(147, 197, 253, 0.32);
  overflow: hidden;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background:
    linear-gradient(105deg, rgba(10, 16, 33, 0.95), rgba(19, 25, 43, 0.88) 48%, rgba(22, 22, 34, 0.92)),
    radial-gradient(circle at 78% 42%, rgba(59, 130, 246, 0.34), rgba(59, 130, 246, 0));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.54), 0 0 24px rgba(59, 130, 246, 0.24);
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
  animation: card-entrance 0.8s ease 0.2s both;
}

.top-player-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(59, 130, 246, 0.12) 40deg,
    transparent 80deg,
    transparent 180deg,
    rgba(147, 197, 253, 0.08) 220deg,
    transparent 260deg
  );
  animation: rotate-glow 12s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.top-player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--faction-flag-bg-image) center center / cover no-repeat;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.leaderboard-cta {
  margin-top: 0.78rem;
  display: flex;
  justify-content: flex-end;
}

.leaderboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.28rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.42);
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.24), rgba(30, 64, 175, 0.3));
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.leaderboard-button:hover,
.leaderboard-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.34);
  outline: none;
}

.top-player-card:hover,
.top-player-card:focus-visible {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(147, 197, 253, 0.74);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.58), 0 0 30px rgba(59, 130, 246, 0.32);
  outline: none;
}

.top-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.46));
  pointer-events: none;
}

.top-player-left,
.top-player-right {
  position: relative;
  z-index: 1;
}

.top-player-left {
  padding: 1.25rem 1.25rem 1rem;
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.top-faction-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.38rem;
  min-height: 28px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  border-radius: 999px;
  padding: 0.14rem 0.56rem;
  background: rgba(2, 6, 23, 0.62);
  color: var(--text-main);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faction-flag-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.45);
  flex-shrink: 0;
}

.top-player-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f59e0b;
  font-weight: 700;
}

.top-player-left h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
  text-shadow: 0 0 26px rgba(59, 130, 246, 0.28);
}

.top-player-left p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.top-player-stats {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.top-stat-card {
  min-width: 118px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 11px;
  padding: 0.62rem 0.76rem;
  background: rgba(2, 6, 23, 0.46);
  box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.06);
}

.top-stat-card span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7d6e9;
}

.top-stat-card strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 2rem;
  line-height: 1;
  font-family: "Rajdhani", sans-serif;
}

.top-player-right {
  padding: 0.85rem 1rem 0.65rem;
  display: grid;
  justify-items: end;
  align-content: space-between;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(147, 197, 253, 0.38);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(2, 6, 23, 0.64);
  color: var(--text-main);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-avatar-wrap {
  width: clamp(180px, 26vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(59, 130, 246, 0.38), rgba(59, 130, 246, 0) 68%),
    radial-gradient(circle at center, rgba(147, 197, 253, 0.2), rgba(147, 197, 253, 0) 76%);
}

.top-avatar-wrap img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  perspective: 1000px;
}

.player-card {
  --faction-flag-bg-image: none;
  position: relative;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 16px;
  background: #0f1a2b;
  overflow: hidden;
  min-height: 360px;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.56), 0 0 22px rgba(59, 130, 246, 0.18);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  animation: card-in 560ms ease forwards;
  animation-delay: calc(var(--group-delay, 0ms) + var(--item-delay, 0ms));
}

/* Shimmer scan line on player cards */
.player-card .card-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(147, 197, 253, 0.06),
    rgba(147, 197, 253, 0.12),
    rgba(147, 197, 253, 0.06),
    transparent
  );
  z-index: 10;
  pointer-events: none;
  animation: shimmer-scan 5s ease-in-out infinite;
  animation-delay: calc(var(--group-delay, 0ms) + var(--item-delay, 0ms) + 600ms);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--faction-flag-bg-image) center center / cover no-repeat;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
}

.player-card:hover,
.player-card:focus-visible {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(147, 197, 253, 0.78);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.6), 0 0 26px rgba(59, 130, 246, 0.36), 0 0 60px rgba(59, 130, 246, 0.12);
  outline: none;
}

.player-card:hover .card-shimmer {
  animation: shimmer-scan-fast 1.5s ease-in-out;
}

.player-card > .player-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 280ms ease;
  z-index: 0;
}

.player-card:hover > .player-image,
.player-card:focus-visible > .player-image {
  transform: scale(1.09);
}

.player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 34%, rgba(2, 6, 23, 0.78) 75%, rgba(2, 6, 23, 0.96) 100%),
    linear-gradient(130deg, rgba(59, 130, 246, 0.08), rgba(0, 0, 0, 0));
  z-index: 2;
  pointer-events: none;
}

.player-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1rem 1.04rem;
  z-index: 3;
  transition: transform 240ms ease;
}

.player-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  margin-top: 0.34rem;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(2, 6, 23, 0.58);
  color: #d2def1;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
}

.player-meta-row {
  margin-top: 0.34rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  flex-wrap: wrap;
}

.player-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: rgba(2, 6, 23, 0.56);
  color: #dbeafe;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.1rem 0.46rem;
}

.player-class-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.36);
}

.player-device-icon {
  width: 14px;
  height: 14px;
  color: #cfe0ff;
  flex-shrink: 0;
}

.player-card:hover .player-overlay,
.player-card:focus-visible .player-overlay {
  transform: translateY(-2px);
}

.player-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.14rem 0.56rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(147, 197, 253, 0.32);
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}

.player-name {
  margin: 0;
  margin-top: 0.44rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.66);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
  z-index: 100;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  --faction-flag-bg-image: none;
  position: relative;
  width: min(900px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.18), transparent 45%),
    radial-gradient(circle at 84% 50%, rgba(96, 165, 250, 0.14), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(30, 64, 175, 0.1), transparent 40%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(10, 16, 30, 0.99));
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(147, 197, 253, 0.08) inset,
    0 0 40px rgba(59, 130, 246, 0.15);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  transform: scale(0.92) translateY(20px);
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

/* Animated border shimmer */
.modal-panel::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(59, 130, 246, 0.15) 60deg,
    transparent 120deg,
    transparent 180deg,
    rgba(147, 197, 253, 0.1) 240deg,
    transparent 300deg
  );
  animation: rotate-glow 10s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--faction-flag-bg-image) center center / cover no-repeat;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}

.modal.open .modal-panel {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  z-index: 10;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(147, 197, 253, 0.6);
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
  outline: none;
}

.modal-left {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.modal-left img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  aspect-ratio: 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.22), rgba(2, 6, 23, 0.4) 70%),
    radial-gradient(circle at 50% 80%, rgba(30, 64, 175, 0.12), transparent 60%);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.12);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.modal.open .modal-left img {
  animation: modal-avatar-in 0.5s ease 0.15s both;
}

.modal-left img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(59, 130, 246, 0.2);
}

.modal-right {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  gap: 0.72rem;
}

.modal-right h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e2e8f0, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: modal-content-in 0.4s ease 0.2s both;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.7rem;
}

.modal-stat-box {
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(10, 18, 32, 0.9));
  padding: 0.65rem 0.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.modal-stat-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(147, 197, 253, 0.6), rgba(59, 130, 246, 0.5), transparent);
  opacity: 0;
  transition: opacity 250ms ease;
}

.modal-stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(59, 130, 246, 0.15);
}

.modal-stat-box:hover::before {
  opacity: 1;
}

.modal-stat-box span {
  display: block;
  color: var(--text-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-stat-box strong {
  display: block;
  font-size: 1.52rem;
  line-height: 1;
  margin-top: 0.13rem;
  font-family: "Rajdhani", sans-serif;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(147, 197, 253, 0.16);
  border-radius: 12px;
  padding: 0.62rem 0.8rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(10, 18, 32, 0.7));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  animation: modal-content-in 0.4s ease 0.25s both;
}

.meta-row:hover {
  transform: translateX(4px);
  border-color: rgba(147, 197, 253, 0.32);
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.7), rgba(15, 24, 40, 0.8));
}

.meta-row span {
  color: var(--text-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.meta-row strong {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
}

.modal-faction-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.34rem;
}

.modal-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  padding: 0.1rem 0.46rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--text-main);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-faction-chip .faction-flag-icon {
  width: 14px;
  height: 14px;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(88, 101, 242, 0.5);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(59, 130, 246, 0.2));
  color: #d4dbff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: modal-content-in 0.4s ease 0.35s both;
}

.discord-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.6s ease;
}

.discord-button:hover::before {
  left: 100%;
}

.discord-button:hover,
.discord-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(88, 101, 242, 0.8);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.25), 0 0 16px rgba(88, 101, 242, 0.15);
  outline: none;
}

.ops-hud {
  width: min(1480px, 100% - 2rem);
  margin: -0.4rem auto 1rem;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(14, 21, 38, 0.92), rgba(8, 14, 28, 0.95)),
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 20px rgba(59, 130, 246, 0.2);
  padding: 0.86rem 0.96rem;
  display: grid;
  gap: 0.62rem;
}

.ops-hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.ops-hud-head h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.04rem, 2vw, 1.4rem);
}

.ops-hud-right {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.ops-hud-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ops-lfg-dock {
  position: fixed;
  right: 1rem;
  top: 6.4rem;
  width: min(390px, calc(100vw - 1.2rem));
  z-index: 115;
  border: 1px solid rgba(74, 222, 128, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(8, 19, 16, 0.95), rgba(9, 14, 22, 0.96)),
    radial-gradient(circle at 80% 0%, rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(74, 222, 128, 0.11);
  padding: 0.62rem 0.68rem;
  backdrop-filter: blur(6px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.ops-lfg-dock.is-live {
  border-color: rgba(74, 222, 128, 0.4);
}

.ops-lfg-dock.is-offline {
  border-color: rgba(248, 113, 113, 0.34);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(248, 113, 113, 0.1);
}

.ops-lfg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.ops-lfg-title-wrap {
  display: grid;
  gap: 0.12rem;
}

.ops-lfg-head span {
  color: #bbf7d0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ops-lfg-head small {
  color: #9fd8b3;
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-lfg-head strong {
  color: #86efac;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
  background: rgba(21, 128, 61, 0.14);
}

.ops-lfg-list {
  margin-top: 0.46rem;
  display: grid;
  gap: 0.38rem;
  color: #d4fce1;
  font-size: 0.77rem;
}

.ops-lfg-empty {
  margin: 0;
  border: 1px dashed rgba(74, 222, 128, 0.26);
  border-radius: 9px;
  background: rgba(7, 18, 13, 0.66);
  color: #c5f4d6;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.5rem;
}

.ops-lfg-row {
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(7, 18, 13, 0.86), rgba(7, 22, 16, 0.76));
  padding: 0.4rem 0.48rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.4rem;
}

.ops-lfg-user {
  display: grid;
  gap: 0.08rem;
}

.ops-lfg-row strong {
  color: #f0fdf4;
  font-size: 0.79rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-lfg-user small {
  color: #9ed3b2;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-lfg-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 21px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.46);
  background: linear-gradient(120deg, rgba(22, 101, 52, 0.58), rgba(21, 128, 61, 0.48));
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0 0.38rem;
}

.ops-lfg-timer {
  color: #bbf7d0;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ops-hud-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(59, 130, 246, 0.14);
  color: var(--text-main);
  text-decoration: none;
  font-family: "Exo 2", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.58rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ops-hud-link:hover,
.ops-hud-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.32);
  outline: none;
}

.ops-hud-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.56rem;
}

.ops-hud-chip {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.42);
  padding: 0.56rem 0.64rem;
}

.ops-hud-chip span {
  display: block;
  color: #9eb4d3;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-hud-chip strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
}

.ops-hud-chip strong.is-online {
  color: #86efac;
}

.ops-hud-chip strong.is-offline {
  color: #fda4af;
}

.ops-hud-motd {
  margin: 0;
  border: 1px dashed rgba(147, 197, 253, 0.28);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.36);
  color: #cbdcf2;
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  padding: 0.46rem 0.62rem;
}

.faction-news {
  margin-bottom: 1rem;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(11, 17, 32, 0.94), rgba(7, 12, 24, 0.96)),
    radial-gradient(circle at 85% 0%, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  padding: 0.82rem 0.92rem;
}

.faction-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.faction-news-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.08rem, 1.85vw, 1.48rem);
}

.faction-news-head p {
  margin: 0;
  color: #9fb6d7;
  font-size: 0.78rem;
}

.faction-news-highlight {
  margin-top: 0.56rem;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.44);
  padding: 0.52rem 0.64rem;
}

.faction-news-highlight strong {
  font-size: 0.9rem;
  color: #e4eefb;
  letter-spacing: 0.02em;
}

.faction-news-list {
  margin-top: 0.56rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
}

.faction-news-item {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.42);
  padding: 0.5rem 0.58rem;
}

.faction-news-item span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  background: rgba(59, 130, 246, 0.14);
  color: #cfe3fb;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.12rem 0.46rem;
}

.faction-news-item h4 {
  margin: 0.34rem 0 0;
  color: #e6f0ff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.faction-news-item p {
  margin: 0.34rem 0 0;
  color: #b7cce7;
  font-size: 0.78rem;
  line-height: 1.45;
}

.faction-news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 0.4rem;
  border-radius: 8px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.14rem 0.48rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faction-news-link:hover,
.faction-news-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.3);
  outline: none;
}

.faction-news-empty {
  margin: 0;
  color: #bfd0e6;
  font-size: 0.85rem;
}

.faction-pulse {
  margin-bottom: 1rem;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(12, 18, 34, 0.92), rgba(8, 13, 25, 0.95));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.44);
  padding: 0.84rem 0.92rem;
}

.faction-pulse-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.faction-pulse-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.06rem, 1.8vw, 1.45rem);
}

.faction-pulse-head p {
  margin: 0;
  color: #afc4e2;
  font-size: 0.82rem;
}

.faction-pulse-grid {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.5rem;
}

.faction-pulse-card {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-left: 4px solid rgba(96, 165, 250, 0.5);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(30, 64, 175, 0.16), rgba(15, 23, 42, 0.36)),
    linear-gradient(90deg, rgba(59, 130, 246, calc(var(--intensity, 35%) / 520)), rgba(59, 130, 246, 0));
  padding: 0.54rem 0.6rem;
}

.faction-pulse-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faction-pulse-card strong .faction-flag-icon {
  width: 15px;
  height: 15px;
}

.faction-pulse-card span {
  display: block;
  margin-top: 0.16rem;
  color: #d6e2f4;
  font-size: 0.8rem;
}

.faction-pulse-card p {
  margin: 0.22rem 0 0;
  color: #a9bfdc;
  font-size: 0.75rem;
}

.faction-pulse-empty {
  margin: 0;
  color: #c4d4ea;
  font-size: 0.86rem;
}

.showcase-controls {
  margin-bottom: 0.8rem;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 14px;
  background: rgba(8, 14, 27, 0.78);
  padding: 0.64rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0.58rem;
}

.showcase-control {
  display: grid;
  gap: 0.22rem;
}

.showcase-control span {
  color: #a9bfdc;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-control input,
.showcase-control select {
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(2, 6, 23, 0.56);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  font-size: 0.92rem;
  padding: 0.34rem 0.58rem;
}

.showcase-control input:focus-visible,
.showcase-control select:focus-visible {
  outline: 1px solid rgba(147, 197, 253, 0.84);
  border-color: rgba(147, 197, 253, 0.78);
}

.leaderboard-content {
  width: min(1480px, 100% - 2rem);
  margin: 0 auto 4.5rem;
}

.war-room-panel {
  position: relative;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background:
    linear-gradient(130deg, rgba(35, 10, 14, 0.92), rgba(15, 19, 35, 0.94) 48%, rgba(9, 14, 28, 0.96)),
    radial-gradient(circle at 78% 20%, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(239, 68, 68, 0.14);
  overflow: hidden;
}

.war-room-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 113, 113, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248, 113, 113, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.28;
  pointer-events: none;
}

.war-room-header,
.war-room-metrics,
.war-room-power-rows {
  position: relative;
  z-index: 1;
}

.war-room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.war-room-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.war-room-header p {
  margin: 0.28rem 0 0;
  color: #e8ced2;
  font-size: 0.92rem;
}

.war-room-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: linear-gradient(125deg, rgba(185, 28, 28, 0.34), rgba(30, 64, 175, 0.24));
  color: #fee2e2;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  padding: 0.28rem 0.84rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.war-room-cta:hover,
.war-room-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(248, 113, 113, 0.84);
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.28);
  outline: none;
}

.war-room-metrics {
  margin-top: 0.84rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.74rem;
}

.war-metric-card {
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 12px;
  background: rgba(15, 11, 21, 0.58);
  padding: 0.72rem 0.8rem;
}

.war-metric-card span {
  display: block;
  color: #fbcaca;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.war-metric-card strong {
  display: block;
  margin-top: 0.14rem;
  color: #ffe4e6;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1;
  letter-spacing: 0.03em;
  font-family: "Rajdhani", sans-serif;
}

.war-room-power-rows {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.62rem;
}

.war-power-row {
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 11px;
  background: rgba(13, 10, 20, 0.56);
  padding: 0.6rem 0.74rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.war-power-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.war-power-faction {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  background: rgba(185, 28, 28, 0.2);
  color: #ffe4e6;
  padding: 0.16rem 0.62rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.war-power-faction .faction-flag-icon {
  width: 15px;
  height: 15px;
}

.war-power-head strong {
  color: #fecaca;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.war-power-track {
  margin-top: 0.45rem;
  height: 9px;
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.4);
  overflow: hidden;
}

.war-power-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.88), rgba(251, 191, 36, 0.74));
  animation: war-bar-load 800ms ease;
}

.war-power-row p {
  margin: 0.45rem 0 0;
  color: #f8d0d6;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.war-room-empty {
  margin: 0;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 11px;
  background: rgba(13, 10, 20, 0.56);
  padding: 0.8rem;
  color: #f8d0d6;
  font-size: 0.9rem;
}

.leaderboard-top-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.podium-card {
  position: relative;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(15, 22, 38, 0.94));
  overflow: hidden;
  min-height: 258px;
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.podium-card:hover,
.podium-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55), 0 0 18px rgba(59, 130, 246, 0.3);
  outline: none;
}

.podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(59, 130, 246, 0.18), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(147, 197, 253, 0.18), transparent 30%);
  pointer-events: none;
}

.podium-rank {
  position: absolute;
  top: 0.72rem;
  right: 0.8rem;
  min-width: 2.4rem;
  min-height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.97rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(147, 197, 253, 0.45);
  background: rgba(2, 6, 23, 0.62);
  color: var(--accent);
  z-index: 2;
}

.podium-card.rank-1 .podium-rank {
  border-color: rgba(245, 158, 11, 0.75);
  color: #fbbf24;
}

.podium-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: #0a1020;
  position: relative;
  z-index: 1;
}

.podium-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.34rem;
}

.podium-title {
  margin: 0;
  font-size: clamp(1.4rem, 1.65vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Rajdhani", sans-serif;
}

.podium-meta {
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.podium-stat {
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 9px;
  padding: 0.34rem 0.56rem;
  background: rgba(2, 6, 23, 0.4);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.podium-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.podium-class-icon,
.podium-device-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.podium-class-icon {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.36);
}

.podium-device-icon {
  color: #cfe0ff;
}

.leaderboard-panel {
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.92), rgba(9, 15, 28, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54);
}

.leaderboard-header,
.leaderboard-row {
  display: grid;
  grid-template-columns: 96px minmax(280px, 1.35fr) minmax(230px, 1.3fr) minmax(150px, 0.9fr) 104px 132px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.96rem 1.15rem;
}

.leaderboard-header {
  border-bottom: 1px solid rgba(147, 197, 253, 0.16);
  background: rgba(2, 6, 23, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.leaderboard-row {
  border-bottom: 1px solid rgba(147, 197, 253, 0.09);
  background: rgba(10, 18, 33, 0.4);
  min-height: 90px;
  transition: background 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.leaderboard-row:hover,
.leaderboard-row:focus-visible {
  background: rgba(30, 64, 175, 0.16);
  transform: translateX(3px);
  outline: none;
}

.leader-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.36);
  font-weight: 800;
  font-size: 0.96rem;
}

.leader-rank.rank-1 {
  border-color: rgba(245, 158, 11, 0.82);
  color: #fbbf24;
}

.leader-player {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.leader-row-main {
  display: grid;
  gap: 0.38rem;
}

.leader-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.leader-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 26px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.28);
  color: #d6e4f8;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.16rem 0.5rem;
}

.leader-class-icon,
.leader-device-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.leader-class-icon {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.34);
}

.leader-device-icon {
  color: #cfe0ff;
}

.leader-mobile-only {
  display: none;
}

.leader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.24);
  background: #0a1020;
  flex-shrink: 0;
}

.leader-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.08rem;
}

.leader-discord {
  display: block;
  margin-top: 0.12rem;
  color: #9fb6d8;
  font-size: 0.8rem;
}

.leader-country,
.leader-kd,
.leader-level {
  font-size: 1rem;
  color: var(--text-main);
}

.leader-level {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.leader-level strong {
  color: #c1daff;
  font-weight: 800;
}

.leader-faction-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.leader-faction {
  display: inline-flex;
  align-items: center;
}

.leader-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 34px;
  padding: 0.26rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.32);
  background: rgba(59, 130, 246, 0.14);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leader-faction-chip .faction-flag-icon {
  width: 18px;
  height: 18px;
}

.level-badge {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.podium-level {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.leaderboard-status {
  margin-bottom: 0.9rem;
  color: var(--text-soft);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.leaderboard-warroom-link {
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-end;
}

body.war-room-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 28, 28, 0.26), transparent 35%),
    radial-gradient(circle at 80% 8%, rgba(30, 64, 175, 0.2), transparent 34%),
    #080d18;
}

body.war-room-page::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 68, 68, 0.2), transparent 34%),
    radial-gradient(circle at 75% 14%, rgba(59, 130, 246, 0.18), transparent 30%),
    radial-gradient(circle at 64% 86%, rgba(248, 113, 113, 0.14), transparent 34%);
}

body.war-room-page::after {
  background:
    linear-gradient(90deg, rgba(248, 113, 113, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(147, 197, 253, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

.warroom-content {
  width: min(1480px, 100% - 2rem);
  margin: 0 auto 4.5rem;
  display: grid;
  gap: 1rem;
}

.warroom-intro {
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(22, 11, 20, 0.94), rgba(14, 18, 34, 0.94)),
    radial-gradient(circle at 78% 20%, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54), 0 0 24px rgba(239, 68, 68, 0.16);
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.warroom-intro h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.warroom-intro p {
  margin: 0.35rem 0 0;
  color: #f4d4d8;
  max-width: 76ch;
}

.warroom-intro-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.warroom-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.48);
  background: linear-gradient(120deg, rgba(185, 28, 28, 0.34), rgba(30, 64, 175, 0.28));
  color: #fee2e2;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding: 0.24rem 0.82rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.warroom-link.secondary {
  border-color: rgba(147, 197, 253, 0.4);
  background: rgba(30, 64, 175, 0.2);
  color: #dbeafe;
}

.warroom-link:hover,
.warroom-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(248, 113, 113, 0.82);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.28);
  outline: none;
}

.warroom-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.warroom-card {
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 14px;
  background: rgba(16, 10, 20, 0.64);
  padding: 0.72rem 0.82rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.warroom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), 0 0 18px rgba(248, 113, 113, 0.2);
}

.warroom-card span {
  display: block;
  color: #fbcaca;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warroom-card strong {
  display: block;
  margin-top: 0.14rem;
  color: #ffe4e6;
  font-size: clamp(1.22rem, 2.8vw, 1.7rem);
  line-height: 1;
  font-family: "Rajdhani", sans-serif;
}

.warroom-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.86rem;
}

.warroom-panel,
.warroom-game-info,
.warroom-points-note {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.92), rgba(9, 15, 28, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  padding: 0.95rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.warroom-panel:hover,
.warroom-game-info:hover,
.warroom-points-note:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.38);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54), 0 0 20px rgba(147, 197, 253, 0.2);
}

.warroom-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.warroom-panel-head h3,
.warroom-game-info h3,
.warroom-points-note h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.warroom-panel-head p,
.warroom-sync,
.warroom-points-note p {
  margin: 0;
  color: #c8d8ed;
}

.warroom-power-rows {
  margin-top: 0.78rem;
  display: grid;
  gap: 0.58rem;
}

.warroom-row {
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 11px;
  background: rgba(16, 10, 20, 0.56);
  padding: 0.58rem 0.68rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warroom-row:hover {
  transform: translateX(4px);
  border-color: rgba(248, 113, 113, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.warroom-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.warroom-row-faction {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.36);
  background: rgba(185, 28, 28, 0.2);
  color: #ffe4e6;
  padding: 0.14rem 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.warroom-row-faction .faction-flag-icon {
  width: 15px;
  height: 15px;
}

.warroom-row-head strong {
  color: #fecaca;
  font-size: 0.88rem;
}

.warroom-row-track {
  margin-top: 0.42rem;
  height: 9px;
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.36);
  overflow: hidden;
}

.warroom-row-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.88), rgba(251, 191, 36, 0.74));
  animation: warroom-bar-load 900ms ease;
}

.warroom-row p {
  margin: 0.4rem 0 0;
  color: #f7d2d7;
  font-size: 0.8rem;
}

.warroom-operators {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.46rem;
}

.warroom-operator-row {
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 11px;
  background: rgba(8, 15, 30, 0.62);
  padding: 0.46rem 0.56rem;
  display: grid;
  grid-template-columns: 48px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warroom-operator-row:hover {
  transform: translateX(4px);
  border-color: rgba(147, 197, 253, 0.36);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.warroom-operator-row img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.25);
  background: #091024;
}

.warroom-operator-rank {
  min-width: 2.5rem;
  min-height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(127, 29, 29, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fecaca;
}

.warroom-operator-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.98rem;
}

.warroom-operator-row p {
  margin: 0.08rem 0 0;
  color: #bfd2eb;
  font-size: 0.76rem;
}

.warroom-operator-kd {
  font-size: 0.82rem;
  color: #dbeafe;
  font-weight: 700;
}

.warroom-game-info h3 {
  margin-bottom: 0.78rem;
}

.warroom-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.warroom-info-card {
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 12px;
  background: rgba(8, 15, 30, 0.58);
  padding: 0.72rem;
}

.warroom-info-card h4 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.warroom-info-card p {
  margin: 0.42rem 0 0;
  color: #c9d8ec;
  font-size: 0.9rem;
}

.warroom-loadout {
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.92), rgba(9, 15, 28, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  padding: 0.95rem;
  display: grid;
  gap: 0.72rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.warroom-loadout:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54), 0 0 20px rgba(147, 197, 253, 0.18);
}

.warroom-loadout-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.warroom-loadout-head p {
  margin: 0.24rem 0 0;
  color: #c8d8ed;
}

.warroom-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.warroom-control-card {
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 12px;
  background: linear-gradient(130deg, rgba(127, 29, 29, 0.18), rgba(8, 15, 30, 0.72));
  padding: 0.62rem;
}

.warroom-control-card h4 {
  margin: 0;
  color: #fecaca;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.warroom-control-card p {
  margin: 0.26rem 0 0;
  color: #dbe8f8;
  font-size: 0.86rem;
}

.warroom-class-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.58rem;
}

.warroom-class-card {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 12px;
  background: rgba(8, 15, 30, 0.62);
  padding: 0.56rem;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.28rem;
}

.warroom-class-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(10, 16, 32, 0.9);
}

.warroom-class-card h4 {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #eff6ff;
}

.warroom-class-card p {
  margin: 0;
  font-size: 0.74rem;
  color: #bfd2eb;
}

.warroom-points-note p {
  margin-top: 0.45rem;
}

.warroom-map-section {
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(18, 10, 19, 0.94), rgba(12, 17, 34, 0.95)),
    radial-gradient(circle at 88% 14%, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.52), 0 0 20px rgba(248, 113, 113, 0.16);
  padding: 0.92rem;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.warroom-map-section:hover {
  border-color: rgba(248, 113, 113, 0.52);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.56), 0 0 24px rgba(248, 113, 113, 0.24);
}

.warroom-map-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.warroom-map-head p {
  margin: 0.28rem 0 0;
  color: #e7ced3;
}

.warroom-map-frame {
  --mx: 50%;
  --my: 50%;
  position: relative;
  margin-top: 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  background: #070d18;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6);
}

.warroom-map-image {
  width: 100%;
  display: block;
  transform-origin: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.warroom-map-discord {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.58);
  background: linear-gradient(120deg, rgba(30, 64, 175, 0.86), rgba(59, 130, 246, 0.78));
  color: #eff6ff;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.2rem 0.62rem;
  box-shadow: 0 8px 20px rgba(3, 9, 21, 0.5);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.warroom-map-discord:hover,
.warroom-map-discord:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(191, 219, 254, 0.92);
  box-shadow: 0 10px 24px rgba(3, 9, 21, 0.55), 0 0 18px rgba(59, 130, 246, 0.42);
  outline: none;
}

.warroom-map-frame:hover .warroom-map-image {
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.06);
}

.warroom-map-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(248, 113, 113, 0.2), rgba(248, 113, 113, 0) 24%),
    linear-gradient(180deg, rgba(3, 8, 20, 0.04), rgba(3, 8, 20, 0.44));
  pointer-events: none;
}

.warroom-hotspots {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.warroom-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: default;
  display: inline-grid;
  justify-items: center;
  gap: 0.16rem;
}

.warroom-hotspot-ping {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(254, 202, 202, 0.9);
  background: radial-gradient(circle, rgba(248, 113, 113, 0.95), rgba(185, 28, 28, 0.78));
  box-shadow: 0 0 0 calc((var(--strength, 35%) / 100) * 10px) rgba(248, 113, 113, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.warroom-hotspot-tag {
  min-height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(254, 202, 202, 0.56);
  background: rgba(127, 29, 29, 0.7);
  color: #fff1f2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.06rem 0.34rem;
  line-height: 1.2;
}

.warroom-hotspot:hover .warroom-hotspot-ping,
.warroom-hotspot:focus-visible .warroom-hotspot-ping {
  transform: scale(1.16);
  border-color: rgba(255, 241, 242, 1);
  box-shadow: 0 0 0 9px rgba(248, 113, 113, 0.28), 0 0 16px rgba(248, 113, 113, 0.5);
}

.warroom-hotspot:focus-visible {
  outline: none;
}

.warroom-hotspot.inactive {
  opacity: 0.5;
}

.warroom-hotspot.inactive .warroom-hotspot-ping {
  border-color: rgba(148, 163, 184, 0.75);
  background: radial-gradient(circle, rgba(100, 116, 139, 0.9), rgba(51, 65, 85, 0.78));
  box-shadow: 0 0 0 7px rgba(51, 65, 85, 0.2);
}

.warroom-hotspot-info {
  margin: 0.54rem 0 0;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 12px;
  background: rgba(8, 15, 30, 0.7);
  padding: 0.56rem 0.68rem;
}

.warroom-hotspot-info strong {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  font-size: 0.9rem;
  color: #eef2ff;
}

.warroom-hotspot-info .faction-flag-icon {
  width: 15px;
  height: 15px;
}

.warroom-hotspot-info p {
  margin: 0.22rem 0 0;
  color: #d8e4f3;
  font-size: 0.84rem;
}

.warroom-map-status {
  margin: 0.5rem 0 0;
  color: #d4e0f0;
  font-size: 0.9rem;
}

.warroom-map-badges {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.52rem;
}

.warroom-map-badge {
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(30, 64, 175, 0.16), rgba(127, 29, 29, 0.2)),
    linear-gradient(90deg, rgba(248, 113, 113, 0.12), rgba(248, 113, 113, 0));
  padding: 0.58rem 0.62rem;
  border-left: 4px solid rgba(248, 113, 113, 0.35);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.warroom-map-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.44);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.warroom-map-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  color: #fef2f2;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.warroom-map-badge .faction-flag-icon {
  width: 15px;
  height: 15px;
}

.warroom-map-badge span {
  display: block;
  margin-top: 0.24rem;
  color: #d6e1f2;
  font-size: 0.78rem;
}

.warroom-empty {
  margin: 0;
  border: 1px solid rgba(248, 113, 113, 0.24);
  border-radius: 11px;
  background: rgba(16, 10, 20, 0.56);
  padding: 0.76rem;
  color: #f8d0d6;
}

.transfers-content {
  width: min(1480px, 100% - 2rem);
  margin: 0 auto 4.5rem;
  display: grid;
  gap: 0.9rem;
}

.transfer-headline {
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(14, 21, 40, 0.94), rgba(10, 14, 27, 0.96));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.46);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0.8rem;
  align-items: center;
}

.transfer-headline h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.transfer-headline p {
  margin: 0.3rem 0 0;
  color: #c7d8ec;
}

.transfer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.transfer-metric {
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.5);
  padding: 0.56rem 0.62rem;
  display: grid;
  gap: 0.15rem;
}

.transfer-metric span {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #c7d8ec;
}

.transfer-metric strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.35rem;
}

.transfer-ticker {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  overflow: hidden;
  position: relative;
}

.transfer-ticker::before,
.transfer-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 1;
  pointer-events: none;
}

.transfer-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88), transparent);
}

.transfer-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(2, 6, 23, 0.88), transparent);
}

.transfer-ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.56rem 1rem;
  animation: transfer-ticker-scroll 24s linear infinite;
}

.transfer-ticker-track span {
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d6e2f2;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.72rem;
}

.transfer-card {
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(12, 18, 34, 0.95), rgba(8, 12, 25, 0.95)),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 40%);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.44);
  padding: 0.8rem;
  display: grid;
  gap: 0.56rem;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  animation: transfer-card-in 520ms ease forwards;
  animation-delay: var(--transfer-delay, 0ms);
}

.transfer-card:hover {
  border-color: rgba(147, 197, 253, 0.58);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.22);
}

.transfer-card.status-official {
  border-color: rgba(16, 185, 129, 0.4);
}

.transfer-card.status-agreed {
  border-color: rgba(250, 204, 21, 0.4);
}

.transfer-card.status-rumor {
  border-color: rgba(147, 197, 253, 0.34);
}

.transfer-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.44rem;
}

.transfer-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.12rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(59, 130, 246, 0.16);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.status-official .transfer-status-pill {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.18);
}

.status-agreed .transfer-status-pill {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.16);
}

.transfer-date {
  font-size: 0.74rem;
  color: #c7d8ec;
}

.transfer-player-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.transfer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.32);
  background: #0a1020;
  flex-shrink: 0;
}

.transfer-player-row h3 {
  margin: 0;
  font-size: 1.1rem;
}

.transfer-player-row p {
  margin: 0.08rem 0 0;
  font-size: 0.82rem;
  color: #bfd2e8;
}

.transfer-lane {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
}

.transfer-faction-block {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.52);
  padding: 0.4rem;
  display: grid;
  gap: 0.2rem;
}

.transfer-faction-block-from {
  border-color: rgba(248, 113, 113, 0.34);
  background: linear-gradient(130deg, rgba(127, 29, 29, 0.26), rgba(2, 6, 23, 0.56));
}

.transfer-faction-block-to {
  border-color: rgba(74, 222, 128, 0.38);
  background: linear-gradient(130deg, rgba(20, 83, 45, 0.26), rgba(2, 6, 23, 0.56));
}

.transfer-faction-block > span {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #afc6e0;
}

.transfer-faction-wrap {
  display: inline-flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.transfer-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(59, 130, 246, 0.14);
  padding: 0.12rem 0.56rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.transfer-arrow {
  font-size: 1.05rem;
  color: #93c5fd;
  animation: transfer-arrow-pulse 1500ms ease-in-out infinite;
}

.transfer-direction-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.transfer-direction {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.08rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.transfer-direction-out {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.34);
}

.transfer-direction-in {
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.42);
  background: rgba(20, 83, 45, 0.34);
}

.transfer-meta-row {
  display: flex;
  gap: 0.32rem;
  align-items: baseline;
  font-size: 0.86rem;
}

.transfer-meta-row strong {
  color: #f8f2bf;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.69rem;
}

.transfer-note {
  margin: 0;
  font-size: 0.86rem;
  color: #d2dfef;
}

.transfer-card-empty {
  grid-column: 1 / -1;
  opacity: 1;
  transform: none;
  animation: none;
}

.transfer-card-empty h3 {
  margin: 0;
  font-size: 1.05rem;
}

.transfer-card-empty p {
  margin: 0;
  color: #c2d5ee;
}

.hidden {
  display: none !important;
}

.admin-content {
  width: min(1480px, 100% - 2rem);
  margin: 0 auto 4.5rem;
  display: grid;
  gap: 1.1rem;
}

.admin-card {
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 20, 36, 0.92), rgba(9, 15, 28, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54);
  padding: 1.05rem;
}

.admin-card h2 {
  margin: 0;
  font-size: clamp(1.36rem, 2.1vw, 1.9rem);
  letter-spacing: 0.02em;
  font-family: "Rajdhani", sans-serif;
}

.admin-card p {
  margin: 0.34rem 0 0;
  color: #c2d5ee;
}

.admin-login-form {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
  max-width: 460px;
}

.admin-login-form label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4d6ed;
}

.admin-login-form input,
.admin-faction-input,
.admin-class-select,
.admin-device-select,
.admin-level-select,
.admin-kd-input {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.62);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  font-size: 0.95rem;
  padding: 0.38rem 0.66rem;
}

.admin-bot-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.44rem;
  max-width: 860px;
}

.admin-bot-grid label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4d6ed;
}

.admin-bot-input,
.admin-bot-textarea {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.62);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  font-size: 0.9rem;
  padding: 0.34rem 0.6rem;
}

.admin-bot-textarea {
  min-height: 84px;
  resize: vertical;
}

.admin-bot-input:focus-visible,
.admin-bot-textarea:focus-visible {
  outline: 1px solid rgba(147, 197, 253, 0.85);
  border-color: rgba(147, 197, 253, 0.8);
}

.admin-login-form input:focus-visible,
.admin-faction-input:focus-visible,
.admin-class-select:focus-visible,
.admin-device-select:focus-visible,
.admin-level-select:focus-visible,
.admin-kd-input:focus-visible {
  outline: 1px solid rgba(147, 197, 253, 0.85);
  border-color: rgba(147, 197, 253, 0.8);
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(147, 197, 253, 0.44);
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.28), rgba(30, 64, 175, 0.3));
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
  cursor: pointer;
  padding: 0.24rem 0.84rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.admin-button:hover,
.admin-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.74);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
  outline: none;
}

.admin-button.secondary {
  background: rgba(59, 130, 246, 0.12);
}

.admin-button.danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.35);
}

.admin-panel {
  display: grid;
  gap: 0.84rem;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.admin-status {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #c2d5ee;
}

.admin-status.error {
  color: #fca5a5;
}

.admin-table-wrap {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 14px;
  overflow: hidden;
}

.admin-weekly-generator {
  position: relative;
  overflow: hidden;
}

.admin-weekly-generator::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0) 70%);
  pointer-events: none;
}

.admin-weekly-controls {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.44rem;
  max-width: 880px;
}

.admin-weekly-controls label,
.admin-weekly-message-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4d6ed;
}

.admin-weekly-message-label {
  margin-top: 0.86rem;
  display: block;
}

.admin-weekly-board {
  margin-top: 0.86rem;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 16px;
  padding: 0.86rem;
  display: grid;
  gap: 0.72rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0) 42%),
    radial-gradient(circle at 88% 8%, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0) 38%),
    linear-gradient(148deg, rgba(4, 10, 26, 0.92), rgba(10, 18, 37, 0.96));
}

.admin-weekly-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.admin-weekly-board-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.16rem, 1.9vw, 1.56rem);
  letter-spacing: 0.03em;
}

.admin-weekly-board-head p {
  margin: 0.08rem 0 0;
  color: #c5d7ee;
  font-size: 0.84rem;
}

.admin-weekly-board-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.44);
  background: rgba(127, 29, 29, 0.36);
  color: #fecaca;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.1rem 0.56rem;
}

.admin-weekly-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.66rem;
}

.admin-weekly-podium-card {
  position: relative;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 14px;
  padding: 0.68rem;
  background: linear-gradient(155deg, rgba(9, 14, 30, 0.9), rgba(12, 20, 38, 0.82));
  display: grid;
  justify-items: center;
  gap: 0.32rem;
  min-height: 234px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.admin-weekly-podium-card.rank-1 {
  border-color: rgba(251, 191, 36, 0.48);
  background: linear-gradient(155deg, rgba(33, 23, 7, 0.92), rgba(20, 15, 8, 0.82));
}

.admin-weekly-podium-card.rank-2 {
  border-color: rgba(148, 163, 184, 0.5);
}

.admin-weekly-podium-card.rank-3 {
  border-color: rgba(251, 146, 60, 0.48);
}

.admin-weekly-rank {
  position: absolute;
  top: 0.52rem;
  right: 0.52rem;
  min-width: 2.2rem;
  min-height: 1.66rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.64);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-weekly-avatar {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.44);
  background: #0a1020;
  margin-top: 0.1rem;
}

.admin-weekly-podium-card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.admin-weekly-podium-card p {
  margin: 0;
  font-size: 0.8rem;
  color: #d6e4f6;
}

.admin-weekly-faction-wrap {
  display: inline-flex;
  align-items: center;
}

.admin-weekly-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(30, 64, 175, 0.25);
  color: #dbeafe;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.08rem 0.46rem;
}

.admin-weekly-faction-chip .faction-flag-icon {
  width: 14px;
  height: 14px;
}

.admin-weekly-stats {
  margin-top: 0.16rem;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.admin-weekly-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: rgba(2, 6, 23, 0.66);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7e7fb;
  padding: 0 0.5rem;
}

.admin-weekly-list {
  display: grid;
  gap: 0.42rem;
}

.admin-weekly-row {
  display: grid;
  grid-template-columns: 56px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.56rem;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 12px;
  padding: 0.44rem 0.5rem;
  background: rgba(6, 11, 25, 0.72);
}

.admin-weekly-row-rank {
  min-height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-weekly-row-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.32);
  background: #0a1020;
}

.admin-weekly-row-main {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.admin-weekly-row-main strong {
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-weekly-row-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  color: #cedff4;
  font-size: 0.73rem;
}

.admin-weekly-row-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
}

.admin-weekly-row-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: rgba(2, 6, 23, 0.58);
  color: #d9e7fa;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.5rem;
}

.admin-weekly-empty {
  margin: 0;
  min-height: 164px;
  border: 1px dashed rgba(147, 197, 253, 0.34);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.52);
  display: grid;
  align-content: center;
  gap: 0.26rem;
  text-align: center;
  padding: 0.9rem;
}

.admin-weekly-empty h3 {
  margin: 0;
}

.admin-weekly-empty p {
  margin: 0;
  color: #bfd2ea;
}

.admin-row {
  display: grid;
  grid-template-columns: 108px minmax(220px, 1.2fr) minmax(170px, 1fr) minmax(140px, 0.9fr) minmax(228px, 1.2fr) 124px 124px 124px;
  align-items: center;
  gap: 0.74rem;
  padding: 0.74rem 0.88rem;
  border-bottom: 1px solid rgba(147, 197, 253, 0.1);
  background: rgba(10, 18, 33, 0.42);
}

.admin-class-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.34rem;
}

.admin-class-stack .admin-class-select {
  min-height: 38px;
  font-size: 0.82rem;
  padding: 0.26rem 0.4rem;
}

.admin-row:not(.admin-row-head) {
  cursor: default;
}

.admin-row.dragging {
  opacity: 0.55;
}

.admin-row.drag-over {
  outline: 1px dashed rgba(147, 197, 253, 0.82);
  outline-offset: -4px;
  background: rgba(30, 64, 175, 0.2);
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-row-head {
  background: rgba(2, 6, 23, 0.58);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bfd3ea;
  font-weight: 700;
}

.admin-order-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
}

.admin-rank-pill {
  min-width: 2.9rem;
  min-height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.5);
  color: #d3e2f5;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.admin-drag-handle {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  background: rgba(59, 130, 246, 0.12);
  color: #bfd7f5;
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  user-select: none;
  cursor: grab;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-player-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.admin-avatar {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(147, 197, 253, 0.3);
  background: #0a1020;
  flex-shrink: 0;
}

.admin-player-cell strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.admin-faction-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-faction-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: rgba(59, 130, 246, 0.14);
  padding: 0.16rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-faction-chip .faction-flag-icon {
  width: 16px;
  height: 16px;
}

.admin-country {
  font-size: 0.92rem;
  color: #d6e3f4;
}

.admin-transfer-wrap {
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 14px;
  overflow: hidden;
}

.admin-transfer-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr) minmax(130px, 0.8fr) minmax(130px, 0.7fr) minmax(120px, 0.6fr) minmax(180px, 1.2fr) 108px;
  align-items: center;
  gap: 0.54rem;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid rgba(147, 197, 253, 0.1);
  background: rgba(10, 18, 33, 0.42);
}

.admin-transfer-row:last-child {
  border-bottom: 0;
}

.admin-transfer-row-head {
  background: rgba(2, 6, 23, 0.58);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bfd3ea;
  font-weight: 700;
}

.admin-transfer-input,
.admin-transfer-select {
  min-height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(147, 197, 253, 0.34);
  background: rgba(2, 6, 23, 0.62);
  color: var(--text-main);
  font-family: "Exo 2", sans-serif;
  font-size: 0.86rem;
  padding: 0.3rem 0.5rem;
  width: 100%;
}

.admin-transfer-player-wrap {
  display: grid;
  gap: 0.24rem;
}

.admin-transfer-player-hint {
  color: #9fb6d0;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
}

.admin-transfer-has-player .admin-transfer-player {
  border-color: rgba(74, 222, 128, 0.62);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.26) inset;
}

.admin-transfer-input:focus-visible,
.admin-transfer-select:focus-visible {
  outline: 1px solid rgba(147, 197, 253, 0.85);
  border-color: rgba(147, 197, 253, 0.8);
}

.admin-transfer-delete {
  min-height: 36px;
  width: 100%;
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
}

.admin-transfer-empty {
  margin: 0;
  padding: 0.8rem;
  color: #c2d5ee;
  font-size: 0.9rem;
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift-light {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes ambient-breathe {
  0%, 100% {
    opacity: 0.85;
    filter: blur(12px) brightness(1);
  }
  50% {
    opacity: 1;
    filter: blur(14px) brightness(1.15);
  }
}

@keyframes hero-glow-pulse {
  0%, 100% {
    background-position: 0% center;
    filter: brightness(1);
  }
  50% {
    background-position: 100% center;
    filter: brightness(1.1);
  }
}

@keyframes subtitle-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes card-entrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes rotate-glow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer-scan {
  0%, 100% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 200%;
    opacity: 1;
  }
  51% {
    opacity: 0;
  }
}

@keyframes shimmer-scan-fast {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    left: 200%;
    opacity: 0;
  }
}

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

@keyframes float-orb {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-8px) translateX(-8px);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-16px) translateX(6px);
    opacity: 0.5;
  }
}

@keyframes nav-glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.15);
  }
}

@keyframes stat-count-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modal-avatar-in {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(12px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes modal-content-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes war-bar-load {
  from {
    width: 0;
  }
}

@keyframes warroom-bar-load {
  from {
    width: 0;
  }
}

@keyframes transfer-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes transfer-arrow-pulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.75;
  }
  50% {
    transform: translateX(3px);
    opacity: 1;
  }
}

@keyframes transfer-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── Floating Orbs ── */
.floating-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
  animation: float-orb var(--duration, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.floating-orb:nth-child(1) {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.08);
  top: 10%;
  left: 5%;
  --duration: 16s;
  --delay: 0s;
}

.floating-orb:nth-child(2) {
  width: 200px;
  height: 200px;
  background: rgba(147, 197, 253, 0.06);
  top: 60%;
  right: 8%;
  --duration: 20s;
  --delay: -4s;
}

.floating-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: rgba(96, 165, 250, 0.05);
  bottom: 15%;
  left: 40%;
  --duration: 18s;
  --delay: -8s;
}

/* ── Enhanced Nav ── */
.site-nav {
  animation: nav-glow 6s ease-in-out infinite;
}

/* ── Top Stat Card animation ── */
.top-stat-card strong {
  animation: stat-count-in 0.6s ease 0.5s both;
}

/* ── Enhanced leaderboard button ── */
.leaderboard-button {
  position: relative;
  overflow: hidden;
}

.leaderboard-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(147, 197, 253, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.leaderboard-button:hover::before {
  left: 100%;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  margin-top: 2rem;
  padding: 1.8rem 1.25rem;
  border-top: 1px solid rgba(147, 197, 253, 0.14);
  text-align: center;
  color: #7b93b5;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.4),
    rgba(147, 197, 253, 0.5),
    rgba(59, 130, 246, 0.4),
    transparent
  );
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #a3b8d4;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.footer-links {
  display: inline-flex;
  gap: 1.2rem;
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #8ba3c0;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .hero {
    min-height: 26vh;
    padding-top: 3.2rem;
  }

  .site-corner-brand {
    top: 0.7rem;
    left: 0.7rem;
    width: 42px;
    height: 42px;
  }

  .official-discord-fab {
    top: 0.66rem;
    right: 0.66rem;
    min-height: 36px;
    padding: 0.22rem 0.56rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .official-discord-icon {
    width: 16px;
    height: 16px;
  }

  .content {
    width: min(1180px, 100% - 1rem);
  }

  .site-nav {
    width: min(380px, 100% - 0.6rem);
    gap: 0.4rem;
    padding: 0.4rem;
    justify-content: center;
  }

  .ops-hud {
    width: min(1480px, 100% - 1rem);
    margin-top: -0.2rem;
    padding: 0.72rem;
  }

  .ops-hud-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-hud-right {
    width: 100%;
    justify-content: flex-start;
  }

  .ops-lfg-dock {
    top: auto;
    bottom: 0.8rem;
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    width: 100%;
    max-width: calc(100vw - 1rem);
  }

  .ops-hud-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faction-pulse-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .faction-pulse-grid {
    grid-template-columns: 1fr;
  }

  .faction-news-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .faction-news-list {
    grid-template-columns: 1fr;
  }

  .showcase-controls {
    grid-template-columns: 1fr;
  }

  .leaderboard-content {
    width: min(1480px, 100% - 1rem);
  }

  .warroom-content {
    width: min(1480px, 100% - 1rem);
  }

  .transfers-content {
    width: min(1480px, 100% - 1rem);
  }

  .transfer-headline {
    grid-template-columns: 1fr;
  }

  .transfer-metrics {
    grid-template-columns: 1fr;
  }

  .transfer-grid {
    grid-template-columns: 1fr;
  }

  .transfer-ticker-track {
    gap: 1.25rem;
    padding: 0.5rem 0.72rem;
  }

  .transfer-ticker-track span {
    font-size: 0.7rem;
  }

  .leaderboard-warroom-link {
    justify-content: stretch;
  }

  .leaderboard-warroom-link .leaderboard-button {
    width: 100%;
  }

  .warroom-intro {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .warroom-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .warroom-layout {
    grid-template-columns: 1fr;
  }

  .warroom-map-badges {
    grid-template-columns: 1fr;
  }

  .warroom-map-discord {
    top: 0.48rem;
    right: 0.48rem;
    min-height: 30px;
    font-size: 0.66rem;
    padding: 0.16rem 0.48rem;
  }

  .warroom-hotspot-ping {
    width: 14px;
    height: 14px;
  }

  .warroom-hotspot-tag {
    font-size: 0.56rem;
    padding: 0.04rem 0.28rem;
  }

  .warroom-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .warroom-info-grid {
    grid-template-columns: 1fr;
  }

  .warroom-controls-grid {
    grid-template-columns: 1fr;
  }

  .warroom-class-grid {
    grid-template-columns: 1fr 1fr;
  }

  .warroom-operator-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .warroom-operator-rank {
    display: none;
  }

  .war-room-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .war-room-metrics {
    grid-template-columns: 1fr;
    gap: 0.54rem;
  }

  .admin-content {
    width: min(1480px, 100% - 1rem);
  }

  .admin-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .admin-order-cell {
    justify-content: flex-start;
  }

  .admin-row-head {
    display: none;
  }

  .admin-transfer-row {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .admin-transfer-row-head {
    display: none;
  }

  .admin-player-cell {
    margin-bottom: 0.12rem;
  }

  .admin-faction-input,
  .admin-class-select,
  .admin-device-select,
  .admin-level-select,
  .admin-kd-input {
    width: 100%;
  }

  .admin-weekly-board-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-weekly-podium {
    grid-template-columns: 1fr;
  }

  .admin-weekly-row {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
  }

  .admin-weekly-row-avatar {
    display: none;
  }

  .admin-weekly-row-stats {
    grid-column: 2;
    justify-self: start;
  }

  .leaderboard-top-three {
    grid-template-columns: 1fr;
  }

  .podium-card {
    grid-template-columns: 96px 1fr;
    min-height: 172px;
  }

  .leaderboard-header {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 44px 1fr;
    gap: 0.7rem;
    align-items: start;
  }

  .leader-row-main {
    display: grid;
    gap: 0.48rem;
  }

  .leader-row-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .leader-detail-chip {
    border: 1px solid rgba(147, 197, 253, 0.14);
    border-radius: 8px;
    padding: 0.22rem 0.38rem;
    font-size: 0.76rem;
    color: #cfddf1;
    background: rgba(2, 6, 23, 0.24);
  }

  .leader-mobile-only {
    display: inline-flex;
  }

  .leader-faction,
  .leader-country,
  .leader-kd,
  .leader-level {
    display: none;
  }

  .top-player-card {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .top-player-right {
    justify-items: center;
    padding-top: 0;
    gap: 0.6rem;
  }

  .top-avatar-wrap {
    width: min(68vw, 260px);
  }

  .country-badge {
    justify-self: end;
  }

  .players-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
  }

  .player-card {
    min-height: 300px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    padding-top: 2.6rem;
  }

  .modal-stats {
    grid-template-columns: 1fr 1fr;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
  }
}
