/* Blade Singularity promo site. Mobile first, no external requests. */

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg0: #0d0718;
  --bg1: #1a0f2e;
  --bg2: #24163f;
  --gold: #f2c55c;
  --gold2: #ffe28c;
  --mythic: #f06292;
  --violet: #9a4be0;
  --teal: #5dcaa5;
  --text: #f1ebff;
  --muted: #bdb0dc;
  --dim: #8a7fab;
  --line: rgba(242, 197, 92, 0.28);
  --glass: rgba(30, 18, 54, 0.62);
  --glass-strong: rgba(24, 14, 44, 0.86);
  --radius: 18px;
  --display: "Segoe UI Black", "Arial Black", system-ui, -apple-system, "Roboto", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 58px;
  --pad: clamp(18px, 5vw, 48px);
  --maxw: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg0);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(154, 75, 224, 0.18), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(240, 98, 146, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 40%, var(--bg0) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold2);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a0f2e;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
}

.skip:focus {
  top: 10px;
}

.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ico.fill {
  fill: currentColor;
  stroke: none;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  color: #2a1505;
  background: linear-gradient(180deg, #ffeaa0 0%, var(--gold) 45%, #d99a2b 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 170, 0.6) inset, 0 10px 30px -6px rgba(242, 197, 92, 0.55), 0 0 40px -10px rgba(255, 210, 110, 0.8);
}

.btn-gold::after,
.glint::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: glint 4.5s 1.5s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes glint {
  0% { left: -60%; }
  22%, 100% { left: 130%; }
}

.btn-gold:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(255, 236, 170, 0.8) inset, 0 14px 36px -6px rgba(242, 197, 92, 0.7), 0 0 60px -6px rgba(255, 210, 110, 0.85);
}

.btn-ghost {
  color: var(--text);
  background: rgba(20, 11, 38, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 226, 140, 0.4) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 226, 140, 0.12);
}

.btn-discord {
  color: #fff;
  background: linear-gradient(180deg, #7d6cff, #5865f2);
  box-shadow: 0 10px 28px -8px rgba(88, 101, 242, 0.7);
}

.btn .ico {
  width: 22px;
  height: 22px;
}

.btn-sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.btn-play-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(42, 21, 5, 0.14);
}

.btn-play-ico .ico {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-label small {
  font-family: var(--body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.btn-store {
  padding: 0 28px 0 12px;
}

.btn-store .btn-label > span {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.btn-store .btn-play-ico {
  width: 38px;
  height: 38px;
}

.ars-stage.no-clip .ars-cap {
  display: none;
}

.example-tag {
  margin: 0 0 14px;
  text-align: center;
}

.example-tag span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
  background: rgba(242, 197, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(242, 197, 92, 0.4);
}

.ars-upgrade {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(93, 202, 165, 0.07);
  border: 1px solid rgba(93, 202, 165, 0.3);
  font-size: 13.5px;
  color: var(--muted);
}

.ars-upgrade .lbl {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.ars-upgrade p {
  margin: 0 0 6px;
}

.ars-upgrade .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ars-upgrade .chip {
  font-size: 12px;
  padding: 3px 9px;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right));
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.nav.scrolled {
  background: rgba(13, 7, 24, 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px -4px rgba(154, 75, 224, 0.9);
}

.brand span {
  font-family: var(--display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.nav.scrolled .brand span {
  opacity: 1;
  transform: none;
}

.nav-links {
  display: none;
  margin: 0 auto;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold2);
  background: rgba(255, 226, 140, 0.08);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 226, 140, 0.3);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-btn .ico {
  width: 16px;
  height: 16px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border-radius: 14px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.lang.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang-menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
}

.lang-menu button b {
  color: var(--dim);
  font-size: 12px;
}

.lang-menu button:hover,
.lang-menu button[aria-current="true"] {
  background: rgba(255, 226, 140, 0.1);
  color: var(--gold2);
}

.menu-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 226, 140, 0.25);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.sheet {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 49;
  padding: 10px var(--pad) 22px;
  background: rgba(13, 7, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
}

.sheet.open {
  transform: none;
  visibility: visible;
}

.sheet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.14);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 20px) var(--pad) 22px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-media img,
.hero-media video {
  object-position: 50% 60%;
}

.hero-media video {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-media video.ready {
  opacity: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 70% at 50% 30%, transparent 0%, rgba(13, 7, 24, 0.35) 55%, rgba(13, 7, 24, 0.9) 100%),
    linear-gradient(180deg, rgba(13, 7, 24, 0.75) 0%, rgba(13, 7, 24, 0.1) 22%, rgba(13, 7, 24, 0.25) 50%, rgba(13, 7, 24, 0.94) 82%, var(--bg0) 100%);
}

.sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 1px rgba(255, 226, 140, 0.55), 0 0 0 6px rgba(154, 75, 224, 0.18), 0 0 50px 0 rgba(154, 75, 224, 0.75);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% { transform: translateY(-6px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.6rem, 11.4vw, 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.6));
}

.hero-title span {
  display: block;
  background: linear-gradient(180deg, #fff8de 0%, var(--gold2) 30%, var(--gold) 62%, #c9801f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title span:first-child {
  font-size: 0.72em;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
}

.hero-title .shine {
  position: relative;
  background: linear-gradient(110deg, #c9801f 0%, var(--gold) 28%, #fff8de 40%, var(--gold2) 46%, var(--gold) 60%, #c9801f 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 6s ease-in-out infinite;
}

@keyframes sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.tagline {
  margin: 16px 0 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.3rem, 5.4vw, 2.4rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 24px rgba(240, 98, 146, 0.65), 0 2px 0 rgba(0, 0, 0, 0.4);
}

.hero-lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(13, 7, 24, 0.95);
  margin: 6px 0 0;
  max-width: 560px;
  color: #e3d9ff;
  font-size: clamp(15px, 3.9vw, 18px);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-top: 22px;
}

.hero-cta .btn-gold {
  --h: 62px;
}

.store-note {
  text-shadow: 0 1px 3px #000, 0 0 10px rgba(13, 7, 24, 0.9);
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.stats {
  list-style: none;
  margin: 26px 0 0;
  padding: 12px 6px;
  width: 100%;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: var(--radius);
  background: rgba(20, 11, 38, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px;
  min-width: 0;
}

.stats li + li {
  border-left: 1px solid rgba(255, 226, 140, 0.12);
}

.stats b {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.25rem, 6vw, 2.3rem);
  line-height: 1.1;
  color: var(--gold2);
  text-shadow: 0 0 18px rgba(242, 197, 92, 0.5);
  font-variant-numeric: tabular-nums;
}

.stats span {
  font-size: clamp(10px, 2.7vw, 13px);
  color: var(--muted);
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.scroll-cue {
  margin: 16px auto 0;
  width: 26px;
  height: 40px;
  border-radius: 14px;
  border: 2px solid rgba(255, 226, 140, 0.45);
  position: relative;
  display: block;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold2);
  animation: cue 1.8s infinite;
}

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ------------------------------------------------------------------ sections */
.section {
  position: relative;
  padding: clamp(64px, 12vw, 130px) var(--pad);
  isolation: isolate;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

.slant::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(154, 75, 224, 0.22), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(93, 202, 165, 0.08), transparent 70%),
    linear-gradient(180deg, #170c2a, #1e1236);
  clip-path: polygon(0 clamp(24px, 5vw, 70px), 100% 0, 100% calc(100% - clamp(24px, 5vw, 70px)), 0 100%);
}

.slant::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(24px, 5vw, 70px);
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(242, 197, 92, 0.6), transparent);
  clip-path: polygon(0 calc(100% - 1px), 100% 0, 100% 1px, 0 100%);
}

.head {
  max-width: 760px;
  margin: 0 auto clamp(30px, 6vw, 56px);
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.h2 {
  font-size: clamp(2rem, 8.6vw, 4.4rem);
  line-height: 0.95;
  background: linear-gradient(180deg, #fff 0%, #f3e9ff 45%, #c9b4f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(154, 75, 224, 0.35));
}

.h2 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #d08a24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 3.9vw, 18px);
  max-width: 640px;
}

.h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.glass {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(48, 30, 84, 0.7), rgba(22, 12, 42, 0.78));
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* animated gradient border */
.aura-border {
  position: relative;
}

.aura-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--spin), transparent 0deg, var(--gold) 60deg, var(--mythic) 120deg, transparent 180deg, var(--violet) 260deg, transparent 320deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes spin {
  to { --spin: 360deg; }
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #3a2a5c, #120a22 50%, #2c1d48);
  box-shadow: 0 0 0 1px rgba(255, 226, 140, 0.35), 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(154, 75, 224, 0.8);
}

.phone::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 18%;
  height: 9px;
  margin-left: -9%;
  border-radius: 9px;
  background: #07040e;
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background: #120a22;
}

.phone.tilt {
  transition: transform 0.6s var(--ease);
}

/* ------------------------------------------------------------------ trailer */
.trailer-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
}

.trailer-frame img,
.trailer-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trailer-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(13, 7, 24, 0.05), rgba(13, 7, 24, 0.45));
  cursor: pointer;
  z-index: 3;
}

