* {
  box-sizing: border-box;
}

:root {
  --bg: #040406;
  --bg-soft: #0b0b10;
  --panel: rgba(18, 18, 25, 0.84);
  --panel-solid: #121219;
  --panel-light: rgba(255, 255, 255, 0.055);
  --text: #f4f4f7;
  --muted: #a3a3b0;
  --line: rgba(255, 255, 255, 0.12);
  --danger: #ff263d;
  --danger-2: #ff6a00;
  --green: #50ff75;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(90deg, white 1px, transparent 1px),
    linear-gradient(white 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
  animation: gridDrift 34s linear infinite;
}

.background-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(20px);
  opacity: 0.42;
}

.glow-one {
  left: -180px;
  top: -160px;
  background: radial-gradient(circle, rgba(255, 38, 61, 0.55), transparent 68%);
  animation: glowFloat 16s ease-in-out infinite;
}

.glow-two {
  right: -240px;
  top: 160px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.28), transparent 70%);
  animation: glowFloat 20s ease-in-out infinite reverse;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 44px 44px;
  }
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(22px, 16px, 0);
  }
}

@keyframes onlinePulse {
  0%,
  100% {
    box-shadow: 0 0 26px rgba(80, 255, 117, 0.52);
  }
  50% {
    box-shadow: 0 0 34px rgba(80, 255, 117, 0.88);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px 28px;
  background: rgba(4, 4, 6, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 950;
  letter-spacing: 1.6px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: #050506;
  box-shadow: 0 0 34px rgba(255, 38, 61, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(255, 38, 61, 0.38);
}

.nav {
  justify-self: center;
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.login-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: var(--panel-light);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--danger);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(60px, 9vw, 132px);
  line-height: 0.85;
  letter-spacing: -5px;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
  text-shadow: 0 0 70px rgba(255, 38, 61, 0.34);
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.lead {
  color: #d3d3dc;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
  max-width: 760px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.tag-row span,
.feature-mini-list span {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tag-row span::before,
.feature-mini-list span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 0.18s ease, transform 0.38s ease;
}

.tag-row span:hover,
.tag-row span:focus-visible,
.feature-mini-list span:hover,
.feature-mini-list span:focus-visible,
.feature-mini-list span.chip-active,
.tag-row span.chip-active {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 38, 61, 0.48);
  background: rgba(255, 38, 61, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), 0 0 24px rgba(255, 38, 61, 0.08);
  outline: none;
}

.tag-row span:hover::before,
.tag-row span:focus-visible::before,
.feature-mini-list span:hover::before,
.feature-mini-list span:focus-visible::before {
  opacity: 1;
  transform: translateX(80%);
}

.feature-mini-list span:nth-child(1),
.feature-mini-list span:nth-child(4),
.feature-mini-list span:nth-child(6),
.feature-mini-list span:nth-child(10) {
  border-color: rgba(255, 38, 61, 0.34);
  background: rgba(255, 38, 61, 0.095);
}

.feature-mini-list span:nth-child(2),
.feature-mini-list span:nth-child(3),
.feature-mini-list span:nth-child(11) {
  border-color: rgba(255, 106, 0, 0.32);
  background: rgba(255, 106, 0, 0.075);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--danger), var(--danger-2));
  box-shadow: 0 10px 26px rgba(255, 38, 61, 0.14);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #ff3349, #ff7417);
  box-shadow: 0 18px 44px rgba(255, 38, 61, 0.28);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.075);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.ghost {
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn.full {
  width: 100%;
}

.command-card,
.live-card,
.product-card,
.point-card,
.info-split > article,
.rules-grid > div,
.final-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.command-card:hover,
.live-card:hover,
.info-split > article:hover,
.final-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.56), 0 0 30px rgba(255, 38, 61, 0.07);
}

.command-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.command-card::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 38, 61, 0.38), transparent 68%);
}

.command-label,
.card-kicker {
  color: var(--danger);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.command-title {
  position: relative;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 950;
  margin-bottom: 26px;
}

.command-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}

.command-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d9d9e2;
  font-size: 13px;
}

.command-copy button {
  border: 0;
  background: var(--text);
  color: #09090b;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.command-copy button:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 255, 255, 0.12);
}

