:root {
  --ink: #102135;
  --navy: #0d1c31;
  --blue: #176df0;
  --sky: #72d7ff;
  --lime: #bdf03c;
  --cream: #f5f1e8;
  --paper: #fbfaf6;
  --line: rgba(16, 33, 53, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 78px);
  position: absolute;
  z-index: 20;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 900; letter-spacing: -.7px; }
.brand strong { color: var(--lime); }
.brand-cube { width: 27px; height: 27px; position: relative; display: inline-block; transform: rotate(30deg) skew(-5deg); }
.brand-cube i { position: absolute; display: block; width: 16px; height: 16px; background: var(--lime); border: 2px solid currentColor; }
.brand-cube i:nth-child(1) { left: 5px; top: 0; }
.brand-cube i:nth-child(2) { left: 0; top: 8px; filter: brightness(.8); }
.brand-cube i:nth-child(3) { right: 0; top: 8px; filter: brightness(1.15); }
.site-header nav { display: flex; gap: clamp(22px, 3vw, 46px); font-size: 13px; font-weight: 700; }
.site-header nav a { opacity: .78; transition: opacity .2s; }
.site-header nav a:hover { opacity: 1; }
.header-cta { border: 1px solid rgba(255,255,255,.45); padding: 12px 17px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.header-cta span { margin-left: 12px; }

.hero {
  min-height: 780px;
  height: min(900px, 100vh);
  background: linear-gradient(120deg, #0a1b2e 0%, #103759 55%, #1680ad 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  padding: 100px clamp(24px, 7vw, 108px) 40px;
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(115,218,255,.36), transparent 27%), linear-gradient(90deg, transparent 48%, rgba(255,255,255,.03) 48%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.kicker, .section-index { font-size: 10px; letter-spacing: 2.4px; font-weight: 900; }
.kicker { display: flex; align-items: center; gap: 10px; color: #bcecff; margin-bottom: 22px; }
.kicker span { width: 31px; height: 2px; background: var(--lime); }
.hero h1 { font-size: clamp(62px, 7.4vw, 112px); line-height: .83; letter-spacing: -6px; margin: 0; font-weight: 900; text-transform: uppercase; }
.hero h1 em { color: var(--lime); font-style: normal; font-family: Georgia, serif; text-transform: none; font-weight: 400; letter-spacing: -7px; }
.hero-copy > p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: rgba(255,255,255,.74); max-width: 580px; margin: 34px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 17px 22px; font-size: 12px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.button.primary { background: var(--lime); color: var(--ink); }
.button.play-now {
  position: relative;
  min-width: 236px;
  padding: 18px 20px 18px 26px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 2px;
  box-shadow: 0 0 0 6px rgba(183,244,49,.12), 0 18px 42px rgba(0,0,0,.28), inset 0 -4px 0 rgba(13,28,49,.18);
  animation: play-now-pulse 2.6s ease-in-out infinite;
}
.button.play-now::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(183,244,49,.42);
  pointer-events: none;
}
.button.play-now i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 11px;
  font-style: normal;
  padding-left: 2px;
}
.button.play-now:hover { transform: translateY(-4px) scale(1.025); box-shadow: 0 0 0 7px rgba(183,244,49,.17), 0 22px 50px rgba(0,0,0,.34), inset 0 -4px 0 rgba(13,28,49,.18); }
.button.play-now:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
@keyframes play-now-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(183,244,49,.10), 0 18px 42px rgba(0,0,0,.28), inset 0 -4px 0 rgba(13,28,49,.18); }
  50% { box-shadow: 0 0 0 10px rgba(183,244,49,.20), 0 22px 48px rgba(183,244,49,.16), inset 0 -4px 0 rgba(13,28,49,.18); }
}
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.play { width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: 10px; border-radius: 50%; }
.hero-proof { display: flex; gap: 24px; margin-top: 30px; font-size: 11px; color: rgba(255,255,255,.6); }