.play-disc {
  width: clamp(72px, 16vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2a1505;
  background: linear-gradient(180deg, #ffeaa0, var(--gold) 50%, #d99a2b);
  box-shadow: 0 0 0 10px rgba(242, 197, 92, 0.18), 0 0 0 22px rgba(242, 197, 92, 0.07), 0 0 60px rgba(242, 197, 92, 0.7);
  transition: transform 0.3s var(--ease);
  animation: pulse 2.6s infinite;
}

.trailer-play:hover .play-disc {
  transform: scale(1.08);
}

.play-disc .ico {
  width: 40%;
  height: 40%;
  margin-left: 6%;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 14px rgba(242, 197, 92, 0.12), 0 0 0 30px rgba(242, 197, 92, 0.04), 0 0 80px rgba(242, 197, 92, 0.8); }
}

/* ------------------------------------------------------------------ core loop */
.loop {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px var(--pad) 26px;
  margin: 0 calc(var(--pad) * -1);
  scrollbar-width: none;
}

.loop::-webkit-scrollbar {
  display: none;
}

.loop-card {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: center;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.loop-card .phone {
  max-width: 210px;
}

.loop-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loop-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 226, 140, 0.7);
}

.loop-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--c, var(--gold));
  background: color-mix(in srgb, var(--c, var(--gold)) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--gold)) 45%, transparent), 0 0 24px -6px var(--c, var(--gold));
}

.loop-card p {
  margin: 0;
  color: var(--muted);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 226, 140, 0.25);
  transition: width 0.3s, background 0.3s;
}

.dots span.on {
  width: 24px;
  background: var(--gold);
}

/* ------------------------------------------------------------------ arsenal */
.arsenal {
  display: grid;
  gap: 16px;
}

.ars-picker {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74px;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px var(--pad) 12px;
  margin: 0 calc(var(--pad) * -1);
  scrollbar-width: none;
}

.ars-picker::-webkit-scrollbar {
  display: none;
}

.ars-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 226, 140, 0.16);
  background: linear-gradient(180deg, rgba(48, 30, 84, 0.65), rgba(22, 12, 42, 0.8));
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.ars-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 226, 140, 0.5);
}

.ars-tile[aria-selected="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset, 0 0 26px -6px rgba(242, 197, 92, 0.9);
  background: linear-gradient(180deg, rgba(110, 66, 160, 0.7), rgba(40, 20, 70, 0.9));
}

.ars-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(154, 75, 224, 0.5), rgba(13, 7, 24, 0.6));
}

.ars-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.initials {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ars-tile .nm {
  width: 100%;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.3em;
}

.ars-tile[aria-selected="true"] .nm {
  color: var(--gold2);
}

.ars-detail {
  padding: 12px;
}

.ars-stage {
  position: sticky;
  top: calc(var(--nav-h) + 6px);
  z-index: 5;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 226, 140, 0.2);
  aspect-ratio: var(--ar, 16 / 9);
  border-radius: 14px;
  overflow: hidden;
  background: #07040e;
}

.ars-stage video,
.ars-stage .ars-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ars-stage video {
  opacity: 0;
  transition: opacity 0.35s;
}

.ars-stage video.on {
  opacity: 1;
}

.ars-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--kc, var(--violet)) 35%, transparent), transparent 60%),
    radial-gradient(circle at 20% 90%, rgba(242, 197, 92, 0.12), transparent 50%),
    #0b0616;
  opacity: 0;
  transition: opacity 0.3s;
}

.ars-stage.no-clip .ars-fallback {
  opacity: 1;
}

.ars-fallback .ring {
  width: clamp(70px, 22vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.ars-fallback .ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--kc, var(--mythic));
  animation: rot 2.4s linear infinite;
}

@keyframes rot {
  to { transform: rotate(360deg); }
}

.ars-fallback .ring img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.ars-fallback .ring .initials {
  font-size: clamp(26px, 8vw, 44px);
}

.ars-fallback strong {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(16px, 4.6vw, 24px);
  text-transform: uppercase;
}

.ars-fallback small {
  color: var(--dim);
  font-size: 12px;
}

.ars-hud {
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
}

.ars-hud .badge[hidden] {
  display: none;
}

.ars-hud .count {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(7, 4, 14, 0.7);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ars-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(7, 4, 14, 0.85));
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(15px, 4.2vw, 22px);
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000;
  z-index: 2;
  pointer-events: none;
}

.stage-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 140, 0.4);
  background: rgba(13, 7, 24, 0.6);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.stage-arrow:hover {
  background: rgba(242, 197, 92, 0.25);
}

.stage-arrow.prev {
  left: 8px;
}

.stage-arrow.next {
  right: 8px;
}

.stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.stage-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--mythic));
  box-shadow: 0 0 10px var(--gold);
}

.badge {
  --kc: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--kc) 30%, #fff);
  background: color-mix(in srgb, var(--kc) 22%, rgba(7, 4, 14, 0.7));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kc) 70%, transparent);
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kc);
  box-shadow: 0 0 8px var(--kc);
}

.k-chain { --kc: #4fa3ff; }
.k-gap { --kc: #5dcaa5; }
.k-crowd { --kc: #b46cff; }
.k-elite { --kc: #f2c55c; }
.k-finish { --kc: #f06292; }
.k-start { --kc: #9ad0ff; }

.ars-body {
  display: grid;
  gap: 16px;
  padding: 16px 4px 4px;
}

.ars-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ars-head .meta {
  flex: 1;
  min-width: 0;
}

.ars-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.14em;
}

.ars-name {
  margin: 2px 0 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d6, var(--gold2) 40%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ars-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.round-btn {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 140, 0.35);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s;
}

.round-btn:hover {
  background: rgba(242, 197, 92, 0.18);
}

.round-btn .ico {
  width: 20px;
  height: 20px;
}

.ars-unlock {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--dim);
}

.ars-meter {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(240, 98, 146, 0.08);
  border: 1px solid rgba(240, 98, 146, 0.35);
}

.ars-meter .lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mythic);
}

.ars-meter strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  margin: 2px 0 8px;
}

.segs {
  display: flex;
  gap: 4px;
}

.segs i {
  flex: 1;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: left;
}

.ars-detail.anim .segs i {
  animation: segfill 1.8s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms);
}