.dashboard {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1fr;
  gap: 18px;
  padding-top: 12px;
}

.live-card {
  padding: 26px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 950;
  margin-bottom: 20px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #777;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.16);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 26px rgba(80, 255, 117, 0.68);
  animation: onlinePulse 2.6s ease-in-out infinite;
}

.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 26px rgba(255, 38, 61, 0.68);
}

.stat-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-line span,
.micro-note {
  color: var(--muted);
}

.stat-line strong {
  text-align: right;
}

.wipe-date {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
  margin-bottom: 10px;
}

.countdown {
  color: var(--danger);
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 12px;
}

.feature-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.65;
}

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

.product-card,
.point-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 395px;
}

.product-featured,
.point-featured {
  border-color: rgba(255, 255, 255, 0.18);
}

.product-card:hover,
.point-card:hover,
.rules-grid > div:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 38, 61, 0.45);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 38, 61, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), 0 0 36px rgba(255, 38, 61, 0.12);
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.product-badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.product-badge.hot {
  color: white;
  border-color: rgba(255, 38, 61, 0.5);
  background: rgba(255, 38, 61, 0.18);
}

.product-price {
  font-weight: 950;
  font-size: 20px;
}

.product-card p,
.point-card p,
.info-split p,
.rules-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.product-card ul {
  color: #d0d0da;
  line-height: 1.9;
  padding-left: 18px;
  margin: 8px 0 28px;
}

.product-card .btn,
.point-card .btn {
  margin-top: auto;
}

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

.point-card {
  min-height: 270px;
}

.point-price {
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

.point-amount {
  display: block;
  color: var(--danger);
  font-size: 46px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1;
}

.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-split > article {
  padding: 30px;
}

.steps {
  display: grid;
  gap: 12px;
  align-content: start;
}

.steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.steps strong {
  color: var(--danger);
  font-size: 22px;
}

.steps span {
  color: #d7d7df;
}

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

.rules-grid > div {
  padding: 24px;
}

.final-cta {
  text-align: center;
  padding: 46px;
  margin-bottom: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 38, 61, 0.25), transparent 50%),
    var(--panel);
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(14px);
  z-index: 100;
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  position: relative;
  width: min(520px, 100%);
  background: #121219;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.modal h2 {
  font-size: 42px;
}

.modal p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.modal-actions {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: #f4f4f5;
  color: #050505;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 950;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 120;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .dashboard,
  .shop-grid,
  .points-grid,
  .info-split,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    letter-spacing: -2px;
  }
.product-card,
  .point-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


.newsletter-section {
  padding-top: 30px;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 38, 61, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid rgba(255, 38, 61, 0.28);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.newsletter-card p {
  color: var(--muted);
  line-height: 1.65;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  border-color: rgba(255, 38, 61, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 38, 61, 0.12);
}

.consent-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-line input {
  margin-top: 2px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--danger);
}

.newsletter-modal::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 38, 61, 0.34), transparent 70%);
  pointer-events: none;
}

.modal-newsletter-form {
  margin-top: 22px;
}

