/* Synz Studios — "sticker" look
   Thick black outlines, hard drop shadows (no blur), chunky display type. */

:root {
  --ink: #05070F;        /* outlines + hard shadows */
  --navy: #0A0F24;       /* page background */
  --navy-deep: #070B1A;  /* footer */
  --panel: #121A3A;      /* tiles, secondary buttons */
  --dot: #1C2654;        /* hero dot grid */
  --line: #2B3A75;       /* island path line */
  --line-soft: #1E2A5C;  /* footer border */
  --text: #EEF1FF;
  --white: #FFFFFF;
  --muted: #A9B3D9;
  --muted-2: #8C97C4;
  --lavender: #C9D0F5;
  --cyan: #38D6FF;       /* brand accent (from logo) */
  --cyan-soft: #8BE8FF;
  --blue: #1659E0;       /* brand deep blue (from logo) */
  --gold: #FFC93C;       /* game accent (from Clicker Incremental) */
  --orange: #FF8A3D;
  --cream: #FFF2B3;

  --font-display: 'Lilita One', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius-tile: 28px;
  --radius-btn: 18px;
  --border: 3px solid var(--ink);
  --shadow-sm: 0 4px 0 var(--ink);
  --shadow: 0 7px 0 var(--ink);
  --shadow-tile: 0 8px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); }
a:hover { color: var(--cyan-soft); }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .5px; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: var(--border); border-radius: var(--radius-btn);
  box-shadow: var(--shadow);
  font-family: var(--font-display); font-size: 19px; letter-spacing: .5px;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease;
}
.btn:hover { transform: translateY(2px); }
.btn:active { transform: translateY(5px); }
.btn svg { flex: none; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 22px; }
.btn--gold  { background: var(--gold);  color: var(--ink); }
.btn--cyan  { background: var(--cyan);  color: var(--ink); }
.btn--dark  { background: var(--panel); color: var(--white); }
.btn--ink   { background: var(--ink);   color: var(--white); box-shadow: 0 5px 0 #0B1A3A; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--gold:hover, .btn--cyan:hover, .btn--white:hover { color: var(--ink); }
.btn--dark:hover, .btn--ink:hover { color: var(--white); }
.btn--pill { min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: var(--shadow-sm); font-family: var(--font-body); font-weight: 900; font-size: 16px; }

/* ---------- Gear decor ---------- */
.gear { position: absolute; pointer-events: none; color: var(--lavender); --hole: var(--navy); }
.gear--hero { width: 640px; height: 640px; left: -260px; bottom: -300px; opacity: .07; }
.gear--community { width: 260px; height: 260px; right: -70px; top: -90px; opacity: .18; color: var(--ink); --hole: var(--cyan); }

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative; overflow: clip;
  border-bottom: 4px solid var(--ink);
  background-image: radial-gradient(var(--dot) 1.6px, transparent 1.6px);
  background-size: 28px 28px;
}
.nav {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand img { width: 56px; height: auto; }
.nav__brand span { font-family: var(--font-display); font-size: 22px; letter-spacing: .5px; color: var(--white); }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-weight: 800; font-size: 16px; }
.navlink { color: var(--lavender); text-decoration: none; }
.navlink:hover { color: var(--white); }

.hero {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 32px; padding-bottom: 88px;
}
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__logo { width: 200px; height: auto; filter: drop-shadow(0 10px 0 var(--ink)); }
.hero__title {
  margin: 0; font-size: clamp(48px, 6.6vw, 92px); line-height: .98;
  color: var(--white); text-shadow: 0 6px 0 var(--ink);
}
.hero__title em { font-style: normal; color: var(--cyan); }
.hero__lede { margin: 0; max-width: 470px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

/* Tilted game card + stickers */
.hero__art { position: relative; flex: 1 1 520px; min-width: 0; padding: 36px 28px 56px; }
.game-card {
  position: relative; overflow: clip; background: var(--ink);
  transform: rotate(2.5deg);
  border: 4px solid var(--text); border-radius: var(--radius-tile);
  box-shadow: 0 0 0 4px var(--ink), 0 18px 0 4px var(--ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.game-card:hover { transform: rotate(0deg) scale(1.015); }
.game-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: var(--border); border-radius: 14px; box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-size: 22px; color: var(--ink);
}
.sticker--a { --r: -8deg; left: 0; top: 8px; background: var(--gold); }
.sticker--b { --r: 6deg; right: 4px; top: 0; background: var(--white); }

.clicker { position: absolute; left: 4px; bottom: 0; display: flex; align-items: flex-end; gap: 10px; }
.clicker__btn {
  width: 112px; height: 112px; padding: 0; border: 0; background: transparent; cursor: pointer;
  filter: drop-shadow(0 6px 0 var(--ink));
  transition: transform .08s ease;
}
.clicker__btn:hover { transform: scale(1.06) rotate(-4deg); }
.clicker__btn:active { transform: scale(.88) rotate(-4deg); }
.clicker__btn img { width: 100%; height: 100%; }
.clicker__count {
  margin-bottom: 14px; padding: 8px 14px; border-radius: 14px;
  background: var(--ink); border: 3px solid var(--cyan);
  display: flex; flex-direction: column;
}
.clicker__num { font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: var(--white); }
.clicker__caption { font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan-soft); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: clip;
  margin: -14px -40px 0; transform: rotate(-1.6deg);
  background: var(--gold); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
}
.marquee__track {
  display: flex; width: max-content; padding: 14px 0;
  font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; color: var(--ink); white-space: nowrap;
}
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; margin: 0; padding-left: 0; list-style: none; }

