:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --panel: rgba(18, 18, 24, 0.82);
  --panel-2: rgba(28, 28, 36, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 68, 68, 0.28);
  --text: #f4f4f6;
  --muted: #a7a7b4;
  --accent: #e33434;
  --accent-2: #ff5d5d;
  --gold: #d8b15e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(227, 52, 52, 0.24), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(255, 93, 93, 0.16), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 93, 93, 0.12), transparent 24%),
    linear-gradient(180deg, #050508 0%, #0a0a0d 48%, #050508 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 96%, rgba(255, 255, 255, 0.035) 100%),
    linear-gradient(90deg, transparent 0 96%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 100% 3px, 3px 100%;
  opacity: 0.22;
  mix-blend-mode: screen;
}

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

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

button,
.btn {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(6, 6, 9, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-logo {
  width: 160px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(227, 52, 52, 0.42));
}

.brand-icon {
  width: 118px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 36%),
    linear-gradient(145deg, #ff6a6a, #7a0909);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 30px rgba(227, 52, 52, 0.32);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 4px;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d6d6de;
  font-weight: 500;
}

.nav a {
  position: relative;
  opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  color: white;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(227, 52, 52, 0.12);
  border: 1px solid rgba(227, 52, 52, 0.22);
  color: #ffd2d2;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cart-pill:hover {
  border-color: rgba(255, 93, 93, 0.34);
  background: rgba(255, 93, 93, 0.14);
}

.cart-pill-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff5c5c, #8f1010);
  color: white;
  box-shadow: 0 16px 34px rgba(227, 52, 52, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(227, 52, 52, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(255, 93, 93, 0.34);
  background: rgba(255, 93, 93, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: white;
}

.hero {
  position: relative;
  padding: 72px 0 34px;
}

.hero > .container:first-child {
  display: flex;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8e8ef;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #44e06b;
  box-shadow: 0 0 0 6px rgba(68, 224, 107, 0.14);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  margin-top: 18px;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.hero p,
.section-lead,
.card p,
.copy,
.footnote {
  color: var(--muted);
}

.hero p {
  max-width: 60ch;
  font-size: 1.05rem;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.metric strong {
  display: block;
  font-size: 1.3rem;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
}

.metric span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.85rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(255, 102, 102, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(24, 24, 31, 0.96), rgba(12, 12, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.hero-panel::before {
  inset: -40% auto auto -18%;
  width: 220px;
  height: 220px;
  background: rgba(227, 52, 52, 0.26);
}

.hero-panel::after {
  right: -8%;
  bottom: -8%;
  width: 250px;
  height: 250px;
  background: rgba(255, 93, 93, 0.12);
}

.status-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.status-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #43e06a;
  box-shadow: 0 0 0 6px rgba(67, 224, 106, 0.13);
}

.battleboard {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.battleboard .frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6464, #5b0505);
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: white;
  box-shadow: 0 14px 28px rgba(227, 52, 52, 0.22);
}

.frame strong {
  display: block;
  font-size: 1rem;
}

.frame span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.frame em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
}

.section {
  padding: 32px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-lead {
  max-width: 62ch;
  margin: 12px 0 0;
}

.grid-5,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 93, 93, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0 62%, rgba(255, 93, 93, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 96, 96, 0.98), rgba(112, 10, 10, 0.94));
  margin-bottom: 16px;
  box-shadow: 0 16px 34px rgba(227, 52, 52, 0.18);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.card p {
  margin: 12px 0 0;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item {
  position: relative;
  padding-right: 52px;
}

.cart-item-price {
  margin-left: auto;
  padding-right: 10px;
}

.cart-remove {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.cart-remove:hover {
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(255, 93, 93, 0.34);
  background: rgba(255, 93, 93, 0.12);
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(18px);
  min-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.95);
  border: 1px solid rgba(255, 93, 93, 0.24);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 80;
}

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

.mini-row strong,
.leader-row strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
}

.mini-row span,
.leader-row span,
.label {
  color: var(--muted);
  font-size: 0.88rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(227, 52, 52, 0.12);
  border: 1px solid rgba(227, 52, 52, 0.22);
  color: #ffd2d2;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item strong,
.store-price {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
}

.timeline-item time,
.pill {
  color: var(--muted);
  font-size: 0.86rem;
}

.leaderboard {
  overflow: hidden;
}

.leaderboard .leader-row {
  display: grid;
  grid-template-columns: auto 1.2fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.rank {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
}

.stat-card strong {
  font-size: 2rem;
  font-family: "Rajdhani", sans-serif;
}

.accent-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 102, 102, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(227, 52, 52, 0.18), rgba(0, 0, 0, 0.24)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 93, 93, 0.16);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
}

.accent-panel .btn {
  margin-top: 18px;
}

.footer {
  padding: 34px 0 42px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  opacity: 0.85;
}

.footer-links a:hover {
  color: white;
  opacity: 1;
}

.disclaimer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.page-hero {
  padding: 56px 0 20px;
}

.page-shell {
  padding-bottom: 42px;
}

.page-note {
  margin-top: 10px;
  max-width: 68ch;
  color: var(--muted);
}

.hiscore-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
  min-width: min(100%, 340px);
  color: #e9e9ef;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  text-transform: none;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.search-field input:focus {
  border-color: rgba(227, 52, 52, 0.5);
  box-shadow: 0 0 0 4px rgba(227, 52, 52, 0.12);
}

.hero-logo {
  width: min(1520px, calc(100vw - 32px));
  height: auto;
  display: block;
  margin: 0 auto 34px;
  filter: drop-shadow(0 0 24px rgba(227, 52, 52, 0.34));
}

.hero-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 20% 15%, rgba(255, 97, 97, 0.22), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(145deg, rgba(52, 6, 6, 0.92), rgba(6, 6, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.12), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(255, 93, 93, 0.18), transparent 28%);
  opacity: 0.8;
}

.promo-card .promo-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.promo-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 10ch;
}

.promo-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 65%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.18), transparent 16%),
    radial-gradient(circle at 48% 46%, rgba(255, 93, 93, 0.2), transparent 28%),
    radial-gradient(circle at 28% 74%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(74, 9, 9, 0.95), rgba(6, 6, 10, 0.95));
  opacity: 1;
  mix-blend-mode: normal;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.quick-link {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 124px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-link strong {
  font-size: 1.1rem;
}

.update-list {
  display: grid;
  gap: 14px;
}

.update-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.update-item time {
  color: #ffb2b2;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.table th {
  color: #e9e9ef;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table td {
  color: var(--muted);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.table tbody tr.is-hidden {
  display: none;
}

.search-empty {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.gallery-card {
  min-height: 220px;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.76) 88%),
    radial-gradient(circle at 30% 20%, rgba(255, 93, 93, 0.26), transparent 26%),
    linear-gradient(135deg, rgba(46, 10, 10, 0.92), rgba(10, 10, 14, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 93, 93, 0.18), transparent 68%);
  filter: blur(4px);
}

.gallery-card strong {
  font-size: 1.4rem;
}

.kicker {
  margin-top: 8px;
  max-width: 28ch;
  color: rgba(244, 244, 246, 0.82);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.channel-card strong {
  display: block;
  margin-bottom: 6px;
}

.channel-card p {
  margin: 0;
}

.mobile-only {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .hero-banner,
  .grid-5,
  .grid-3,
  .split,
  .footer-grid,
  .gallery-grid,
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav,
  .nav-actions .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 16px;
    background: rgba(8, 8, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-logo {
    width: min(980px, calc(100vw - 32px));
    margin-bottom: 24px;
  }

  .hero-grid,
  .hero-banner,
  .grid-5,
  .grid-3,
  .grid-2,
  .split,
  .footer-grid,
  .gallery-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

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

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

  .quick-links {
    grid-template-columns: 1fr;
  }

  .battleboard .frame,
  .timeline-item,
  .leaderboard .leader-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hiscore-toolbar {
    justify-content: stretch;
  }

  .search-field {
    min-width: 0;
    width: 100%;
  }

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

.brand-mark-text {
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  padding-left: 1px;
}

.hero-wordmark {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
  text-align: center;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #edf6ff;
  text-shadow: 0 0 22px rgba(227, 52, 52, 0.24), 0 0 60px rgba(227, 52, 52, 0.12);
}
