@font-face { font-family: "Lilita One"; src: url("../font/lilita-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../font/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../font/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../font/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* Sneak In — palette taken from the Steam capsule and library art */
:root {
  --peach: #fada9d;
  --peach-light: #fde9c4;
  --cream: #fdf0d7;
  --seth: #f57c00;
  --seth-red: #e2301b;
  --sun: #fddc4e;
  --maroon: #4a1a22;
  --maroon-deep: #33111a;
  --leaf: #4f9e3a;
  --lime: #8bc400;
  --grass: #9ae16a;
  --ink: #14161a;

  --m-red: #f06e7a;
  --m-orange: #f7931e;
  --m-green: #3fae49;
  --m-blue: #3f8fd2;
  --m-teal: #3fb6c7;
  --m-pink: #e07ad8;

  --display: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --body: "Nunito", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 34rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--maroon);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: .01em;
}

h2 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h3 { font-size: 1.5rem; }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The logo's look: white letters with a hard black drop */
.stamp {
  color: #fff;
  text-shadow: 4px 5px 0 var(--ink);
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font: 400 1.5rem/1 var(--display);
  letter-spacing: .02em;
  text-decoration: none;
  padding: .75em 1.25em .7em;
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-buy {
  background: linear-gradient(180deg, #ff9a2e, var(--seth) 55%, #ea6a00);
  color: #fff;
  border: 3px solid var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}

.btn-buy:hover { transform: translate(-1px, -1px); box-shadow: 5px 6px 0 var(--ink); }
.btn-buy:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }

.btn-buy svg { width: 1.05em; height: 1.05em; fill: currentColor; }

.btn-alt {
  font: 700 1.05rem/1 var(--body);
  padding: .6em .2em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Hero: Steam library art ---------- */

.hero {
  position: relative;
  background: var(--peach);
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(32px, 6vw, 72px);
}

.hero h1 { margin: 0; }

.logo {
  width: min(78vw, 560px);
  height: auto;
  margin: 0 auto;
}

.hero-pitch {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 30rem;
  margin: 18px auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
}

.hero-meta {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
  opacity: .85;
}

.hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin-top: clamp(-70px, -3.5vw, -16px);
  pointer-events: none;
}

/* Twinkling sparkles in the sky, like on the capsule */
.sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sparkles svg {
  position: absolute;
  fill: #fff;
  opacity: .8;
  animation: twinkle 3.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(.55); opacity: .35; }
}

/* ---------- Sections ---------- */

section { padding: clamp(64px, 9vw, 120px) 0; }

.section-head {
  max-width: var(--measure);
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.2rem;
}

/* Gameplay on the grass */

.meadow {
  background: linear-gradient(180deg, var(--grass) 0%, #7fcf4e 60%, #6dbb3c 100%);
  color: var(--maroon-deep);
  position: relative;
}

.meadow h2 { color: #fff; text-shadow: 3px 4px 0 var(--leaf); }

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

.clips video,
.clips img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: var(--maroon);
  border: 5px solid var(--cream);
  box-shadow: 0 12px 0 -4px rgba(47, 98, 26, .55);
}

.clips > :first-child {
  grid-column: span 3;
  border-radius: 28px;
}

.trailer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trailer-btn {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 16 / 9;
  border: 5px solid var(--cream);
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--maroon) center / cover no-repeat;
}

.trailer-btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: var(--seth) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
  border: 3px solid var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
}

.trailer iframe {
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  height: auto;
  border: 5px solid var(--cream);
  border-radius: 16px;
}

.trailer p { max-width: 18rem; font-weight: 700; }

/* Magic marbles */

.marbles-section {
  background: var(--peach-light);
}

.marbles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 44px 40px;
}

.marbles li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 2px 18px;
  align-items: start;
}

.marbles h3 { color: var(--seth-red); align-self: end; }
.marbles p { grid-column: 2; line-height: 1.45; }

/* Glossy striped marble, drawn after the Steam art */
.marble {
  --c: var(--m-blue);
  grid-row: span 2;
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #fff 0 9%, rgba(255, 255, 255, .55) 10% 15%, transparent 16%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, .28) 0 7px, transparent 7px 17px),
    radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--c), #fff 25%), var(--c) 55%, color-mix(in srgb, var(--c), #000 25%));
  box-shadow: 0 10px 8px -6px rgba(74, 26, 34, .35);
}

