/* ============================================================
   Havoc Games / havocgames.co
   Dark esports premium. Angular cuts echo the logo.
   ============================================================ */

/* ---------- Fonts (self hosted) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/anton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0d;
  --bg-2: #101015;
  --bg-3: #15151c;
  --line: rgba(242, 241, 236, 0.09);
  --text: #f2f1ec;
  --muted: #a6a5ae;
  --orange: #ff5a1f;
  --orange-deep: #e33b2e;
  --gold: #ffb84d;
  --ink: #16100b;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --cut-sm: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  --nav-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--orange); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

body.locked { overflow: hidden; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: var(--ink);
  padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Shared ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

section { position: relative; }
.section-pad { padding: clamp(84px, 11vw, 140px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '//'; color: var(--orange); font-weight: 700; letter-spacing: 0;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  font-weight: 400;
}
.h2 .accent { color: var(--gold); }

.lead { color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  padding: 15px 26px;
  clip-path: var(--cut-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn-primary {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 90, 31, 0.35); }

.btn-ghost {
  background: rgba(242, 241, 236, 0.05);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(242, 241, 236, 0.22);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(242, 241, 236, 0.1); }

.btn-sm { padding: 11px 18px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 13, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1240px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s ease; position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
}
.burger span {
  width: 22px; height: 2px; background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 10, 13, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); font-size: 2rem; text-transform: uppercase;
  padding: 10px 20px; color: var(--text);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img,
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 13, 0.82) 0%, rgba(10, 10, 13, 0.45) 55%, rgba(10, 10, 13, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 13, 0.55) 0%, rgba(10, 10, 13, 0.35) 45%, var(--bg) 97%);
}
.hero-shade::after {
  content: ''; position: absolute; left: -10%; bottom: -20%;
  width: 55%; height: 70%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.16), transparent 70%);
}

.hero-inner { padding: calc(var(--nav-h) + 40px) 0 110px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: '//'; color: var(--orange); letter-spacing: 0; }
.hero-eyebrow .dim { color: var(--muted); }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 10.5vw, 8rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.008em;
  max-width: 12ch;
}
.hero h1 .dot { color: var(--gold); }

.hero-sub {
  margin-top: 26px;
  max-width: 54ch;
  color: rgba(242, 241, 236, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-note {
  margin-top: 18px; font-size: 13px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.04em;
}
.hero-note .sep { color: var(--orange); margin: 0 8px; }

/* Sits in the hero's bottom-right corner, right edge locked to the
   container gutter so it lines up with the rest of the page grid. */
.trailer-chip {
  position: absolute; z-index: 2;
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: 110px;
  display: inline-flex; align-items: center; gap: 16px;
  text-align: left;
  transition: transform 0.25s ease;
}
.trailer-chip:hover,
.trailer-chip:focus-visible { transform: translateY(-3px); }

.tc-label {
  position: relative;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.2; color: var(--text);
}
.tc-label::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--orange);
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.trailer-chip:hover .tc-label::after,
.trailer-chip:focus-visible .tc-label::after { width: 100%; }

/* ---------- Play ring (hero chip + media tiles) ----------
   --ring drives everything: the glyph is a share of the ring, so the
   triangle never ends up lost inside the circle. */
