/* Geckohana's landing site (#2161). One stylesheet for every page. Cozy and chunky: sky, sea, sand and leaf,
   rounded white cards with a dark outline (the game's own ink, #2B2B29). No framework. */
:root {
  --sky: #8fd0f0;
  --sky-deep: #5aa9d6;
  --sea: #3f86b8;
  --sand: #f6e7c4;
  --leaf: #5e9a3e;
  --leaf-dark: #3f6e28;
  --sun: #ffcf4a;
  --ink: #2b2b29;
  --ink-soft: #5b564c;
  --card: #fffdf6;
  --page: #fdf7e8;
  --warn: #fff1b8;
  --warn-ink: #6b4b00;
  --radius: 18px;
  --font: "Trebuchet MS", "Verdana", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ── header bar ── */
.bar { background: var(--leaf); border-bottom: 4px solid var(--ink); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { color: #fff; font-weight: 800; font-size: 1.2em; text-decoration: none; letter-spacing: .02em;
         text-shadow: 2px 2px 0 var(--ink); }
.bar nav { display: flex; gap: 14px; flex-wrap: wrap; }
.bar nav a { color: #fff; font-weight: 700; text-decoration: none; }
.bar nav a:hover { text-decoration: underline; }

/* ── the big Play button ── */
.play { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 1.5em;
        text-decoration: none; padding: 14px 44px; border: 4px solid var(--ink); border-radius: 999px;
        box-shadow: 0 6px 0 var(--ink); transition: transform .08s, box-shadow .08s; }
.play:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.play:active { transform: translateY(6px); box-shadow: 0 0 0 var(--ink); }

/* ── hero ── */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky) 62%, var(--sea) 62%, var(--sea) 100%);
        border-bottom: 4px solid var(--ink); text-align: center; padding: 40px 0 56px; overflow: hidden; }
.hero h1 { margin: 0; font-size: clamp(2.6em, 9vw, 4.6em); line-height: 1.05; color: #fff; font-weight: 900;
           text-shadow: 4px 4px 0 var(--ink); letter-spacing: .02em; }
.hero .tag { margin: 10px auto 22px; max-width: 560px; font-size: 1.15em; font-weight: 700; color: var(--ink); }
.hero .gecko { width: 150px; margin: 0 auto 18px; }
.hero .sub { margin-top: 18px; color: #fff; font-weight: 700; }

/* ── sections ── */
section.block { padding: 40px 0 8px; }
section.block h2 { font-size: 1.8em; margin: 0 0 4px; }
section.block .lede { margin: 0 0 18px; color: var(--ink-soft); }

/* the side-scrolling strip of companion cards */
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px;
         -webkit-overflow-scrolling: touch; }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius);
        box-shadow: 0 5px 0 var(--ink); padding: 14px; }
.strip .card { flex: 0 0 220px; scroll-snap-align: start; }
.track { display: flex; gap: 16px; }

/* the carousel (carousel.js adds .live): the row moves by a transform, the centre card is drawn larger */
.carousel { position: relative; }
.carousel.live .strip { overflow: hidden; scroll-snap-type: none; padding: 36px 0 42px; outline-offset: -3px; }
.carousel.live .track { will-change: transform; }
.carousel.live .card { transform-origin: 50% 50%; }
.arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0;
         background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 50%;
         box-shadow: 0 3px 0 var(--ink); font: 900 1.6em/1 var(--font); cursor: pointer; display: none; }
.arrow:hover { background: #ffe07a; }
.carousel.live .arrow { display: block; }
.arrow.prev { left: 4px; }
.arrow.next { right: 4px; }
.card .pic { height: 120px; display: flex; align-items: center; justify-content: center;
             background: var(--sky); border: 2px solid var(--ink); border-radius: 12px; margin-bottom: 10px; }
.card .pic img { max-height: 104px; max-width: 88%; }
.card h3 { margin: 0 0 4px; font-size: 1.15em; }
.card .home { margin: 0 0 6px; font-size: .85em; font-weight: 800; color: var(--leaf-dark); text-transform: uppercase;
              letter-spacing: .05em; }
.card p { margin: 0; font-size: .95em; color: var(--ink-soft); }

/* the world grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.grid .card .pic { background: var(--sand); height: 96px; }
.grid .card .pic img { max-height: 80px; }

/* things to do */
/* twelve cards: 6, 4, 3, or 2 to a row, so every row is full and Minigames is last, bottom right */
.todo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .todo { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .todo { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .todo { grid-template-columns: repeat(2, 1fr); } }
.todo .card { text-align: center; padding: 12px 10px; }
.todo .card .big { font-size: 1.15em; font-weight: 800; margin: 0 0 4px; color: var(--ink); }

.cta { text-align: center; padding: 40px 0 48px; }

/* ── plain pages (lore, terms, privacy, support) ── */
.doc { max-width: 760px; margin: 0 auto; padding: 28px 16px 56px; }
.doc h1 { font-size: 2em; margin: 0 0 4px; }
.doc h2 { font-size: 1.25em; margin: 28px 0 6px; color: var(--leaf-dark); }
.doc .when { color: var(--ink-soft); margin: 0 0 20px; }
.banner { background: var(--warn); color: var(--warn-ink); border: 3px solid var(--ink); border-radius: 12px;
          padding: 10px 14px; font-weight: 800; margin: 0 0 20px; }
.placeholder { background: #e7f3fb; border: 2px dashed var(--sea); border-radius: 12px; padding: 8px 12px;
               color: var(--ink-soft); margin: 0 0 18px; }

/* ── footer ── */
footer { background: var(--ink); color: #f4f3ee; margin-top: 24px; padding: 22px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: #f4f3ee; font-weight: 700; }
footer small { color: #b9b0a1; }

@media (max-width: 560px) {
  .bar nav { gap: 10px; font-size: .9em; }
  .strip .card { flex-basis: 78%; }
  .carousel.live .strip .card { flex-basis: 62vw; }
}
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }
