/* Gentic Games — gentic.games
   Sunset palette, dark: deep aubergine, shell, coral, marigold. */

:root {
  --bg: #140A13;
  --bg-2: #1E0F1C;
  --line: #3A2437;
  --line-2: #6A5368;
  --shell: #FFF4EA;
  --coral: #FF5E5B;
  --marigold: #FFB13B;
  --text-2: #E3D3DD;
  --muted: #C9B3C2;
  --ink: #1E0F1C;
  --brand: 'Unbounded', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--shell);
  font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 10; padding: 10px 16px; background: var(--coral); color: var(--ink); font-weight: 600; }
.skip-link:focus { left: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Navigation */
.topbar { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-name { display: flex; flex-direction: column; gap: 4px; font-family: var(--brand); line-height: 1; }
.brand-name b { font-weight: 700; font-size: 17px; }
.brand-name small { font-weight: 500; font-size: 8px; letter-spacing: 0.5em; color: var(--coral); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.nav-links a { padding: 12px 0; text-decoration: none; }
.nav-links .btn { padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 4px; background: var(--coral); color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none;
}
.btn:hover { color: var(--ink); background: #FF7C79; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--shell); border: 1.5px solid rgba(255, 244, 234, 0.45); }
.btn--ghost:hover { background: transparent; color: var(--shell); border-color: var(--shell); }
.btn--dark { background: var(--ink); color: var(--shell); }
.btn--dark:hover { background: var(--ink); color: var(--coral); }

.eyebrow { margin: 0; font-family: var(--brand); font-weight: 500; font-size: 15px; color: var(--muted); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 96px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 680px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
h1 { margin: 0; font-family: var(--brand); font-weight: 600; font-size: clamp(42px, 6.6vw, 100px); line-height: 0.98; letter-spacing: -0.03em; }
.lead { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.65; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { flex: 0 1 260px; max-width: 100%; height: auto; }

/* Art strip */
.reel { padding-bottom: 96px; }
.reel-strip { display: flex; gap: 8px; overflow: hidden; }
.reel-strip img { flex: 1 1 0; min-width: 0; height: 220px; object-fit: cover; }
.reel-strip img:first-child { flex-grow: 1.3; object-position: center 25%; }
.reel-caption { margin-top: 16px; margin-bottom: 0; font-size: 14px; color: var(--muted); }

/* Studio */
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio { display: flex; flex-direction: column; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.studio-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.studio-head > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.studio-head > p { flex: 1 1 380px; margin: 0; color: var(--text-2); }
h2 { margin: 0; font-family: var(--brand); font-weight: 600; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
.promises { display: flex; flex-wrap: wrap; gap: 32px; margin: 0; padding: 0; list-style: none; }
.promises li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.promises .n { font-family: var(--brand); font-weight: 600; font-size: 15px; color: var(--coral); }
.promises h3 { margin: 0; font-family: var(--brand); font-weight: 600; font-size: 20px; }
.promises p { margin: 0; font-size: 16px; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.facts div { display: flex; gap: 8px; }
.facts dt { font-weight: 600; color: var(--shell); }
.facts dt::after { content: ' ·'; }
.facts dd { margin: 0; }

/* Games */
.section { display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.section-head p { margin: 0; font-size: 16px; color: var(--muted); }
.games { display: flex; flex-wrap: wrap; gap: 20px; }
.game-card {
  flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); text-decoration: none;
}
.game-card:hover { color: var(--shell); border-color: var(--coral); }
.game-card img { flex: 1 1 260px; min-width: 0; min-height: 260px; object-fit: cover; object-position: center 25%; }
.game-info { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.game-info .kind { font-size: 14px; font-weight: 500; color: var(--muted); }
.game-info h3 { margin: 0; font-family: var(--brand); font-weight: 600; font-size: 26px; line-height: 1.1; }
.game-info p { margin: 0; font-size: 15px; color: var(--muted); }
.game-info .go { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--shell); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.next-card { flex: 1 1 300px; min-width: 0; min-height: 260px; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; }
.tag { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--muted); }
.next-card h3 { margin: 0; font-family: var(--brand); font-weight: 600; font-size: 22px; }
.next-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* News */
.news { margin: 0; padding: 0; list-style: none; }
.news li { border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding: 24px 0; text-decoration: none; }
.news .title { flex: 1 1 420px; font-family: var(--brand); font-weight: 600; font-size: 19px; }
.news .kind { font-size: 14px; font-weight: 500; color: var(--muted); }

/* Press & contact */
.cards { display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 96px; }
.card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 6px; }
.card h2 { font-size: 22px; }
.card p { margin: 0; font-size: 16px; }
.card .btn { align-self: flex-start; min-height: 48px; padding: 0 20px; font-size: 15px; overflow-wrap: anywhere; }
.card--dark { background: var(--bg-2); border: 1px solid var(--line); }
.card--dark p { color: var(--muted); }
.card--coral { background: var(--coral); color: var(--ink); }

/* Footer */
.footer-bar { border-top: 1px solid var(--line); }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer a { padding: 12px 0; text-decoration: none; }
.footer .accent { color: var(--shell); font-weight: 600; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 96px; padding-bottom: 96px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 56px; padding-bottom: 48px; gap: 32px; }
  .hero-mark { width: 120px; }
  .reel { padding-bottom: 64px; }
  .reel-strip img { height: 140px; }
  .reel-strip img:nth-child(n+4) { display: none; }
  .studio, .section { padding-top: 64px; padding-bottom: 64px; }
  .cards { padding-bottom: 64px; }
  .card { padding: 24px; }
}

/* Game terms on a game card */
.game-info .terms { margin: 0; font-size: 14px; color: var(--shell); }
.game-info .terms span { white-space: nowrap; }

/* Privacy statement */
.legal { padding-top: 80px; padding-bottom: 96px; }
.legal > * { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin-top: 16px; }
.legal .updated { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.legal h2 { margin-top: 48px; font-size: 24px; line-height: 1.25; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.legal p { margin: 16px 0 0; }
.legal ul { margin: 16px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal a { text-underline-offset: 4px; }
.legal .intro { font-size: 19px; color: var(--shell); }
