:root {
  --ink: #142a36;
  --ink-soft: #274552;
  --sky: #64c7e6;
  --sky-deep: #2394bd;
  --ice: #e9f9ff;
  --cream: #fff8e8;
  --yellow: #ffd12e;
  --yellow-deep: #f0a800;
  --orange: #ff7c24;
  --red: #df3b29;
  --red-deep: #a92119;
  --green: #59b94d;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --border: 3px solid var(--ink);
  --radius: 22px;
  --font-display: "Bangers", "Arial Black", Impact, sans-serif;
  --font-body: "Nunito", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 209, 46, 0.38), transparent 23rem),
    radial-gradient(circle at 94% 20%, rgba(255, 124, 36, 0.18), transparent 26rem),
    linear-gradient(180deg, #dff7ff 0%, #f7fdff 34%, #dff5ff 72%, #bde9f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(20, 42, 54, 0.22) 1.2px, transparent 1.4px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at 50% 25%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 0%, transparent 78%);
}

a {
  color: var(--red-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

code {
  padding: 0.08em 0.38em;
  border-radius: 6px;
  background: rgba(20, 42, 54, 0.1);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.96;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border: var(--border);
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-burst {
  position: absolute;
  top: -170px;
  right: -180px;
  z-index: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  opacity: 0.22;
  pointer-events: none;
  background: repeating-conic-gradient(from 6deg, var(--yellow) 0deg 8deg, transparent 8deg 22deg);
  mask-image: radial-gradient(circle, black 0 48%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 0 48%, transparent 70%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 18px;
  border: var(--border);
  border-radius: 18px;
  background: rgba(255, 248, 232, 0.96);
  box-shadow: 5px 5px 0 var(--ink);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--sky);
  box-shadow: 3px 3px 0 var(--ink);
}

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

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.brand-copy strong span {
  margin-left: 0.12em;
  color: var(--red);
}

.brand-copy small {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  border: 2px solid transparent;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--ink);
  background: var(--yellow);
  outline: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: 660px;
  padding: clamp(50px, 7vw, 90px) 0 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--red-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero h1 {
  margin: 0 0 20px;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.title-small,
.title-big {
  display: block;
}

.title-small {
  padding-left: 6px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-shadow: 3px 3px 0 var(--white);
}

.title-big {
  font-size: clamp(5.2rem, 10.6vw, 9.4rem);
  color: var(--yellow);
  letter-spacing: 0.015em;
  -webkit-text-stroke: 3px var(--ink);
  text-shadow:
    5px 5px 0 var(--red),
    9px 9px 0 var(--ink);
}

.hero-lead {
  max-width: 590px;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--ink-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: var(--border);
  border-radius: 13px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
  outline: none;
}

.button-yellow {
  background: var(--yellow);
}

.button-ghost {
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 10px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 92px;
  padding: 9px 14px 8px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 2px;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  isolation: isolate;
}

.hero-star {
  position: absolute;
  width: min(480px, 100%);
  aspect-ratio: 1;
  z-index: -1;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 25%, 85% 15%, 75% 39%, 100% 50%, 75% 61%, 85% 85%, 61% 75%, 50% 100%, 39% 75%, 15% 85%, 25% 61%, 0% 50%, 25% 39%, 15% 15%, 39% 25%);
  filter: drop-shadow(7px 8px 0 var(--ink));
  transform: rotate(8deg);
}

.hero-star::after {
  content: "";
  position: absolute;
  inset: 19%;
  border: 4px dashed rgba(20, 42, 54, 0.34);
  border-radius: 50%;
}

.star-ray {
  position: absolute;
  width: 8px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
}

.ray-1 { top: 4%; left: 27%; transform: rotate(-28deg); }
.ray-2 { top: 10%; right: 20%; transform: rotate(35deg); }
.ray-3 { bottom: 8%; left: 20%; transform: rotate(38deg); }
.ray-4 { right: 17%; bottom: 7%; transform: rotate(-24deg); }

.hero-portrait {
  position: relative;
  width: min(390px, 86%);
  margin: 0;
  border: 4px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--sky);
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(-4deg);
}

.hero-portrait > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 28%;
}

.portrait-caption {
  display: flex;
  flex-direction: column;
  padding: 13px 17px 16px;
  border-top: 4px solid var(--ink);
  background: var(--cream);
  line-height: 1.1;
}

.portrait-caption span {
  color: var(--red-deep);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.portrait-caption strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  text-shadow: 2px 2px 0 var(--red-deep);
}

.sticker-one {
  top: 8%;
  right: 1%;
  width: 98px;
  height: 98px;
  padding-top: 4px;
  font-size: 2.2rem;
  transform: rotate(12deg);
}

.sticker-two {
  bottom: 10%;
  left: 1%;
  width: 84px;
  height: 84px;
  padding-top: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 2rem;
  text-shadow: none;
  transform: rotate(-13deg);
}

.hero-doodle {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linejoin: round;
  transform: rotate(-18deg);
}

.status-section {
  position: relative;
  padding: clamp(36px, 5vw, 62px);
  border: var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 86% 12%, rgba(100, 199, 230, 0.28), transparent 22rem),
    linear-gradient(135deg, #173342 0%, #102a38 62%, #0d2430 100%);
  color: var(--white);
  box-shadow: 9px 10px 0 var(--ink);
  overflow: hidden;
}

.status-section::before,
.status-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.status-section::before {
  top: -150px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 42px solid rgba(255, 209, 46, 0.11);
}

.status-section::after {
  bottom: -170px;
  left: -120px;
  width: 380px;
  height: 380px;
  border: 34px solid rgba(100, 199, 230, 0.09);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 34px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  transform: rotate(-0.7deg);
  transform-origin: left center;
}

.section-heading > p:last-child {
  max-width: 670px;
  font-weight: 700;
  color: var(--ink-soft);
}

.section-heading-light {
  position: relative;
  z-index: 1;
}

.section-heading-light > p:last-child {
  color: #c8e7f2;
}

.section-heading-light h2 {
  color: var(--yellow);
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.status-board {
  position: relative;
  z-index: 1;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: var(--border);
  background: var(--yellow);
}

.status-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 2px 2px 0 var(--ink);
}

.status-dot.is-live {
  animation: pulse 1.8s infinite;
}

.status-dot.is-offline {
  background: var(--red);
}

.status-dot.is-waiting {
  background: var(--orange);
}

@keyframes pulse {
  0%, 100% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 0 rgba(89, 185, 77, 0.55); }
  55% { box-shadow: 2px 2px 0 var(--ink), 0 0 0 11px rgba(89, 185, 77, 0); }
}

