/* =========================================================================
   Grand City Auto VI — design system
   Direction: bright arcade poster. Cream paper, sky blue, hot pink, sunset
   orange. Chunky outlined display type borrowed from the game's own logo.
   ========================================================================= */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: 'Bungee';
  src: url('assets/fonts/bungee-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  color-scheme: light;

  --ink: #141833;
  --ink-2: #2b3260;
  --ink-soft: #636c99;

  --cream: #fff6e9;
  --cream-2: #ffeed6;
  --paper: #ffffff;

  --sky: #1f95fd;
  --sky-deep: #0b6fd0;
  --sky-pale: #ddf0ff;
  --pink: #ff2d8f;
  --pink-deep: #d5106b;
  --orange: #ff8a1f;
  --yellow: #ffc62e;
  --green: #39c04b;

  --line: rgba(20, 24, 51, .13);
  --line-2: rgba(20, 24, 51, .24);

  --shadow-card: 0 26px 60px rgba(20, 24, 51, .13);
  --shadow-lift: 0 14px 0 rgba(20, 24, 51, .13);
  --shadow-pop: 0 7px 0 var(--ink);

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 13px;
  --r-sm: 9px;

  --max: 1240px;

  --display: 'Bungee', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ----------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 56px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------- sky backdrop -- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 4% -12%, #b9e3ff 0%, rgba(185, 227, 255, 0) 62%),
    radial-gradient(900px 520px at 96% -8%, #ffd9ee 0%, rgba(255, 217, 238, 0) 60%),
    linear-gradient(180deg, #eaf7ff 0%, #fff6e9 40%, #fff6e9 100%);
}
.sky::before {
  content: "";
  position: absolute;
  top: -160px; right: 6%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 60, .5) 0%, rgba(255, 208, 60, 0) 70%);
}
.cloud {
  position: absolute;
  background:
    radial-gradient(58px 58px at 20% 62%, #fff 97%, transparent),
    radial-gradient(76px 76px at 44% 40%, #fff 97%, transparent),
    radial-gradient(52px 52px at 68% 62%, #fff 97%, transparent),
    radial-gradient(66px 46px at 90% 68%, #fff 97%, transparent);
  opacity: .82;
  filter: blur(1px);
}
.cloud-c1 { top: 92px;  left: 4%;   width: 250px; }
.cloud-c2 { top: 168px; right: 6%;  width: 320px; opacity: .7; }
.cloud-c3 { top: 40%;   left: 42%;  width: 210px; opacity: .38; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 246, 233, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 56px), var(--max));
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand picture { display: block; }
.brand-logo {
  width: auto;
  height: 42px;
  transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: rotate(-2deg) scale(1.04); }

.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .18s, color .18s;
}
.site-header nav a:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--line-2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 5px 0 rgba(20, 24, 51, .3);
  transition: transform .16s, box-shadow .16s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(20, 24, 51, .3); }
.header-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(20, 24, 51, .3); }
.header-cta span { transition: transform .16s; }
.header-cta:hover span { transform: translate(2px, -2px); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  padding: 46px 0 78px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
}
.hero-copy > .eyebrow { grid-column: 1 / -1; justify-self: start; }
.hero-copy > .hero-title { grid-column: 1; grid-row: 2 / span 3; }
.hero-copy > .intro,
.hero-copy > .hero-actions,
.hero-copy > .hero-facts { grid-column: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 16px 7px 13px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(20, 24, 51, .16);
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(57, 192, 75, .2);
  animation: pulse 1.9s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(57, 192, 75, .26); }
  50%      { box-shadow: 0 0 0 7px rgba(57, 192, 75, 0); }
}

.hero-title { margin: 0 0 20px; }
.hero-title picture { display: block; }
.hero-title img {
  width: min(100%, 430px);
  height: auto;
  transform: rotate(-1.6deg);
  filter: drop-shadow(0 9px 0 rgba(20, 24, 51, .13)) drop-shadow(0 22px 26px rgba(20, 24, 51, .18));
}
.hero-title .wordmark {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 74px);
  line-height: .95;
  color: #fff;
  -webkit-text-stroke: 9px var(--ink);
  paint-order: stroke fill;
}