@keyframes segfill {
  0% { background: rgba(255, 255, 255, 0.08); }
  60%, 100% { background: linear-gradient(90deg, var(--mythic), var(--gold)); box-shadow: 0 0 8px rgba(240, 98, 146, 0.6); }
}

.segs.cont i {
  border-radius: 4px;
}

.ars-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.stat {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.12);
  min-width: 0;
}

.stat dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.stat dd {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.bar {
  height: 6px;
  margin-top: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  border-radius: 6px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  box-shadow: 0 0 10px rgba(242, 197, 92, 0.5);
  transition: width 0.8s var(--ease);
}

.ars-moves-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.ars-moves {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: mv;
}

.move {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 10px;
  padding: 10px 12px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255, 226, 140, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.move:hover {
  background: rgba(255, 255, 255, 0.06);
}

.move[aria-current="true"] {
  border-color: rgba(242, 197, 92, 0.7);
  background: linear-gradient(90deg, rgba(242, 197, 92, 0.16), rgba(154, 75, 224, 0.1));
  box-shadow: 0 0 22px -10px rgba(242, 197, 92, 0.9);
}

.move .n {
  grid-row: span 2;
  align-self: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 226, 140, 0.25);
}

.move[aria-current="true"] .n {
  color: #2a1505;
  background: var(--gold);
  border-color: var(--gold);
}

.move .top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.move .t {
  font-weight: 900;
  font-size: 15px;
}

.move .d {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

.ars-body.swap,
.ars-body.swap > * {
  animation: swapIn 0.5s var(--ease);
}

@keyframes swapIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ars-loading {
  padding: 40px;
  text-align: center;
  color: var(--dim);
}

/* ------------------------------------------------------------------ forge */
.rarity-path {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 8px;
}

.rar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.gem {
  width: 54px;
  height: 54px;
  transform: rotate(45deg);
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) inset, 0 0 22px -2px var(--c), 0 0 50px -10px var(--c);
  position: relative;
}

.gem::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.rar span {
  font-weight: 900;
  font-size: 13px;
  color: color-mix(in srgb, var(--c) 55%, #fff);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.js .rar.reveal .gem {
  transform: rotate(45deg) scale(0.4);
  transition: transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .rar.reveal.in .gem {
  transform: rotate(45deg) scale(1);
}

.crucible {
  margin-top: 26px;
  padding: 20px;
  display: grid;
  gap: 16px;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.merge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.merge .gem {
  width: 40px;
  height: 40px;
}

.merge .plus,
.merge .arrow {
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold2);
}

.merge .arrow .ico {
  width: 28px;
  height: 28px;
}

.divine {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}

.divine .gem {
  width: 56px;
  height: 56px;
}

.divine .orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 241, 168, 0.35);
  animation: rot 18s linear infinite;
}

.divine .orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px;
  border-radius: 50%;
  background: #fff1a8;
  box-shadow: 0 0 10px #fff1a8, 0 0 20px var(--gold);
  transform: rotate(calc(var(--i) * 51.43deg)) translateY(-55px);
}

.crucible p {
  margin: 0;
  color: var(--muted);
}

.forge-grid {
  display: flex;
  gap: 14px;
  margin: 40px calc(var(--pad) * -1) 0;
  padding: 6px var(--pad) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.forge-grid::-webkit-scrollbar {
  display: none;
}

.forge-grid > * {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: center;
}

.feature {
  padding: 20px;
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: hidden;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature .phone {
  max-width: 220px;
}

.feature-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold2);
  background: rgba(242, 197, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(242, 197, 92, 0.4), 0 0 30px -8px var(--gold);
}

.feature-ico .ico {
  width: 28px;
  height: 28px;
}

.sub-head {
  margin: clamp(48px, 9vw, 90px) 0 20px;
  text-align: center;
}

.sub-head p {
  margin: 8px auto 0;
  color: var(--muted);
  max-width: 620px;
}

.tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tier {
  position: relative;
  padding: 10px 8px 10px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, rgba(22, 12, 42, 0.9)), rgba(16, 9, 30, 0.95));
  border: 1.5px solid color-mix(in srgb, var(--c) 75%, transparent);
  box-shadow: 0 0 calc(4px + var(--g) * 2px) -2px var(--c), inset 0 0 calc(var(--g) * 2px) -4px var(--c);
  transition: transform 0.25s var(--ease);
}

.tier:hover {
  transform: translateY(-3px);
}

.tier .tn {
  font-family: var(--display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: color-mix(in srgb, var(--c) 45%, #fff);
  text-shadow: 0 0 calc(var(--g) * 1.6px) var(--c);
}

.tier .tl {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.tier .nm {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: color-mix(in srgb, var(--c) 40%, #fff);
}

.tier .cost {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mc, var(--gold));
  box-shadow: 0 0 6px var(--mc, var(--gold));
}

.tier.top {
  grid-column: 1 / -1;
  padding: 18px;
}

.tier .tnote {
  display: block;
  margin: 8px auto 0;
  max-width: 520px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.tier.top .tn {
  font-size: 40px;
}

.tier.top::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--spin), transparent, var(--c), transparent 40%, var(--gold), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
  animation: spin 5s linear infinite;
  pointer-events: none;
}

.materials {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.materials li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.12);
}

.materials .mdot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  transform: rotate(45deg);
  background: var(--mc, var(--gold));
  box-shadow: 0 0 12px var(--mc, var(--gold));
  flex: none;
}

.materials b {
  display: block;
  font-size: 14px;
}

.materials small {
  color: var(--dim);
  font-size: 12.5px;
}

.note {
  margin: 18px auto 0;
  max-width: 680px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------------ lands */
.lands {
  overflow: hidden;
}

.marquee-wrap {
  transform: rotate(-4deg) scale(1.08);
  margin: 30px 0;
  display: grid;
  gap: 12px;
}

.marquee {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 70s linear infinite;
}

.marquee.rev {
  animation-direction: reverse;
  animation-duration: 80s;
}

.lands.paused .marquee,
.marquee-wrap:hover .marquee {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.land {
  position: relative;
  flex: none;
  width: clamp(220px, 52vw, 380px);
  aspect-ratio: 960 / 551;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 226, 140, 0.25), 0 20px 40px -20px #000;
  background: #120a22;
}

.land img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.land:hover img {
  transform: scale(1.06);
}

.land figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 12px 9px;
  background: linear-gradient(180deg, transparent, rgba(7, 4, 14, 0.85));
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.land figcaption b {
  color: var(--gold2);
  margin-right: 6px;
}

.endless {
  margin: 34px auto 0;
  max-width: 760px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.endless .inf {
  flex: none;
  font-family: var(--display);
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(90deg, var(--teal), var(--violet), var(--mythic), var(--gold));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite;
}

.endless p {
  margin: 0;
  color: var(--muted);
}

.endless strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 16px;
}

/* ------------------------------------------------------------------ dungeons */
.cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--pad) 22px;
  margin: 0 calc(var(--pad) * -1);
  scrollbar-width: none;
}

.cards::-webkit-scrollbar {
  display: none;
}

.dcard {
  position: relative;
  flex: 0 0 min(80vw, 330px);
  min-height: 430px;
  scroll-snap-align: center;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000;
  background: #120a22;
}

.dcard > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.dcard:hover > img {
  transform: scale(1.05);
}

.dcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 7, 24, 0) 20%, rgba(13, 7, 24, 0.8) 58%, rgba(13, 7, 24, 0.98) 100%);
}

