* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #050806;
  --bg-2: #09150d;
  --surface: #0d1f12;
  --surface-high: #14291a;
  --ink: #f7fff1;
  --muted: #c5d8c3;
  --quiet: #8ba48e;
  --line: rgba(126, 241, 172, 0.18);
  --pocket: #7ef1ac;
  --crate: #ffc65f;
  --crate-deep: #9b5d18;
  --gate: #ff667c;
  --water: #70dcff;
  --wall: #223226;
  --shadow: rgba(0, 0, 0, 0.5);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans CJK KR", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--pocket);
}

.shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 198, 95, 0.1) 0 10%, transparent 10% 100%),
    linear-gradient(225deg, rgba(255, 102, 124, 0.08) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, #102317 0%, #071109 54%, #050806 100%),
    var(--bg);
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::before {
  width: 18px;
  height: 18px;
  border: 2px solid var(--pocket);
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 0 45%, var(--crate) 45% 63%, transparent 63% 100%),
    rgba(117, 234, 167, 0.12);
  box-shadow: 0 0 24px rgba(117, 234, 167, 0.32);
  content: "";
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover::before {
  box-shadow: 0 0 32px rgba(255, 198, 95, 0.42);
  transform: rotate(8deg) translateY(-1px);
}

.nav-tools {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
}

.links a {
  color: #d7ead6;
  text-decoration: none;
  transition: color 160ms ease;
}

.links a:hover,
.brand:hover {
  color: #fff1bf;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  display: inline-flex;
  min-height: 36px;
  min-width: 92px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(117, 234, 167, 0.32);
  border-radius: 8px;
  padding: 7px 11px;
  color: #fff1bf;
  background: rgba(5, 15, 8, 0.76);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  list-style: none;
  user-select: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-menu[open] summary {
  border-color: rgba(245, 182, 82, 0.72);
  color: #1c1204;
  background: var(--crate);
}

.language-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.language-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 6;
  display: grid;
  width: min(220px, calc(100vw - 40px));
  max-height: min(320px, 58svh);
  overflow-y: auto;
  border: 1px solid rgba(117, 234, 167, 0.28);
  border-radius: 8px;
  padding: 6px;
  background: rgba(5, 13, 8, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.language-menu:not([open]) .language-options {
  display: none;
}

.language-options a {
  display: flex;
  min-height: 38px;
  align-items: center;
  border-radius: 6px;
  padding: 9px 10px;
  color: #d7ead6;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.language-options a:hover,
.language-options a[aria-current="true"] {
  color: #1c1204;
  background: var(--crate);
}

.hero {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 7, 5, 0.98) 0%, rgba(4, 7, 5, 0.9) 43%, rgba(4, 7, 5, 0.44) 100%),
    linear-gradient(180deg, rgba(8, 30, 14, 0.24), rgba(5, 8, 6, 0.94)),
    url("assets/pocket-push-og-1200x630.png") right center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(rgba(126, 241, 172, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 241, 172, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 42%, rgba(255, 198, 95, 0.08) 42% 44%, transparent 44% 100%);
  background-size: 72px 72px, 72px 72px, 180px 180px;
  content: "";
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.86) 46%, transparent 86%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.86) 46%, transparent 86%);
  opacity: 0.66;
  transform: rotate(-1deg) translate3d(0, 0, 0);
  animation: gridShift 16s linear infinite;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 30svh;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 88%);
  content: "";
  pointer-events: none;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.stage-rail,
.stage-tile {
  position: absolute;
  display: block;
}

.stage-rail {
  width: 38vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 241, 172, 0.48), transparent);
  box-shadow: 0 0 22px rgba(126, 241, 172, 0.22);
  transform-origin: left center;
}

.rail-a {
  --rail-angle: -13deg;
  top: 31%;
  right: 8%;
  transform: rotate(-13deg);
  animation: railPulse 4.8s ease-in-out infinite;
}

.rail-b {
  --rail-angle: 11deg;
  top: 69%;
  right: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 124, 0.38), transparent);
  transform: rotate(11deg);
  animation: railPulse 5.8s ease-in-out 800ms infinite;
}