.intro {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.66;
  color: var(--ink-2);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s, background .14s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-primary {
  background: var(--pink);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}
.btn-primary:hover { background: #ff4b9f; }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: var(--sky-pale); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 2px dashed var(--line-2);
}
.hero-facts li { display: flex; flex-direction: column; gap: 1px; }
.hero-facts b {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.1;
  color: var(--pink);
}
.hero-facts span { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }

/* floating stickers over the player */
.hero-stage { position: relative; grid-row: 1; min-width: 0; }
.sticker {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 5px 0 rgba(20, 24, 51, .28);
  white-space: nowrap;
}
.sticker-a { top: -26px; left: -26px; transform: rotate(-5deg); }
.sticker-b { top: -24px; right: 118px; transform: rotate(3deg); background: var(--sky); color: #fff; }

/* --------------------------------------------------------- player shell -- */
.player-shell {
  position: relative;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift), var(--shadow-card);
}
.player-topline,
.player-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  height: 42px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.player-topline { background: var(--ink); color: #fff; }
.player-topline .muted { opacity: .5; font-weight: 600; }
.status-light {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #5ef08d;
  box-shadow: 0 0 10px #5ef08d;
  animation: pulse 1.9s ease-out infinite;
}
.player-topline button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.player-topline button:hover { background: #fff; color: var(--ink); }

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d1226;
  overflow: hidden;
}
.player-preview,
.preview-art,
.preview-vignette,
#game-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.player-preview { z-index: 2; }
#game-frame { border: 0; display: block; }

.preview-art {
  background-image: url('assets/banner.webp');
  background-size: cover;
  background-position: 50% 71%;
  filter: saturate(1.06) contrast(1.02);
}
.preview-vignette {
  background:
    linear-gradient(90deg, rgba(10, 14, 38, .95) 0%, rgba(10, 14, 38, .72) 44%, rgba(10, 14, 38, .18) 100%),
    linear-gradient(0deg, rgba(10, 14, 38, .88) 0%, transparent 48%);
}
.preview-copy {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.preview-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.preview-copy strong {
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: .95;
  color: #fff;
  text-shadow: 0 6px 0 rgba(10, 14, 38, .45);
}
.preview-copy strong span { color: var(--yellow); }
.preview-copy small { margin-top: 14px; color: #d6e2f5; font-size: 12px; font-weight: 500; }

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 28px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(20, 24, 51, .55);
  transition: transform .14s, box-shadow .14s, background .14s;
}
.play-button:hover { transform: translateY(-3px); background: #ffd45c; box-shadow: 0 9px 0 rgba(20, 24, 51, .55); }
.play-button:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(20, 24, 51, .55); }
.play-button span { font-size: 13px; }

.player-bottom {
  height: auto;
  min-height: 46px;
  padding: 9px 18px;
  background: var(--cream-2);
  border-top: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}
.player-bottom a { color: var(--pink); font-weight: 800; }
.player-bottom a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ share bar -- */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding: 16px 22px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 0 rgba(20, 24, 51, .1);
}
.share-label { display: flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.share-label small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.share-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--sky-pale);
  border: 2px solid var(--ink);
  font-size: 16px;
}
.share-links { display: flex; gap: 9px; }
.share {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  transition: transform .16s, background .16s, color .16s;
}
.share:hover { transform: translateY(-3px); background: var(--pink); color: #fff; }

/* -------------------------------------------------------- section shell -- */
.more-games,
.gallery,
.controls,
.faq { padding-block: 76px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--pink);
  letter-spacing: .2em;
}
.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1.04;
  color: var(--ink);
}
.period { color: var(--pink); }
.section-index {
  flex: none;
  padding: 8px 16px;
  border: 2px solid var(--line-2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .55);
}
.section-lead {
  max-width: 62ch;
  margin: -14px 0 26px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------- game cards -- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-8px); box-shadow: 0 22px 0 rgba(20, 24, 51, .15); }