.marble--frozen { --c: #6cc3f0; box-shadow: 0 0 0 4px #e2f6ff, 0 0 0 7px rgba(108, 195, 240, .45), 0 10px 8px -6px rgba(74, 26, 34, .35); }
.marble--ghost { --c: var(--m-red); opacity: .42; }
.marble--square { --c: var(--m-green); border-radius: 16px; }
.marble--pebble { --c: #a69585; border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; }
.marble--blackhole {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .7) 0 7%, transparent 8%),
    radial-gradient(circle, #000 0 32%, #3b1a63 50%, #8e3bb5 75%, #c27ae6);
  box-shadow: 0 0 16px rgba(142, 59, 181, .55), 0 10px 8px -6px rgba(74, 26, 34, .35);
}
.marble--virus {
  --c: var(--m-green);
  background:
    radial-gradient(circle at 32% 26%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 62% 40%, #1f5e16 0 5px, transparent 6px),
    radial-gradient(circle at 38% 66%, #1f5e16 0 7px, transparent 8px),
    radial-gradient(circle at 70% 70%, #1f5e16 0 4px, transparent 5px),
    radial-gradient(circle at 40% 35%, #7fd27f, var(--m-green) 55%, #23772d);
}
.marble--multi {
  background:
    radial-gradient(circle at 32% 26%, #fff 0 9%, rgba(255, 255, 255, .55) 10% 15%, transparent 16%),
    conic-gradient(var(--m-red), var(--m-orange), var(--sun), var(--m-green), var(--m-teal), var(--m-blue), var(--m-pink), var(--m-red));
}

/* Features + gallery */

.features {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}

.facts { margin: 32px 0 0; }

.facts dt {
  font: 400 1.4rem/1.2 var(--display);
  color: var(--seth);
  margin-top: 22px;
}

.facts dt:first-child { margin-top: 0; }

.facts dd { margin: 4px 0 0; }

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

.shots a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 10px 18px -10px rgba(74, 26, 34, .45);
}

.shots a:first-child { grid-column: span 2; }

.shots img {
  width: 100%;
  height: auto;
  transition: transform .25s ease;
}

.shots a:hover img { transform: scale(1.04); }

/* Proof */

.proof { padding-top: 0; }

.proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: center;
  border-top: 3px dotted rgba(74, 26, 34, .25);
  padding-top: clamp(64px, 9vw, 120px);
}

.rating {
  font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display);
}

.rating + p { margin-top: 10px; }

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

.quotes blockquote {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}

.quotes cite {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 1rem;
  opacity: .7;
}

/* Final call: the capsule */

.final {
  background: var(--peach);
}

.final-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}

.final-art {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 5px solid #fff;
  box-shadow: 0 16px 30px -14px rgba(74, 26, 34, .5);
}

.final h2 { font-size: clamp(3rem, 7vw, 5.5rem); }

.final p {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 14px 0 32px;
  max-width: 24rem;
}

.final .btn-buy { font-size: 1.75rem; }

.final-widget {
  display: block;
  margin-top: 36px;
  width: 100%;
  max-width: 646px;
  height: 190px;
  border: 0;
}

/* Footer */

footer {
  background: var(--maroon);
  color: var(--peach-light);
  padding: 32px 0;
  font-size: 1.05rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

footer .studio {
  display: block;
  margin-bottom: 20px;
}

footer .studio::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 20px;
  background: rgba(253, 233, 196, .2);
}

footer .studio p { max-width: 46rem; }

.hero-meta a { font-weight: 700; text-underline-offset: 3px; }

footer nav { display: flex; gap: 24px; flex-wrap: wrap; }

footer a { text-underline-offset: 3px; }
footer a:hover { color: var(--sun); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .features, .proof-inner, .final-inner { grid-template-columns: 1fr; }
  .clips { grid-template-columns: 1fr; }
  .clips > :first-child { grid-column: auto; }
  .final-widget { margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .hero-art { margin-top: 8px; }
  .final-widget { display: none; }
  .btn { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shots img { transition: none; }
  .sparkles svg { animation: none; }
}
