@font-face {
  font-family: 'Dogica Pixel';
  src: url('assets/fonts/dogicapixel.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Dogica Pixel Bold';
  src: url('assets/fonts/dogicabold.ttf') format('truetype');
  font-display: swap;
}

:root {
  --section-height: 100vh;
  --control-height: 40px;
  --consent-box-size: 16px;
  --accent: #14f195;
  --accent-alt: #00ffb2;
  --accent-soft: rgba(20, 241, 149, 0.14);
  --bg-base: #010207;
  --bg-secondary: #0b111b;
  --bg-surface: #141a24;
  --bg-surface-alt: #1b2331;
  --bg-card: #111a29;
  --bg-card-nested: #0d1524;
  --bg-inset: #0e141d;
  --bg-tint: rgba(20, 30, 45, 0.55);
  --bg-overlay: rgba(4, 8, 14, 0.86);
  --stroke: #324258;
  --stroke-strong: #4e6281;
  --divider: #243348;
  --text-primary: #f4f7fb;
  --text-secondary: #9fb2c8;
  --text-tertiary: #6f829a;
  --text-dark: #07291e;
  --banana: #ffd700;
  --danger: #ff5e7d;
}

@supports (height: 100dvh) {
  :root {
    --section-height: 100dvh;
  }
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: 'Dogica Pixel', 'dogicapixel', monospace;
  color: var(--text-primary);
  background: var(--bg-base);
  text-transform: lowercase;
  letter-spacing: 0;
}

::selection {
  background: rgba(20, 241, 149, 0.28);
  color: var(--text-primary);
}

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

.site-footer {
  position: relative;
  width: 100%;
  scroll-snap-align: end;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 8px;
  line-height: 12px;
  padding: 6px 12px 2px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(320px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 241, 149, 0.18), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition:
    color 140ms ease,
    text-shadow 140ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text-secondary);
  text-decoration: underline;
  text-shadow: 0 0 12px rgba(20, 241, 149, 0.12);
}

.screen-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.layer {
  position: absolute;
  inset: 0;
}

.base-layer {
  background: linear-gradient(160deg, #010207 0%, #040811 46%, #060a13 100%);
}

.accent-layer {
  opacity: 0.95;
}

.accent-layer-a {
  background: linear-gradient(
    145deg,
    rgba(20, 241, 149, 0.06) 0%,
    rgba(0, 194, 255, 0.04) 52%,
    rgba(153, 69, 255, 0.08) 100%
  );
  animation: drift-a 16.8s ease-in-out infinite alternate;
}

.accent-layer-b {
  background: linear-gradient(
    145deg,
    rgba(153, 69, 255, 0.08) 0%,
    rgba(20, 241, 149, 0) 50%,
    rgba(0, 194, 255, 0.07) 100%
  );
  animation: drift-b 16.8s ease-in-out infinite alternate;
}

.smoke-layer {
  opacity: 0.95;
  background: linear-gradient(
    145deg,
    rgba(2, 4, 9, 0.66) 0%,
    rgba(10, 13, 19, 0.2) 50%,
    rgba(1, 2, 6, 0.76) 100%
  );
}

.texture-layer {
  opacity: 0.34;
  background-image: radial-gradient(
    circle,
    rgba(220, 231, 243, 0.34) 0.55px,
    transparent 0.7px
  );
  background-repeat: repeat;
  background-size: 3px 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--section-height);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero {
  position: relative;
  flex: 0 0 auto;
  min-height: var(--section-height);
  height: var(--section-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 178, 200, 0.42), transparent);
  transform: translateX(-50%);
  animation: scroll-cue 2.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.brand-logo {
  width: min(350px, 64vw);
  height: auto;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.panel {
  border: 1px solid var(--stroke);
  background: var(--bg-tint);
  padding: 16px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-color: var(--stroke);
  background: rgba(10, 16, 26, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(500px, 100%);
  padding: 12px;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(20, 241, 149, 0.08);
  background:
    linear-gradient(90deg, rgba(20, 241, 149, 0.06), transparent 34%, rgba(78, 98, 129, 0.055)),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.018) 5px 6px);
  opacity: 0.62;
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  margin: 0;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 16px;
  max-width: 640px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.form-row .input-shell {
  flex: 1 1 auto;
  min-width: 0;
  height: var(--control-height);
  min-height: var(--control-height);
}

.form-row .btn {
  flex: 0 0 clamp(110px, 30%, 148px);
  width: clamp(110px, 30%, 148px);
  padding-inline: 8px;
  height: var(--control-height);
  min-height: var(--control-height);
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}

.consent-row input[type='checkbox'] {
  appearance: none;
  width: var(--consent-box-size);
  height: var(--consent-box-size);
  margin: 0;
  flex: 0 0 var(--consent-box-size);
  border: 1px solid var(--stroke-strong);
  background: var(--bg-surface-alt);
  position: relative;
  cursor: pointer;
}

.consent-row input[type='checkbox']:checked {
  border-color: var(--accent);
  background: rgba(20, 241, 149, 0.14);
}

.consent-row input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: calc(var(--consent-box-size) * 0.32);
  top: calc(var(--consent-box-size) * 0.12);
  width: calc(var(--consent-box-size) * 0.2);
  height: calc(var(--consent-box-size) * 0.48);
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-row input[type='checkbox']:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 1px;
}

.consent-row label {
  display: inline-flex;
  align-items: center;
  min-height: var(--consent-box-size);
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 13px;
  text-transform: none;
  cursor: pointer;
}

.turnstile-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2px;
}