/* ---------- Bento ---------- */
.bento-section { display: flex; flex-direction: column; gap: 28px; padding-top: 80px; padding-bottom: 88px; }
.bento-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.bento-head h2 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; color: var(--white); }
.bento-head p { margin: 0; font-size: 17px; color: var(--muted); }
.bento { display: flex; flex-wrap: wrap; gap: 20px; }

.tile {
  position: relative; overflow: clip; min-width: 0; padding: 32px;
  border: var(--border); border-radius: var(--radius-tile); box-shadow: var(--shadow-tile);
  background: var(--panel);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile--wide { flex: 2 1 520px; }
.tile--narrow { flex: 1 1 260px; }
.tile--blue { background: var(--blue); justify-content: space-between; }
.tile--cyan { background: var(--cyan); justify-content: space-between; gap: 22px; }
.tile h3 { margin: 0; color: var(--white); }
.tile p { margin: 0; font-size: 15px; line-height: 1.55; }

/* Islands path */
.islands-tile { gap: 26px; }
.islands-tile h3 { font-size: 30px; }
.islands { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.islands::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 50px; height: 4px;
  background: var(--line); border-radius: 2px;
}
.island { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.island img { width: 100%; max-width: 96px; height: 104px; object-fit: contain; filter: drop-shadow(0 6px 0 var(--ink)); }
.island__name { font-weight: 900; font-size: 15px; line-height: 1.2; color: var(--white); }
.island__bonus { font-family: var(--font-display); font-size: 18px; }
@media (max-width: 560px) {
  .islands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .islands::before { display: none; }
  .island img { height: 84px; }
  .island__name { font-size: 14px; }
  .tile { padding: 24px; }
  .hero__art { padding: 32px 8px 40px; }
  .clicker__btn { width: 84px; height: 84px; }
  .sticker { font-size: 18px; padding: 6px 10px; }
}

/* Eggs */
.tile--blue .eyebrow { color: #DCE6FF; }
.eggs__num { font-family: var(--font-display); font-size: 96px; line-height: .9; color: var(--white); text-shadow: 0 6px 0 var(--ink); }
.eggs__label { font-family: var(--font-display); font-size: 26px; color: var(--white); }
.tile--blue p { color: var(--white); }

/* Dev log */
.devlog__delta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 30px; }
.devlog__before { color: var(--orange); text-decoration: line-through; }
.devlog__after { color: var(--cyan); }
.devlog p { color: var(--muted); }

/* Community */
.community h3 { position: relative; font-size: 36px; line-height: 1; color: var(--ink); }
.community p { position: relative; font-size: 17px; font-weight: 800; color: #0B1A3A; margin-top: 6px; }
.community__links { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.community .btn { min-height: 50px; padding: 0 20px; font-size: 18px; box-shadow: 0 5px 0 var(--ink); }
.community .btn--ink { box-shadow: 0 5px 0 #0B1A3A; }

/* ---------- Footer ---------- */
.footer { border-top: 3px solid var(--line-soft); background: var(--navy-deep); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 40px; height: auto; }
.footer__brand span { font-family: var(--font-display); font-size: 18px; color: var(--white); }
.footer__brand a { font-size: 14px; font-weight: 800; text-decoration: none; }
.footer p { margin: 0; font-size: 13px; color: var(--muted-2); }

/* ---------- Motion ---------- */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
.float  { animation: bob 3.4s ease-in-out infinite; }
.float2 { animation: bob 4.1s ease-in-out infinite .6s; }
.float3 { animation: bob 3.8s ease-in-out infinite 1.2s; }
.marquee__track { animation: marquee 30s linear infinite; }
.spin { animation: spin 40s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .float, .float2, .float3, .marquee__track, .spin { animation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
