﻿/* FOUROPOLY landing — a game poster, not a whitepaper. */

:root {
  --table-1: #14352B;
  --table-2: #0D241C;
  --felt: #F2EAD8;
  --ink: #16130F;
  --brass: #C9A227;
  --lime: #B5E61D;
  --leaf: #7CB83A;
  --up: #1E7D4F;
  --down: #C2382B;
  --memecoin: #B0506E;
  --bigtech: #2B4C7E;
  --deeptech: #6B4C9A;
  --pharma: #2E7D6B;
  --ease: cubic-bezier(.2,.7,.2,1);
  --display: "Fredoka", "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(120% 80% at 50% 0%, #1c4438 0%, var(--table-1) 45%, var(--table-2) 100%);
  background-attachment: fixed;
  color: var(--felt);
  font-family: var(--mono);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; position: relative; z-index: 1; }

.wordmark {
  display: inline-block; font-family: var(--display); font-weight: 700;
  background: var(--lime); color: #10160a;
  /* the slab has to hug the letters — .3em of side padding against .12em on
     top read as a squashed, stretched-out logo */
  padding: .16em .2em .1em; border-radius: .1em;
  border: .07em solid #10160a; line-height: .92;
  box-shadow: 0 .06em 0 rgba(0,0,0,.35), 0 .4em 1.2em rgba(181,230,29,.22);
}

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,36,28,.75); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242,234,216,.1);
}
.nav__in { display: flex; align-items: center; justify-content: space-between;
  width: min(1200px,92vw); margin: 0 auto; padding: 12px 0; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; }
