/* IpsoFatsoGames: dark, neon accents like the games, plain system fonts (no third-party requests). */
:root {
  color-scheme: dark;
  --bg: #0b0912;
  --panel: #15111f;
  --panel-2: #1c1729;
  --line: #2a2340;
  --fg: #ecebf4;
  --muted: #a19db6;
  --pink: #ff4fb0;
  --cyan: #38e1ff;
  --gold: #ffc35c;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(1200px 500px at 70% -10%, rgba(255, 79, 176, .16), transparent 60%),
                    radial-gradient(900px 500px at 0% 0%, rgba(56, 225, 255, .10), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 750; margin-top: 1.6em; }
h3 { font-size: 1.35rem; font-weight: 750; }
h3 a, .card a { color: inherit; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
  background: rgba(11, 9, 18, .78); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--fg); letter-spacing: -0.01em; }
.brand span { background: linear-gradient(90deg, var(--pink), var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 22px; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--fg); text-decoration: none; }
.bottom { border-top: 1px solid var(--line); margin-top: 80px; color: var(--muted); font-size: .9rem; }
.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px 20px; }
.bottom p { margin: 0; }
.bottom .legal { flex-basis: 100%; font-size: .78rem; opacity: .7; }

/* Home */
.hero { padding: 80px 0 32px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.grad { background: linear-gradient(90deg, var(--pink), var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: rotate(-8deg);
  padding: 10px; justify-self: end; max-width: 400px; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.hero-art img:nth-child(3n + 2) { transform: translateY(26px); }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  margin: 48px 0 16px; font-weight: 700; }

.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(255, 79, 176, .35); margin-bottom: 28px; }
.feature .banner { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; }
.feature-body { padding: 24px 28px 8px; }
.feature-body > p { color: var(--muted); max-width: 720px; }
.title-row { display: flex; align-items: center; gap: 18px; }
.title-row h3, .title-row h1 { margin: 0; }
.tagline { margin: 2px 0 0; color: var(--muted); }
img.icon { width: 96px; height: 96px; border-radius: 22%; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font-weight: 700; color: #120a17; background: linear-gradient(90deg, var(--pink), #ff8ad0);
  box-shadow: 0 8px 24px -6px rgba(255, 79, 176, .6); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.store-badge { display: inline-flex; margin: -9px -9px -9px -8px; } /* the badge has its own transparent margin */
.store-badge img { height: 64px; width: auto; }
.store-badge:hover img { filter: brightness(1.15); }
.button.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.button.ghost:hover { border-color: var(--muted); }

.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 28px 28px; scroll-snap-type: x mandatory; }
.shots img { flex: none; width: 180px; height: auto; aspect-ratio: 9 / 16; border-radius: 14px;
  border: 1px solid var(--line); scroll-snap-align: start; }
.shots.large { padding: 4px 0 8px; }
.shots { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shots.large img { width: 240px; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card a { display: block; position: relative; height: 100%; padding: 20px; background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .15s ease, border-color .15s ease; }
.card a:hover { text-decoration: none; transform: translateY(-3px); border-color: #3d3360; }
.card img.icon { width: 72px; height: 72px; margin-bottom: 14px; }
.card .chip { position: absolute; top: 18px; right: 18px; }
.card h3 { font-size: 1.1rem; margin: 8px 0 4px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255, 195, 92, .4); border-radius: 999px; padding: 2px 10px; }
.chip.big { font-size: .85rem; padding: 8px 16px; }

/* Game page */
.game { padding-top: 32px; }
.game .banner { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 28px; }
.title-row.big { margin-bottom: 20px; }
.title-row.big img.icon { width: 128px; height: 128px; }
.game > p { max-width: 720px; color: #d6d3e4; }
.ticks { list-style: none; padding: 0; max-width: 720px; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; color: #d6d3e4; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--pink), var(--cyan)); transform: rotate(45deg); }

/* Text pages (privacy) */
.text { max-width: 760px; padding-top: 32px; }
.text h1 { font-size: 2.4rem; }
.muted { color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 12px 0; }
th, td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
th { background: var(--panel-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 320px; margin-top: 12px; }
}
@media (max-width: 640px) {
  nav a { margin-left: 14px; }
  .hero { padding-top: 48px; }
  .feature-body { padding: 20px 18px 4px; }
  .shots { padding: 8px 18px 22px; }
  img.icon { width: 72px; height: 72px; }
  .title-row.big { flex-direction: column; align-items: flex-start; }
}