.play-ring {
  --ring: 58px;
  position: relative; flex: none;
  width: var(--ring); height: var(--ring);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(242, 241, 236, 0.1);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow:
    inset 0 0 0 1.5px rgba(242, 241, 236, 0.42),
    0 10px 28px rgba(10, 10, 13, 0.4);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.play-ring svg { width: 60%; height: 60%; fill: var(--text); transition: fill 0.25s ease; }

/* Idle pulse, hero only — the media grid has two rings side by side
   and stays calm without it. */
.trailer-chip .play-ring::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(242, 241, 236, 0.45);
  animation: ring-pulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.trailer-chip:hover .play-ring,
.trailer-chip:focus-visible .play-ring,
.tile-video:hover .play-ring,
.tile-video:focus-visible .play-ring {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 138, 92, 0.85),
    0 14px 34px rgba(255, 90, 31, 0.45);
  transform: scale(1.07);
}
.trailer-chip:hover .play-ring svg,
.trailer-chip:focus-visible .play-ring svg,
.tile-video:hover .play-ring svg,
.tile-video:focus-visible .play-ring svg { fill: var(--ink); }
.trailer-chip:hover .play-ring::after,
.trailer-chip:focus-visible .play-ring::after { animation: none; opacity: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 44px; overflow: hidden; opacity: 0.55;
}
.scroll-cue::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--text);
  animation: cue 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 15px 0;
  display: flex;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 44px;
  padding-right: 44px;
  flex: none;
  animation: tick 30s linear infinite;
}
.ticker span {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.ticker .sl { color: var(--orange); letter-spacing: 0; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- The Game ---------- */
.game-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.mode-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mode-chips li {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px;
  color: var(--text);
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: var(--cut-sm);
}
.mode-chips li strong { color: var(--gold); font-weight: 700; }

.frame {
  position: relative;
  clip-path: var(--cut);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 241, 236, 0.12);
  clip-path: var(--cut);
  pointer-events: none;
}
.frame-tag {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 10, 13, 0.72);
  padding: 7px 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Extension Phase ---------- */
.extension {
  background:
    linear-gradient(rgba(10, 10, 13, 0.94), rgba(10, 10, 13, 0.96)),
    url('../assets/img/map.webp') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ext-grid {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.ext-count { display: flex; flex-direction: column; line-height: 0.94; }
.ext-count span {
  font-family: var(--display);
  font-size: clamp(3.4rem, 7.5vw, 6.2rem);
  text-transform: uppercase;
}
.ext-count .c1 { color: rgba(242, 241, 236, 0.18); }
.ext-count .c2 { color: rgba(242, 241, 236, 0.34); }
.ext-count .c3 { color: rgba(255, 90, 31, 0.75); }
.ext-count .c4 {
  color: var(--gold);
  text-shadow: 0 0 44px rgba(255, 184, 77, 0.45);
}
.ext-copy { max-width: 56ch; position: relative; z-index: 1; }
.ext-copy .h2 { margin-bottom: 20px; }
.ext-copy p + p { margin-top: 16px; }
.ext-copy .punch { color: var(--text); font-weight: 600; }
.ext-char {
  position: absolute; right: -30px; bottom: 0; height: 86%; width: auto; z-index: 0;
  opacity: 0.5; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

/* ---------- Features ---------- */
.features-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature {
  background: var(--bg-2);
  padding: 30px 26px 32px;
  clip-path: var(--cut);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.feature:hover {
  transform: translateY(-5px);
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, 0.4);
}
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: rgba(255, 90, 31, 0.1);
  clip-path: var(--cut-sm);
}
.feature-icon svg { stroke: var(--orange); }
.feature h3 {
  font-size: 17px; font-weight: 700; letter-spacing: 0.015em; margin-bottom: 10px;
}
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- Media ---------- */
.media-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 215px;
  gap: 14px;
}
.tile {
  position: relative; overflow: hidden;
  clip-path: var(--cut);
  background: var(--bg-2);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover img { transform: scale(1.045); }
.tile::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 241, 236, 0.1);
  clip-path: var(--cut);
  pointer-events: none;
}
.t-trailer { grid-column: span 2; grid-row: span 2; }
.t-gameplay { grid-row: span 2; }
.tile-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(10, 10, 13, 0.74); color: var(--text);
  padding: 8px 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tile-video { width: 100%; height: 100%; display: block; text-align: inherit; }
.tile-video::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.05) 40%, rgba(10, 10, 13, 0.65) 100%);
}
.tile-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
}
.tile-play .play-ring { --ring: 72px; }
.t-more {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(150deg, var(--bg-3), var(--bg-2));
}
.t-more .t-more-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.t-more::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgba(16, 16, 21, 0.5) 0%, rgba(10, 10, 13, 0.9) 80%);
}
.t-more .arrow { color: var(--orange); font-size: 22px; margin-bottom: auto; transition: transform 0.25s ease; }
.t-more:hover .arrow { transform: translate(4px, -4px); }
.t-more strong { font-size: 16px; font-weight: 700; }
.t-more span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.t-more .arrow, .t-more strong, .t-more span { position: relative; z-index: 2; }

