/* Ludarian Studio starter site. Plain CSS, no build step. */
:root {
  --bg: #0b0b0c;
  --bg-raised: #141416;
  --line: #26262a;
  --text: #f2ede8;
  --text-dim: #a8a29c;
  --orange: #ed8033;
  --orange-deep: #da512b;
  --crimson: #c53038;
  --magenta: #be295b;
  --brand-gradient: linear-gradient(120deg, #f6a64a 0%, #ed8033 35%, #da512b 65%, #be295b 100%);
  --radius: 14px;
  --max: 1080px;
  --font-display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f6a64a; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.28em; font-size: 15px; text-transform: uppercase; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0; }
  .nav { gap: 16px; }
}

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 420px;
  background: radial-gradient(closest-side, rgba(237, 128, 51, 0.18), transparent);
  pointer-events: none;
}
.hero-rule { width: 72px; height: 3px; border-radius: 2px; background: var(--brand-gradient); margin: 0 auto 32px; }
.hero .mark { width: 132px; margin: 0 auto 28px; filter: drop-shadow(0 10px 40px rgba(218, 81, 43, 0.35)); }
.wordmark { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase; margin: 0; font-size: clamp(34px, 7vw, 64px); padding-left: 0.32em; }
.wordmark-sub { font-family: var(--font-display); letter-spacing: 0.5em; text-transform: uppercase; color: var(--orange); margin: 6px 0 0; font-size: 15px; padding-left: 0.5em; }
.motto { margin: 36px auto 0; max-width: 560px; }
.motto .latin { font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 28px); font-style: italic; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.motto .english { color: var(--text-dim); margin: 6px 0 0; font-size: 15px; }

/* Sections */
section { padding: 64px 0; }
.section-title { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; font-size: 15px; color: var(--orange); margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 16px; font-weight: 600; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lede { color: var(--text-dim); max-width: 640px; margin: 0; }
.page-head { padding: 64px 0 8px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn-primary { background: var(--brand-gradient); color: #140b06; }
.btn-primary:hover { color: #140b06; filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--text); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Game cards */
.games { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 28px; }
.game { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.game .art { aspect-ratio: 920 / 430; display: grid; place-items: center; text-align: center; padding: 16px; }
.game .body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game .meta { color: var(--text-dim); font-size: 14px; }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); width: fit-content; }
.tag.hot { border-color: var(--orange); color: var(--orange); }

/* Featured game */
.feature { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; align-items: center; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }
.feature .art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 920 / 430; display: grid; place-items: center; text-align: center; padding: 16px; }
.bullets { padding-left: 20px; margin: 14px 0 0; color: var(--text-dim); }
.bullets li { margin: 4px 0; }
.shots { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; }
.shots .placeholder { aspect-ratio: 16 / 9; }

/* Placeholder boxes: anything still waiting on real content */
.placeholder {
  background: repeating-linear-gradient(135deg, #17171a 0 12px, #1b1b1f 12px 24px);
  border: 1px dashed #4a3a30;
  border-radius: var(--radius);
  color: #c9a58c;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: grid; place-items: center; text-align: center; padding: 16px;
}
.todo { background: rgba(237, 128, 51, 0.12); color: #f2b98d; border: 1px dashed rgba(237, 128, 51, 0.5); border-radius: 6px; padding: 0 6px; font-size: 0.92em; }

/* Team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.person { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.person p { margin: 6px 0 0; color: var(--text-dim); font-size: 15px; }
.cats { color: var(--text-dim); margin-top: 28px; font-size: 15px; }

/* Press / facts */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 20px 0 0; }
.facts dt { color: var(--text-dim); }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.logo-pair { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 20px; }
.logo-pair figure { margin: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.logo-pair figcaption { color: var(--text-dim); font-size: 14px; margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-dim); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer em { color: var(--text); font-style: italic; }

/* Steam button before the store page is live */
.btn.is-soon { cursor: default; opacity: 0.9; }