.hero-world { position: relative; z-index: 2; height: 620px; transform: translateX(4%); }
.sun-orb { width: 310px; height: 310px; border-radius: 50%; position: absolute; right: 10%; top: 6%; background: radial-gradient(circle at 35% 35%, #c7f3ff, #65c8f2); box-shadow: 0 0 70px rgba(113,221,255,.35); opacity: .72; }
.voxel-island { width: 390px; height: 280px; position: absolute; left: 15%; top: 31%; transform: rotate(-2deg); filter: drop-shadow(30px 50px 36px rgba(1,17,33,.34)); }
.island-top { position: absolute; width: 320px; height: 230px; background: #65ba45; transform: rotate(30deg) skewX(-30deg) scaleY(.86); left: 35px; top: 0; border: 12px solid #83d85d; }
.island-side { position: absolute; width: 190px; height: 190px; top: 153px; background: repeating-linear-gradient(0deg, #704630 0 22px, #84533a 22px 44px); }
.island-side.left { left: 35px; transform: skewY(30deg); }
.island-side.right { right: 35px; transform: skewY(-30deg); filter: brightness(.72); }
.tree { position: absolute; z-index: 3; }
.tree b { position: absolute; width: 54px; height: 66px; background: #1d7a4a; transform: rotate(30deg) skew(-10deg); box-shadow: 20px 16px 0 #2c9255, -16px 22px 0 #155e3d; }
.tree span { position: absolute; width: 14px; height: 60px; background: #68422c; top: 48px; left: 19px; }
.tree-one { top: 47px; left: 92px; }
.tree-two { top: 89px; right: 66px; transform: scale(.75); }
.tiny-house { position: absolute; z-index: 4; width: 100px; height: 78px; left: 160px; top: 103px; background: #f2cc80; transform: skewY(2deg); box-shadow: inset -23px 0 #c48c4b; }
.tiny-house b { position: absolute; width: 78px; height: 78px; background: #cf5d3b; transform: rotate(45deg) skew(-12deg); top: -44px; left: 11px; }
.tiny-house i { position: absolute; width: 22px; height: 36px; background: #4f3023; bottom: 0; left: 40px; }
.tiny-house span { position: absolute; width: 16px; height: 16px; background: #76d8ff; top: 22px; left: 12px; }
.waterfall { width: 48px; height: 151px; background: linear-gradient(90deg, #89e6ff, #3cb7eb); position: absolute; top: 165px; right: 73px; z-index: 3; transform: skewY(-29deg); opacity: .9; }
.cloud { position: absolute; display: flex; gap: 0; opacity: .64; }
.cloud i { width: 54px; height: 28px; background: #d9f6ff; transform: skewY(-12deg); box-shadow: 0 13px 0 rgba(215,246,255,.5); }
.cloud-one { top: 16%; left: 4%; }
.cloud-two { top: 14%; right: 1%; transform: scale(.7); }
.float-cube { width: 42px; height: 42px; background: #8dd55a; position: absolute; transform: rotate(30deg) skew(-5deg); box-shadow: 14px 10px 0 #4f9d3b, 7px 20px 0 #356f35; animation: float 5s ease-in-out infinite; }
.cube-one { left: 4%; top: 47%; }
.cube-two { right: 5%; top: 44%; transform: scale(.65) rotate(30deg) skew(-5deg); animation-delay: -1s; }
.cube-three { right: 16%; bottom: 8%; transform: scale(.45) rotate(30deg) skew(-5deg); animation-delay: -2.4s; }
@keyframes float { 50% { translate: 0 -14px; } }
.world-label { position: absolute; bottom: 9%; left: 8%; border-left: 2px solid var(--lime); padding-left: 14px; display: flex; flex-direction: column; }
.world-label span { font-size: 9px; letter-spacing: 1.8px; opacity: .6; }
.world-label strong { font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.scroll-cue { position: absolute; z-index: 4; bottom: 24px; left: 50%; display: flex; flex-direction: column; align-items: center; font-size: 8px; letter-spacing: 2px; gap: 7px; opacity: .64; }
.scroll-cue i { font-size: 17px; font-style: normal; }

.games-section, .pillars { padding: 100px clamp(24px, 7vw, 108px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.section-index { color: var(--blue); display: block; margin-bottom: 16px; }
.section-heading h2, .manifesto h2, .adventure-banner h2, .newsletter h2 { font-size: clamp(38px, 4.4vw, 68px); line-height: .98; letter-spacing: -3.2px; margin: 0; }
.section-heading > p { max-width: 330px; color: #6c7885; font-size: 15px; line-height: 1.6; margin: 0 0 5px; }
.game-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.game-card { border: 1px solid var(--line); background: #fff; min-height: 530px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.game-card:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(20,44,70,.12); }
.game-art { height: 230px; position: relative; overflow: hidden; background: #b7e6ff; }
.game-card.adventure .game-art { background: linear-gradient(#61bdf1 0 53%, #79c94b 53%); }
.game-card.david .game-art { background: linear-gradient(#ffd176 0 53%, #d89e44 53%); }
.game-card.ark .game-art { background: linear-gradient(#78c9ea 0 53%, #227aa4 53%); }
.game-number { position: absolute; left: 18px; top: 18px; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.game-symbol { position: absolute; z-index: 2; left: 50%; top: 43%; transform: translate(-50%,-50%); width: 86px; height: 86px; display: grid; place-items: center; color: #fff; font-size: 58px; font-family: Georgia, serif; text-shadow: 5px 8px rgba(14,40,60,.15); }
.landscape i, .landscape b { position: absolute; bottom: 0; display: block; }
.landscape i:nth-child(1) { width: 230px; height: 100px; left: -50px; background: rgba(31,109,62,.42); transform: rotate(36deg); }
.landscape i:nth-child(2) { width: 230px; height: 120px; right: -60px; background: rgba(15,79,62,.36); transform: rotate(-35deg); }
.landscape i:nth-child(3) { width: 14px; height: 78px; background: rgba(71,46,24,.56); left: 22%; }
.landscape b { width: 56px; height: 56px; background: rgba(31,105,50,.66); left: calc(22% - 20px); bottom: 61px; transform: rotate(45deg); }
.game-body { padding: 27px; flex: 1; display: flex; flex-direction: column; }
.game-status { color: var(--blue); font-size: 9px; letter-spacing: 1.8px; font-weight: 900; }
.game-body h3 { font-size: 28px; letter-spacing: -1.3px; margin: 10px 0 12px; }
.game-body p { font-size: 14px; line-height: 1.65; color: #667484; margin: 0; }
.game-meta { font-size: 10px; font-weight: 700; color: #83909b; padding-top: 22px; margin-top: auto; }
.game-body a { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .7px; }

.manifesto { min-height: 600px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 44% 56%; align-items: center; overflow: hidden; }
.manifesto-mark { min-height: 600px; display: grid; place-items: center; position: relative; background: radial-gradient(circle, #1a4771, transparent 65%); }
.manifesto-mark b { font-size: 250px; color: rgba(255,255,255,.04); }
.big-cube { position: absolute; width: 170px; height: 170px; transform: rotate(30deg) skew(-5deg); }
.big-cube i { position: absolute; width: 106px; height: 106px; background: var(--lime); }
.big-cube i:nth-child(1) { top: 0; left: 32px; }
.big-cube i:nth-child(2) { left: 0; top: 55px; filter: brightness(.72); }
.big-cube i:nth-child(3) { right: 0; top: 55px; filter: brightness(1.12); }
.manifesto-copy { padding: 70px clamp(32px, 8vw, 140px) 70px 7vw; }
.section-index.light { color: #86dffd; }
.manifesto h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.manifesto-copy p { max-width: 560px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.62); margin: 28px 0; }
.manifesto-copy a { color: var(--lime); font-size: 11px; text-transform: uppercase; font-weight: 900; letter-spacing: 1px; border-bottom: 1px solid rgba(189,240,60,.3); padding-bottom: 8px; }
.manifesto-copy a span { margin-left: 20px; }

.section-heading.compact { align-items: center; }
.family-badge { font-size: 10px; letter-spacing: 1.2px; font-weight: 900; padding: 10px 14px; border: 1px solid var(--line); }
.family-badge b { color: #f06767; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar-grid article { position: relative; padding: 48px 10% 25px 0; border-right: 1px solid var(--line); min-height: 250px; }
.pillar-grid article + article { padding-left: 10%; }
.pillar-grid article:last-child { border-right: 0; }
.pillar-number { position: absolute; right: 18px; top: 18px; color: #aab1b8; font-size: 9px; }
.pillar-icon { width: 46px; height: 46px; background: var(--lime); display: grid; place-items: center; font-size: 16px; margin-bottom: 25px; }
.pillar-grid h3 { font-size: 21px; max-width: 260px; line-height: 1.15; margin: 0 0 15px; letter-spacing: -.6px; }
.pillar-grid p { color: #6c7885; font-size: 13px; line-height: 1.65; max-width: 310px; }

.adventure-banner { margin: 0 clamp(24px, 4vw, 60px); min-height: 340px; padding: 65px clamp(30px, 6vw, 85px); background: linear-gradient(105deg, #1767d9, #0b326c); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; }
.adventure-banner::after { content: ""; position: absolute; width: 430px; height: 430px; border: 90px solid rgba(115,217,255,.12); transform: rotate(45deg); right: 11%; top: -220px; }
.adventure-banner > * { position: relative; z-index: 2; }
.adventure-banner h2 { margin-bottom: 15px; }
.adventure-banner p { color: rgba(255,255,255,.7); }
.section-index span { color: var(--lime); }
.button.lime { background: var(--lime); color: var(--ink); min-width: 250px; }
.newsletter { text-align: center; padding: 120px 24px; max-width: 900px; margin: auto; }
.newsletter p { max-width: 610px; margin: 22px auto 30px; color: #6c7885; line-height: 1.65; }
.button.dark { background: var(--ink); color: #fff; }

footer { background: #091525; color: #fff; padding: 60px clamp(24px, 7vw, 108px) 30px; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; align-items: start; }
.footer-brand { font-size: 26px; }
footer p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-links { display: flex; justify-content: flex-end; gap: 28px; font-size: 11px; font-weight: 700; }
footer small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 25px; margin-top: 30px; color: rgba(255,255,255,.35); font-size: 10px; }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .hero { height: auto; min-height: 980px; grid-template-columns: 1fr; padding-top: 145px; align-content: start; }
  .hero-copy { max-width: 760px; }
  .hero-world { height: 500px; transform: scale(.86); transform-origin: top center; }
  .hero h1 { font-size: clamp(58px, 11vw, 96px); }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-card:first-child { grid-column: 1 / -1; }
  .manifesto { grid-template-columns: 38% 62%; }
  .adventure-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .site-header { height: 70px; padding: 0 18px; }
  .header-cta { font-size: 0; padding: 10px 12px; }
  .header-cta span { font-size: 15px; margin: 0; }
  .hero { min-height: 880px; padding: 122px 20px 20px; overflow: hidden; }
  .hero h1 { font-size: 57px; line-height: .9; letter-spacing: -3.8px; }
  .hero h1 em { letter-spacing: -3.5px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .button.play-now { width: min(100%, 310px); }
  .hero-proof { flex-direction: column; gap: 7px; }
  .hero-world { width: 720px; margin-left: -230px; transform: scale(.66); transform-origin: top center; height: 450px; }
  .scroll-cue { display: none; }
  .games-section, .pillars { padding: 75px 20px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .section-heading h2, .manifesto h2, .adventure-banner h2, .newsletter h2 { font-size: 40px; letter-spacing: -2px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card:first-child { grid-column: auto; }
  .game-card { min-height: 500px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-mark { min-height: 310px; }
  .manifesto-copy { padding: 62px 22px 75px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid article, .pillar-grid article + article { border-right: 0; border-bottom: 1px solid var(--line); padding: 38px 5px; }
  .family-badge { display: inline-block; margin-top: 20px; }
  .adventure-banner { margin: 0; padding: 58px 22px; }
  .button.lime { min-width: 0; width: 100%; }
  .newsletter { padding: 90px 20px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-cube { animation: none; }
  .button.play-now { animation: none; }
  .button, .game-card { transition: none; }
}