#turnstile-container {
  min-height: 65px;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-label {
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 10px;
  text-transform: uppercase;
}

.input-shell {
  min-height: var(--control-height);
  border: 1px solid var(--stroke-strong);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.input-shell:focus-within {
  border-color: var(--accent);
  background: rgba(20, 31, 47, 0.98);
  box-shadow: 0 0 0 1px rgba(20, 241, 149, 0.2), 0 0 22px rgba(20, 241, 149, 0.1);
}

.input-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.input-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  caret-color: var(--accent);
  color: var(--text-primary);
  font-family: 'Dogica Pixel', 'dogicapixel', monospace;
  font-size: 10px;
  line-height: 14px;
  text-transform: none;
}

.input-shell input::placeholder {
  color: var(--text-tertiary);
}

.btn {
  min-height: var(--control-height);
  border: 1px solid var(--stroke-strong);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-family: 'Dogica Pixel', 'dogicapixel', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 7px 12px;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(20, 241, 149, 0.12);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(20, 241, 149, 0.1);
}

.btn-primary {
  border-width: 2px;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text-dark);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2cffad;
  box-shadow: 0 0 28px rgba(20, 241, 149, 0.22);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pulse {
  animation: pulse 1.8s ease-in-out infinite;
}

.impact-shake {
  animation: landing-shake 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.verified-pill {
  border: 1px solid rgba(20, 241, 149, 0.5);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8px;
  line-height: 10px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.form-status {
  display: none;
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 12px;
  text-align: center;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.error {
  color: #ff8ca2;
}

.form-status.success {
  color: var(--accent);
}

.is-hidden {
  display: none;
}

.sprite-wrap {
  width: min(280px, 60vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sprite-gif {
  width: min(100%, 300px);
  height: auto;
  max-height: 34vh;
  object-fit: contain;
  image-rendering: pixelated;
}

.showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1500px, calc(100vw - 32px));
  margin: 0 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(20, 241, 149, 0.16), transparent 28%),
    radial-gradient(circle at 86% 48%, rgba(31, 80, 180, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.96) 0%, rgba(7, 17, 30, 0.95) 52%, rgba(2, 6, 12, 0.98) 100%);
  text-transform: none;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.showcase::before {
  opacity: 0.72;
  background:
    linear-gradient(112deg, rgba(0, 92, 61, 0.5) 0 13%, transparent 13% 37%, rgba(9, 19, 38, 0.72) 37% 70%, rgba(31, 66, 132, 0.28) 70% 100%),
    linear-gradient(112deg, transparent 0 18%, rgba(20, 241, 149, 0.08) 18% 22%, transparent 22% 58%, rgba(45, 78, 142, 0.16) 58% 64%, transparent 64% 100%);
}

.showcase::after {
  opacity: 0.3;
  background-image: radial-gradient(circle, rgba(220, 231, 243, 0.28) 0.55px, transparent 0.7px);
  background-size: 3px 3px;
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  min-height: var(--section-height);
  height: var(--section-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 0;
  background: transparent;
  padding: clamp(22px, 4.5vw, 64px);
}

.showcase-panel::before,
.faq-section::before {
  content: '';
  position: absolute;
  top: clamp(14px, 2.4vw, 28px);
  left: 50%;
  z-index: 1;
  width: min(360px, 42vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(78, 98, 129, 0.28),
    rgba(20, 241, 149, 0.22),
    rgba(78, 98, 129, 0.28),
    transparent
  );
  opacity: 0.72;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase-panel > * {
  position: relative;
  z-index: 1;
}

.showcase-topline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
}

.ath-stat {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--accent);
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 0 18px rgba(20, 241, 149, 0.08);
}

.ath-stat strong {
  color: var(--text-primary);
  font-size: clamp(32px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 16px rgba(20, 241, 149, 0.1));
}

.ath-stat span {
  font-size: clamp(8px, 1.1vw, 15px);
  letter-spacing: 2px;
  border-top: 1px solid rgba(20, 241, 149, 0.34);
  padding-top: 6px;
}

.showcase-heading-row {
  margin: clamp(28px, 6vw, 72px) 0 22px;
}

.showcase-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: clamp(8px, 1vw, 13px);
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.showcase-kicker.boxed {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(20, 241, 149, 0.65);
  background:
    linear-gradient(90deg, rgba(20, 241, 149, 0.12), transparent 52%),
    rgba(20, 241, 149, 0.04);
  box-shadow: inset 3px 0 0 rgba(20, 241, 149, 0.72), 0 0 18px rgba(20, 241, 149, 0.06);
  padding: 11px 16px 11px 18px;
}

.showcase h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Dogica Pixel Bold', 'Dogica Pixel', monospace;
  font-size: clamp(42px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(20, 241, 149, 0.08);
}

.showcase h2 span {
  display: block;
}

.leaderboard-showcase h2 {
  max-width: 100%;
  font-size: clamp(30px, 5.8vw, 86px);
  letter-spacing: clamp(1px, 0.18vw, 2px);
  white-space: nowrap;
}

.catalog-showcase h2 span:last-child {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(20, 241, 149, 0.16);
}

.leaderboard-list {
  display: grid;
  gap: 16px;
}

.leaderboard-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  border: 1px solid rgba(78, 98, 129, 0.68);
  background: rgba(12, 20, 33, 0.82);
  padding: 18px 34px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.leaderboard-row::after {
  content: '';
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 241, 149, 0.14), transparent);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.leaderboard-row:first-child {
  border-color: rgba(20, 241, 149, 0.9);
  box-shadow: inset 8px 0 0 var(--accent), 0 0 38px rgba(20, 241, 149, 0.08);
}

.leaderboard-row:hover {
  border-color: rgba(20, 241, 149, 0.82);
  background: rgba(14, 27, 42, 0.9);
  box-shadow: 0 0 28px rgba(20, 241, 149, 0.08);
  transform: translateY(-1px);
}

.leaderboard-row:hover::after {
  opacity: 1;
}

.leaderboard-rank,
.leaderboard-score {
  color: var(--accent);
  font-size: clamp(22px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 2px;
}

.leaderboard-name {
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-size: clamp(13px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
}

.catalog-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.catalog-text {
  max-width: 650px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(10px, 1.25vw, 18px);
  line-height: 1.55;
  text-transform: lowercase;
  text-wrap: balance;
}

.catalog-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.catalog-badges div {
  position: relative;
  min-height: 64px;
  border: 1px solid rgba(78, 98, 129, 0.7);
  background:
    linear-gradient(135deg, rgba(20, 241, 149, 0.055), transparent 42%),
    rgba(10, 17, 28, 0.56);
  padding: 14px 16px;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.catalog-badges div::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(20, 241, 149, 0.58);
  border-right: 1px solid rgba(20, 241, 149, 0.58);
  opacity: 0.72;
  pointer-events: none;
}

.catalog-badges div:hover {
  border-color: rgba(20, 241, 149, 0.6);
  box-shadow: inset 0 0 0 1px rgba(20, 241, 149, 0.04), 0 0 22px rgba(20, 241, 149, 0.06);
}

.catalog-badges span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(7px, 0.85vw, 10px);
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-badges strong {
  color: var(--text-primary);
  font-size: clamp(10px, 1.05vw, 15px);
  line-height: 1.35;
  text-transform: uppercase;
}

.catalog-content {
  display: grid;
  gap: 36px;
  justify-items: center;
}

.featured-world-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid rgba(20, 241, 149, 0.62);
  background: rgba(6, 13, 21, 0.6);
  overflow: hidden;
  box-shadow: 0 0 46px rgba(20, 241, 149, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.featured-world-card:hover {
  border-color: rgba(20, 241, 149, 0.92);
  box-shadow: 0 0 58px rgba(20, 241, 149, 0.18), 0 26px 60px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.featured-world-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
}

.shop-showcase .featured-world-card img {
  object-fit: cover;
}

.featured-world-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(78, 98, 129, 0.42);
  border-left-color: rgba(20, 241, 149, 0.72);
  background:
    linear-gradient(90deg, rgba(20, 241, 149, 0.08), transparent 40%),
    rgba(7, 12, 20, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  padding: 18px 22px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.featured-world-label span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(8px, 1vw, 12px);
  text-transform: lowercase;
}

.featured-world-label strong {
  display: block;
  color: var(--text-primary);
  font-size: clamp(18px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.item-gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-count, 10), minmax(70px, 1fr));
  gap: 8px;
  align-items: center;
  width: 100%;
  background: rgba(5, 10, 17, 0.76);
  padding: 34px 36px;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}

.showcase-item-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 241, 149, 0.55);
  background: rgba(14, 36, 35, 0.76);
  overflow: hidden;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.showcase-item-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  opacity: 0.7;
  pointer-events: none;
}

.showcase-item-tile:hover {
  border-color: rgba(20, 241, 149, 0.95);
  box-shadow: 0 0 22px rgba(20, 241, 149, 0.14);
  transform: translateY(-2px);
}

.showcase-item-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.lootbox-showcase {
  grid-template-columns: minmax(260px, 0.48fr) minmax(420px, 0.92fr);
  grid-template-areas:
    'lootbox copy'
    'gallery gallery';
}

.lootbox-art {
  grid-area: lootbox;
  display: grid;
  place-items: center;
}

.lootbox-art img {
  width: min(360px, 100%);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.48));
}

