/* Counter-Strike 2 Hungary – a weboldal stílusa.
   Irány: taktikai HUD + beton. Sötét alap, borostyán „jelzőszín”, a magyar trikolor apró részletekben.
   Minden animáció alapból fut; a html[data-motion="off"] kikapcsolja őket (lásd a fájl végét). */

@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira Condensed";
  src: url("/fonts/saira-condensed-600-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090c;
  --bg-2: #0b0f14;
  --panel: #10151c;
  --panel-2: #151b25;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #eef1f6;
  --mute: #9aa5b8;
  --dim: #7b869a;

  --amber: #ffb41f;
  --amber-2: #ff8a1a;
  --amber-deep: #c96a0c;
  --blue: #4cb8ff;
  --red: #ff4057;
  --green: #34d27b;
  --hu-red: #ce3a46;
  --hu-white: #ece6d6;
  --hu-green: #3f8f5f;

  --display: "Saira Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --cut: 16px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 72px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--amber);
  color: #130d00;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* A levágott sarkú elemeknél a kívül rajzolt keret nem látszana: belülre rajzoljuk. */
.btn:focus-visible,
.mode-tab:focus-visible,
.member--you:focus-visible,
.rules__group > summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Szemcsés filmhatás az egész oldalon (apró, statikus). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------------------------------------------------------------------------------------------------
   Felső sáv
   --------------------------------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
  animation: bar-in 0.9s var(--ease) 0.15s both;
}

.topbar.is-scrolled {
  background: rgba(7, 9, 12, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.topbar__inner {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--hu-red) 0 33.4%, var(--hu-white) 33.4% 66.7%, var(--hu-green) 66.7% 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-12deg) scale(1.06);
}

.brand__name {
  font: 900 24px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__name b {
  color: var(--amber);
  font-weight: 900;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  font: 600 16px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a.is-current {
  color: #fff;
}

.nav a:hover::after,
.nav a.is-current::after {
  transform: scaleX(1);
}

@keyframes bar-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
}

/* ---------------------------------------------------------------------------------------------------
   Gombok
   --------------------------------------------------------------------------------------------------- */

.btn {
  --cut: 12px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  padding: 0 28px;
  height: 52px;
  font: 900 20px/1 var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform 0.25s var(--ease), translate 0.18s var(--ease), filter 0.25s, color 0.25s;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 17px;
  --cut: 9px;
}

.btn--lg {
  height: 60px;
  padding: 0 34px;
  font-size: 23px;
  --cut: 15px;
}

.btn .icon {
  font-size: 1.15em;
}

.btn--primary {
  color: #1a1100;
  background: linear-gradient(180deg, #ffd25a 0%, #ffb41f 55%, #f58a12 100%);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.65) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--primary:hover {
  filter: brightness(1.06) drop-shadow(0 8px 22px rgba(255, 150, 20, 0.45));
  transform: translateY(-2px);
}

.btn--primary:hover::before {
  transform: translateX(120%);
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
}

.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: rgba(9, 12, 17, 0.88);
  clip-path: polygon(0 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px));
  transition: background-color 0.25s;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--amber);
}

.btn--ghost:hover::before {
  background: rgba(14, 17, 23, 0.9);
}

.btn--ghost .icon {
  transition: transform 0.3s var(--ease);
}

.btn--ghost:hover .icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(690px, 100vh);
  min-height: max(690px, 100svh);
  padding: calc(var(--nav-h) + 24px) 0 190px;
  overflow: hidden;
  isolation: isolate;
}

.hero__wall {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  transform: translate3d(var(--shake-x, 0px), var(--shake-y, 0px), 0);
  background: #0b0e13;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 62% 50%, rgba(255, 214, 160, 0.16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #181d26, #0b0e13);
  transition: opacity 0.9s var(--ease-io);
}

.wall-ready .hero__fallback {
  opacity: 0;
}

.no-gl .hero__fallback {
  opacity: 1;
}

