@font-face {
  font-family: 'Sora';
  src: url('Sora-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('Inter-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('JetBrainsMono-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --card: #121214;
  --raise: #1b1b1e;
  --text: #f7f7f7;
  --muted: #aaaab0;
  --line: #2a2a2e;
  --lime: #c6ff3b;
  --lime-ink: #0a0a0b;
  --display: Sora, 'Segoe UI', system-ui, sans-serif;
  --body: Inter, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
a,
button {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.intro {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.logo {
  width: min(230px, 56vw);
  height: auto;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  font: 500 0.74rem/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.4s ease-out infinite;
}
h1 {
  margin: 0;
  max-width: 14ch;
  font: 700 clamp(2.1rem, 4.6vw, 3.7rem) / 1.04 var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--lime);
}
.intro p {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 9px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--raise) 80%, transparent);
  border: 1px solid var(--line);
  font: 500 0.8rem/1.2 var(--mono);
  color: var(--muted);
}
.facts b {
  color: var(--text);
  font-weight: 600;
}

/* Fairness card */
.verify {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
  backdrop-filter: blur(8px);
}
.verify h2 {
  margin: 0;
  font: 700 1.15rem/1.25 var(--display);
  letter-spacing: -0.01em;
}
.verify > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}
.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--raise);
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
  border: 1px solid transparent;
}
.steps li.wait {
  opacity: 0.8;
}
.steps li.done {
  border-color: color-mix(in srgb, var(--lime) 45%, transparent);
}
.steps span {
  font: 600 0.68rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.steps code {
  font: 500 0.76rem/1.5 var(--mono);
  color: var(--text);
  overflow-wrap: anywhere;
  min-height: 1.5em;
}
.steps .ok {
  color: var(--lime);
}
.steps .bad {
  color: #ff8a7a;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.buttons button {
  font: 800 0.9rem/1 var(--body);
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--lime-ink);
}
.buttons button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.buttons button:disabled {
  opacity: 0.45;
  cursor: default;
}
.verify .note {
  font: 500 0.72rem/1.5 var(--mono);
  color: var(--muted);
}

/* Game shelf: nine covers in one even row; scrolls sideways on narrow screens. */
.shelf {
  padding-block: 8px 28px;
}
.games {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.games li {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: var(--raise);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.games li:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--lime) 50%, transparent);
}
.games img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.games span {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgb(10 10 11 / 0.96) 55%);
  font: 700 0.82rem/1.2 var(--body);
}
.games small {
  font: 600 0.58rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.games .slot small {
  color: var(--lime);
}
footer.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 0 24px;
  color: var(--muted);
  font: 500 0.76rem/1.4 var(--mono);
}

/* Load-in: elements start visible and slightly offset, so a still frame is complete. */
.rise {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.rise:nth-child(2) {
  animation-delay: 0.06s;
}
.rise:nth-child(3) {
  animation-delay: 0.12s;
}
.rise:nth-child(4) {
  animation-delay: 0.18s;
}
.rise:nth-child(5) {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    transform: translateY(12px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}
@media (max-width: 1000px) {
  .games {
    grid-template-columns: repeat(9, 112px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
}
@media (max-width: 560px) {
  .verify {
    padding: 20px;
  }
  .games li {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  display: block;
}

.hero {
  background:
    linear-gradient(90deg, var(--bg) 8%, rgb(10 10 11 / 0.96) 35%, rgb(10 10 11 / 0.3) 68%, transparent 100%),
    linear-gradient(0deg, var(--bg) 1%, transparent 45%),
    url('./hero.webp') center right / cover no-repeat;
}

.intro {
  min-height: min(690px, 90vh);
  align-content: center;
  padding-block: 40px 64px;
}

.logo {
  width: clamp(184px, 20vw, 242px);
  margin-bottom: clamp(20px, 4vw, 64px);
}

h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 8vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  text-wrap: wrap;
}

h1 em {
  display: inline-block;
  padding-inline: 0.11em;
  color: var(--bg);
  background: var(--lime);
  box-shadow: 0 0.04em var(--lime);
  margin-block: 0.08em;
}

.intro p {
  max-width: 44ch;
  color: var(--text);
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: 16px 44px;
}

.shelf {
  padding-block: 0;
}

.shelf h2 {
  margin: 0 0 20px;
  font: 800 clamp(1.75rem, 3vw, 2.65rem) / 1.05 var(--display);
  letter-spacing: -0.04em;
}

.eyebrow {
  color: var(--lime);
  font: 600 0.75rem/1.3 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.not-found {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  align-content: center;
  justify-items: center;
  gap: 1.125rem;
  padding: 1.5rem;
  text-align: center;
}

.not-found img {
  width: 72px;
  height: auto;
}

.not-found h1 {
  max-width: none;
  font-size: clamp(2rem, 6vw, 3.7rem);
}

.not-found a {
  color: var(--lime);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .details {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(0deg, var(--bg) 4%, rgb(10 10 11 / 0.9) 43%, transparent 85%),
      url('./hero.webp') top right / auto min(88vw, 420px) no-repeat;
  }

  .intro {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .logo {
    margin-bottom: clamp(72px, 28vw, 168px);
  }

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