.lootbox-showcase .catalog-copy {
  grid-area: copy;
}

.lootbox-gallery {
  grid-area: gallery;
  width: min(1160px, 100%);
  margin: 10px auto 0;
}

.banana-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
}

.banana-card img {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.showcase-skeleton {
  min-height: 74px;
  border: 1px solid rgba(78, 98, 129, 0.44);
  background: linear-gradient(
    90deg,
    rgba(16, 25, 39, 0.7),
    rgba(20, 241, 149, 0.12),
    rgba(16, 25, 39, 0.7)
  );
  background-size: 200% 100%;
  animation: skeleton-scan 1.4s linear infinite;
}

.item-gallery .showcase-skeleton {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.catalog-placeholder {
  min-height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 98, 129, 0.5);
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  text-transform: lowercase;
}

.faq-section {
  position: relative;
  width: min(1500px, calc(100vw - 32px));
  margin: 0 50%;
  transform: translateX(-50%);
  min-height: var(--section-height);
  height: var(--section-height);
  overflow: hidden;
  scroll-snap-align: start;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(20, 241, 149, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.98), rgba(8, 14, 24, 0.96));
  text-transform: none;
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  width: 100%;
  max-height: 100%;
}

.faq-header {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 20px;
}

.faq-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Dogica Pixel Bold', 'Dogica Pixel', monospace;
  font-size: clamp(42px, 7.8vw, 110px);
  line-height: 0.92;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(20, 241, 149, 0.08);
}

