/*
  KuKuCat Games: base stylesheet.
  Intentionally minimal. Restyle freely; class names describe structure, not looks.
*/

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-link: #0055cc;
  --max-width: 960px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / nav */
.site-header { padding: 16px 0; border-bottom: 1px solid #ddd; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.site-logo { font-weight: bold; text-decoration: none; color: inherit; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }

/* Sections */
.section { padding: 48px 0; }
.hero { padding: 64px 0; }
.muted { color: var(--color-muted); }

/* Game list on the landing page */
.game-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.game-card { border: 1px solid #ddd; padding: 16px; }
.game-card h3 { margin-top: 0; }

/* Game page */
.game-hero { padding: 48px 0 24px; }
.game-meta { list-style: none; padding: 0; }
.game-links { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.screenshots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.placeholder-image { background: #eee; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: var(--color-muted); }

/* Footer */
.site-footer { padding: 24px 0; border-top: 1px solid #ddd; font-size: 0.9em; color: var(--color-muted); }

/* Launch warning banner (see assets/js/noindex-warning.js). Only shows on kukucatgames.com while noindex is on. */
.noindex-warning { background: #b00020; color: #fff; padding: 12px 16px; text-align: center; font-weight: bold; }