@media (max-width: 940px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* =========================================================
   Project: Violation v6 header experiment
   Desktop: floating left rail navigation
   Mobile: compact top bar
   ========================================================= */

@media (min-width: 941px) {
  html {
    scroll-padding-top: 28px;
  }

  main,
  .footer {
    padding-left: 132px;
  }

  .section {
    scroll-margin-top: 36px;
  }

  .topbar {
    position: fixed;
    left: 22px;
    top: 22px;
    bottom: 22px;
    width: 92px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    padding: 14px 10px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
      rgba(4, 4, 6, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.56),
      0 0 42px rgba(255, 38, 61, 0.08);
    overflow: hidden;
  }

  .topbar::before {
    content: "";
    position: absolute;
    inset: -90px -60px auto -60px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 38, 61, 0.34), transparent 68%);
    pointer-events: none;
  }

  .topbar::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 96px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
  }

  .brand {
    position: relative;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    min-height: 76px;
    padding: 0;
    text-align: center;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 38, 61, 0.25), transparent 58%),
      #050506;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      0 0 36px rgba(255, 38, 61, 0.28);
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
  }

  .brand-text {
    display: block;
    max-width: 68px;
    color: rgba(244, 244, 247, 0.92);
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: 1.55px;
  }

  .nav {
    position: relative;
    z-index: 1;
    justify-self: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(244, 244, 247, 0.66);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.35px;
    text-align: center;
    line-height: 1.05;
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: #fff;
    border-color: rgba(255, 38, 61, 0.48);
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 38, 61, 0.24), transparent 58%),
      rgba(255, 255, 255, 0.075);
    transform: translateX(3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22), 0 0 24px rgba(255, 38, 61, 0.08);
    outline: none;
  }

  .login-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border-radius: 16px;
    border-color: rgba(255, 38, 61, 0.42);
    background: linear-gradient(135deg, rgba(255, 38, 61, 0.92), rgba(255, 106, 0, 0.88));
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.7px;
    box-shadow: 0 14px 34px rgba(255, 38, 61, 0.16);
  }

  .login-btn:hover,
  .login-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, #ff3349, #ff7417);
    box-shadow: 0 20px 44px rgba(255, 38, 61, 0.26);
    outline: none;
  }

  .hero-left {
    position: relative;
  }

  .hero-left::after {
    content: none;
  }
}

@media (max-width: 940px) {
  html {
    scroll-padding-top: 88px;
  }

  main {
    padding-top: 72px;
  }

  .topbar {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(4, 4, 6, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-mark img {
    object-fit: contain;
    padding: 5px;
  }

  .brand-text {
    display: inline;
    font-size: 12px;
    letter-spacing: 1.05px;
  }

  .login-btn {
    min-height: 40px;
    padding: 0 15px;
  }
}

/* =========================================================
   Project: Violation v7 rail polish
   Squarer / industrial left rail
   ========================================================= */

@media (min-width: 941px) {
  main,
  .footer {
    padding-left: 214px;
  }

  .footer {
    padding-top: 38px;
  }

  .topbar {
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 164px;
    gap: 16px;
    padding: 14px;
    align-items: stretch;
    backdrop-filter: blur(16px);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
      linear-gradient(90deg, rgba(255, 38, 61, 0.14), transparent 22px),
      rgba(6, 6, 10, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 3px solid rgba(255, 38, 61, 0.82);
    border-radius: 8px;
    box-shadow:
      0 26px 70px rgba(0, 0, 0, 0.54),
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      inset 0 0 0 1px rgba(0, 0, 0, 0.44),
      0 0 34px rgba(255, 38, 61, 0.045);
    overflow: hidden;
  }

  .topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--danger), var(--danger-2), transparent 72%);
    pointer-events: none;
  }

  .topbar::after {
    content: "VIOLATION";
    position: absolute;
    left: 50%;
    right: auto;
    top: clamp(365px, 53.5vh, 505px);
    bottom: 113px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    font-size: clamp(68px, 9vh, 96px);
    font-weight: 950;
    letter-spacing: 7px;
    line-height: 0.72;
    color: rgba(255, 255, 255, 0.055);
    text-shadow: 0 0 28px rgba(255, 38, 61, 0.14);
    pointer-events: none;
    user-select: none;
  }

  .brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 146px;
    padding: 12px 6px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }

  .brand::before {
    content: "";
    position: absolute;
    inset: 10px 2px auto;
    height: 92px;
    background:
      radial-gradient(circle at 50% 42%, rgba(255, 38, 61, 0.24), transparent 68%);
    opacity: 0.9;
    pointer-events: none;
  }

  .brand-mark {
    position: relative;
    z-index: 1;
    width: 94px;
    height: 94px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow:
      0 0 32px rgba(255, 38, 61, 0.16),
      0 16px 34px rgba(0, 0, 0, 0.32);
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    filter: drop-shadow(0 0 16px rgba(255, 38, 61, 0.18));
  }

  .brand:hover .brand-mark {
    transform: translateY(-1px);
    box-shadow:
      0 0 40px rgba(255, 38, 61, 0.25),
      0 18px 38px rgba(0, 0, 0, 0.36);
  }

  .brand-text {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 128px;
    color: rgba(244, 244, 247, 0.98);
    font-size: 11px;
    line-height: 1.08;
    letter-spacing: 1.35px;
    text-align: center;
  }

  .brand-text::after {
    content: "RUST 5X";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 18px;
    padding: 0 8px;
    border: 1px solid rgba(255, 38, 61, 0.45);
    background: rgba(255, 38, 61, 0.11);
    color: var(--danger);
    font-size: 9px;
    letter-spacing: 1.65px;
  }

  .nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .nav a {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 10px 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
    color: rgba(244, 244, 247, 0.72);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.55px;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
  }

  .nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 2px;
    background: rgba(255, 38, 61, 0.32);
    transition: width 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  }

  .nav a::after {
    content: "›";
    margin-left: auto;
    color: rgba(255, 255, 255, 0.22);
    font-size: 17px;
    line-height: 1;
    transform: translateY(-1px);
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: #fff;
    border-color: rgba(255, 38, 61, 0.48);
    background:
      linear-gradient(90deg, rgba(255, 38, 61, 0.2), rgba(255, 255, 255, 0.045));
    transform: translateX(0);
    box-shadow:
      inset 0 0 0 1px rgba(255, 38, 61, 0.08),
      0 12px 24px rgba(0, 0, 0, 0.22);
    outline: none;
  }

  .nav a:hover::before,
  .nav a:focus-visible::before {
    width: 4px;
    background: var(--danger);
    box-shadow: 0 0 18px rgba(255, 38, 61, 0.58);
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    color: rgba(255, 255, 255, 0.78);
    transform: translate(2px, -1px);
  }

  .login-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 38, 61, 0.58);
    background:
      linear-gradient(135deg, rgba(255, 38, 61, 0.84), rgba(120, 8, 18, 0.82));
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(255, 38, 61, 0.12);
  }

  .login-btn:hover,
  .login-btn:focus-visible {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.32);
    background:
      linear-gradient(135deg, #ff263d, #8c0715);
    box-shadow: 0 18px 38px rgba(255, 38, 61, 0.22);
    outline: none;
  }
}