.faq-intro {
  max-width: 520px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(10px, 1.1vw, 14px);
  line-height: 1.6;
  text-wrap: balance;
}

.faq-accordion-list {
  display: grid;
  gap: 10px;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(20, 241, 149, 0.55) rgba(10, 17, 28, 0.66);
  scrollbar-width: thin;
}

.faq-accordion-list::-webkit-scrollbar,
.item-gallery::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.faq-accordion-list::-webkit-scrollbar-track,
.item-gallery::-webkit-scrollbar-track {
  background: rgba(10, 17, 28, 0.72);
}

.faq-accordion-list::-webkit-scrollbar-thumb,
.item-gallery::-webkit-scrollbar-thumb {
  background: rgba(20, 241, 149, 0.42);
}

.faq-accordion-list::-webkit-scrollbar-thumb:hover,
.item-gallery::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 241, 149, 0.68);
}

.faq-accordion-item {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(13, 21, 36, 0.9);
  padding: 0;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.faq-accordion-item[open] {
  border-left: 2px solid var(--accent);
  background: rgba(11, 17, 27, 0.95);
  box-shadow: inset 0 0 0 1px rgba(20, 241, 149, 0.04);
}

.faq-accordion-item[open] summary {
  color: var(--accent);
}

.faq-accordion-item:hover {
  border-color: rgba(20, 241, 149, 0.55);
  background: rgba(14, 23, 38, 0.94);
}

.faq-accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
  color: var(--text-primary);
  font-size: clamp(12px, 1.3vw, 18px);
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

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

.faq-accordion-item summary:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -3px;
}