.game-card-art {
  position: relative;
  height: 178px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
}
.game-card-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 42, .55) 0%, rgba(12, 16, 42, .05) 42%, rgba(12, 16, 42, .72) 100%);
}
.game-card-art .tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
}
.play-badge {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: transform .2s, background .2s, color .2s;
}
.game-card:hover .play-badge { transform: scale(1.1); background: var(--pink); color: #fff; }
.game-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-top: 3px solid var(--ink);
}
.game-card-info b { font-size: 15px; font-weight: 700; }
.game-card-info span {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sky-pale);
  font-size: 12px;
  font-weight: 800;
  color: var(--sky-deep);
  transition: background .16s, color .16s;
}
.game-card:hover .game-card-info span { background: var(--pink); color: #fff; }

.game-card-one { background-image: url('assets/cover-grand-drive-auto-vice-miami.webp'); }
.game-card-two { background-image: url('assets/cover-gta-race-with-cops-3d.webp'); }
.game-card-three { background-image: url('assets/cover-street-rider.webp'); }

/* -------------------------------------------------------------- gallery -- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shot {
  position: relative;
  display: block;
  padding: 9px 9px 0;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  text-align: left;
  transition: transform .2s, box-shadow .2s;
}
.shot:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 20px 0 rgba(20, 24, 51, .16); }
.shot-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 6px) calc(var(--r-lg) - 6px) 0 0;
  transition: transform .35s;
}
.shot:hover img { transform: scale(1.04); }
.shot span {
  position: absolute;
  left: 18px; bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

/* -------------------------------------------------------------- lightbox -- */
dialog {
  border: 4px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  max-width: min(94vw, 1120px);
  max-height: 92vh;
  padding: 12px;
  box-shadow: 0 30px 90px rgba(10, 14, 38, .5);
}
dialog::backdrop { background: rgba(12, 16, 42, .82); backdrop-filter: blur(4px); }
dialog img { max-height: 76vh; width: auto; margin: auto; border-radius: var(--r-md); }
dialog button {
  position: absolute;
  right: 14px; top: 14px;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
dialog p { margin: 10px 4px 2px; color: var(--ink-soft); font-size: 13px; }

/* ------------------------------------------------------------ about band -- */
.about-band {
  position: relative;
  padding: 84px 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(128deg, #ff2d8f 0%, #ff5c4d 32%, #ff9a24 62%, #7b3fd4 100%);
}
.about-band:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.about-band:after {
  content: "";
  position: absolute;
  right: -6%; bottom: -34%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .17), transparent 68%);
  pointer-events: none;
}
.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: start;
}
.about-left .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #fff;
}
.about-left h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 4px 0 rgba(120, 20, 70, .25);
}
.about-left h2 em {
  font-style: normal;
  color: var(--yellow);
}
.about-left p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .93);
  font-size: 16px;
  line-height: 1.7;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(120, 20, 70, .3);
  transition: transform .16s, box-shadow .16s;
}
.text-link:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(120, 20, 70, .3); }
.text-link span { transition: transform .16s; }
.text-link:hover span { transform: translate(3px, -3px); }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .17);
  backdrop-filter: blur(6px);
  transition: transform .18s, background .18s;
}
.feature-list article:hover { transform: translateX(6px); background: rgba(255, 255, 255, .27); }
.feature-list article > span {
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink);
  opacity: .55;
  padding-top: 2px;
}
.feature-list h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature-list p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.feature-list b { font-size: 16px; color: rgba(255, 255, 255, .8); }