/* ---------- Road / timeline ---------- */
.road { border-top: 1px solid var(--line); background: var(--bg-2); }
.road-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 72px); }
.road-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px;
  position: relative;
}
.road-grid::before {
  content: ''; position: absolute; top: 7px; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 62%, rgba(242, 241, 236, 0.16) 62%, rgba(242, 241, 236, 0.16) 100%);
}
.road-step { position: relative; padding-top: 34px; }
.road-step::before {
  content: ''; position: absolute; top: 0; left: 8px;
  width: 14px; height: 14px; transform: rotate(45deg);
  background: var(--orange);
}
.road-step.next::before {
  background: var(--bg-2);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.road-step.now::after {
  content: ''; position: absolute; top: -7px; left: 1px;
  width: 28px; height: 28px; transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(255, 90, 31, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.9; transform: rotate(45deg) scale(0.6); }
  70% { opacity: 0; transform: rotate(45deg) scale(1.15); }
  100% { opacity: 0; }
}
.road-step .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 8px;
}
.road-step.next .tag { color: var(--gold); }
.road-step h3 {
  font-family: var(--display); font-weight: 400; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px;
}
.road-step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Studio ---------- */
/* The studio block is one self-contained unit, so an anchor click should land on
   the content rather than on the section's top padding. Cancelling that padding
   puts the eyebrow 24px under the nav and keeps the signature above the fold. */
#studio { scroll-margin-top: calc(16px - clamp(84px, 11vw, 140px)); }
.studio-wrap { max-width: 780px; margin-inline: auto; text-align: center; }
.studio-wrap .eyebrow { justify-content: center; }
.studio-wrap .h2 { margin-bottom: 26px; }
.studio-wrap p { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.studio-wrap p + p { margin-top: 18px; }
.studio-wrap .raise { color: var(--text); }
.sign {
  margin-top: 44px; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
}
.sign-photo {
  width: clamp(200px, 24vw, 240px); height: clamp(200px, 24vw, 240px); border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(90% 90% at 50% 30%, rgba(255, 90, 31, 0.32), rgba(21, 21, 28, 0.95) 74%);
  box-shadow:
    0 0 0 2px rgba(255, 90, 31, 0.55),
    0 22px 56px rgba(0, 0, 0, 0.52);
  margin-bottom: 22px;
}
.sign .slash { color: var(--orange); font-weight: 700; font-size: 20px; }
.sign strong {
  font-family: var(--display); font-weight: 400; font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.sign span { font-size: 15.5px; color: rgba(242, 241, 236, 0.85); letter-spacing: 0.06em; }

/* ---------- Community ---------- */
.community {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 85% 20%, rgba(255, 90, 31, 0.12), transparent 65%),
    var(--bg-2);
  overflow: hidden;
}
.comm-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.socials { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: var(--cut-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.socials a:hover {
  transform: translateY(-3px);
  background: rgba(255, 90, 31, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, 0.5);
}
.socials svg { fill: var(--text); }
.comm-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.contact-card {
  background: var(--bg-2);
  padding: 34px 30px;
  clip-path: var(--cut);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.contact-card h3 { font-size: 18px; font-weight: 700; }
.contact-card p { font-size: 14.5px; color: var(--muted); }
.contact-card a.link {
  font-weight: 700; color: var(--gold); font-size: 15px;
  border-bottom: 1px solid rgba(255, 184, 77, 0.35);
  transition: border-color 0.2s ease;
  margin-top: auto;
}
.contact-card a.link:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.foot-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 30ch; }
.foot-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.foot-col a {
  display: block; font-size: 14px; color: var(--muted);
  padding: 5px 0; transition: color 0.2s ease;
}
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.foot-bottom p { font-size: 13px; color: var(--muted); }
.foot-bottom .made { color: var(--muted); font-size: 13px; }
.foot-bottom .made .heart { color: var(--orange); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: rgba(6, 6, 9, 0.93);
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-frame {
  width: min(1060px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  clip-path: var(--cut);
  position: relative;
}
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); display: inline-flex; align-items: center; gap: 10px;
  padding: 10px;
}
.lightbox-close:hover { color: var(--orange); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ext-char { display: none; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .road-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .road-grid::before { display: none; }
  .game-grid { grid-template-columns: 1fr; }
  .game-grid .frame { order: -1; }
  .ext-grid { grid-template-columns: 1fr; gap: 40px; }
  .ext-count { flex-direction: row; gap: 26px; flex-wrap: wrap; }
  .comm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
  .media-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }
  .t-trailer { grid-column: span 2; }
  .t-gameplay { grid-row: span 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding: 52px 0 36px; }
  .trailer-chip { position: static; margin-top: 26px; }
  .hero-inner { padding-bottom: 80px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .road-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .t-trailer { grid-column: span 1; grid-row: span 1; }
  .btn { font-size: 14px; padding: 14px 16px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-note { font-size: 12px; }
  .trailer-chip { gap: 13px; }
  .trailer-chip .play-ring { --ring: 52px; }
  .foot-grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 40px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { display: none; }
  .road-step.now::after { animation: none; opacity: 0; }
  .trailer-chip .play-ring::after { animation: none; opacity: 0; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