@media (min-width: 941px) {
  .nav, .login-btn { position: relative; z-index: 2; }
}




/* v18 status cleanup + wordmark position */
.live-card:first-child {
  min-height: auto;
}

.live-card:first-child .stat-line {
  padding: 9px 0;
}

@media (min-width: 941px) {
  .dashboard {
    align-items: stretch;
  }

  .dashboard .live-card {
    align-self: stretch;
  }
}


/* v19: sjednocení tlačítek v sekci Body do shopu */
#points .btn.primary,
#points .btn.secondary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--danger), var(--danger-2));
  box-shadow: 0 10px 26px rgba(255, 38, 61, 0.14);
}

#points .btn.primary:hover,
#points .btn.secondary:hover,
#points .btn.primary:focus-visible,
#points .btn.secondary:focus-visible {
  background: linear-gradient(135deg, #ff3349, #ff7417);
  box-shadow: 0 18px 44px rgba(255, 38, 61, 0.28);
}


/* v20 clean: language flags + raised login button */
.rail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  border-radius: 10px;
  min-width: 42px;
  min-height: 38px;
  padding: 0 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

.lang-btn.active {
  border-color: rgba(255, 38, 61, 0.62);
  background: linear-gradient(135deg, rgba(255, 38, 61, 0.2), rgba(255, 106, 0, 0.16));
  box-shadow: 0 10px 24px rgba(255, 38, 61, 0.13);
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .rail-actions {
    justify-self: end;
    display: grid;
    grid-template-columns: auto;
    gap: 7px;
  }

  .lang-switch {
    justify-content: end;
  }

  .lang-btn {
    min-width: 36px;
    min-height: 32px;
    border-radius: 9px;
    font-size: 17px;
  }

  .rail-actions .login-btn {
    min-height: 36px;
    padding: 0 13px;
  }
}