.stage-tile {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 198, 95, 0.42);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 211, 120, 0.92), var(--crate));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 28px rgba(255, 198, 95, 0.18);
  opacity: 0.9;
}

.tile-a {
  top: 24%;
  right: 36%;
  animation: tileFloat 6.6s ease-in-out infinite;
}

.tile-b {
  top: 57%;
  right: 11%;
  width: 16px;
  height: 16px;
  animation: tileFloat 7.4s ease-in-out 700ms infinite;
}

.tile-c {
  bottom: 18%;
  right: 29%;
  width: 18px;
  height: 18px;
  border-color: rgba(112, 220, 255, 0.44);
  background: linear-gradient(135deg, rgba(112, 220, 255, 0.88), rgba(126, 241, 172, 0.9));
  animation: tileFloat 7s ease-in-out 250ms infinite;
}

.tile-d {
  top: 44%;
  left: 6%;
  width: 12px;
  height: 12px;
  opacity: 0.55;
  animation: tileFloat 8s ease-in-out 1s infinite;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(32px, 8svh, 88px) 0 clamp(62px, 11svh, 112px);
}

.hero-copy {
  max-width: 720px;
  animation: riseIn 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--crate);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  word-break: keep-all;
}

.hero h1,
.content h1 {
  margin: 0;
  font-size: clamp(66px, 11.4vw, 146px);
  line-height: 0.84;
}

.hero h1 {
  text-shadow: 0 16px 56px rgba(0, 0, 0, 0.42), 0 0 36px rgba(126, 241, 172, 0.08);
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #fafff4;
  font-size: clamp(23px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.08;
}

.hero-summary,
.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.hero-summary {
  margin: 18px 0 0;
}

.phone-showcase {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  min-height: min(650px, 66svh);
  animation: phoneIn 820ms cubic-bezier(0.2, 0.8, 0.2, 1) 90ms both;
}

.showcase-board {
  position: absolute;
  inset: 8% -8% 6% 5%;
  border: 1px solid rgba(126, 241, 172, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(126, 241, 172, 0.12) 18% 19%, transparent 19% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(126, 241, 172, 0.1) 18% 19%, transparent 19% 100%),
    linear-gradient(135deg, rgba(255, 198, 95, 0.18), rgba(255, 102, 124, 0.08) 42%, rgba(112, 220, 255, 0.08)),
    rgba(6, 20, 10, 0.78);
  background-size: 62px 62px, 62px 62px, auto, auto;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.42), inset 0 0 70px rgba(126, 241, 172, 0.06);
  transform: perspective(900px) rotateY(-12deg) rotateZ(-3deg);
  animation: boardBreath 5.4s ease-in-out infinite;
}

.board-rail,
.board-slot,
.board-crate {
  position: absolute;
  display: block;
}

.board-rail {
  left: 16%;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 241, 172, 0.6), transparent);
  box-shadow: 0 0 18px rgba(126, 241, 172, 0.22);
}

.rail-one {
  top: 28%;
}

.rail-two {
  top: 62%;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 124, 0.54), transparent);
}

.board-slot {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(126, 241, 172, 0.28);
  border-radius: 8px;
  background: rgba(12, 32, 17, 0.62);
}

.slot-one {
  top: 18%;
  right: 11%;
}

.slot-two {
  bottom: 20%;
  left: 13%;
}

.slot-three {
  right: 10%;
  bottom: 13%;
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 241, 172, 0.55) 0 35%, transparent 37%),
    rgba(12, 32, 17, 0.62);
}

.board-crate {
  top: 38%;
  left: 10%;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe08a, var(--crate));
  box-shadow: inset 0 -7px 0 rgba(91, 50, 10, 0.18), 0 0 32px rgba(255, 198, 95, 0.22);
  animation: cratePush 4.8s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(72%, 340px);
  margin: 0 auto;
  border: 1px solid rgba(126, 241, 172, 0.42);
  border-radius: 30px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(16, 33, 20, 0.95), rgba(5, 12, 7, 0.98));
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.54), 0 0 62px rgba(126, 241, 172, 0.2);
  transform: rotate(1.6deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.phone-frame::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 68px;
  height: 5px;
  border-radius: 999px;
  background: rgba(126, 241, 172, 0.18);
  content: "";
  transform: translateX(-50%);
}

