/* Sticky Thumbs — games.dresez.com
   One stylesheet for the whole site. Add a game by adding a card; no new CSS needed. */

:root {
  --cream:        #FFF6E9;
  --cream-deep:   #FFE9C2;
  --ink:          #3D2A1D;
  --ink-soft:     #7A6047;
  --flame:        #E4572E;
  --flame-dark:   #C23F1B;
  --sun:          #FFD86B;
  --mint:         #8ED3C4;
  --mint-ink:     #1F5B50;
  --blossom:      #F49CB4;
  --violet:       #A78BE0;
  --sky:          #7EC6F0;
  --font: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--flame); text-decoration: none; }
a:hover { color: var(--flame-dark); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }

img, svg { max-width: 100%; }

.wrap { width: min(1264px, 100% - 44px); margin-inline: auto; }

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--flame);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-name { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: 0.01em; }

.site-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: #8A5B34;
  font-size: 15px;
  font-weight: 700;
}
.pill:hover { background: #FFDFA6; color: #7A4E2C; }
.pill-solid { background: var(--flame); color: var(--cream); }
.pill-solid:hover { background: var(--flame-dark); color: var(--cream); }

/* ---------- confetti ---------- */

.confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.confetti span {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.c1 { width: 256px; height: 256px; background: var(--sun);     opacity: .55; top: -8%;  right: -4%; }
.c2 { width: 152px; height: 152px; background: var(--mint);    opacity: .50; top: 34%;  right: 2%; }
.c3 { width: 92px;  height: 92px;  background: var(--blossom); opacity: .55; top: 52%;  right: 18%; }
.c4 { width: 58px;  height: 58px;  background: var(--violet);  opacity: .50; top: 68%;  right: 9%;  border-radius: 16px; transform: rotate(18deg); }
.c5 { width: 44px;  height: 44px;  background: var(--sky);     opacity: .55; top: 22%;  right: 30%; border-radius: 12px; transform: rotate(-14deg); }
.c6 { width: 60px;  height: 60px;  background: var(--sun);     opacity: .65; top: 78%;  right: 26%; }
@media (max-width: 900px) { .c3, .c5, .c6 { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; padding: 46px 0 74px; }
.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(46px, 8.4vw, 104px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--flame); }

.hero p {
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--ink-soft);
  max-width: 42ch;
}

/* ---------- sections ---------- */

.section-title {
  margin: 0 0 30px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

/* ---------- game cards ---------- */

.games { display: flex; flex-direction: column; gap: 26px; padding-bottom: 74px; }

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  border-radius: 34px;
  overflow: hidden;
  background: #F2E4CE;
  box-shadow: 0 14px 0 #E8D3B4;
  color: #4A3423;
}
.game-card:hover { color: #4A3423; }
@media (max-width: 880px) {
  .game-card { grid-template-columns: minmax(0, 1fr); box-shadow: 0 10px 0 #E8D3B4; border-radius: 26px; }
}

.game-art { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.game-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.game-body {
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.game-body h3 { margin: 0; font-size: clamp(28px, 4vw, 50px); font-weight: 800; line-height: 1.03; }
.game-body h3 span { color: #C94F4F; }
.game-body p { margin: 0; font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-soft); max-width: 58ch; }

.tags { display: flex; gap: 9px; flex-wrap: wrap; }
.tag { padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag-sun  { background: var(--sun);  color: #7A5410; }
.tag-mint { background: var(--mint); color: var(--mint-ink); }

/* upcoming: two-up, each with its own colour */
.upcoming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 880px) { .upcoming { grid-template-columns: minmax(0, 1fr); } }

.next-card {
  border-radius: 30px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.next-card h3 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.next-card p  { margin: 0; font-size: 16px; }
.next-card .tag { align-self: flex-start; }

.next-strobe  { background: #2E2A3D; box-shadow: 0 12px 0 #1E1B29; }
.next-strobe h3 { color: #F6EFE2; }
.next-strobe p  { color: #B3ABC2; }
.next-strobe .tag { background: #F0B429; color: #4A3000; }

.next-anemone { background: #17A2A2; box-shadow: 0 12px 0 #0F7C7C; }
.next-anemone h3 { color: #FFFDF6; }
.next-anemone p  { color: #D5F3F1; }
.next-anemone .tag { background: var(--cream-deep); color: #0F5E5E; }

/* ---------- footer ---------- */

.site-footer { background: var(--flame); color: var(--cream); padding: 40px 0; margin-top: 20px; }
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
}
.site-footer strong { font-size: 19px; font-weight: 700; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.site-footer a { color: #FFE0D4; }
.site-footer a:hover { color: #fff; }

/* ---------- document pages (privacy, support) ---------- */

.doc { padding: 30px 0 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin: 0 0 6px; line-height: 1.05; }
.doc .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 34px; }
.doc h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; color: #4E3826; max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { font-weight: 600; }

.callout {
  background: var(--cream-deep);
  border-radius: 20px;
  padding: 22px 26px;
  margin: 26px 0;
  max-width: 68ch;
}
.callout p:last-child { margin-bottom: 0; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-weight: 700;
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