.status-banner > div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.status-kicker {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

#status-label {
  font-size: 1.08rem;
  font-weight: 900;
}

.status-address {
  margin-left: auto;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

.stat-card {
  position: relative;
  min-width: 0;
  padding: 25px 25px 22px;
  border-right: 2px solid rgba(20, 42, 54, 0.18);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.stat-icon svg {
  width: 27px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-online .stat-icon { background: var(--yellow); }
.stat-rooms .stat-icon { background: var(--sky); }
.stat-accounts .stat-icon { background: #ffb18b; }

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat-card > strong {
  display: block;
  margin: 2px 0 -3px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
}

.stat-card small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 12px 22px;
  border-top: 2px solid rgba(20, 42, 54, 0.18);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.status-note {
  text-align: right;
}

.download-section,
.setup-section,
.game-data-section,
.faq-section {
  padding: clamp(72px, 9vw, 120px) 0 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 325px;
  padding: 27px 29px 28px;
  border: 4px solid var(--ink);
  border-radius: 26px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 8px 9px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -65px;
  width: 210px;
  height: 210px;
  border: 30px solid rgba(20, 42, 54, 0.08);
  border-radius: 50%;
}

.download-card:hover,
.download-card:focus-visible {
  transform: translate(3px, 3px) rotate(-0.4deg);
  box-shadow: 5px 6px 0 var(--ink);
  outline: none;
}

.download-apk {
  background: linear-gradient(145deg, #ffe16b, var(--yellow) 58%, #f7b900);
}

.download-obb {
  background: linear-gradient(145deg, #ff9b61, var(--orange) 58%, var(--red));
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

.download-step {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.download-icon {
  position: absolute;
  top: 24px;
  right: 25px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 3px 3px 0 var(--ink);
}

.download-icon svg {
  width: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-card > strong {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.2rem);
  font-weight: 400;
  line-height: 0.92;
}

.download-file {
  max-width: calc(100% - 80px);
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.download-meta {
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.8;
}

.download-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
}

.download-action span {
  font-size: 1.1rem;
  line-height: 0;
}

.download-note {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-top: 26px;
  padding: 15px 20px;
  border: 2px dashed var(--ink);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.55);
}

.download-note strong {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 900;
}

.download-note p {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.setup-section {
  position: relative;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(42px, 6vw, 70px);
  border: var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 209, 46, 0.23), transparent 18rem),
    linear-gradient(145deg, #1d4352, #102a38);
  color: var(--white);
  box-shadow: 9px 10px 0 var(--ink);
  overflow: hidden;
}

.setup-section .section-heading {
  margin-bottom: 32px;
}

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

.step-card {
  position: relative;
  padding: 26px 24px 23px;
  border: 3px solid var(--ink);
  border-radius: 19px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.33);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  box-shadow: 2px 2px 0 var(--ink);
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.step-card p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.setup-actions {
  margin-top: 28px;
}

.setup-actions .button-ghost {
  background: var(--white);
}

.data-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 0 0 48px;
}

.data-pill {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.data-pill strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

.data-pill span {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.content-block {
  margin-top: 60px;
}

.block-heading {
  margin-bottom: 22px;
}

.block-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--red-deep);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.block-heading h3 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
}

.block-heading p {
  max-width: 670px;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.arena-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.arena-card {
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 7px 8px 0 var(--ink);
  overflow: hidden;
}

.arena-art {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}

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

.arena-image-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: rgba(255, 248, 232, 0.94);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.arena-copy {
  padding: 21px 24px 24px;
}

.card-id {
  display: block;
  margin-bottom: 5px;
  color: var(--red-deep);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arena-copy h4 {
  font-size: 2.5rem;
}

.arena-copy p {
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.info-card {
  position: relative;
  min-height: 185px;
  padding: 20px 19px 19px;
  border: 3px solid var(--ink);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 4px 5px 0 var(--ink);
  overflow: hidden;
}

.info-card::after {
  content: "";
  position: absolute;
  top: -38px;
  right: -38px;
  width: 95px;
  height: 95px;
  border: 17px solid rgba(20, 42, 54, 0.055);
  border-radius: 50%;
}

.hero-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(100, 199, 230, 0.42), transparent 55%),
    var(--white);
}

.weapon-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 209, 46, 0.55), transparent 55%),
    var(--white);
}

.card-art {
  display: grid;
  place-items: center;
  width: 100%;
  margin: -3px 0 14px;
  border-radius: 11px;
  overflow: hidden;
}

.hero-card .card-art {
  height: 176px;
  background: radial-gradient(circle at 50% 62%, rgba(100, 199, 230, 0.38), transparent 65%);
}

.weapon-card .card-art {
  height: 136px;
  background: radial-gradient(circle at 50% 62%, rgba(255, 209, 46, 0.5), transparent 65%);
}

.card-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 0 rgba(20, 42, 54, 0.16));
}

.info-card h4 {
  margin: 0 0 7px;
  font-size: 1.72rem;
}

.info-card p {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.muted-copy {
  font-style: italic;
  opacity: 0.7;
}

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

.rule-card {
  padding: 24px 22px;
  border: 3px solid var(--ink);
  border-radius: 19px;
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
}

.rule-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--sky);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rule-tag-yellow {
  background: var(--yellow);
}

.rule-card h4 {
  margin-bottom: 8px;
  font-size: 1.9rem;
}

.rule-card > p {
  min-height: 72px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.rule-list {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dashed rgba(20, 42, 54, 0.3);
  font-size: 0.75rem;
}

.rule-list li span {
  font-weight: 800;
  color: var(--ink-soft);
}

.rule-list li strong {
  font-weight: 900;
  text-align: right;
}

.rule-list.compact li {
  padding: 5px 0;
}

.faq-section {
  padding-bottom: clamp(70px, 9vw, 110px);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 16px 50px 16px 20px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 900;
  list-style: none;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 17px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 2px solid rgba(20, 42, 54, 0.25);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 11px;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-brand span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.footer-disclaimer {
  max-width: 820px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-meta {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.guide-page {
  max-width: 980px;
  padding: clamp(52px, 7vw, 86px) 0 clamp(70px, 9vw, 110px);
  margin: 0 auto;
}

.guide-hero {
  margin-bottom: 38px;
}

.guide-hero h1 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: clamp(4rem, 9vw, 7.2rem);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow:
    5px 5px 0 var(--red),
    9px 9px 0 var(--ink);
  transform: rotate(-1deg);
  transform-origin: left center;
}

.guide-hero > p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.guide-card {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 6px 7px 0 var(--ink);
}

.guide-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
}

.guide-card h3 {
  margin: 24px 0 8px;
  font-family: var(--font-body);
  font-size: 1.03rem;
  font-weight: 900;
}

.guide-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--ink);
}

.guide-list,
.guide-steps {
  margin: 0;
  padding-left: 24px;
}

.guide-list li,
.guide-steps li {
  margin: 9px 0;
  padding-left: 3px;
  font-weight: 700;
  color: var(--ink-soft);
}

.guide-list li::marker,
.guide-steps li::marker {
  color: var(--red);
  font-weight: 900;
}

.guide-steps li strong {
  color: var(--ink);
}

.guide-note {
  margin-top: 15px;
  padding: 11px 14px;
  border-left: 4px solid var(--orange);
  border-radius: 0 7px 7px 0;
  background: #fff2e7;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.guide-callout {
  margin-top: 21px;
  padding: 17px 19px;
  border: 2px dashed var(--ink);
  border-radius: 12px;
  background: var(--cream);
}

.guide-callout strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.94rem;
  font-weight: 900;
}

.guide-callout p {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.code-block {
  margin: 12px 0 18px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--ink);
  color: #d8f5ff;
  font-size: 0.78rem;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-block code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 30px;
}

.trouble-grid h3 {
  margin-top: 0;
}

.trouble-grid p {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.guide-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 760px) {
  .guide-hero h1 {
    -webkit-text-stroke-width: 2px;
    text-shadow:
      4px 4px 0 var(--red),
      6px 6px 0 var(--ink);
  }

  .trouble-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 15px;
    top: 8px;
  }

  .site-nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  html {
    scroll-padding-top: 160px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 60px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .hero-art {
    min-height: 460px;
  }

  .hero-star {
    width: min(440px, 92vw);
  }

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

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

  .rule-card > p {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

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

  .title-small {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .title-big {
    font-size: clamp(4.6rem, 22vw, 7.2rem);
    -webkit-text-stroke-width: 2px;
    text-shadow:
      4px 4px 0 var(--red),
      7px 7px 0 var(--ink);
  }

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

  .hero-facts li {
    min-width: 0;
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-portrait {
    width: min(330px, 82%);
  }

  .sticker-one {
    right: 0;
    width: 82px;
    height: 82px;
    font-size: 1.8rem;
  }

  .sticker-two {
    left: 0;
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }

  .status-section,
  .setup-section {
    border-radius: 26px;
    padding: 30px 20px;
  }

  .status-banner {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .status-address {
    margin-left: 30px;
  }

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

  .stat-card {
    border-right: 0;
    border-bottom: 2px solid rgba(20, 42, 54, 0.18);
    padding: 19px;
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .stat-card > strong {
    font-size: 3.6rem;
  }

  .status-foot {
    display: block;
    padding: 13px 16px;
  }

  .status-note {
    margin-top: 4px;
    text-align: left;
  }

  .download-grid,
  .steps-grid,
  .arena-grid {
    grid-template-columns: 1fr;
  }

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

  .download-note {
    display: block;
  }

  .download-note strong {
    display: block;
    margin-bottom: 4px;
  }

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

  .info-card {
    min-height: 0;
  }

  .info-card h4 {
    font-size: 1.55rem;
  }

  .setup-section {
    margin-top: 72px;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 20px);
  }

  main,
  .site-footer {
    width: calc(100% - 20px);
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

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

  .site-nav a {
    padding: 6px 7px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 365px;
  }

  .hero-portrait {
    width: min(290px, 84%);
  }

  .portrait-caption strong {
    font-size: 1.35rem;
  }

  .sticker-one {
    top: 2%;
    width: 68px;
    height: 68px;
    font-size: 1.55rem;
  }

  .sticker-two {
    bottom: 0;
    width: 62px;
    height: 62px;
    font-size: 1.5rem;
  }

  .hero-doodle {
    width: 55px;
  }

  .status-section,
  .setup-section {
    padding: 26px 15px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .status-banner {
    gap: 10px;
  }

  .status-address {
    margin-left: 0;
  }

  .heroes-grid,
  .weapons-grid {
    grid-template-columns: 1fr;
  }

  .rule-card h4 {
    font-size: 1.7rem;
  }

  .rule-list li {
    display: block;
  }

  .rule-list li strong {
    display: block;
    text-align: left;
  }
}

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

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