@media (min-width: 941px) {
  .nav {
    flex: 0 0 auto;
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .rail-actions {
    position: relative;
    z-index: 2;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    margin-bottom: auto;
  }

  .rail-actions .login-btn {
    width: 100%;
    margin: 0;
  }

  .rail-actions .lang-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .rail-actions .lang-btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border-radius: 4px;
    font-size: 18px;
    backdrop-filter: blur(8px);
  }

  .topbar::after {
    top: clamp(340px, 50vh, 450px);
    bottom: 96px;
    font-size: clamp(60px, 7.8vh, 86px);
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.048);
  }
}


/* v21: move login/lang to bottom + flag-filled language buttons */
.lang-btn {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.96);
  font-weight: 900;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}

.lang-btn[data-lang="cs"] {
  background:
    linear-gradient(150deg, #11457e 0 32%, transparent 32.5%),
    linear-gradient(to bottom, #ffffff 0 50%, #d7141a 50% 100%);
  border-color: rgba(255,255,255,0.28);
}

.lang-btn[data-lang="en"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255,255,255,0.02)),
    rgba(18, 18, 24, 0.78);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255,255,255,0.02)),
    url("./gb_flag.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 100% 100%, 82% 74%;
  border-color: rgba(255,255,255,0.34);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.68);
}

.lang-btn.active {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 12px 28px rgba(255, 38, 61, 0.18);
}

.lang-btn:hover,
.lang-btn:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.08) brightness(1.04);
}

@media (min-width: 941px) {
  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav {
    flex: 0 0 auto;
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .rail-actions {
    position: relative;
    z-index: 2;
    flex-direction: column;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 18px;
  }

  .rail-actions .login-btn {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .rail-actions .lang-switch {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 10px;
  }
}


/* v22: CZ is neutral, only GB has British flag fill */
.lang-btn[data-lang="cs"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 24, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255,255,255,0.96);
  text-shadow: none;
}

.lang-btn[data-lang="cs"].active {
  border-color: rgba(255, 38, 61, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 38, 61, 0.20), rgba(255, 106, 0, 0.14)),
    rgba(18, 18, 24, 0.82);
  box-shadow: 0 0 0 1px rgba(255, 38, 61, 0.12) inset, 0 12px 28px rgba(255, 38, 61, 0.16);
}


/* v23: fixed GB flag selector */
.lang-btn[data-lang="en"].active {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20) inset, 0 12px 30px rgba(1, 33, 105, 0.28);
}


/* v26: simple text language toggle without flags */
.lang-switch {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 !important;
  padding: 4px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(16, 16, 22, 0.86);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 28px rgba(0,0,0,0.24);
  overflow: hidden;
}

.lang-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 38, 61, 0.92), rgba(255, 106, 0, 0.88));
  box-shadow: 0 8px 22px rgba(255, 38, 61, 0.24);
  transition: transform 0.22s ease;
}

.lang-switch.is-en::before {
  transform: translateX(100%);
}

.lang-btn,
.lang-btn[data-lang="cs"],
.lang-btn[data-lang="en"] {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none !important;
  filter: none !important;
}

.lang-btn.active {
  color: #fff;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  transform: none;
  color: #fff;
  outline: none;
}

@media (max-width: 940px) {
  .lang-switch {
    min-width: 104px;
  }

  .lang-btn {
    min-height: 34px;
    font-size: 12px;
  }
}

@media (min-width: 941px) {
  .rail-actions .lang-switch {
    width: 100%;
    margin-top: 10px;
  }

  .rail-actions .lang-btn {
    width: 100%;
    min-height: 36px;
    border-radius: 999px;
  }
}

/* Player statistics page */
.nav a.active {
  color: var(--text);
}

.stats-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 72px;
}

.stats-hero-panel,
.stats-layout,
.stats-board,
.stats-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 10, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.stats-hero-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 14px 20px;
  border-radius: 6px;
}

.stats-mode-tabs {
  display: flex;
  gap: 14px;
}

.stats-mode,
.stats-server-btn,
.stats-category,
.wipe-select,
.stats-search,
.page-size,
.stats-pagination button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.stats-mode,
.stats-server-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  cursor: pointer;
}