.wall__gl,
.wall__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wall__fx {
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.86) 0%, rgba(5, 7, 10, 0.62) 34%, rgba(5, 7, 10, 0.1) 62%, transparent 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.4) 16%, transparent 34%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.78) 0%, transparent 20%);
}

.hero__inner {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  pointer-events: none;
  translate: 0 calc(var(--hp, 0) * 70px);
  opacity: calc(1 - var(--hp, 0) * 1.2);
}

.hero__copy {
  max-width: min(940px, 100%);
}

.hero__copy a,
.hero__copy button,
.hero__copy .rotator {
  pointer-events: auto;
}

.hero__title {
  margin: 0;
  display: grid;
  gap: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

.hero__eyebrow {
  display: block;
  font-weight: 900;
  font-size: clamp(24px, 3.7vw, 58px);
  font-size: clamp(24px, min(3.7vw, 6svh), 58px);
  line-height: 1;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  animation: slide-in 0.9s var(--ease) 0.5s both;
}

.hero__eyebrow b {
  color: var(--amber);
  font-weight: 900;
}

.hero__big {
  display: flex;
  /* csak függőlegesen vágunk (a betűk alulról érkeznek), oldalra semmi nem csonkulhat */
  clip-path: inset(-0.08em -60vw -0.08em -60vw);
  padding: 0.04em 0.06em 0.06em 0;
  margin-left: -0.03em;
  font-weight: 900;
  font-size: clamp(92px, 15.4vw, 252px);
  font-size: clamp(92px, min(15.4vw, 25.5svh), 252px);
  line-height: 0.84;
  letter-spacing: 0.005em;
  filter: drop-shadow(0 5px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 0 38px rgba(255, 150, 30, 0.18));
}

.hero__big span {
  display: inline-block;
  background-image: linear-gradient(180deg, #ffffff 0%, #fff0cc 32%, #ffc247 62%, #ff8a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letter-in 0.9s var(--ease) both;
}

.hero__big span:nth-child(1) { animation-delay: 0.72s; }
.hero__big span:nth-child(2) { animation-delay: 0.79s; }
.hero__big span:nth-child(3) { animation-delay: 0.86s; }
.hero__big span:nth-child(4) { animation-delay: 0.93s; }
.hero__big span:nth-child(5) { animation-delay: 1s; }
.hero__big span:nth-child(6) { animation-delay: 1.07s; }
.hero__big span:nth-child(7) { animation-delay: 1.14s; }

@keyframes letter-in {
  0% {
    opacity: 0;
    transform: translateY(105%) rotate(7deg) scaleY(1.3);
    filter: blur(10px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  72% {
    transform: translateY(-4%) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-36px);
    letter-spacing: 0.3em;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0 0;
  margin: clamp(12px, 2.2svh, 22px) 0 0;
  font: 900 clamp(24px, 2.9vw, 44px)/1 var(--display);
  font-size: clamp(24px, min(2.9vw, 4.6svh), 44px);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  animation: rise 0.9s var(--ease) 1.45s both;
}

.hero__tagline > span {
  background-image: linear-gradient(180deg, #ffe08a 0%, #ffa733 60%, #ff7a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
}

.tally {
  width: clamp(40px, 4.6vw, 64px);
  height: auto;
  flex: none;
  fill: none;
  stroke: #ece6d6;
  stroke-width: 3.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 230, 190, 0.45));
}

.tally__five {
  stroke: var(--amber);
  stroke-dasharray: 64;
  stroke-dashoffset: 0;
  animation: tally-draw 0.5s cubic-bezier(0.5, 0, 0.2, 1) 2.5s both;
}

@keyframes tally-draw {
  from {
    stroke-dashoffset: 64;
  }
}

.hero__sub {
  margin: 14px 0 0;
  margin: clamp(10px, 1.8svh, 18px) 0 0;
  font: 600 clamp(20px, 2.1vw, 30px)/1.35 var(--body);
  font-size: clamp(20px, min(2.1vw, 3.4svh), 30px);
  letter-spacing: -0.01em;
  color: rgba(238, 241, 246, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  animation: rise 0.9s var(--ease) 1.65s both;
}

/* A doboz a mondat szövegével azonos alapvonalon ül (ezért nincs overflow: hidden – az az alapvonalat a doboz aljára
   tenné –, a kicsúszó szavakat clip-path takarja el). */
.rotator {
  position: relative;
  display: inline-grid;
  vertical-align: baseline;
  clip-path: inset(-0.08em -0.1em -0.16em -0.1em);
  margin-inline: 0.12em;
  padding-inline: 0.02em;
  transition: width 0.55s var(--ease);
}

.rotator__word {
  grid-area: 1 / 1;
  justify-self: start;
  color: var(--amber);
  font-weight: 700;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.45s;
}

.rotator__word.is-active {
  transform: none;
  opacity: 1;
}

.rotator__word.is-leaving {
  transform: translateY(-110%);
  opacity: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  margin-top: clamp(18px, 3.4svh, 34px);
  animation: rise 0.9s var(--ease) 1.85s both;
}

/* Célkereszt: csak egérrel, a falon (a gomboknál visszaáll a nyíl). */
.crosshair {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cx, -99px), var(--cy, -99px), 0);
  transition: opacity 0.15s;
}

.is-aiming .crosshair {
  opacity: 1;
}

.hero.is-aiming {
  cursor: none;
}

.hero.is-aiming a,
.hero.is-aiming button {
  cursor: pointer;
}

.crosshair i,
.crosshair u {
  position: absolute;
  background: #5dffb0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 0 8px rgba(93, 255, 176, 0.75);
}

.crosshair i:nth-child(1) { width: 2px; height: 10px; left: -1px; top: calc(-17px - var(--spread, 0) * 1px); }
.crosshair i:nth-child(2) { width: 2px; height: 10px; left: -1px; top: calc(7px + var(--spread, 0) * 1px); }
.crosshair i:nth-child(3) { width: 10px; height: 2px; top: -1px; left: calc(-17px - var(--spread, 0) * 1px); }
.crosshair i:nth-child(4) { width: 10px; height: 2px; top: -1px; left: calc(7px + var(--spread, 0) * 1px); }
.crosshair u { width: 2px; height: 2px; left: -1px; top: -1px; text-decoration: none; }

/* ---------------------------------------------------------------------------------------------------
   HUD (alul): élő számok, radar, tár
   --------------------------------------------------------------------------------------------------- */

.hud {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: min(100%, calc(var(--container) + var(--gutter) * 2));
  padding: 0 var(--gutter) 26px;
  padding-bottom: clamp(18px, 3.4svh, 34px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
  animation: hud-in 1s var(--ease) 2.2s both;
}

@keyframes hud-in {
  from {
    opacity: 0;
    transform: translate(-50%, 36px);
  }
}

.hud__left {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 2vw, 26px);
}

.radar {
  position: relative;
  flex: none;
  width: clamp(92px, 9.4vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, rgba(52, 210, 123, 0.13), rgba(4, 8, 6, 0.74) 72%);
  border: 1.5px solid rgba(110, 255, 170, 0.4);
  box-shadow: inset 0 0 26px rgba(60, 255, 150, 0.14), 0 0 0 5px rgba(5, 7, 10, 0.55);
}

.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(110, 255, 170, 0.22) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(110, 255, 170, 0.22) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    repeating-radial-gradient(circle, transparent 0 17%, rgba(110, 255, 170, 0.22) 17% calc(17% + 1px));
}

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(110, 255, 170, 0) 0deg 285deg, rgba(110, 255, 170, 0.5) 360deg);
  animation: radar-spin 4s linear infinite;
}