.faq-toggle {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--stroke);
  background: rgba(10, 17, 28, 0.92);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  background: var(--text-secondary);
  transform: translateY(-50%);
}

.faq-toggle::after {
  left: 50%;
  right: auto;
  top: 6px;
  bottom: 6px;
  width: 2px;
  height: auto;
  transform: translateX(-50%);
}

.faq-accordion-item[open] .faq-toggle {
  border-color: var(--accent);
  background: rgba(20, 241, 149, 0.12);
}

.faq-accordion-item[open] .faq-toggle::before {
  background: var(--accent);
}

.faq-accordion-item[open] .faq-toggle::after {
  display: none;
}

.faq-body {
  margin: 0 18px 18px;
  border-top: 1px solid var(--divider);
  background:
    linear-gradient(90deg, rgba(20, 241, 149, 0.055), transparent 48%),
    rgba(5, 10, 17, 0.38);
  box-shadow: inset 2px 0 0 rgba(20, 241, 149, 0.34);
  padding: 14px 14px 14px 16px;
}

.faq-body p,
.faq-body li {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.65;
  text-transform: lowercase;
}

.faq-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-body li {
  position: relative;
  padding-left: 18px;
}

.faq-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-secondary);
}

@keyframes drift-a {
  from {
    transform: translate(-18px, -14px);
  }
  to {
    transform: translate(18px, 14px);
  }
}