.stats-mode:hover,
.stats-mode.active,
.stats-server-btn:hover,
.stats-category:hover,
.stats-category.active,
.stats-pagination button:hover:not(:disabled),
.stats-pagination button.active {
  transform: translateY(-1px);
  border-color: rgba(255, 38, 61, 0.82);
  background: linear-gradient(180deg, rgba(255, 38, 61, 0.23), rgba(98, 11, 16, 0.56));
  box-shadow: inset 0 -1px 0 rgba(255, 38, 61, 0.32), 0 14px 32px rgba(255, 38, 61, 0.12);
}

.stats-server-heading {
  text-align: center;
  line-height: 1.08;
  max-width: 780px;
}

.stats-server-heading strong {
  display: block;
  color: #ff3039;
  font-size: clamp(15px, 1.35vw, 23px);
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stats-server-heading span {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-weight: 900;
}

.stats-server-btn {
  justify-self: end;
}

.stats-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 6px;
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 50% 100%, rgba(255, 38, 61, 0.1), transparent 44%),
    rgba(7, 7, 10, 0.86);
}

.stats-sidebar {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 20px 18px;
  border-radius: 6px;
}

.stats-search,
.wipe-select {
  width: 100%;
  min-height: 42px;
  border-radius: 5px;
  padding: 0 12px;
  outline: none;
}

.stats-search:focus,
.wipe-select:focus {
  border-color: rgba(255, 38, 61, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 38, 61, 0.12);
}

.wipe-select-wrap {
  display: grid;
  gap: 8px;
}

.wipe-select-wrap span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stats-category-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.stats-category {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
}

.stats-board {
  min-width: 0;
  border-radius: 6px;
  padding: 0;
  background: rgba(3, 3, 5, 0.72);
}

.stats-table-wrap {
  position: relative;
  min-height: 510px;
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.stats-table th,
.stats-table td {
  padding: 12px 18px;
  text-align: left;
  white-space: nowrap;
}

.stats-table th {
  color: #dcdce7;
  font-size: 15px;
  font-weight: 500;
  background: rgba(6, 6, 9, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table td {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: rgba(10, 10, 13, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table th:first-child,
.stats-table td:first-child {
  width: 74px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px 0 0 5px;
}

.stats-table th:last-child,
.stats-table td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 5px 5px 0;
}

.stats-table tr.rank-gold td {
  border-color: rgba(255, 215, 40, 0.8);
  background: linear-gradient(90deg, rgba(110, 84, 7, 0.62), rgba(10, 10, 13, 0.92) 32%);
}

.stats-table tr.rank-silver td {
  border-color: rgba(210, 210, 220, 0.46);
  background: linear-gradient(90deg, rgba(82, 82, 88, 0.4), rgba(10, 10, 13, 0.92) 30%);
}

.stats-table tr.rank-bronze td {
  border-color: rgba(255, 159, 96, 0.64);
  background: linear-gradient(90deg, rgba(96, 48, 28, 0.5), rgba(10, 10, 13, 0.92) 30%);
}

.stats-empty {
  position: absolute;
  inset: 82px 22px auto;
  padding: 28px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.stats-empty[hidden] {
  display: none;
}

.stats-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 0;
  color: rgba(255, 255, 255, 0.46);
}

.page-size {
  width: 58px;
  min-height: 34px;
  border-radius: 4px;
  padding: 0 8px;
}

.stats-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.stats-pagination button {
  min-width: 32px;
  min-height: 32px;
  border-radius: 5px;
  cursor: pointer;
}

.stats-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.heatmap-board {
  min-height: 560px;
}

.heatmap-placeholder {
  display: grid;
  align-content: center;
  min-height: 560px;
  padding: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    radial-gradient(circle at 50% 46%, rgba(255, 38, 61, 0.2), transparent 34%);
}

.heatmap-placeholder h1 {
  font-size: clamp(44px, 7vw, 92px);
}

.heatmap-placeholder p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 940px) {
  .stats-shell {
    padding-top: 96px;
  }

  .stats-hero-panel,
  .stats-layout {
    grid-template-columns: 1fr;
  }

  .stats-server-btn {
    justify-self: stretch;
  }

  .stats-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stats-footer {
    flex-wrap: wrap;
  }

  .stats-pagination {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

@media (min-width: 941px) {
  .stats-page .stats-shell {
    width: min(1440px, calc(100% - 48px));
  }
}
