@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #171614;
  --panel: #201f1b;
  --text: #f3ebdd;
  --muted: #aaa59b;
  --line: #3c3932;
  --yellow: #f3b51b;
  --discord: #5865f2;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
::selection { background: var(--yellow); color: var(--bg); }
.page { max-width: 1080px; margin: auto; padding: 0 40px; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 2; padding: 14px 20px; background: var(--yellow); color: var(--bg); }
.skip-link:focus { top: 16px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.studio { display: block; width: 120px; max-width: 100%; flex-shrink: 0; }
.studio-logo { width: 100%; height: auto; }
.slogan { margin: 0; font-size: 14px; color: var(--muted); }
.game-card { width: 100%; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); overflow: hidden; }
.game-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.development { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .08em; }
.development > span { width: 5px; height: 5px; background: var(--yellow); border-radius: 50%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.game-card picture { display: block; }
.game-artwork { width: 100%; height: auto; aspect-ratio: 1232 / 706; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.action { min-height: 70px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 5px 13px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 3px; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: left; cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease; }
.action .icon { grid-column: 1; grid-row: 1 / 3; }
.action-copy { display: contents; }
.action-copy > span:first-child { grid-column: 2; grid-row: 1; }
.action-subtitle { grid-column: 2 / -1; grid-row: 2; font-size: 11px; font-weight: 400; line-height: 1.5; }
.action .soon, .action-arrow { grid-column: 3; grid-row: 1; }
.action-steam .action-subtitle { color: var(--muted); }
.action-steam { background: transparent; color: var(--text); }
.action-steam .icon, .social img { filter: invert(94%) sepia(14%) saturate(271%) hue-rotate(342deg) brightness(99%) contrast(93%); }
.action-steam:disabled { cursor: not-allowed; color: #c1bcb2; }
.action-steam:disabled .icon { opacity: .72; }
.soon { margin-left: auto; flex-shrink: 0; font-size: 9px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; padding: 5px 7px; border: 1px solid #4e4940; border-radius: 3px; color: var(--muted); }
.action-discord { background: var(--discord); border-color: var(--discord); color: #fff; }
.action-discord .icon { filter: brightness(0) invert(1); }
.action-arrow { margin-left: auto; font-size: 22px; font-weight: 400; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 49px; }
.sign-off { margin: 0; font: 700 30px/1.08 "Barlow Condensed", Impact, sans-serif; }
.sign-off span { color: var(--muted); }
.social-block { text-align: right; }
.social-caption { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.socials { display: flex; justify-content: flex-end; gap: 8px; }
.social { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid transparent; border-radius: 3px; cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease; }
.link-notice { min-height: 20px; margin: 12px 0 16px; text-align: right; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 28px; color: var(--muted); font-size: 10px; }
.footer-bottom small { font-size: 9px; letter-spacing: .075em; }
.footer-note { font-size: 11px; }

@media (hover: hover) {
  .action-discord:hover { background: #4752c4; border-color: #4752c4; }
  .action-steam:not(:disabled):hover, .social:hover { background: #28261f; border-color: #716750; }
}
@media (max-width: 700px) {
  .page { padding: 0 24px; }
  .masthead { padding: 20px 0; }
  .studio { width: 105px; }
  .slogan { max-width: 115px; text-align: right; font-size: 12px; line-height: 1.6; }
  .game-meta { font-size: 9px; }
  .actions { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .action { min-height: 64px; padding: 16px 20px; }
  .footer-main { margin-top: 36px; }
  .social-caption { max-width: 170px; margin-left: auto; line-height: 1.5; }
  .socials { gap: 0; }
  .sign-off { font-size: 27px; }
}
@media (max-width: 600px) {
  .game-artwork { aspect-ratio: 748 / 896; }
}
@media (max-width: 430px) {
  .page { padding: 0 18px; }
  .masthead { align-items: center; flex-direction: column; gap: 12px; padding: 20px 0 24px; }
  .slogan { max-width: none; text-align: center; }
  .game-meta { font-size: 8px; gap: 10px; }
  .footer-main { align-items: flex-start; gap: 14px; }
  .sign-off { font-size: 25px; }
  .social-caption { max-width: 145px; font-size: 10px; }
  .socials { flex-wrap: wrap; }
  .social { width: 38px; height: 44px; padding: 9px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .link-notice { min-height: 38px; }
}
@media (max-width: 360px) {
  .action { padding-inline: 14px; column-gap: 10px; font-size: 13px; }
  .soon { font-size: 8px; }
  .footer-main { flex-direction: column; gap: 24px; }
  .social-block { text-align: left; }
  .social-caption { max-width: none; margin-left: 0; }
  .socials { justify-content: flex-start; gap: 6px; }
  .social { width: 44px; }
  .link-notice { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