.dcard .emblem {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 112px;
  height: 112px;
  margin-left: -56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c, var(--gold2));
  background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--gold)) 30%, transparent), transparent 70%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c, var(--gold)) 60%, transparent), 0 0 50px -10px var(--c, var(--gold));
}

.dcard .emblem .ico {
  width: 52px;
  height: 52px;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 10px var(--c, var(--gold)));
}

.dcard .tag {
  align-self: flex-start;
  margin-bottom: 10px;
}

.dcard .sub {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.dcard p {
  margin: 0;
  color: #d9cff5;
  font-size: 15px;
}

/* ------------------------------------------------------------------ build */
.build-grid {
  display: grid;
  gap: 22px;
}

.cores {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.core {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 2px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.12);
  transition: border-color 0.2s, background 0.2s;
}

.core:hover {
  border-color: rgba(242, 197, 92, 0.45);
  background: rgba(242, 197, 92, 0.05);
}

.core .hex {
  grid-row: 1 / 3;
  align-self: start;
  width: 34px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, var(--gold2), #b07a1e);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  color: #2a1505;
}

.core b {
  font-size: 15px;
}

.core small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.cores.collapsed li:nth-child(n + 9) {
  display: none;
}

.more-btn {
  margin-top: 12px;
}

.mini-cards {
  display: grid;
  gap: 16px;
}

.mini {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.mini .phone {
  max-width: 112px;
  border-radius: 18px;
  padding: 4px;
}

.mini .phone::after {
  display: none;
}

.mini .phone img {
  border-radius: 14px;
}

.mini p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.skill {
  position: relative;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(60, 36, 104, 0.55), rgba(22, 12, 42, 0.8));
  border: 1px solid rgba(154, 75, 224, 0.4);
  overflow: hidden;
}

.skill::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sc, var(--violet)) 60%, transparent), transparent 70%);
}

.skill {
  border-color: color-mix(in srgb, var(--sc, var(--violet)) 45%, transparent);
}

.skill b {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1.15;
  position: relative;
}

.skill small {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  position: relative;
}

.vars {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  position: relative;
}

.vars i {
  width: 16px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--violet), var(--mythic));
  box-shadow: 0 0 6px rgba(240, 98, 146, 0.6);
}

.vars span {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--mythic);
  line-height: 6px;
}

