/* CRE8NOW Games press kits */
@font-face { font-family: "Avegra"; src: url("Avegra.ttf") format("truetype"); font-display: swap; }

:root {
  --lime: #d3ff0c;
  --ink: #0a0a0a;
  --ink-2: #141414;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f4f4f0;
  --muted: rgba(244, 244, 240, 0.62);
  --display: "Avegra", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: max(16px, 8vw);
  --radius: clamp(14px, 1.6vw, 24px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2 { margin: 0; font-weight: 400; }

/* header */
.pbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad); background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.pbar__brand img { height: clamp(24px, 2.2vw, 34px); width: auto; }
.pbar__nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.pbar__nav a { text-decoration: none; transition: color 0.25s; }
.pbar__nav a:hover { color: var(--text); }

/* buttons */
.pbtn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 99px; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s; }
.pbtn small { font-weight: 500; font-size: 12px; opacity: 0.7; }
.pbtn:hover { transform: translateY(-2px); }
.pbtn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.pbtn--lime { background: var(--lime); color: var(--ink); }
.pbtn--accent { background: var(--accent); color: var(--ink); }
.pbtn--accent:hover { box-shadow: 0 14px 40px -12px var(--accent); }
.pbtn--ghost { border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.pbtn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.pbtn--off { border-style: dashed; color: var(--muted); cursor: default; }
.pbtn--off:hover { transform: none; }

/* type */
.pkick { margin: 0 0 14px; font: 600 12px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.plead { max-width: 640px; margin: 0; font: 500 clamp(18px, 1.6vw, 26px)/1.35 var(--body); letter-spacing: -0.01em; color: rgba(244, 244, 240, 0.86); }
.pmuted { color: var(--muted); }

/* game hero */
.phero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(40px, 7vh, 90px) var(--pad) clamp(40px, 6vh, 80px); }
.pstage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 0 50px 120px -50px color-mix(in srgb, var(--accent) 50%, transparent); }
.pstage video { width: 100%; height: 100%; object-fit: cover; }
.pstage__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 55%); }
.pstage__logo { position: absolute; left: 5%; bottom: 6%; width: 42%; height: 34%; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)); }
.pstage__type { position: absolute; left: 5%; bottom: 6%; margin: 0; font: 400 clamp(30px, 4vw, 64px)/0.86 var(--display); text-transform: uppercase; }
.phero h1 { margin-bottom: 18px; font: 400 clamp(48px, 6.4vw, 120px)/0.88 var(--display); text-transform: uppercase; }
.pctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* factsheet + text */
.pgrid { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.6fr; gap: clamp(16px, 2vw, 28px); padding: 0 var(--pad); align-items: start; }
.pcol { display: grid; gap: clamp(16px, 2vw, 28px); }
.pcard { padding: clamp(22px, 2.4vw, 36px); border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.pgrid > .pcard { position: sticky; top: 90px; }
.pcard h2 { margin-bottom: 16px; font: 600 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.pcard p { margin: 0 0 14px; color: rgba(244, 244, 240, 0.82); }
.pcard p:last-child { margin-bottom: 0; }
.pcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pcopy { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); font: 600 11px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.25s, border-color 0.25s, background-color 0.25s; }
.pcopy:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.pcopy.done { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pfacts { margin: 0; }
.pfacts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pfacts dt { color: var(--muted); }
.pfacts dd { margin: 0; overflow-wrap: anywhere; }
.pfacts a { color: var(--accent); text-decoration: none; }
.pfacts a:hover { text-decoration: underline; }
.plist { margin: 0; padding-left: 1.1em; color: rgba(244, 244, 240, 0.82); }
.plist li { margin: 6px 0; }
.plist li::marker { color: var(--accent); }
.plist--plain { list-style: none; padding: 0; }

/* media sections */
.psec { padding: clamp(60px, 9vh, 110px) var(--pad) 0; }
.psec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.psec__head h2 { font: 400 clamp(32px, 3.6vw, 64px)/0.9 var(--display); text-transform: uppercase; }
.psec__head p { margin: 0; color: var(--muted); font-size: 14px; }
.pshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.pshot { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.pshot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pshot span { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 11px/1 var(--mono); opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.pshot:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent); }
.pshot:hover img { transform: scale(1.05); }
.pshot:hover span, .pshot:focus-visible span { opacity: 1; transform: none; }
.pvideo { overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: 0 0 0 1px var(--line); margin-bottom: 18px; }
.pvideo video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.plogos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.plogo { display: grid; gap: 12px; padding: 22px; border-radius: 14px; text-decoration: none; background: repeating-conic-gradient(#1b1b1b 0 25%, #121212 0 50%) 0 0 / 18px 18px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.plogo img { width: 100%; height: 160px; object-fit: contain; }
.plogo--art img { object-fit: cover; border-radius: 8px; }
.plogo span { font: 500 12px/1 var(--mono); color: var(--muted); }
.plogo:hover { box-shadow: 0 0 0 2px var(--accent); }

/* hub */
.hhero { padding: clamp(60px, 12vh, 140px) var(--pad) clamp(40px, 6vh, 70px); }
.hhero h1 { margin-bottom: 22px; font: 400 clamp(64px, 10vw, 200px)/0.84 var(--display); text-transform: uppercase; }
.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--pad); }
.hcard { display: grid; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.hcard__img { aspect-ratio: 16 / 8; overflow: hidden; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hcard__body { display: grid; gap: 8px; padding: 22px 24px 26px; }
.hcard small { font: 600 11px/1.3 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.hcard b { font: 400 clamp(30px, 2.6vw, 44px)/0.95 var(--display); text-transform: uppercase; }
.hcard__body > span { color: var(--muted); font-size: 15px; }
.hcard em { font-style: normal; font: 500 12px/1 var(--mono); color: var(--text); margin-top: 6px; }
.hcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px var(--accent); }
.hcard:hover .hcard__img img { transform: scale(1.05); }

/* footer */
.pfoot { margin-top: clamp(80px, 12vh, 140px); padding: 40px var(--pad) max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pfoot p { max-width: 820px; margin: 0 0 12px; }
.pfoot b { color: var(--text); }
.pfoot a { color: var(--text); }
.pfoot__note { font-size: 12px; opacity: 0.7; }

@media (max-width: 1000px) {
  .phero, .pgrid { grid-template-columns: 1fr; }
  .pgrid > .pcard { position: static; }
  .pshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pbar { gap: 14px; }
  .pbar__nav a:last-child { display: none; }
  .pbar__nav { gap: 14px; font-size: 13px; }
  .pctas .pbtn { width: 100%; justify-content: center; }
  .pshots { grid-template-columns: 1fr; }
  .pshot span { opacity: 1; transform: none; }
  .pfacts div { grid-template-columns: 6.5em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pbtn, .pshot, .pshot img, .hcard, .hcard__img img { transition: none; }
}