/* -------------------------------------------------------------- controls -- */
.controls-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.control-panel,
.control-note {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}
.control-panel { padding: 24px 26px; }
.control-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line-2);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--pink);
}
.control-title span + span { color: var(--ink-soft); font-size: 12px; }
.control-panel dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1.5px solid var(--line);
}
.control-panel dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.control-panel dt { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.control-panel dd {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 13px;
  color: var(--ink-soft);
}
.control-panel dd i { font-style: normal; font-size: 12px; }
kbd {
  display: inline-block;
  min-width: 26px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--cream);
  box-shadow: 0 3px 0 rgba(20, 24, 51, .28);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}
.control-note {
  padding: 26px;
  background: var(--sky-pale);
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 22px;
}
.note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow);
  font-size: 24px;
}
.control-note h3 { font-size: 18px; margin-bottom: 4px; }
.control-note p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 12px; }
.control-note a {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(20, 24, 51, .28);
  transition: transform .16s, box-shadow .16s;
}
.control-note a:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(20, 24, 51, .28); }

/* ------------------------------------------------------------------ faq -- */
.faq-list {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  transition: background .16s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--cream-2); }
.faq-list summary span {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s;
}
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p {
  max-width: 74ch;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------- footer -- */
.footer {
  background: var(--ink);
  color: #fff;
  padding-top: 58px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 42px;
}
.footer .brand-logo { height: 40px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .4)); }
.footer-inner p { color: #a9b1d6; font-size: 13px; margin: 16px 0 0; max-width: 42ch; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.footer-links a {
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #dfe3f7;
  transition: background .16s, color .16s, border-color .16s;
}
.footer-links a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1.5px solid rgba(255, 255, 255, .14);
  color: #8f97c4;
  font-size: 12px;
}

/* ====================================================== game detail pages == */
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--pink); }
.breadcrumb span { color: var(--line-2); }