@keyframes drift-b {
  from {
    transform: translate(12px, 10px);
  }
  to {
    transform: translate(-12px, -10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes landing-shake {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(0, 1px, 0);
  }
  40% {
    transform: translate3d(-1px, 0, 0);
  }
  60% {
    transform: translate3d(1px, 0, 0);
  }
  80% {
    transform: translate3d(0, -1px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes skeleton-scan {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-50%) scaleX(0.72);
  }
  50% {
    opacity: 0.46;
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 980px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 36px;
    gap: 14px;
  }

  .hero::after {
    bottom: 12px;
    width: 42px;
  }

  .brand-logo {
    width: min(320px, 90vw);
  }

  .showcase {
    width: calc(100vw - 24px);
    gap: 0;
  }

  .showcase-panel {
    min-height: var(--section-height);
    height: var(--section-height);
  }

  .catalog-showcase,
  .lootbox-showcase {
    grid-template-columns: 1fr;
    grid-template-areas:
      'copy'
      'lootbox'
      'gallery';
  }

  .lootbox-art {
    justify-content: start;
  }

  .catalog-badges {
    max-width: none;
  }

  .item-gallery {
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    padding: 20px;
  }

  .leaderboard-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px 18px;
  }

  .faq-section {
    width: calc(100vw - 24px);
  }

  .faq-shell {
    grid-template-columns: 1fr;
  }

  .faq-header {
    position: static;
  }
}

@media (max-height: 900px) and (min-width: 981px) {
  :root {
    --control-height: 38px;
  }

  .hero {
    gap: 6px;
  }

  .brand-logo {
    width: min(320px, 52vw);
  }

  .sprite-wrap {
    width: min(240px, 42vw);
  }

  .sprite-gif {
    max-height: 28vh;
  }

  .hero-panel {
    width: min(460px, 92vw);
    padding: 10px;
  }

  .showcase-panel {
    padding: 30px 54px;
  }

  .showcase-heading-row {
    margin: 22px 0 16px;
  }

  .showcase h2 {
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.94;
  }

  .leaderboard-showcase h2 {
    font-size: clamp(30px, 4.8vw, 62px);
    letter-spacing: clamp(1px, 0.12vw, 2px);
    white-space: nowrap;
  }

  .ath-stat strong {
    font-size: clamp(34px, 5vw, 64px);
  }

  .leaderboard-list {
    gap: 10px;
  }

  .leaderboard-row {
    min-height: 62px;
    padding: 11px 26px;
  }

  .leaderboard-rank,
  .leaderboard-score {
    font-size: clamp(22px, 3.5vw, 42px);
  }

  .leaderboard-name {
    font-size: clamp(13px, 1.8vw, 24px);
  }

  .catalog-showcase {
    gap: 40px;
  }

  .catalog-copy {
    gap: 14px;
  }

  .showcase-kicker.boxed {
    padding: 8px 12px;
  }

  .catalog-text {
    font-size: clamp(10px, 1.05vw, 14px);
    line-height: 1.45;
  }

  .catalog-badges {
    gap: 12px;
    margin-top: 12px;
  }

  .catalog-badges div {
    min-height: 52px;
    padding: 10px 12px;
  }

  .catalog-content {
    gap: 16px;
  }

  .featured-world-card {
    width: 100%;
    max-height: calc(var(--section-height) - 250px);
  }

  .featured-world-label {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 18px;
  }

  .featured-world-label strong {
    font-size: clamp(18px, 2.6vw, 34px);
  }

  .item-gallery {
    gap: 6px;
    padding: 16px 20px;
  }

  .lootbox-art img {
    width: min(300px, 100%);
  }

  .lootbox-gallery {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --consent-box-size: 20px;
  }

  .page-shell {
    width: calc(100% - 16px);
  }

  .panel {
    padding: 12px;
  }

  .hero-title {
    font-size: 18px;
    line-height: 20px;
  }

  .input-shell input {
    font-size: 16px;
    line-height: 20px;
  }

  .input-shell input::placeholder {
    font-size: 12px;
    line-height: 16px;
  }

  .btn {
    font-size: 10px;
  }

  .hero-panel {
    width: calc(100% - 40px);
    margin-inline: auto;
  }

  .form-row {
    flex-direction: column;
    padding-inline: 0;
  }

  .form-row .btn {
    width: 100%;
    flex-basis: auto;
  }

  .consent-row {
    gap: 10px;
    align-items: flex-start;
  }

  .consent-row label {
    font-size: 10px;
    line-height: 14px;
  }

  .showcase {
    width: calc(100vw - 16px);
    margin-top: 0;
  }

  .showcase-panel {
    padding: 18px;
  }

  .showcase h2 {
    letter-spacing: 2px;
    line-height: 0.98;
  }

  .leaderboard-showcase h2 {
    font-size: clamp(18px, 6.1vw, 30px);
    letter-spacing: 1px;
  }

  .showcase-panel::before,
  .faq-section::before {
    top: 10px;
    width: min(180px, 48vw);
    opacity: 0.46;
  }

  .showcase-topline {
    align-items: center;
  }

  .ath-stat strong {
    font-size: 26px;
  }

  .leaderboard-row {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 72px;
  }

  .leaderboard-score {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 22px;
  }

  .catalog-badges {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .featured-world-card {
    min-height: 260px;
  }

  .featured-world-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .item-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 16px;
  }

  .showcase-item-tile {
    flex: 0 0 120px;
    scroll-snap-align: start;
  }

  .faq-section {
    width: calc(100vw - 16px);
    padding: 36px 18px;
  }

  .faq-shell {
    gap: 24px;
  }

  .faq-header {
    gap: 14px;
  }

  .faq-accordion-item summary {
    min-height: 54px;
    padding: 14px;
    font-size: 12px;
  }

  .faq-body {
    margin: 0 14px 14px;
  }
}

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

  .accent-layer-a,
  .accent-layer-b,
  .pulse,
  .impact-shake,
  .hero::after,
  .showcase-skeleton {
    animation: none;
  }
}