/* ------------------------------------------------------------------ together */
.together-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.guild-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guild-list li {
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.guild-list .feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.guild-list .feature-ico .ico {
  width: 24px;
  height: 24px;
}

.guild-list b {
  font-size: 15px;
  font-weight: 900;
}

.guild-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.rank-card {
  padding: 22px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.rank-card p {
  margin: 0;
  color: var(--muted);
}

.ach {
  margin-top: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ach .big {
  font-family: var(--display);
  font-weight: 900;
  font-size: 54px;
  line-height: 1;
  background: linear-gradient(180deg, #fff6d6, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(242, 197, 92, 0.5));
}

.ach p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.ach strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

/* ------------------------------------------------------------------ style */
.style-wrap {
  display: grid;
  gap: 22px;
}

.skin-ring {
  position: relative;
  width: min(78vw, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.skin-ring::before,
.skin-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.skin-ring::before {
  background: conic-gradient(from var(--spin), var(--violet), var(--mythic), var(--gold), var(--teal), var(--violet));
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 62%, #000 63%, #000 66%, transparent 67%);
  animation: spin 9s linear infinite;
  filter: drop-shadow(0 0 12px rgba(240, 98, 146, 0.7));
}

.skin-ring::after {
  inset: 12%;
  background: radial-gradient(circle, rgba(154, 75, 224, 0.35), transparent 70%);
}

.skin-ring .c {
  position: relative;
  z-index: 1;
  text-align: center;
}

.skin-ring b {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 18vw, 92px);
  line-height: 1;
  background: linear-gradient(180deg, #fff6d6, var(--gold2) 40%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skin-ring span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.skin-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.skin-cats li {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.14);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.skin-cats li:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 98, 146, 0.5);
}

.skin-cats .ico {
  width: 30px;
  height: 30px;
  color: var(--mythic);
  filter: drop-shadow(0 0 8px rgba(240, 98, 146, 0.6));
}

.skin-cats b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.skin-cats small {
  color: var(--gold2);
  font-weight: 900;
  font-size: 13px;
}

.bestiary {
  padding: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.bestiary .big {
  font-family: var(--display);
  font-weight: 900;
  font-size: 50px;
  line-height: 1;
  color: var(--teal);
  text-shadow: 0 0 22px rgba(93, 202, 165, 0.6);
}

.bestiary p {
  margin: 0;
  color: var(--muted);
}

.bestiary strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 18px;
}

/* ------------------------------------------------------------------ comfort */
.comfort {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.comfort li {
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.comfort .ico {
  width: 30px;
  height: 30px;
  color: var(--teal);
  filter: drop-shadow(0 0 8px rgba(93, 202, 165, 0.6));
}

.comfort b {
  font-size: 15px;
  font-weight: 900;
}

.comfort small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ final */
.final {
  position: relative;
  padding: clamp(90px, 16vw, 160px) var(--pad);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.2);
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 50% 50%, rgba(13, 7, 24, 0.35), var(--bg0) 100%), linear-gradient(180deg, var(--bg0), transparent 30%, transparent 70%, var(--bg0));
}

.final .hero-icon {
  margin: 0 auto 18px;
  width: 104px;
  height: 104px;
  border-radius: 26px;
}

.final .h2 {
  font-size: clamp(2.2rem, 10vw, 5rem);
}

.final-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.final-cta .btn {
  width: 100%;
  max-width: 380px;
}

.final-cta .btn-gold {
  --h: 64px;
}

.fine {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: 13px;
  color: var(--dim);
}

/* ------------------------------------------------------------------ footer */
.footer {
  padding: 34px var(--pad) calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 226, 140, 0.14);
  background: #09050f;
  font-size: 14px;
  color: var(--dim);
}

.footer .wrap {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

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

.footer .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer .brand-row img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer small {
  font-size: 12px;
}

/* sticky mobile CTA */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}

.dock.show {
  transform: none;
}

.dock .btn {
  width: 100%;
  --h: 54px;
}

/* ------------------------------------------------------------------ breakpoints */
@media (max-width: 599px) {
  .brand span {
    display: none;
  }
}

@media (max-aspect-ratio: 1/1) {
  .hero-shade {
    background:
      radial-gradient(90% 40% at 50% 34%, rgba(13, 7, 24, 0.55), transparent 70%),
      linear-gradient(180deg, rgba(13, 7, 24, 0.8) 0%, rgba(13, 7, 24, 0.15) 18%, rgba(13, 7, 24, 0.2) 60%, rgba(13, 7, 24, 0.35) 84%, var(--bg0) 100%);
  }

  .hero-media video,
  .hero-media img {
    filter: saturate(1.25) brightness(1.15);
  }
}

@media (min-width: 560px) {
  .hero-cta {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .tiers {
    grid-template-columns: repeat(4, 1fr);
  }

  .rarity-path {
    grid-template-columns: repeat(4, 1fr);
  }

  .comfort,
  .skin-cats {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (min-width: 900px) {
  :root {
    --nav-h: 66px;
  }

  .nav-links {
    display: flex;
  }

  .menu-btn,
  .dock {
    display: none;
  }

  .hero {
    justify-content: center;
    padding-bottom: 40px;
  }

  .hero-icon {
    width: 104px;
    height: 104px;
    border-radius: 26px;
  }

  .stats {
    margin-top: 44px;
    padding: 18px 10px;
  }

  .loop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 0;
    margin: 0;
    gap: 18px;
  }

  .loop-card {
    flex: auto;
  }

  .loop-card:nth-child(even) {
    transform: translateY(40px);
  }

  .js .loop-card.reveal:nth-child(even) {
    transform: translateY(68px);
  }

  .js .loop-card.reveal.in:nth-child(even) {
    transform: translateY(40px);
  }

  .loop-dots {
    display: none;
  }

  .arsenal {
    grid-template-columns: 330px 1fr;
    align-items: start;
    gap: 22px;
  }

  .ars-picker {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
    padding: 0;
    margin: 0;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
  }

  .ars-detail {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 18px 22px;
    align-items: start;
  }

  .ars-stage {
    grid-column: 1;
    grid-row: 1;
    top: calc(var(--nav-h) + 16px);
  }

  .ars-body {
    display: contents;
  }

  .ars-left {
    grid-column: 1;
    grid-row: 2;
    padding: 0 4px 4px;
  }

  .ars-right {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .ars-left {
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .rarity-path {
    grid-template-columns: repeat(var(--n, 6), 1fr);
  }

  .rarity-path::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 37px;
    height: 2px;
    background: linear-gradient(90deg, #888, var(--teal), #4fa3ff, var(--violet), #ffb347, var(--mythic));
    opacity: 0.6;
    z-index: -1;
  }

  .crucible {
    grid-template-columns: auto 1fr;
    text-align: left;
    padding: 24px 32px;
  }

  .forge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 40px 0 0;
    padding: 0;
    gap: 18px;
  }

  .tiers {
    grid-template-columns: repeat(11, 1fr);
    gap: 8px;
  }

  .tier {
    padding: 10px 4px;
  }

  .tier .nm {
    font-size: 11px;
  }


  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding: 0;
    margin: 0;
    gap: 18px;
  }

  .dcard {
    min-height: 470px;
  }

  .build-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: 36px;
  }

  .skills {
    grid-template-columns: repeat(4, 1fr);
  }

  .together-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }

  .style-wrap {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    gap: 40px;
  }

  .comfort {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .final-cta {
    flex-direction: row;
    justify-content: center;
  }

  .final-cta .btn {
    width: auto;
  }
}

@media (min-width: 1200px) {
  .arsenal {
    grid-template-columns: 380px 1fr;
  }

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

@media (hover: none) {
  .marquee-wrap:hover .marquee {
    animation-play-state: running;
  }

  .lands.paused .marquee {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-wrap {
    transform: none;
  }

  .marquee {
    width: auto;
    overflow-x: auto;
    padding: 0 var(--pad);
    scroll-snap-type: x mandatory;
  }

  .marquee .dup {
    display: none;
  }

  .hero-media video {
    display: none;
  }
}

/* ================================================================== round 2 */

/* ---------- hero: keep the loop sharp on big monitors (JS sets --vmax and .capped) */
.hero-backdrop {
  display: none;
}

@media (min-aspect-ratio: 1/1) {
  .hero-media {
    container-type: size;
  }

  .hero-media .hero-backdrop {
    display: block;
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
    filter: blur(32px) saturate(1.25) brightness(0.5);
    z-index: -4;
  }

  @supports (width: 1cqw) {
    .hero-media picture img,
    .hero-media video {
      inset: auto;
      left: 50%;
      top: 50%;
      width: min(max(100cqw, 177.78cqh), var(--vmax, 1600px));
      max-width: none;
      height: auto;
      aspect-ratio: 16 / 9;
      transform: translate(-50%, -50%);
    }

    .hero-media.capped picture img,
    .hero-media.capped video {
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
      -webkit-mask-composite: source-in;
      mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
      mask-composite: intersect;
    }
  }
}

/* ---------- hero QR (desktop with a mouse only) */
.hero-qr {
  display: none;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    background: rgba(20, 11, 38, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 226, 140, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    max-width: 280px;
    transition: box-shadow 0.25s;
  }

  .hero-qr:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 226, 140, 0.7), 0 0 30px -8px rgba(242, 197, 92, 0.6);
  }

  .hero-qr img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    background: #fff;
    flex: none;
  }

  .hero-qr b {
    display: block;
    font-size: 14px;
  }

  .hero-qr small {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
  }

  .hero-cta {
    align-items: center;
  }
}

/* ---------- in-game animation players */
.anim-slot[hidden] {
  display: none !important;
}

.anim-phone {
  max-width: 240px;
}

.anim-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background: #120a22;
}

.tiers-wrap {
  display: grid;
  gap: 22px;
}

.crucible .anim-slot {
  justify-self: center;
}

.crucible .anim-phone {
  max-width: 200px;
}

@media (min-width: 900px) {
  .tiers-wrap.has-anim {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }

  .tiers-wrap.has-anim .tiers {
    grid-template-columns: repeat(4, 1fr);
  }

  .tiers-wrap.has-anim .anim-slot {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
  }

  .crucible.has-anim {
    grid-template-columns: auto 200px minmax(0, 1fr);
  }
}

@media (min-width: 1200px) {
  .tiers-wrap.has-anim .tiers {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- real game images in place of drawn placeholders */
.gem-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px var(--c, #f2c55c));
}

.js .rar.reveal .gem-img {
  transform: scale(0.5);
  transition: transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .rar.reveal.in .gem-img {
  transform: none;
}

.merge .gem-img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 12px #f06292);
}

.chip-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mat-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: none;
}

.tier.has-frame .tframe {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 2px;
}

.tier.has-frame .tframe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tier.has-frame .tframe .tn {
  position: relative;
  font-size: 24px;
  text-shadow: 0 2px 6px #000, 0 0 12px var(--c);
}

.chests {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.chests[hidden] {
  display: none;
}

.chest {
  width: 112px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 140, 0.14);
  text-align: center;
}

.chest img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(242, 197, 92, 0.35));
}

.chest span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--muted);
}

.core-img {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(242, 197, 92, 0.45));
}

.skill.has-img {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.skill.has-img > *:not(.skill-img) {
  grid-column: 2;
}

.skill-img {
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--sc, var(--violet)) 70%, transparent));
}

.ico-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.rew {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(13, 7, 24, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 140, 0.35);
}

.rew[hidden] {
  display: none;
}

.rew img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dcard.real-bg .emblem {
  display: none;
}

.dcard.real-bg::before {
  background: linear-gradient(180deg, rgba(13, 7, 24, 0) 30%, rgba(13, 7, 24, 0.75) 62%, rgba(13, 7, 24, 0.97) 100%);
}

/* ---------- live rankings */
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
  animation: livepulse 1.8s infinite;
  flex: none;
}

.kicker .live-dot {
  margin-right: 2px;
}

.kicker:has(.live-dot)::before {
  display: none;
}

@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.live-stale .live-dot {
  background: var(--dim);
  animation: none;
}

.live {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(242, 197, 92, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(40, 46, 92, 0.75), rgba(20, 16, 48, 0.9));
}

.live-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(7, 4, 14, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 140, 0.18);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}