.detail-page .play-section { padding-top: 34px; }
.detail-page .play-heading { display: block; margin-bottom: 28px; }
.detail-page .play-heading .eyebrow { margin-bottom: 18px; }
.detail-page h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5.2vw, 58px);
  line-height: 1.02;
  margin-bottom: 14px;
}
.detail-page .intro { max-width: 58ch; margin-bottom: 0; }
.detail-page .play-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.detail-page .play-meta span {
  padding: 7px 15px;
  border: 2px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.detail-page .play-meta i { font-style: normal; }
.detail-page .player-stage { aspect-ratio: 16 / 9; }
.detail-page .preview-art { background-size: cover; background-position: center 30%; }
.detail-page .player-bottom a { color: var(--pink); }

/* The game's own logo lives inside its key art, so the overlay copy needs a
   solid plate to stay legible on top of it. */
.detail-page .preview-vignette {
  background:
    linear-gradient(90deg, rgba(10, 14, 38, .8) 0%, rgba(10, 14, 38, .38) 56%, rgba(10, 14, 38, .1) 100%),
    linear-gradient(0deg, rgba(10, 14, 38, .74) 0%, transparent 48%);
}
.detail-page .preview-copy {
  left: 5%;
  padding: 20px 24px 22px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: rgba(10, 14, 38, .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .4);
}
.detail-page .preview-copy strong { font-size: clamp(30px, 3.6vw, 52px); }
.detail-page .preview-copy small { margin-top: 10px; }

.game-info { padding-block: 62px; border-bottom: 1.5px solid var(--line); }
.game-info > p {
  max-width: 84ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.game-info > .section-lead { margin: -8px 0 26px; font-size: 14.5px; color: var(--ink-soft); }

.guide-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
.play-steps { counter-reset: steps; }
.play-steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1.5px solid var(--line);
  color: var(--ink-2);
  line-height: 1.68;
}
.play-steps li:first-child { border-top: 0; padding-top: 4px; }
.play-steps li:before {
  content: counter(steps, decimal-leading-zero);
  font-family: var(--display);
  font-size: 13px;
  color: var(--pink);
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.detail-gallery .shot { aspect-ratio: 16 / 9; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-game {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  transition: transform .18s, box-shadow .18s;
}
.related-game:hover { transform: translateY(-6px); box-shadow: 0 20px 0 rgba(20, 24, 51, .15); }
.related-game span { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--pink); }
.related-game strong { font-size: 19px; margin: 16px 0; line-height: 1.2; }
.related-game b {
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-size: 12px;
}
.related-game:hover b { background: var(--pink); color: #fff; }

/* ============================================================== responsive */
@media (max-width: 1080px) {
  .sticker-a { left: -8px; }
  .sticker-b { right: -6px; }
}

@media (max-width: 960px) {
  .container, .header-inner { width: min(calc(100% - 40px), var(--max)); }
  .hero { padding: 30px 0 62px; }
  .hero-layout { gap: 32px; }
  .hero-copy { display: block; text-align: center; }
  .hero-title img { margin-inline: auto; }
  .intro { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-facts { text-align: left; }
  .sticker-a { top: -14px; left: 6px; }
  .sticker-b { bottom: 18px; right: 6px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-wide { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
  .about-layout { grid-template-columns: 1fr; gap: 38px; }
  .controls-layout { grid-template-columns: 1fr 1fr; }
  .control-note { grid-column: span 2; }
  .guide-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header nav a:nth-child(3), .site-header nav a:nth-child(4) { display: none; }
  .more-games, .gallery, .controls, .faq { padding-block: 54px; }
  .section-heading { align-items: flex-start; }
  .section-index { display: none; }
  .preview-copy strong { font-size: clamp(34px, 9vw, 56px); }
  .preview-kicker { font-size: 9px; padding: 4px 10px; }
  .preview-copy small { font-size: 11px; }
  .play-button { padding: 13px 20px; font-size: 12px; margin-top: 20px; }
  .control-note { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-game { min-height: 120px; }
}

@media (max-width: 560px) {
  .container, .header-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { height: 68px; }
  .brand-logo { height: 30px; }
  .header-cta { display: none; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding: 8px 10px; font-size: 13px; }
  .hero { padding: 24px 0 52px; }
  .eyebrow { font-size: 9.5px; padding: 6px 13px 6px 11px; margin-bottom: 16px; }
  .intro { font-size: 14.5px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .hero-facts { gap: 14px 22px; }
  .hero-facts b { font-size: 19px; }
  .hero-facts span { font-size: 11.5px; }
  .sticker { font-size: 10px; padding: 7px 12px; }
  .sticker-a { left: 2px; }
  .sticker-b { right: 2px; }
  .player-shell { border-width: 3px; border-radius: var(--r-lg); }
  .hero .player-stage { aspect-ratio: auto; height: clamp(300px, 80vw, 420px); }
  .player-topline, .player-bottom { padding: 0 11px; font-size: 9px; }
  .player-topline button span { display: none; }
  .player-bottom { height: auto; min-height: 44px; padding: 9px 11px; font-size: 10px; }
  .player-bottom span { max-width: 62%; }
  .share-bar { align-items: flex-start; flex-direction: column; padding: 15px 17px; }
  .share-links { width: 100%; justify-content: space-between; }
  .share { width: 38px; height: 38px; }
  .games-grid { grid-template-columns: 1fr; gap: 16px; }
  .game-card-art { height: 150px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .shot-wide { grid-column: span 1; }
  .shot { aspect-ratio: 4 / 3; }
  .detail-gallery { grid-template-columns: 1fr; gap: 14px; }
  .detail-gallery .shot { aspect-ratio: 16 / 9; }
  .controls-layout { grid-template-columns: 1fr; }
  .control-note { grid-column: span 1; }
  .control-panel { padding: 20px 18px; }
  .control-panel dl div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .faq-list summary { padding: 17px 18px; font-size: 15px; }
  .faq-list p { padding: 0 18px 18px; font-size: 14px; }
  .play-steps li { grid-template-columns: 40px 1fr; }
  .game-info { padding-block: 44px; }
  .game-info > p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