.nav__brand img { width: 36px; height: 36px; object-fit: contain; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .04em;
  padding: 15px 28px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn--play {
  background: linear-gradient(180deg, #cdf53a, var(--lime));
  color: #10160a; border: 2px solid #10160a;
  box-shadow: 0 4px 0 #10160a, 0 14px 34px rgba(181,230,29,.3);
}
.btn--play:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #10160a, 0 20px 44px rgba(181,230,29,.45); }
.btn--play:active { transform: translateY(2px); box-shadow: 0 1px 0 #10160a; }
.btn--x { min-width: 44px; justify-content: center; background: linear-gradient(180deg, #cdf53a, var(--lime)); color: #10160a; border: 2px solid #10160a; box-shadow: 0 4px 0 #10160a, 0 14px 34px rgba(181,230,29,.3); }
.btn--x:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #10160a, 0 20px 44px rgba(181,230,29,.45); }
.btn--x:active { transform: translateY(2px); box-shadow: 0 1px 0 #10160a; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--felt); border: 1px solid rgba(242,234,216,.3); }
.btn--ghost:hover { border-color: var(--felt); }

/* ── hero: the board is the poster ── */
.hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: min(96vh, 900px);
  display: grid; align-content: center;
  padding: 96px 0 120px;
  /* board.css wants two tokens landing.css does not define */
  --brass-dim: #8a6f1c;
  --paper-shadow: 0 30px 70px rgba(0,0,0,.55);
}

/* the real 40 tiles, laid flat and tipped away from the reader */
.hero__table {
  position: absolute; inset: -14% -2% -26%;
  display: grid; place-items: center;
  perspective: 1500px; pointer-events: none; z-index: 0;
}
.hero__tilt {
  width: min(1060px, 108vw);
  transform: rotateX(56deg) rotateZ(-14deg) scale(.98);
  transform-origin: 50% 44%;
  animation: drift 26s ease-in-out infinite;
}
.hero__tilt .board { width: 100%; max-width: none; box-shadow: 0 70px 140px rgba(0,0,0,.75); }
.hero__tilt .tile__tip, .hero__tilt .tile__flag { display: none; }
@keyframes drift {
  50% { transform: rotateX(54.5deg) rotateZ(-12.6deg) scale(1); }
}

/* the board has to stay legible as texture and never fight the headline */
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 46%, rgba(9,26,20,.94) 0%, rgba(9,26,20,.72) 45%, rgba(9,26,20,0) 78%),
    linear-gradient(180deg, rgba(13,36,28,.9) 0%, rgba(13,36,28,.25) 22%, rgba(13,36,28,.55) 62%, var(--table-2) 100%);
}
.hero__in { position: relative; z-index: 2; }

/* the PNG is 181x200 — pin the ratio so nothing can squeeze it sideways */
.hero__mascot {
  width: clamp(132px, 11vw, 172px); height: auto; aspect-ratio: 181 / 200;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.75));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero h1 { font-size: clamp(46px, 8.4vw, 112px); margin: 14px 0 0; }
.hero__tag {
  margin-top: 20px; font-size: clamp(12px,1.5vw,15px); letter-spacing: .28em;
  text-transform: uppercase; color: var(--brass);
}
.hero__cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── the strip of real 24h moves, running along the bottom of the board ── */
.tick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  overflow: hidden; padding: 11px 0;
  background: rgba(6,20,15,.72); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(242,234,216,.12);
  border-bottom: 1px solid rgba(242,234,216,.12);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tick__track { display: flex; width: max-content; animation: run 58s linear infinite; }
@keyframes run { to { transform: translateX(-50%); } }
.tick__i {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 22px; border-right: 1px solid rgba(242,234,216,.1);
  font-family: var(--mono); font-size: 12.5px; white-space: nowrap;
}
.tick__i i { display: inline-flex; width: 17px; height: 17px; }
.tick__i i svg { width: 17px; height: 17px; }
.tick__i b { color: var(--felt); font-weight: 500; letter-spacing: .06em; }
.tick__i u { text-decoration: none; font-variant-numeric: tabular-nums; }
.tick__i u.up { color: #58d69a; }
.tick__i u.dn { color: #ef7a6d; }

@media (prefers-reduced-motion: reduce) {
  .hero__tilt, .tick__track, .hero__mascot { animation: none; }
}

.props { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.props > * {
  position: absolute; top: var(--t); left: var(--l);
  transform: translate(-50%,-50%) rotate(var(--rot,0deg));
  animation: float 14s ease-in-out infinite; animation-delay: var(--d,0s);
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.45));
}
@keyframes float {
  0%,100% { transform: translate(-50%,-50%) rotate(var(--rot,0deg)); }
  50% { transform: translate(-50%, calc(-50% - 22px)) rotate(calc(var(--rot,0deg) + 6deg)); }
}

/* ── banknotes ── */
.bill {
  width: var(--w, 150px); aspect-ratio: 2.1 / 1;
  background: var(--c); border: 2px solid rgba(0,0,0,.55); border-radius: 5px;
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
}
.bill::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(0,0,0,.35); border-radius: 3px;
}
.bill__n { font-family: var(--display); font-weight: 700; font-size: calc(var(--w,150px) * .28); color: #16130f; }
.bill__c { position: absolute; top: 5px; left: 8px; font-family: var(--mono); font-size: calc(var(--w,150px) * .075); color: rgba(0,0,0,.6); letter-spacing: .08em; }

.bills { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.bills .bill { transform: rotate(var(--r, 0deg)); transition: transform .25s var(--ease); }
.bills .bill:hover { transform: rotate(0) translateY(-10px) scale(1.06); }

/* ── dice ── */
.die {
  /* Sizes are derived from --s with calc rather than percentages: percentage
     padding + percentage pips collapse to nothing under border-box. */
  width: var(--s, 76px); height: var(--s, 76px);
  background: linear-gradient(150deg,#fefdf8,#e2d8c2); border-radius: 20%;
  display: grid; grid-template: repeat(3,1fr)/repeat(3,1fr);
  padding: calc(var(--s, 76px) * .13);
  box-shadow: 0 6px 0 #b3a88f, inset 0 2px 3px rgba(255,255,255,.8);
}
.die i { display: grid; place-items: center; }
.die i.on::before {
  content: "";
  width: calc(var(--s, 76px) * .17); height: calc(var(--s, 76px) * .17);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a352b, #16130f);
}

/* ── houses / hotels ── */
.build { display: flex; align-items: flex-end; gap: 6px; }
.house, .hotel { border: 2px solid rgba(0,0,0,.5); border-radius: 2px; }
.house { width: 22px; height: 22px; background: #2f8f52; clip-path: polygon(50% 0,100% 42%,100% 100%,0 100%,0 42%); }
.hotel { width: 40px; height: 26px; background: var(--down); clip-path: polygon(50% 0,100% 30%,100% 100%,0 100%,0 30%); }

/* ── chance / chest cards ── */
.minicard {
  width: var(--w, 118px); aspect-ratio: 1.45/1; border-radius: 5px;
  background: var(--c); display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: calc(var(--w,118px)*.26);
  border: 2px solid rgba(0,0,0,.5);
  box-shadow: 0 8px 0 rgba(255,255,255,.85), 0 10px 0 rgba(0,0,0,.4);
}

/* ── sections ── */
.section { position: relative; padding: 74px 0; }
.section--alt { background: rgba(0,0,0,.2); border-block: 1px solid rgba(242,234,216,.07); }
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--lime); }
.section h2 { font-size: clamp(34px,5.4vw,58px); margin-top: 12px; }
.lede { margin-top: 14px; max-width: 640px; color: rgba(242,234,216,.72); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; margin-top: 44px; }
.step {
  background: rgba(242,234,216,.05); border: 1px solid rgba(242,234,216,.13);
  border-radius: 8px; padding: 26px; text-align: center;
  transition: transform .18s var(--ease), border-color .18s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(181,230,29,.5); }
.step__art { height: 90px; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 22px; }
.step p { margin-top: 8px; font-size: 14px; color: rgba(242,234,216,.7); }

/* ── property cards ── */
.cards { display: flex; gap: 22px; margin-top: 44px; flex-wrap: wrap; justify-content: center; perspective: 1200px; }
.card {
  width: 216px; background: linear-gradient(180deg,#fbf6ea,var(--felt)); color: var(--ink);
  border-radius: 5px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.5);
  border: 1px solid rgba(22,19,15,.2); transition: transform .25s var(--ease);
}
.card:hover { transform: translateY(-12px) rotateX(7deg) scale(1.04); }
.card__bar { height: 48px; background: var(--c); display: grid; place-items: center; color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.card__body { padding: 16px 16px 20px; text-align: center; }
.card__t { font-family: var(--display); font-weight: 600; font-size: 27px; }
.card__n { font-size: 12px; color: rgba(22,19,15,.6); }
.card__rows { margin-top: 12px; font-size: 12.5px; text-align: left; }
.card__row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid rgba(22,19,15,.1); }
.card__price { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 18px; }

/* ── split ── */
.split { display: flex; height: 92px; border-radius: 8px; overflow: hidden; margin-top: 38px; border: 2px solid rgba(0,0,0,.45); }
.split div { display: grid; place-items: center; text-align: center; font-size: 14px; color: #fff; padding: 4px; font-weight: 600; }
.split__prize { flex: 50; background: linear-gradient(180deg,#e0bb3d,var(--brass)); color: #221c07 !important; }
.split__burn { flex: 30; background: var(--down); }
.split__tre { flex: 15; background: var(--bigtech); }
.split__ops { flex: 5; background: var(--pharma); font-size: 12px; }

/* ── payout row ── */
.payout { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; justify-content: center; align-items: center; }
.chipbox {
  display: flex; align-items: center; gap: 10px;
  background: rgba(242,234,216,.06); border: 1px solid var(--c, var(--brass));
  border-radius: 999px; padding: 10px 18px; font-size: 14px;
}
.chipbox b { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--c, var(--brass)); }
.chipbox { color: rgba(242,234,216,.85); }

/* ── final ── */
.final { position: relative; text-align: center; padding: 90px 0 100px; overflow: hidden; }
.final h2 { font-size: clamp(38px,7vw,76px); }
.final .btn { margin-top: 30px; font-size: 18px; padding: 19px 44px; }
.badges { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.badge { font-size: 12px; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--c, var(--brass)); color: var(--c, var(--brass)); }

footer { border-top: 1px solid rgba(242,234,216,.1); padding: 26px 0 40px; font-size: 12.5px; color: rgba(242,234,216,.45); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .props { display: none; }
  .nav__in a:not(.btn):not(.nav__brand) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.final__sub { margin-top: 12px; color: rgba(242,234,216,.6); font-size: 14.5px; }

/* ── tokens actually walking the hero board ── */
.htok {
  align-self: center; justify-self: center;
  width: 52%; aspect-ratio: 1; border-radius: 50%;
  /* the veil sits above the board, so a flat disc reads as a dark smudge —
     the tokens need their own light to survive it */
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--c) 42%, var(--c) 100%);
  border: 2px solid rgba(0,0,0,.5);
  box-shadow: 0 3px 0 rgba(0,0,0,.45), 0 0 18px var(--c), 0 8px 16px rgba(0,0,0,.55);
  z-index: 4;
  animation: hop 1.9s var(--ease) infinite;
}
@keyframes hop { 0%, 78%, 100% { transform: none; } 88% { transform: translateY(-14%) scale(1.06); } }

/* ── live numbers, straight off the server ── */
.pulse { margin-top: 34px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.pulse__i { display: grid; justify-items: center; gap: 4px; }
.pulse__n {
  font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--felt);
  font-variant-numeric: tabular-nums;
}
.pulse__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(242,234,216,.5); }
.pulse__i--live .pulse__n { color: var(--lime); }
.pulse__dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); margin-right: 7px; vertical-align: 2px;
  animation: blip 2.2s ease-in-out infinite;
}
@keyframes blip { 50% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) { .htok, .pulse__dot { animation: none; } }