.radar__blip {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #b9ffd9;
  box-shadow: 0 0 8px #6dffb0;
  opacity: 0.12;
  animation: radar-blip 4s linear infinite;
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radar-blip {
  0% {
    opacity: 1;
    transform: scale(1.8);
  }
  22% {
    opacity: 0.75;
    transform: scale(1);
  }
  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }
}

.hud__stats {
  display: flex;
  gap: clamp(8px, 1.4vw, 16px);
}

.hud__stat {
  --cut: 10px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "icon num" "icon lbl";
  column-gap: 12px;
  align-items: center;
  padding: 8px 20px 8px 16px;
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.86), rgba(8, 10, 14, 0.5));
  border-left: 3px solid var(--amber);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.hud__stat .icon {
  grid-area: icon;
  width: 22px;
  height: 22px;
  color: var(--amber);
}

.hud__stat b {
  grid-area: num;
  font: 900 clamp(30px, 3.5vw, 50px)/0.95 var(--display);
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hud__stat span {
  grid-area: lbl;
  font: 600 12px/1.2 var(--display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.hud__right {
  position: relative;
  text-align: right;
  pointer-events: auto;
  user-select: none;
}

.hud__hint {
  margin: 0 0 2px;
  font: 600 13px/1 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  animation: hint-pulse 2.6s ease-in-out 3.2s infinite;
  transition: opacity 0.5s;
}

.hero.has-fired .hud__hint {
  opacity: 0;
  animation: none;
}

@keyframes hint-pulse {
  0%, 100% {
    color: var(--mute);
  }
  50% {
    color: var(--amber);
  }
}

.hint--touch {
  display: none;
}

@media (hover: none) {
  .hint--mouse {
    display: none;
  }
  .hint--touch {
    display: inline;
  }
}

.ammo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
}

.ammo b {
  font: 900 clamp(44px, 5.4vw, 76px)/0.9 var(--display);
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  transition: opacity 0.2s, color 0.2s;
}

.ammo__sep,
.ammo__res {
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--mute);
}

.ammo.is-low b {
  color: var(--red);
}

.ammo__reload {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  font: 600 14px/1 var(--display);
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0;
  transition: opacity 0.2s;
}

.ammo.is-reloading b {
  opacity: 0.35;
}

.ammo.is-reloading .ammo__reload {
  opacity: 1;
}

/* ---------------------------------------------------------------------------------------------------
   Mobil
   --------------------------------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  /* Keskeny képernyőn a cím a szélességhez igazodik (320 px-en is elfér a HUNGARY). */
  .hero__eyebrow {
    font-size: clamp(20px, 6.4vw, 44px);
  }

  .hero__big {
    font-size: min(24.5vw, 160px);
  }

  .topbar__inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 19px;
    white-space: nowrap;
  }

  .topbar .btn--sm {
    height: 38px;
    padding: 0 14px;
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    font-size: 21px;
    padding: 0 20px;
  }

  .hero {
    align-items: flex-start;
    padding-bottom: 230px;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.5) 52%, rgba(5, 7, 10, 0.1) 78%, transparent 100%),
      linear-gradient(0deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.45) 24%, transparent 44%);
  }

  .hud {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "stats stats" "radar ammo";
    align-items: end;
    gap: 12px 16px;
  }

  .hud__left {
    display: contents;
  }

  .hud__stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hud__stat {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "lbl";
    padding: 7px 10px 8px;
  }

  .hud__stat .icon {
    display: none;
  }

  .hud__stat b {
    font-size: 28px;
    white-space: nowrap;
  }

  .hud__stat span {
    font-size: 10px;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .radar {
    grid-area: radar;
    width: 84px;
  }

  .hud__right {
    grid-area: ammo;
    text-align: right;
  }
}

/* Nagyon keskeny telefonok (pl. 320 px) */
@media (max-width: 374px) {
  .brand__name {
    display: none;
  }

  .btn--lg {
    font-size: 18px;
    padding: 0 12px;
    gap: 8px;
  }

  .hud__stat b {
    font-size: 24px;
  }
}

/* ---------------------------------------------------------------------------------------------------
   Mozgás kikapcsolva (a látogató választása): minden elem a végső állapotában áll.
   --------------------------------------------------------------------------------------------------- */

html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
