@font-face { font-family: 'Pirata One'; src: url('/assets/PirataOne-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/assets/Cinzel.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #0a090d;
  --ink-2: #121016;
  --panel: #17141c;
  --line: rgba(201, 162, 90, 0.28);
  --bone: #e9dfc8;
  --dim: #a59c8a;
  --brass: #d2ab62;
  --ember: #ff8a30;
  --display: 'Pirata One', 'Cinzel', Georgia, serif;
  --ui: 'Cinzel', 'Palatino Linotype', Georgia, serif;
  --body: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--brass); }
a:hover { color: #f1d9a4; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(10, 9, 13, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); font-family: var(--ui); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 15px; }
.brand img { width: 34px; height: 34px; }
.bar nav { margin-left: auto; display: flex; gap: 18px; font-family: var(--ui); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.bar nav a { color: var(--dim); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--bone); }

/* hero */
.hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; background: var(--ink) center / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,13,0.15) 0%, rgba(10,9,13,0.35) 50%, var(--ink) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.kicker { font-family: var(--ui); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); margin: 0 0 10px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 10vw, 104px); line-height: 0.95; margin: 0; color: #f1d9a4; text-shadow: 0 0 34px rgba(255, 110, 40, 0.45), 0 4px 0 #3a1a10, 0 8px 18px #000; }
.studio h1 { font-family: var(--ui); font-weight: 700; letter-spacing: 0.04em; font-size: clamp(40px, 7vw, 72px); text-shadow: 0 4px 18px #000; color: var(--bone); }
.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 640px; margin: 16px 0 26px; text-shadow: 0 2px 8px #000; }
.hero-logo { width: min(560px, 90%); filter: drop-shadow(0 6px 18px #000); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 8px; font-family: var(--ui); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-decoration: none; border: 1px solid var(--line); color: var(--bone); background: rgba(23, 20, 28, 0.8); }
.btn:hover { border-color: var(--brass); color: var(--bone); }
.btn.gold { color: #1a0f08; background: linear-gradient(180deg, #e7c070, #a8752c); border-color: #f0d08a; }
.btn.gold:hover { filter: brightness(1.08); color: #1a0f08; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }

/* sections */
section { padding: 64px 0; }
h2 { font-family: var(--ui); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: 0.03em; margin: 0 0 18px; color: #f1d9a4; }
.muted { color: var(--dim); }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--bone); transition: transform 0.15s, border-color 0.15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--brass); color: var(--bone); }
.card .art { aspect-ratio: 1232 / 706; background: #000 center / cover no-repeat; }
.card .art.plain { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 60%, #3a0d10, #0c0a0e 70%); font-family: var(--display); font-size: 54px; color: #c9b8a0; text-shadow: 0 0 22px rgba(200, 30, 30, 0.5); }
.card .body { padding: 18px 20px 22px; }
.card h3 { font-family: var(--ui); margin: 0 0 4px; font-size: 22px; }
.tag { display: inline-block; font-family: var(--ui); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); border: 1px solid rgba(255, 138, 48, 0.45); border-radius: 4px; padding: 2px 8px; margin-bottom: 10px; }
.tag.dim { color: var(--dim); border-color: var(--line); }
.card p { margin: 6px 0 0; color: var(--dim); font-size: 16px; }

.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--ember); box-shadow: 0 0 8px var(--ember); }

.video { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; }
.video video { width: 100%; height: auto; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.shots img { border-radius: 8px; border: 1px solid var(--line); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.bosses { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.boss { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.boss b { display: block; font-family: var(--ui); color: var(--bone); }
.boss span { font-size: 14px; color: var(--dim); }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-family: var(--ui); font-weight: 700; font-size: clamp(30px, 5vw, 42px); text-shadow: none; color: #f1d9a4; letter-spacing: 0.02em; }
.doc h2 { font-size: 21px; margin-top: 34px; }
.doc .updated { color: var(--dim); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer nav { display: flex; gap: 18px; }
footer nav a { color: var(--dim); }
footer .legal { margin-left: auto; }
@media (max-width: 520px) { .brand span { display: none; } }
@media (max-width: 600px) { footer .legal { margin-left: 0; width: 100%; } .bar nav { gap: 12px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { a.card { transition: none; } }
