/* Clemtek Softworks: forged steel + teal energy, from the logo. */
:root {
  --bg: #0b0e14;
  --bg-2: #121722;
  --panel: #161c28;
  --rule: #263042;
  --fg: #e6ecf3;
  --muted: #9aa8b8;
  --steel: #c9d6e3;
  --teal: #3fe0d0;
  --violet: #c4a3ff;
  --link: #6fe9dc;
  --max: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; color: var(--fg); background: var(--bg); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: .5rem .75rem; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: rgba(11, 14, 20, .9); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--steel); text-decoration: none; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }
.brand img { width: 28px; height: 28px; border-radius: 50%; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* Type */
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; font-weight: 600; margin: 0 0 .6rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
.lede { font-size: 1.2rem; color: var(--steel); max-width: 40rem; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 4rem 0; }
section + section { border-top: 1px solid var(--rule); }
.hero { padding: 5rem 0 4rem; text-align: center; background: radial-gradient(60rem 26rem at 50% 30%, rgba(63, 224, 208, .10), transparent 70%); }
.hero .logo { width: min(640px, 92%); margin: 0 auto 1.5rem; filter: drop-shadow(0 0 28px rgba(63, 224, 208, .12)); }
.hero .lede { margin: 0 auto; }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--steel); letter-spacing: .4em; text-transform: uppercase; font-size: .8rem; margin: 0 0 1.75rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--rule), transparent); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 8px; border: 1px solid var(--rule); background: var(--panel); color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn:hover { border-color: var(--teal); color: #fff; }
.btn.primary { background: linear-gradient(180deg, #3fe0d0, #2bb7aa); color: #062320; border-color: transparent; }
.btn.primary:hover { filter: brightness(1.08); color: #062320; }

/* Game card */
.game { display: grid; grid-template-columns: 160px 1fr; gap: 1.75rem; align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: 1.5rem; }
.game img { border-radius: 28px; width: 160px; }
.game p { margin: .25rem 0 0; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--violet); border: 1px solid rgba(196, 163, 255, .4); border-radius: 999px; padding: .1rem .6rem; margin-left: .4rem; vertical-align: middle; }
@media (max-width: 620px) { .game { grid-template-columns: 1fr; text-align: left; } .game img { width: 112px; border-radius: 22px; } }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 1.25rem; }
.card h3 { color: var(--steel); }
.card p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.feature { border-radius: 14px; border: 1px solid var(--rule); width: 100%; }

/* Fact sheet */
dl.facts { display: grid; grid-template-columns: 11rem 1fr; gap: .55rem 1.25rem; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .6rem; } }

/* Legal pages */
.doc { max-width: 46rem; padding: 3rem 1.25rem 4rem; margin: 0 auto; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.2rem; margin: 2.2rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.doc .meta { color: var(--muted); margin: 0 0 1.5rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 600; }
@media (max-width: 560px) {
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
  .doc td { border: 0; padding: .1rem 0; }
  .doc td:first-child { font-weight: 600; }
}
.note { border-left: 3px solid var(--violet); background: var(--bg-2); padding: .75rem 1rem; border-radius: 0 8px 8px 0; color: var(--steel); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; color: var(--muted); font-size: .9rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--fg); }
.gap-top { margin-top: 1.5rem; }
@media (max-width: 640px) {
  .nav .wide { display: none; }
  .nav { gap: 1rem; }
  .brand { font-size: .8rem; letter-spacing: .1em; }
  section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
}
