:root {
  --pink: #f5147a; --pink-hi: #ff7ab8; --pink-lo: #a80c52; --pink-soft: #ffe3f0;
  --ink: #2a1320; --ink-soft: #5d4452; --paper: #fff8fb;
  --stone: #8f96a0; --stone-lo: #5f656d; --green: #5bd46a; --matrix: #0b1410;
  --tex-grass-side: none; --tex-dirt: none; --tex-stone: none; --tex-grass-top: none; --tex-code: none;
  --pixel: 'Pixelify Sans', 'Courier New', monospace;
  --body: 'Nunito', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.55; overflow-x: hidden; }
img { image-rendering: auto; }
a { color: inherit; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 20; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter); background: rgba(42, 19, 32, .82); backdrop-filter: blur(8px); border-bottom: 4px solid #1a0b14; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand span { font-family: var(--pixel); font-weight: 700; font-size: 20px; letter-spacing: 1px; line-height: .95; display: flex; flex-direction: column; }
.brand small { font-size: 12px; letter-spacing: 3px; color: var(--pink-hi); }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav nav a { color: #ffe3f0; text-decoration: none; font-family: var(--pixel); font-size: 17px; }
.nav nav a:not(.mc-btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 720px) { .nav nav a:not(.mc-btn) { display: none; } }

/* ---------------------------------------------------------------- Minecraft-style buttons and panels */
.mc-btn { display: inline-block; font-family: var(--pixel); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none;
  padding: 12px 22px; background: var(--pink); border: 3px solid #1a0b14; text-shadow: 2px 2px 0 var(--pink-lo);
  box-shadow: inset 3px 3px 0 var(--pink-hi), inset -3px -4px 0 var(--pink-lo), 0 4px 0 #1a0b14; image-rendering: pixelated;
  transition: transform .08s, filter .08s; cursor: pointer; }
.mc-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.mc-btn:active { transform: translateY(2px); box-shadow: inset 3px 3px 0 var(--pink-lo), inset -3px -3px 0 var(--pink-hi), 0 1px 0 #1a0b14; }
.mc-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mc-btn--stone { background: #9aa2ac; text-shadow: 2px 2px 0 #3d4248; box-shadow: inset 3px 3px 0 #c9cfd6, inset -3px -4px 0 #5f656d, 0 4px 0 #1a0b14; }
.mc-btn--small { font-size: 15px; padding: 7px 14px; }
.mc-btn--big { font-size: clamp(20px, 3vw, 28px); padding: 16px 30px; margin: 10px 0 18px; }
.mc-panel { background: #f4e9ef; border: 4px solid #1a0b14; box-shadow: inset 4px 4px 0 #fff, inset -4px -4px 0 #b99aa8; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(92vh, 880px); display: grid; align-items: center; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(1200px 500px at 70% 100%, rgba(255, 214, 234, .9), transparent 60%), linear-gradient(180deg, #6ec6ff 0%, #a9dcff 45%, #ffe0ef 100%); }
.sun { position: absolute; right: 12%; top: 10%; width: 110px; height: 110px; background: #fff6c9; box-shadow: 0 0 80px 40px rgba(255, 240, 180, .7); image-rendering: pixelated; }
.hero .hero__view { position: absolute; inset: 0; min-height: 0; }
.hero__copy { position: relative; padding: 96px var(--gutter) 64px; max-width: 640px; z-index: 25; pointer-events: none; }
.hero__copy a { pointer-events: auto; }
.eyebrow { font-family: var(--pixel); text-transform: uppercase; letter-spacing: 3px; color: var(--pink-lo); margin: 0 0 8px; font-size: 15px; }
.eyebrow--green { color: var(--green); }
h1, .pixel { font-family: var(--pixel); font-weight: 700; line-height: 1.02; margin: 0 0 16px; }
h1 { font-size: clamp(44px, 7vw, 86px); color: #fff; text-shadow: 4px 4px 0 var(--pink-lo), 8px 8px 0 rgba(42, 19, 32, .25); }
h1 span { color: var(--pink); text-shadow: 4px 4px 0 #fff, 8px 8px 0 rgba(42, 19, 32, .2); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; margin: 0 0 22px; }
.hero .lead { background: rgba(255, 255, 255, .78); padding: 14px 18px; border: 3px solid #1a0b14; box-shadow: 4px 4px 0 rgba(26, 11, 20, .35); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) {
  .hero { min-height: auto; align-items: start; }
  .hero .hero__view { top: auto; height: 460px; bottom: 0; }
  .hero__copy { padding-bottom: 470px; }
}

/* ---------------------------------------------------------------- speech bubbles */
.bubble { position: relative; background: #fff; border: 3px solid #1a0b14; padding: 14px 18px; font-size: 17px;
  box-shadow: 5px 5px 0 rgba(26, 11, 20, .3); max-width: 46ch; }
.bubble p { margin: 0 0 10px; } .bubble p:last-child { margin: 0; }
.bubble::after { content: ''; position: absolute; width: 18px; height: 18px; background: inherit; border-left: 3px solid #1a0b14; border-bottom: 3px solid #1a0b14; }
.bubble--left::after { left: -12px; top: 26px; transform: rotate(45deg); }
.bubble--hero { position: absolute; z-index: 25; left: 0; top: 0; width: max-content; max-width: min(300px, 78vw); font-family: var(--pixel); font-size: 18px; line-height: 1.3; pointer-events: none; will-change: transform; }
.bubble--hero::after { bottom: -12px; left: var(--tail, 40%); transform: rotate(-45deg); }
.bubble--dark { background: #102018; color: #c8ffd3; border-color: var(--green); box-shadow: 5px 5px 0 rgba(0, 0, 0, .4); }
.bubble--dark::after { display: none; }
.bubble--small { font-size: 15px; } .bubble--small::after { display: none; }
@media (max-width: 900px) { .bubble--hero { font-size: 16px; } }

/* ---------------------------------------------------------------- sections and textures */
.section { position: relative; padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; position: relative; z-index: 2; }
.two { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.two--reverse { grid-template-columns: 7fr minmax(260px, 5fr); }
.two--reverse > .view { order: 2; }
@media (max-width: 820px) { .two, .two--reverse { grid-template-columns: 1fr; } .two--reverse > .view { order: 0; } }
.grass-strip { height: 4px; background: #1a0b14; }
/* plain white sections (only The Unknown keeps its dark code look) */
.section--white { background: #fff; }
.section--white + .section--white { border-top: 3px solid var(--pink-soft); }
.section--white h2.pixel { color: var(--ink); text-shadow: 3px 3px 0 #f7c6dc; }
.section--white .lead { color: var(--ink-soft); }
.lead--light { color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
h2.pixel { font-size: clamp(34px, 4.6vw, 56px); }
.soon { display: inline-block; margin-top: 18px; font-family: var(--pixel); font-size: 16px; background: var(--pink-soft); border: 2px solid var(--pink); color: var(--pink-lo); padding: 5px 12px; }
.section--matrix { background: var(--matrix); color: #d9ffe1; }
.pixel--green { color: var(--green); text-shadow: 0 0 18px rgba(91, 212, 106, .6), 4px 4px 0 #04210b; }
.code-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; }
.checks li { padding-left: 30px; position: relative; margin: 8px 0; font-size: 17px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: var(--green); box-shadow: inset -3px -3px 0 #2c8a39, inset 3px 3px 0 #a6f2b0; }

/* ---------------------------------------------------------------- views */
.view { position: relative; min-height: 200px; cursor: default; }
.view--pastely { height: min(460px, 70vw); cursor: pointer; }
.view--unknown { height: min(440px, 70vw); }
.card__view { height: 230px; background: radial-gradient(circle at 50% 70%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); border-bottom: 3px solid #1a0b14; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-top: 34px; }
.card { background: #fff8fb; border: 4px solid #1a0b14; box-shadow: inset 4px 4px 0 #fff, inset -4px -4px 0 #d8b6c6, 6px 6px 0 rgba(26, 11, 20, .35); display: flex; flex-direction: column; }
.card h3 { font-family: var(--pixel); font-size: 24px; margin: 16px 18px 6px; color: var(--pink-lo); }
.card p { margin: 0 18px 12px; }
.card .tip { margin-top: auto; margin-bottom: 18px; background: var(--pink-soft); border: 2px dashed var(--pink); padding: 8px 12px; font-size: 15px; }
.card .tip b { color: var(--pink-lo); font-family: var(--pixel); }

/* ---------------------------------------------------------------- download */
.download { display: grid; grid-template-columns: minmax(220px, 4fr) 7fr; align-items: center; gap: 12px; padding: clamp(18px, 3vw, 34px); }
.view--download { height: 340px; cursor: pointer; }
.download h2 { color: var(--ink); text-shadow: 3px 3px 0 #f7c6dc; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.tag { font-family: var(--pixel); font-size: 15px; background: #fff; border: 2px solid #1a0b14; padding: 3px 10px; }
.tag--ok { background: #c9f5cf; }
.steps { margin: 0 0 16px; padding-left: 22px; } .steps li { margin: 6px 0; }
@media (max-width: 820px) { .download { grid-template-columns: 1fr; } .view--download { height: 260px; } }

/* ---------------------------------------------------------------- about, footer */
.about__logo { display: grid; place-items: center; }
.about__logo img { width: min(100%, 420px); height: auto; border: 4px solid #1a0b14; box-shadow: 8px 8px 0 rgba(26, 11, 20, .4); }
.footer { background: #1a0b14; color: #f0d6e3; text-align: center; padding: 28px var(--gutter) 34px; }
.footer p { margin: 6px 0; } .footer a { color: var(--pink-hi); }
.footer .small { font-size: 13px; opacity: .7; }
.noscript { position: fixed; bottom: 12px; left: 12px; background: #fff; padding: 8px 12px; border: 3px solid #000; z-index: 50; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mc-btn { transition: none; } }
