@font-face {
  font-family: "Fredoka";
  src: url("/fonts/Fredoka-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #111627;
  --stone: #1a2136;
  --stone-2: #232d49;
  --edge: #35405f;
  --cream: #fdead3;
  --muted: #bcb6b8;
  --fox: #fe7d01;
  --fox-deep: #d95c00;
  --ink: #2a1206;
  --gold: #fcc32d;
  --gold-deep: #7d4a10;
  --ribbon: #dd3340;
  --sky: #0292fc;
  --display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffd96a;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 50;
}

.skip:focus {
  left: 8px;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--stone);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  width: 104px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-family: var(--display);
  font-size: 1.05rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding-block: 8px;
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav .nav-cta {
  display: none;
}

@media (min-width: 760px) {
  .brand img {
    width: 124px;
  }

  .site-nav .nav-cta {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fox);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  padding: 12px 22px 14px;
  border-radius: 14px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), 0 8px 22px rgba(254, 125, 1, 0.28);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  background: #ff9224;
  color: var(--ink);
  transform: translateY(-2px);
}

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

.btn svg {
  flex: none;
  width: 26px;
  height: 26px;
}

.btn .btn-label small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.8;
}

.btn--play {
  font-size: 1.3rem;
  padding: 12px 26px 15px 20px;
}

.site-nav .btn {
  font-size: 0.98rem;
  padding: 9px 16px 11px;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--edge);
}

.btn--ghost:hover {
  background: var(--stone-2);
  color: var(--cream);
}

.ribbon {
  display: inline-block;
  background: var(--ribbon);
  color: #fff;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 9px 26px 11px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%, 11px 50%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}

.frame {
  border: 3px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 0 0 3px var(--gold-deep), 0 24px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: var(--stone-2);
}

.hero {
  position: relative;
  background: var(--stone);
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 78% 40%, rgba(2, 146, 252, 0.2), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--fox);
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr 1.08fr;
  }
}

.section {
  padding-block: clamp(60px, 9vw, 116px);
}

.section--stone {
  background: var(--stone);
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.game-intro {
  display: grid;
  gap: 28px;
  align-items: center;
}

.game-icon {
  width: 132px;
  border-radius: 30px;
  box-shadow: 0 0 0 3px var(--cream), 0 16px 36px rgba(0, 0, 0, 0.5);
}

.game-intro h2 {
  margin-bottom: 14px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.facts li {
  background: var(--stone-2);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.92rem;
  color: var(--cream);
}

@media (min-width: 760px) {
  .game-intro {
    grid-template-columns: auto 1fr auto;
    gap: 36px;
  }
}

.feature {
  padding-top: clamp(56px, 8vw, 96px);
}

.feature-head {
  display: grid;
  gap: 20px 56px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.feature-head .ribbon {
  margin-bottom: 16px;
}

.feature-head h2 {
  margin-bottom: 14px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--cream);
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.48em;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 900px) {
  .feature-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.shots {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--edge) transparent;
}

.shots li {
  flex: 0 0 min(66vw, 270px);
  scroll-snap-align: start;
}

.shots img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid rgba(252, 195, 45, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  background: var(--stone-2);
}

@media (min-width: 760px) {
  .shots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 2vw, 24px);
    margin: 0;
    padding: 0;
    overflow: visible;
  }

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

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

.split h3 {
  font-size: 1.35rem;
  margin: 30px 0 12px;
}

.split .feature-head {
  display: block;
  margin-bottom: 0;
}

.split p {
  color: var(--muted);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr minmax(0, 520px);
    align-items: center;
  }
}

.cta-band {
  background: var(--stone-2);
  border-block: 3px solid var(--gold-deep);
  text-align: center;
  padding-block: clamp(48px, 7vw, 84px);
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--muted);
}

.cta-band .actions {
  justify-content: center;
}

.studio {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
}

.studio h2 {
  margin-bottom: 18px;
}

.studio .ribbon + h2 {
  margin-top: 16px;
}

.studio .contact-line {
  margin-top: 26px;
}

.studio p + p {
  margin-top: 14px;
}

.studio p {
  color: var(--muted);
  max-width: 36em;
}

.sheet {
  margin: 0;
  background: var(--stone);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 8px clamp(18px, 3vw, 30px);
}

.section--stone .sheet {
  background: var(--night);
}

.sheet div {
  display: grid;
  gap: 2px 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--edge);
}

.sheet div:last-child {
  border-bottom: 0;
}

.sheet dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 560px) {
  .sheet div {
    grid-template-columns: 11em 1fr;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .studio {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

address {
  font-style: normal;
}

.contact-mail {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  color: var(--cream);
  text-decoration-color: var(--fox);
  text-decoration-thickness: 3px;
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  color: var(--gold);
}

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

.site-footer {
  background: #0c101d;
  border-top: 1px solid var(--edge);
  padding-block: 44px 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  gap: 28px;
}

.site-footer img {
  width: 112px;
}

.site-footer strong {
  color: var(--cream);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--cream);
}

.fineprint {
  font-size: 0.82rem;
  border-top: 1px solid var(--edge);
  padding-top: 20px;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px 40px;
  }

  .fineprint {
    grid-column: 1 / -1;
  }
}

.doc {
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}

.doc .wrap {
  max-width: calc(780px + var(--gutter) * 2);
}

.doc h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.doc .updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.doc h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
  color: var(--gold);
}

.doc h3 {
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 26px 0 8px;
}

.doc p {
  margin-bottom: 14px;
  color: #e6dcd0;
}

.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #e6dcd0;
}

.doc li {
  margin-bottom: 8px;
}

.doc strong {
  color: var(--cream);
}

.table-scroll {
  overflow-x: auto;
  margin: 10px 0 20px;
  border: 1px solid var(--edge);
  border-radius: 14px;
}

.doc table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.95rem;
}

.doc th,
.doc td {
  border-bottom: 1px solid var(--edge);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.doc tr:last-child td {
  border-bottom: 0;
}

.doc th {
  background: var(--stone-2);
  font-weight: 700;
}

.doc td a {
  overflow-wrap: anywhere;
}

.callout {
  background: var(--stone);
  border: 1px solid var(--edge);
  border-left: 5px solid var(--fox);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 22px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.doc .actions {
  margin: 26px 0 30px;
}

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

  .btn {
    transition: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }
}