.live-tab {
  border: 0;
  background: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.live-tab[aria-selected="true"] {
  color: #2a1505;
  background: linear-gradient(180deg, #ffeaa0, var(--gold) 55%, #d99a2b);
  box-shadow: 0 0 18px -4px rgba(242, 197, 92, 0.8);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.badge-live {
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8fa3;
}

.live-sub {
  margin: 14px 0 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 8px;
  margin: 10px 0 14px;
}

.pod {
  --pc: #c9d4e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.pod1 {
  --pc: #f2c55c;
}

.pod3 {
  --pc: #c98a5a;
}

.pod.empty {
  min-height: 60px;
}

.lv-av {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: radial-gradient(circle at 50% 35%, #2a2350, #0d0718 75%);
  box-shadow: 0 0 0 2px var(--pc, #6b7bb8), 0 0 14px -2px var(--pc, #6b7bb8);
}

.lv-av.big {
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
}

.pod1 .lv-av.big {
  width: 74px;
  height: 74px;
  box-shadow: 0 0 0 3px var(--pc), 0 0 0 7px rgba(242, 197, 92, 0.18), 0 0 34px -2px var(--pc);
}

.pod1 .lv-av.big::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 30px;
  height: 16px;
  margin-left: -15px;
  background: var(--gold);
  clip-path: polygon(0 100%, 0 30%, 25% 65%, 50% 0, 75% 65%, 100% 30%, 100% 100%);
  filter: drop-shadow(0 0 6px rgba(242, 197, 92, 0.9));
}

.lv-ini {
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  color: #fff;
}

.lv-av.big .lv-ini {
  font-size: 22px;
}

.pod-title {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc);
}

.pod-name {
  max-width: 100%;
  margin: 2px 0 2px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pod1 .pod-name {
  color: #2a1505;
  background: linear-gradient(180deg, #ffeaa0, var(--gold));
}

.pod-stat {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}

.pod-base {
  width: 100%;
  margin-top: 8px;
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 85%, #fff) 0%, var(--pc) 40%, color-mix(in srgb, var(--pc) 55%, #000) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), 0 10px 24px -10px #000;
}

.pod1 .pod-base {
  height: 66px;
}

.pod3 .pod-base {
  height: 32px;
}

.pod-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  color: rgba(20, 12, 30, 0.85);
}

.live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lv-row {
  display: grid;
  grid-template-columns: 30px 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(48, 58, 110, 0.55), rgba(30, 32, 70, 0.6));
  box-shadow: inset 0 0 0 1px rgba(150, 170, 255, 0.14);
}

.lv-rank {
  font-weight: 900;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lv-name {
  display: block;
  font-size: 14.5px;
  overflow-wrap: anywhere;
}

.lv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 12px;
  color: var(--muted);
}

.live-msg {
  padding: 26px 10px;
  text-align: center;
  color: var(--muted);
}

.live-msg[hidden] {
  display: none;
}

.live-msg p {
  margin: 0 0 12px;
}

.lv-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 226, 140, 0.3);
  border-top-color: var(--gold);
  animation: rot 0.9s linear infinite;
}

/* ---------- changelog strip */
.h2-sm {
  font-size: clamp(1.7rem, 6.5vw, 3rem);
}

.news {
  display: grid;
  gap: 14px;
}

.news-card {
  padding: 18px;
}

.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.news-ver {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  color: #2a1505;
  background: var(--gold);
}

.news-day {
  font-size: 12.5px;
  color: var(--dim);
}

.news-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
}

.news-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.news-items li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.news-items li.more {
  display: none;
}

.news-card.open .news-items li.more {
  display: block;
}

