/* Full Tank Games — dark, bold, modern. Near-black base, heavy white type, white pill buttons,
   full-bleed gameplay video. Accent red comes from the studio logo needle. */
:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --card: #161616;
  --line: #262626;
  --text: #ffffff;
  --muted: #a3a3a3;
  --red: #e0352b;
  --cream: #f1e6c3;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 999px; }
.skip:focus { left: 8px; }
.label { display: inline-block; margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d4d4d4; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  color: #000; background: #fff; border: 2px solid #fff;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--cream); border-color: var(--cream); }
.btn.ghost { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn.small { height: 42px; padding: 0 20px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 11, 11, .82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav .logo img { height: 46px; width: auto; }
.nav .links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav .links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: #d4d4d4; }
.nav .links a:hover, .nav .links a[aria-current] { color: #fff; }
.nav .links a.btn, .nav .links a.btn:hover { color: #000; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav .links { position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; background: #111; border: 1px solid var(--line); border-radius: 16px; display: none; }
  .nav.open .links { display: flex; }
  .nav .links a { display: block; padding: 14px 16px; }
  .nav .links .btn { margin: 6px 8px 8px; }
}

/* ---------- hero ---------- */
.hero {
  padding: 150px 0 clamp(72px, 10vw, 130px);
  background:
    radial-gradient(ellipse at 78% 35%, rgba(224, 53, 43, .16), transparent 55%),
    radial-gradient(ellipse at 8% 90%, rgba(241, 230, 195, .05), transparent 50%);
}
@media (max-width: 900px) { .hero { padding-top: 112px; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .game-logo { width: min(520px, 100%); height: auto; margin-bottom: 18px; }
.hero .lead { margin-bottom: 30px; color: #e5e5e5; }
/* gameplay loop in a window: shown at or below its real size so it stays sharp */
.hero-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line);
  background: #000 url(img/hero-poster.jpg) center / cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { /* hides the in-game control hints in the lower-left corner */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 0% 100%, rgba(11, 11, 11, .95), rgba(11, 11, 11, .8) 40%, transparent 80%);
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.section-head h2 { max-width: 16ch; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.facts div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 700; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.rounded { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* ---------- trailer ---------- */
.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: rgba(0, 0, 0, .25); cursor: pointer; transition: background .2s; }
.video button:hover { background: rgba(0, 0, 0, .1); }
.video .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: #fff; transition: transform .2s; }
.video .play::after { content: ""; position: absolute; left: 36px; top: 28px; border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent #000; }
.video button:hover .play { transform: scale(1.08); }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { overflow: hidden; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.card .img { aspect-ratio: 16 / 10; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.05); }
.card .body { padding: 22px 22px 26px; }
.card .num { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.card p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- screenshot strip ---------- */
.strip-nav { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: #fff; font: 700 1.2rem/1 var(--font); cursor: pointer; transition: background .15s, color .15s; }
.round:hover { background: #fff; color: #000; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 82vw); gap: 16px; margin: 0; padding: 0 max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots li { scroll-snap-align: start; }
.shots a { display: block; text-decoration: none; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); transition: opacity .2s; }
.shots a:hover img { opacity: .85; }
.shots span { display: block; margin-top: 12px; font-weight: 700; }
.shots b { color: var(--red); margin-right: 8px; font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 180px) 0; text-align: center; }
.cta .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11, 11, 11, .55), rgba(11, 11, 11, .92) 75%); }
.cta .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 28px; }
.cta .wish { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .6)); }

/* ---------- press kit ---------- */
.page-head { padding: 150px 0 60px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 0%, rgba(224, 53, 43, .14), transparent 55%); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 16px; }
.press { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .press { grid-template-columns: 1fr; } }
.box { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .sticky { position: static; } }
.box h2, .block h2 { font-size: 1.5rem; margin-bottom: 18px; }
.factlist { margin: 0; }
.factlist dt { margin-top: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.factlist dt:first-child { margin-top: 0; }
.factlist dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.factlist a { color: #fff; }
.blocks { display: grid; gap: 56px; }
.block p { color: #d4d4d4; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: #d4d4d4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.grid-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.grid-dl a { display: block; overflow: hidden; text-decoration: none; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: border-color .15s, transform .15s; }
.grid-dl a:hover { border-color: #fff; transform: translateY(-2px); }
.grid-dl .pic { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 14px; background: #0e0e0e; }
.grid-dl .pic.cover { padding: 0; }
.grid-dl .pic img { max-height: 100%; width: auto; }
.grid-dl .pic.cover img { width: 100%; height: 100%; object-fit: cover; }
.grid-dl span { display: block; padding: 12px 14px; font-size: .85rem; font-weight: 600; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; background: rgba(0, 0, 0, .94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 80vh; border-radius: 12px; }
.lightbox p { margin: 0; font-weight: 700; text-align: center; }
.lightbox .bar { display: flex; gap: 10px; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); background: #080808; }
.foot .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .logo img { height: 64px; width: auto; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; font-weight: 600; color: #d4d4d4; }
.foot ul a:hover { color: #fff; }
.foot .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; }
.lost h1 { font-size: clamp(5rem, 18vw, 10rem); }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card img, .video .play { transition: none; }
}