.phone-shot {
  display: block;
  width: 100%;
  max-height: 62svh;
  object-fit: contain;
  border: 1px solid rgba(126, 241, 172, 0.24);
  border-radius: 20px;
  background: #071108;
}

.phone-showcase:hover .phone-frame {
  box-shadow: 0 48px 132px rgba(0, 0, 0, 0.6), 0 0 74px rgba(255, 198, 95, 0.18);
  transform: translateY(-8px) rotate(0.4deg);
}

.push-trail {
  position: absolute;
  z-index: 3;
  left: 11%;
  bottom: 18%;
  display: flex;
  gap: 8px;
  transform: rotate(-2deg);
}

.push-trail span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--gate);
  box-shadow: 0 0 24px rgba(255, 102, 124, 0.38);
  animation: trailBlink 1.8s ease-in-out infinite;
}

.push-trail span:nth-child(2) {
  background: var(--crate);
  animation-delay: 160ms;
}

.push-trail span:nth-child(3) {
  background: var(--water);
  animation-delay: 320ms;
}

.play-badge {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2%;
  border: 1px solid rgba(245, 182, 82, 0.48);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff6d6;
  background: rgba(10, 16, 11, 0.86);
  box-shadow: 0 18px 44px var(--shadow);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transform: translateX(-50%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(117, 234, 167, 0.46);
  border-radius: 8px;
  padding: 11px 18px;
  color: var(--ink);
  background: rgba(8, 23, 13, 0.72);
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button.primary {
  border-color: rgba(245, 182, 82, 0.86);
  color: #1c1204;
  background: var(--crate);
}

.button:hover {
  border-color: #fff1bf;
  background: rgba(25, 50, 28, 0.86);
  color: #fff1bf;
  transform: translateY(-2px);
}

.button.primary:hover {
  color: #1c1204;
  background: #fff1bf;
}

.button::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: 0.72;
  transform: rotate(-45deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.button:hover::after {
  opacity: 1;
  transform: translateX(3px) rotate(-45deg);
}

.mechanic-strip,
.story-band,
.screenshots,
.content,
.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.mechanic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mechanic {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  padding: 16px 20px;
  border-right: 1px solid rgba(117, 234, 167, 0.12);
  overflow: hidden;
  transition: background-color 180ms ease, transform 180ms ease;
}

.mechanic:last-child {
  border-right: 0;
}

.mechanic::before {
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pocket), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 180ms ease, transform 240ms ease;
}

.mechanic:hover {
  background: rgba(126, 241, 172, 0.045);
  transform: translateY(-2px);
}

.mechanic:hover::before {
  opacity: 0.9;
  transform: translateX(0);
}

.mechanic strong {
  color: var(--ink);
  font-size: 18px;
}

.detail {
  grid-column: 2;
  color: var(--quiet);
  font-size: 15px;
}

.tile-icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  margin-top: 3px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tile-icon.crate,
.cell.crate {
  background: linear-gradient(135deg, #ffd171, var(--crate));
  box-shadow: inset 0 -6px 0 rgba(91, 50, 10, 0.18), 0 0 24px rgba(245, 182, 82, 0.16);
}

.tile-icon.pocket,
.cell.pocket {
  background: radial-gradient(circle at 50% 52%, rgba(7, 13, 9, 0.72) 0 38%, transparent 39%), var(--pocket);
  box-shadow: 0 0 22px rgba(117, 234, 167, 0.22);
}

.tile-icon.switch,
.cell.switch {
  background: radial-gradient(circle at 50% 50%, #fff2be 0 22%, var(--gate) 24% 100%);
}

.tile-icon.reset {
  background:
    linear-gradient(90deg, transparent 0 32%, #ffffff 32% 44%, transparent 44% 100%),
    linear-gradient(0deg, transparent 0 32%, #ffffff 32% 44%, transparent 44% 100%),
    #173b26;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.story-band h2,
.screenshots h2,
.content h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.98;
}

.story-band p,
.screenshots-header p,
.content p,
.content li {
  color: var(--muted);
}

.story-band p {
  max-width: 620px;
  margin: 0;
  font-size: 20px;
}

.board-demo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(28px, 1fr));
  gap: 8px;
  max-width: 430px;
  padding: 18px;
  border: 1px solid rgba(117, 234, 167, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(117, 234, 167, 0.14), rgba(239, 95, 114, 0.09)),
    rgba(9, 20, 12, 0.82);
  box-shadow: 0 26px 82px var(--shadow);
  transform: perspective(900px) rotateX(7deg) rotateZ(-2deg);
  animation: boardDrift 5.4s ease-in-out infinite;
}

.board-demo::before,
.board-demo::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.board-demo::before {
  top: 49%;
  left: 25%;
  width: 48%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 220, 255, 0), rgba(112, 220, 255, 0.84), rgba(255, 198, 95, 0));
  box-shadow: 0 0 20px rgba(112, 220, 255, 0.32);
  transform-origin: left center;
  animation: routeSweep 2.8s ease-in-out infinite;
}

.board-demo::after {
  right: 21%;
  bottom: 28%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(126, 241, 172, 0.78);
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(126, 241, 172, 0.28);
  animation: pocketLock 2.8s ease-in-out infinite;
}

.cell {
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #142719;
}

.cell.wall {
  background: linear-gradient(135deg, #263528, #162018);
}

.cell.floor {
  background: #0f2316;
}

.cell.gate {
  background: linear-gradient(135deg, #f06f80, #823240);
}

.cell.player {
  background: radial-gradient(circle at 50% 42%, #fff7d0 0 20%, var(--water) 22% 100%);
  box-shadow: 0 0 22px rgba(103, 217, 255, 0.24);
}

.screenshots {
  position: relative;
  padding: 80px 0 94px;
}

.screenshots::before {
  position: absolute;
  top: 22px;
  left: 50%;
  width: min(840px, 82vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 198, 95, 0.44), transparent);
  content: "";
  transform: translateX(-50%);
}

.screenshots-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.screenshots-header p {
  margin: 0;
  font-size: 18px;
}

.shot-row {
  perspective: 1100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  align-items: end;
}

.shot-frame {
  position: relative;
  margin: 0;
  transform-style: preserve-3d;
}

.shot-frame:nth-child(2) {
  transform: translateY(28px);
}

.shot-frame::before {
  position: absolute;
  inset: 8% -4% -4% 8%;
  border: 1px solid rgba(126, 241, 172, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(126, 241, 172, 0.08), rgba(255, 102, 124, 0.07)),
    rgba(7, 18, 10, 0.5);
  content: "";
  transform: translateZ(-24px) rotate(-2deg);
}

.shot-frame img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(117, 234, 167, 0.26);
  border-radius: 8px;
  background: #071108;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34), 0 0 40px rgba(126, 241, 172, 0.08);
  transition: transform 180ms ease, border-color 180ms ease;
}

.shot-frame:hover img {
  border-color: rgba(245, 182, 82, 0.52);
  transform: translateY(-7px) rotate(0.4deg);
}

.content {
  max-width: 880px;
  padding: 64px 0 74px;
}

.content h1 {
  margin-bottom: 20px;
  font-size: clamp(52px, 10vw, 100px);
}

.content h2 {
  margin-top: 42px;
  color: #dcffe9;
  font-size: 28px;
}

.content p,
.content li {
  font-size: 18px;
}

.content ul {
  padding-left: 22px;
}

.panel {
  border: 1px solid rgba(117, 234, 167, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(8, 20, 12, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.panel h2 {
  margin-top: 0;
}

.section-title,
.contact-line,
.status-line,
.privacy-line,
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.section-title {
  align-items: center;
}

.icon,
.inline-icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-icon {
  margin-top: 0.22em;
}

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

.icon-list li {
  margin: 0;
}

.icon-list strong {
  color: var(--ink);
}

.footer {
  padding: 34px 0 50px;
  color: var(--quiet);
  font-size: 14px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gridShift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px, 180px 180px;
  }
}

@keyframes railPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: rotate(var(--rail-angle, -13deg)) scaleX(0.78);
  }
  50% {
    opacity: 0.92;
    transform: rotate(var(--rail-angle, -13deg)) scaleX(1);
  }
}

@keyframes tileFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(9deg);
  }
}

@keyframes boardBreath {
  0%,
  100% {
    transform: perspective(900px) rotateY(-12deg) rotateZ(-3deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateY(-9deg) rotateZ(-2deg) translateY(-8px);
  }
}

@keyframes cratePush {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  42%,
  58% {
    transform: translate3d(72px, 0, 0);
  }
}

@keyframes trailBlink {
  0%,
  100% {
    opacity: 0.36;
    transform: translateY(0) scale(0.82);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
}

@keyframes routeSweep {
  0%,
  100% {
    opacity: 0.22;
    transform: scaleX(0.18);
  }
  52% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

@keyframes pocketLock {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.84);
  }
  52% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes boardDrift {
  0%,
  100% {
    transform: perspective(900px) rotateX(7deg) rotateZ(-2deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateX(7deg) rotateZ(-2deg) translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5, 10, 7, 0.98) 0%, rgba(7, 17, 10, 0.96) 58%, var(--bg) 100%),
      var(--bg);
  }

  .hero::before {
    opacity: 0.34;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  }

  .hero-fx {
    opacity: 0.5;
  }

  .hero-layout,
  .story-band,
  .screenshots-header {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    align-items: start;
  }

  .phone-showcase {
    justify-self: center;
    width: min(340px, 76vw);
    min-height: auto;
  }

  .showcase-board {
    display: none;
  }

  .phone-frame {
    width: min(260px, 68vw);
    transform: none;
  }

  .phone-shot {
    max-height: 40svh;
    transform: none;
  }

  .push-trail {
    left: 18%;
    bottom: 12%;
  }

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

  .mechanic:nth-child(2) {
    border-right: 0;
  }

  .mechanic:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(117, 234, 167, 0.12);
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
  }

  .links {
    gap: 12px;
    font-size: 14px;
  }

  .nav-tools {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .language-options {
    right: auto;
    left: 0;
  }

  .hero h1 {
    font-size: clamp(54px, 15vw, 70px);
  }

  .content h1 {
    font-size: clamp(42px, 12.6vw, 52px);
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 21px;
  }

  .hero-summary {
    margin-top: 12px;
  }

  .hero-summary,
  .lead,
  .story-band p {
    font-size: 16px;
  }

  .hero-layout {
    gap: 22px;
    padding: 20px 0 36px;
  }

  .actions {
    margin-top: 20px;
  }

  .button {
    min-height: 44px;
    padding: 9px 14px;
  }

  .phone-showcase {
    width: min(300px, 78vw);
  }

  .phone-frame {
    width: min(230px, 72vw);
    padding: 9px;
    border-radius: 24px;
  }

  .phone-shot {
    max-height: 30svh;
    border-radius: 16px;
  }

  .play-badge {
    position: static;
    display: inline-flex;
    margin-top: 12px;
    transform: none;
    white-space: normal;
  }

  .mechanic-strip {
    grid-template-columns: 1fr;
  }

  .mechanic,
  .mechanic:nth-child(2) {
    border-right: 0;
  }

  .mechanic {
    border-bottom: 1px solid rgba(117, 234, 167, 0.12);
    padding: 16px 0;
  }

  .mechanic:last-child {
    border-bottom: 0;
  }

  .story-band {
    padding: 56px 0;
  }

  .board-demo {
    grid-template-columns: repeat(7, minmax(20px, 1fr));
    gap: 6px;
    padding: 12px;
  }

  .screenshots {
    padding: 56px 0 68px;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .shot-frame:nth-child(2) {
    transform: none;
  }

  .shot-frame img {
    max-height: 540px;
    object-fit: contain;
  }

  .content {
    padding: 44px 0 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