.ntag {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nk-new { background: rgba(93, 202, 165, 0.3); color: #a8f0d6; }
.nk-rework { background: rgba(154, 75, 224, 0.35); color: #e1c6ff; }
.nk-improved { background: rgba(79, 163, 255, 0.3); color: #bcdcff; }
.nk-fixed { background: rgba(242, 197, 92, 0.25); color: var(--gold2); }
.nk-balance { background: rgba(240, 98, 146, 0.28); color: #ffc1d6; }
.nk-optimization { background: rgba(160, 160, 190, 0.25); color: #dcdcf0; }

.news-more {
  margin-top: 12px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--gold2);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 0;
  border-radius: 16px;
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 900;
  font-size: 15.5px;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ico {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary .ico {
  transform: rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14.5px;
}

@media (min-width: 900px) {
  .live {
    padding: 22px 26px;
  }

  .podium {
    gap: 18px;
    margin: 18px 30px 20px;
  }

  .lv-av.big {
    width: 68px;
    height: 68px;
  }

  .pod1 .lv-av.big {
    width: 88px;
    height: 88px;
  }

  .news {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

@media (max-width: 559px) {
  .skill.has-img {
    display: block;
  }

  .skill-img {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .skill b {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

.ars-fallback small:empty {
  display: none;
}

.live-lead {
  margin: 6px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text);
}

.live-lead[hidden],
#news-head[hidden],
.news[hidden],
.chests-title[hidden] {
  display: none;
}

.live-lead b {
  color: var(--gold2);
}

.live-top {
  justify-content: center;
}

.chests-title {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.chests-title + .chests {
  margin-top: 12px;
}

/* Arsenał t1 do t11: nagranie jest POZIOME (karta broni), więc bez ramki telefonu i dużo szerzej. */
.anim-slot[data-anim="arsenal_upgrade"] .anim-phone {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(242, 197, 92, 0.55);
  box-shadow: 0 0 0 1px rgba(154, 75, 224, 0.25), 0 18px 60px rgba(154, 75, 224, 0.35), 0 0 40px rgba(242, 197, 92, 0.18);
  overflow: hidden;
}
.anim-slot[data-anim="arsenal_upgrade"] .anim-phone::before,
.anim-slot[data-anim="arsenal_upgrade"] .anim-phone::after {
  display: none;
}
.anim-slot[data-anim="arsenal_upgrade"] .anim-phone video {
  border-radius: 0;
  object-fit: contain;
}
@media (min-width: 900px) {
  .tiers-wrap.has-anim {
    grid-template-columns: minmax(0, 1fr);
  }
  .tiers-wrap.has-anim .anim-slot {
    position: static;
  }
  .tiers-wrap.has-anim .tiers {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---------- karuzele: tylko w lewo i w prawo
   Samo overflow-x: auto robiło też overflow-y: auto, więc palcem dało się ciągnąć zawartość w dół i na ukos.
   touch-action: pan-x pan-y = poziomo przesuwa karuzelę, pionowo przewija stronę (bez przeciągania w środku). */
.loop,
.ars-picker,
.forge-grid,
.cards,
.marquee,
.live-tabs {
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

/* Android/iOS: przytrzymanie palca na zdjęciu nie może go „wyciągać” z karuzeli ani otwierać menu obrazka. */
img,
video {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.loop img,
.forge-grid img,
.cards img,
.marquee img,
.ars-picker img {
  user-select: none;
  -webkit-user-select: none;
}
/* Karty wystają kilka px w dół (cień, animacja wejścia); bez pionowego przewijania muszą zmieścić się w pudełku. */
.loop,
.forge-grid,
.cards {
  padding-bottom: 36px;
}

/* ================================================================ telefon: zawijanie i szerokość (2026-11-03)
   Strona na telefonie 360 px była o 35 px szersza od ekranu (pusty pasek z prawej, ucięty przycisk menu):
   kolumna 1fr w siatce ma minimum = najdłuższe słowo, a „WNIEBOWSTĄPIENIE” w karcie z telefonem się nie mieściło.
   minmax(0, 1fr) pozwala kolumnie się zwęzić; overflow-x: clip to siatka bezpieczeństwa na wypadek
   kolejnego zbyt długiego słowa (np. niemieckie złożenia). */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

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

.mini {
  grid-template-columns: 112px minmax(0, 1fr);
}

.mini .h3 {
  overflow-wrap: break-word;
}

@media (min-width: 900px) {
  .build-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

/* Nagłówki łamią się na równe linie zamiast zostawiać jedno słowo na dole („ZOBACZ GRĘ W / AKCJI”),
   akapity nie kończą się pojedynczym słowem w ostatniej linii. */
.title,
.h2,
.h3,
.tagline,
.skill b,
.comfort b,
.guild-list b,
.core b {
  text-wrap: balance;
}

p,
.lead,
small,
.dcard p {
  text-wrap: pretty;
}

/* Gradient przez tekst (background-clip) maluje tylko w pudełku nagłówka, a przy line-height < 1 kreska nad
   wielką literą pierwszej linii wystaje ponad pudełko i znikała („UMIEJĘTNOSCI” zamiast „UMIEJĘTNOŚCI”). */
.h2 {
  padding: 0.14em 0 0.08em;
}

@media (max-width: 559px) {
  /* pasek liczb pod logo: 3 + 2 zamiast pięciu kolumn po 58 px, w których „umiejętności” łamało się w środku */
  .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    padding: 14px 4px;
  }

  .stats li {
    flex: 0 0 33.333%;
  }

  .stats li:nth-child(4) {
    border-left: 0;
  }

  .stats span {
    font-size: 12px;
    overflow-wrap: normal;
  }

  /* karty Rdzeni z telefonem: węższy telefon, mniejszy nagłówek */
  .mini {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .mini .phone {
    max-width: 84px;
  }

  .mini .h3 {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
  }

  /* umiejętności, wygoda, gildia: jedna kolumna, ikona z boku. W dwóch kolumnach po ~125 px tekstu
     nagłówki szły w trzy linie („Tryb / oszczędzania / baterii”), a nazwy dzieliły się w pół słowa. */
  .skills,
  .comfort,
  .guild-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .skill.has-img {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
  }

  .skill-img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .skill b {
    overflow-wrap: normal;
    hyphens: manual;
  }

  .comfort li,
  .guild-list li {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }

  .comfort li > .ico,
  .comfort li > .ico-img,
  .guild-list li > .feature-ico {
    grid-row: 1 / span 2;
  }

  .comfort li > :not(.ico):not(.ico-img),
  .guild-list li > :not(.feature-ico) {
    grid-column: 2;
  }

  /* Bestiariusz: liczba nad tekstem, a nie kolumna 124 px obok 140 px tekstu */
  .bestiary {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .bestiary .big {
    font-size: 44px;
  }
}

/* ------------------------------------------------------------------ społeczność (Discord, YouTube, TikTok pod zwiastunem) */
.social {
  margin-top: clamp(28px, 6vw, 48px);
}

.social-title {
  text-align: center;
  margin: 0 0 14px;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.social-list li {
  display: flex;
}

.social-card {
  --c: #5865f2;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, rgba(30, 18, 54, 0.85)), rgba(22, 12, 42, 0.82));
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--c) 80%, transparent);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--c);
  box-shadow: 0 22px 46px -22px var(--c);
}

.s-discord {
  --c: #5865f2;
}

.s-youtube {
  --c: #ff2d2d;
}

.s-tiktok {
  --c: #25f4ee;
}

.social-ico {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--c);
}

.s-tiktok .social-ico {
  background: #111;
  color: #fff;
  box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset;
}

.social-ico .ico {
  width: 28px;
  height: 28px;
}

.social-txt {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.social-txt b {
  font-size: 17px;
  font-weight: 900;
}

.social-txt small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-wrap: pretty;
}

.social-go {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--dim);
}

.final-social {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.final-social .btn {
  flex: 1;
  min-width: 0;
}

@media (min-width: 900px) {
  .social-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Komputer: „Jak się gra” to siatka, nie karuzela. Reguła karuzel wyżej (overflow-y: hidden) ucinała dół
   parzystych kart, które są przesunięte o 40 px w dół. */
@media (min-width: 900px) {
  .loop {
    overflow: visible;
    padding-bottom: 48px;
  }
}

/* Arsenał na komputerze: 4 duże kolumny (7 rzędów) zamiast 5 małych, żeby siatka broni sięgała do dołu panelu
   z ciosami (panel ma 900-1300 px zależnie od broni). Siatka 8 połówek: każdy kafel zajmuje 2, ostatni (25.)
   stoi na środku ostatniego rzędu. */
@media (min-width: 1200px) {
  .arsenal {
    grid-template-columns: 440px 1fr;
  }

  .ars-picker {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
  }

  .ars-picker .ars-tile {
    grid-column: span 2;
    padding: 10px 6px 8px;
    gap: 6px;
  }

  .ars-picker .ars-tile:last-child:nth-child(4n + 1) {
    grid-column: 4 / span 2;
  }

  .ars-picker .ars-thumb {
    width: 100%;
    height: 72px;
    border-radius: 14px;
  }

  .ars-picker .ars-tile .nm {
    font-size: 12.5px;
  }
}

/* Logo w sekcji „Zagraj za darmo” większe (było 104 px). */
.final .hero-icon {
  width: clamp(124px, 12vw, 172px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 24%;
}

/* Film ciosu w Arsenale „pływa” (sticky) tylko na telefonie, gdzie lista ciosów jest pod nim.
   Na komputerze stoi w miejscu obok listy. */
@media (min-width: 900px) {
  .ars-stage {
    position: relative;
    top: auto;
  }
}

/* ================================================================ EFEKTY STRONY (assets/js/fx.js)
   Zostały tylko te, które wybrał user: horda nad stopką, czarna dziura za logiem w „Zagraj za darmo”,
   złoty pasek na krawędziach sekcji i render broni za nagłówkiem Arsenału. Poziomy na <html>: fx-lite / fx-std. */

/* ---------- wydajność */
/* Rozmycie za kartami: pod nimi jest jednolite tło, więc efekt był niewidoczny, a słabe telefony przeliczały
   go przy każdym przewinięciu. Zostaje tylko w menu (nav, lista języków, menu na telefonie). */
.glass,
.btn-ghost,
.stats,
.hero-qr {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Tło za filmem na górze jest już rozmyte w pliku (hero_wide_blur.webp), bez filtra w przeglądarce. */
.hero-media .hero-backdrop {
  filter: none;
}

/* Sekcja poza ekranem: jej animacje stoją. */
.fx-off,
.fx-off::before,
.fx-off::after,
.fx-off *,
.fx-off *::before,
.fx-off *::after {
  animation-play-state: paused !important;
}

/* ---------- fx-lite: słabe urządzenie, nic się nie rusza */
.fx-lite *,
.fx-lite *::before,
.fx-lite *::after {
  animation-play-state: paused !important;
}

.fx-lite .ars-detail.anim .segs i,
.fx-lite .ars-body.swap,
.fx-lite .ars-body.swap > * {
  animation-play-state: running !important;
}

.fx-lite #hero-video,
.fx-lite #sparks,
.fx-lite .fx-horde,
.fx-lite .fx-cut-blade,
.fx-lite .fx-sing {
  display: none !important;
}

/* ---------- horda stickmanów nad stopką */
.fx-horde {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.fx-horde-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
}

.fx-horde-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + 1200px);
  background-repeat: repeat-x;
  background-size: 1200px 80px;
  background-position: 0 100%;
  animation: hordeMarch 60s linear infinite;
  will-change: transform;
}

.fx-horde-row.far {
  transform: scale(0.55);
  transform-origin: 50% 100%;
  bottom: 26px;
  opacity: 0.35;
}

.fx-horde-row.far .fx-horde-strip {
  animation-duration: 110s;
}

.fx-horde-row.mid {
  transform: scale(0.78);
  transform-origin: 50% 100%;
  bottom: 12px;
  opacity: 0.45;
}

.fx-horde-row.mid .fx-horde-strip {
  animation-duration: 75s;
}

.fx-horde-row.near {
  opacity: 0.55;
}

.fx-horde-row.near .fx-horde-strip {
  animation-duration: 48s;
}

@keyframes hordeMarch {
  to { transform: translateX(-1200px); }
}

@supports (animation-timeline: view()) {
  .fx-horde-row.far {
    animation: hordeParFar linear both;
    animation-timeline: view();
  }

  .fx-horde-row.mid {
    animation: hordeParMid linear both;
    animation-timeline: view();
  }

  @keyframes hordeParFar {
    from { translate: 40px 0; }
    to { translate: -40px 0; }
  }

  @keyframes hordeParMid {
    from { translate: 90px 0; }
    to { translate: -90px 0; }
  }
}

/* ---------- złoty pasek przelatujący po krawędzi sekcji przy wejściu na ekran */
.fx-cut-ready::after {
  transform: scaleX(0);
  transform-origin: 0 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.fx-cut-ready.fx-cut::after {
  transform: none;
}

.fx-cut-blade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(24px, 5vw, 70px);
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(0 calc(100% - 3px), 100% -2px, 100% 3px, 0 calc(100% + 2px));
  background: linear-gradient(90deg, transparent 0 40%, rgba(255, 251, 232, 0.95) 48%, #ffe28c 50%, transparent 58% 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  opacity: 0;
}

.fx-cut .fx-cut-blade {
  animation: cutBlade 0.75s cubic-bezier(0.3, 0.7, 0.3, 1) 1;
}

@keyframes cutBlade {
  0% { opacity: 1; background-position: 100% 0; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: 0 0; }
}

/* ---------- Arsenał: render wybranej broni za nagłówkiem */
.fx-ars-ghost {
  /* za nagłówkiem sekcji: panel z ciosami jest nieprzezroczysty i zasłaniałby render */
  position: absolute;
  z-index: -1;
  left: 50%;
  top: clamp(10px, 3vw, 50px);
  width: min(86vw, 820px);
  aspect-ratio: 2 / 1;
  translate: -50% 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
}

.fx-ars-ghost.on {
  opacity: 0.52;
}

.fx-ars-ghost img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* render broni 768 px z poświatą w jej kolorze, lekko unosi się */
  filter: drop-shadow(0 0 26px var(--wc, #f2c55c)) saturate(1.1);
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent);
  mask-image: radial-gradient(closest-side, #000 70%, transparent);
  transform: rotate(-8deg) scale(1.15);
  animation: ghostFloat 9s ease-in-out infinite alternate;
}

@keyframes ghostFloat {
  from { translate: 0 6px; }
  to { translate: 0 -10px; }
}

/* ---------- czarna dziura za logiem w „Zagraj za darmo” */
/* Canvas WebGL nad tłem sekcji w trybie screen: czerń znika, zostaje złoty dysk wokół logo. Pod tłem
   (jak w pierwszej wersji) na telefonie zasłaniała go ciemna winieta sekcji, bo logo stoi tam wyżej. */
.fx-sing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.78;
}

/* Obrazek zastępczy (tryb lekki, brak WebGL, za niski FPS): sam dysk na czarnym tle, czerń znika w trybie screen. */
.fx-sing-still {
  position: absolute;
  z-index: -1;
  height: auto;
  translate: -50% -50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}

/* ================================================================ TIERY: 12 równych pól, ostatnie zapieczętowane
   Siatka 3, 4 albo 6 kolumn, więc 12 pól zawsze wypełnia ją bez dziury. Pole 12 (Osobliwy) skrywa czarna dziura
   ze znakiem zapytania; stuknięcie odkrywa ramkę, nazwę i zagadkę pod siatką (forge.t12_hint). */
@media (min-width: 900px) {
  .tiers,
  .tiers-wrap.has-anim .tiers {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .tier {
    padding: 10px 8px;
  }

  .tier .nm {
    font-size: 12px;
  }
}

.tier.top {
  grid-column: auto;
  padding: 10px 8px;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(120% 90% at 50% 34%, #170a2b 0%, #07030f 62%);
  border-color: rgba(140, 91, 255, 0.85);
  box-shadow: 0 0 22px -4px #8c5bff, inset 0 0 26px -8px #8c5bff;
  -webkit-tap-highlight-color: transparent;
  /* opacity zostaje z pojawiania się kafli (.reveal), reszta szybka jak przy najechaniu */
  transition: opacity 0.8s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s;
}

.tier.top::after {
  content: none;
}

.tier.top:hover,
.tier.top:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 0 30px -2px #8c5bff, inset 0 0 30px -6px #ff4fd8;
}

/* środek czarnej dziury = środek ramki tieru (10 px odstępu + połowa ramki 68 px) */
.tier.top .sing {
  position: absolute;
  left: 50%;
  top: 44px;
  width: 0;
  height: 0;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.tier.top .sing::before {
  content: "";
  position: absolute;
  left: -64px;
  top: -64px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: conic-gradient(#8c5bff, #ff4fd8, #6ff2ff, #8c5bff, #ff4fd8, #6ff2ff, #8c5bff);
  -webkit-mask-image: radial-gradient(closest-side, transparent 34%, #000 44%, #000 58%, transparent 80%);
  mask-image: radial-gradient(closest-side, transparent 34%, #000 44%, #000 58%, transparent 80%);
  filter: blur(2.5px);
  opacity: 0.9;
  animation: singDisk 7s linear infinite;
}

@keyframes singDisk {
  from { transform: scaleY(0.34) rotate(0deg); }
  to { transform: scaleY(0.34) rotate(360deg); }
}

.tier.top .sing::after {
  content: "";
  position: absolute;
  left: -21px;
  top: -21px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1.5px rgba(111, 242, 255, 0.9), 0 0 14px 3px rgba(140, 91, 255, 0.85), 0 0 34px 8px rgba(255, 79, 216, 0.3);
}

.tier.top .q {
  position: absolute;
  left: 50%;
  top: 44px;
  z-index: 1;
  translate: -50% -50%;
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: #bff9ff;
  text-shadow: 0 0 10px #6ff2ff, 0 0 22px #8c5bff;
  transition: opacity 0.35s, transform 0.5s;
  animation: qPulse 2.6s ease-in-out infinite;
}

@keyframes qPulse {
  50% { opacity: 0.55; }
}

.tier.top .tframe {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(0.3) rotate(-25deg);
  transition: opacity 0.45s 0.2s, transform 0.8s 0.2s cubic-bezier(0.2, 0.9, 0.25, 1.3);
}

.tier.top .nm,
.tier.top .cost {
  position: relative;
  z-index: 1;
}

.tier.top .nm {
  color: #c9b4ff;
  letter-spacing: 0.08em;
}

.tier.top .cost .chip {
  color: #e8dcff;
  background: rgba(140, 91, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(140, 91, 255, 0.7);
}

.tier.top.open .q {
  opacity: 0;
  transform: scale(0.2);
  animation: none;
}

.tier.top.open .tframe {
  opacity: 1;
  transform: none;
}

.tier.top.open .sing {
  transform: scale(1.12);
}

.tier.top.open .sing::after {
  animation: singFlash 0.9s ease-out;
}

@keyframes singFlash {
  0% { box-shadow: 0 0 0 3px #fff, 0 0 40px 18px #6ff2ff, 0 0 80px 30px #ff4fd8; }
  100% { box-shadow: 0 0 0 1.5px rgba(111, 242, 255, 0.9), 0 0 14px 3px rgba(140, 91, 255, 0.85), 0 0 34px 8px rgba(255, 79, 216, 0.3); }
}

.tier.top.open .nm {
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #6ff2ff, #c9b4ff, #ff8fe6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 559px) {
  .tier.top .sing::before {
    left: -54px;
    top: -54px;
    width: 108px;
    height: 108px;
  }
}

/* zagadka pod siatką po odkryciu pola 12 */
.tiers-secret {
  margin: 16px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
  color: #dccbff;
  text-shadow: 0 0 18px rgba(140, 91, 255, 0.55);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s 0.45s, transform 0.6s 0.45s;
}

.tiers-secret.in {
  opacity: 1;
  transform: none;
}
