/* =====================================================================================
   B-HOOD — b-hood.ro (v2, 05.10.2026)
   Limbaj vizual: „liquid glass” ca panelul (bh-glass) si NUI-ul din joc, peste o aurora
   care isi schimba culoarea pe sectiuni (verde / turcoaz / chihlimbar la toamna).
   Pe web avem backdrop-filter real (in CEF-ul jocului nu).
   ===================================================================================== */

@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-heavy.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* culorile aurorei se interpoleaza intre sectiuni (tranzitie pe proprietati inregistrate) */
@property --aura-a { syntax: "<color>"; inherits: true; initial-value: rgba(23, 201, 100, .30); }
@property --aura-b { syntax: "<color>"; inherits: true; initial-value: rgba(63, 210, 199, .16); }
@property --aura-c { syntax: "<color>"; inherits: true; initial-value: rgba(19, 182, 83, .14); }

:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-2: #0a1110;
  --strong: #ffffff;
  --os: #eef2ee;
  --text: #c3cdc9;
  --muted: #8f9d98;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --verde: #17c964;
  --verde-2: #2bd877;
  --verde-ink: #04130a;
  --teal: #3fd2c7;
  --aur: #f3bd3e;
  --frunza: #ff8a00;
  --frunza-2: #ffc400;

  --pane-a: rgba(255, 255, 255, .075);
  --pane-b: rgba(255, 255, 255, .022);
  --blur: blur(22px) saturate(170%);

  --display: "Gilroy", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-xl: 28px;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: --aura-a 1.4s var(--ease), --aura-b 1.4s var(--ease), --aura-c 1.4s var(--ease);
}
body[data-aura="teal"] { --aura-a: rgba(63, 210, 199, .22); --aura-b: rgba(23, 201, 100, .20); --aura-c: rgba(40, 120, 200, .10); }
body[data-aura="autumn"] { --aura-a: rgba(255, 138, 0, .28); --aura-b: rgba(190, 70, 14, .22); --aura-c: rgba(255, 196, 0, .12); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font-family: var(--mono); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--verde); color: var(--verde-ink); }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 8px; }
main { overflow-x: clip; }

/* graunte de film peste tot (aceeasi textura ca loading screen-ul) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url("../img/grain.png");
  opacity: .05;
  mix-blend-mode: overlay;
}

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--verde); color: var(--verde-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- aurora ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, var(--bg-2), var(--bg) 60%); }
.aurora__orb { position: absolute; border-radius: 50%; filter: blur(20px); will-change: transform; }
.aurora__orb--a { width: 70vmax; height: 55vmax; left: -18vmax; top: -22vmax; background: radial-gradient(closest-side, var(--aura-a), transparent); animation: driftA 34s ease-in-out infinite alternate; }
.aurora__orb--b { width: 60vmax; height: 50vmax; right: -20vmax; top: 18vh; background: radial-gradient(closest-side, var(--aura-b), transparent); animation: driftB 42s ease-in-out infinite alternate; }
.aurora__orb--c { width: 80vmax; height: 50vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(closest-side, var(--aura-c), transparent); animation: driftC 38s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate3d(14vw, 10vh, 0) scale(1.15); } }
@keyframes driftB { to { transform: translate3d(-16vw, 14vh, 0) scale(.9); } }
@keyframes driftC { to { transform: translate3d(8vw, -12vh, 0) scale(1.1); } }

/* ---------- sticla ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--r);
  background: linear-gradient(155deg, var(--pane-a), var(--pane-b) 48%, rgba(255, 255, 255, .045));
  -webkit-backdrop-filter: var(--blur);
          backdrop-filter: var(--blur);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -1px 0 rgba(255, 255, 255, .025),
    0 30px 70px -36px rgba(0, 0, 0, .85);
}
/* margine cu gradient: mai luminoasa sus-stanga, ca o muchie de sticla */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .07) 28%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
/* reflexul care urmareste cursorul (JS seteaza --mx / --my) */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 255, 255, .11), transparent 42%);
  opacity: var(--spec, 0);
  transition: opacity .35s var(--ease);
}
.glass:hover { --spec: 1; }
.glass--amber { background: linear-gradient(155deg, rgba(255, 160, 40, .14), rgba(255, 120, 0, .03) 50%, rgba(255, 196, 0, .06)); }
.glass--amber::before { background: linear-gradient(140deg, rgba(255, 210, 140, .45), rgba(255, 160, 60, .1) 30%, rgba(255, 255, 255, .02) 62%, rgba(255, 196, 0, .22)); }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- tipografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1.2 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--autumn { color: var(--frunza-2); }
.eyebrow--autumn::before { display: none; }
.h2 {
  font: 900 clamp(40px, 6.2vw, 92px)/.92 var(--display);
  letter-spacing: -.035em;
  color: var(--os);
  text-wrap: balance;
}
.h2 .line, .final__title .line { padding-bottom: .06em; margin-bottom: -.06em; }
.head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.head__sub { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--display); color: var(--os); padding: 12px 0; white-space: nowrap; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--verde); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- butoane ---------- */
.btn {
  --h: 50px;
  --tx: 0px; --ty: 0px; --s: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font: 700 15px/1 var(--display);
  letter-spacing: .01em;
  white-space: nowrap;
  transform: translate3d(var(--tx), var(--ty), 0) scale(var(--s));
  transition: transform .45s var(--ease-out), background-color .25s, box-shadow .3s, color .2s, border-color .2s;
}
.btn > * { position: relative; z-index: 1; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn:active { --s: .96; }
/* lumina care trece peste buton la hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn--solid { background: var(--verde); color: var(--verde-ink); box-shadow: 0 12px 34px -12px rgba(23, 201, 100, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--solid:hover { background: var(--verde-2); box-shadow: 0 0 0 6px rgba(23, 201, 100, .14), 0 18px 44px -12px rgba(23, 201, 100, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--glass {
  color: var(--os);
  background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.btn--glass::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); }
.btn--glass:hover { background: linear-gradient(155deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn--autumn { background: linear-gradient(135deg, var(--frunza-2), var(--frunza) 55%, #f06a00); color: #1a0c02; box-shadow: 0 12px 34px -12px rgba(255, 138, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--autumn:hover { box-shadow: 0 0 0 6px rgba(255, 138, 0, .15), 0 18px 44px -12px rgba(255, 138, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }

/* copiere adresa */
.copy { display: inline-flex; align-items: center; gap: 10px; color: var(--os); border-radius: 12px; transition: background-color .2s, box-shadow .2s; }
.copy code { font-size: 14px; }
.copy__state { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--verde); padding: 6px 8px; border-radius: 7px; background: rgba(23, 201, 100, .12); transition: background-color .2s, color .2s; }
.copy:hover .copy__state { background: rgba(23, 201, 100, .22); }
.copy.is-done .copy__state { background: var(--verde); color: var(--verde-ink); }
.copy--box { height: 50px; padding: 0 8px 0 18px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.copy--box:hover { box-shadow: inset 0 0 0 1px rgba(23, 201, 100, .45); }
.copy--inline { padding: 3px 3px 3px 9px; box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: middle; }
.copy--inline code { font-size: 13px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); animation: ping 2s infinite; flex: none; }
.is-down .dot { background: var(--muted); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(23, 201, 100, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(23, 201, 100, 0); } }
.dot--autumn { background: var(--frunza); animation-name: pingA; }
@keyframes pingA { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 0, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 138, 0, 0); } }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(23, 201, 100, .14); box-shadow: inset 0 0 0 1px rgba(23, 201, 100, .32); color: var(--os); font: 500 13px/1 var(--mono); white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill b { font-weight: 600; color: var(--verde); }
.pill--quiet { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill.is-down b { color: var(--muted); }
.tag { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }

/* ---------- intro ---------- */
.intro { display: none; }
.anim .intro.is-on {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--bg);
}
.intro__fist { position: relative; width: 120px; aspect-ratio: 640 / 940; }
.intro__fist img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__blood { clip-path: inset(100% 0 0 0); }
.intro__count { font: 600 14px/1 var(--mono); color: var(--verde); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.intro__word { font: 900 15px/1 var(--display); letter-spacing: .5em; color: var(--os); margin-right: -.5em; opacity: .7; }

/* ---------- navigatie ---------- */
.nav { position: fixed; inset: 14px 0 auto 0; z-index: 60; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; transition: transform .5s var(--ease-out); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__pill {
  pointer-events: auto;
  width: 100%;
  max-width: var(--max);
  height: 62px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(155deg, rgba(14, 22, 20, .55), rgba(8, 12, 11, .4));
  transition: background .4s, box-shadow .4s, max-width .6s var(--ease-out);
}
.nav__pill > * { position: relative; z-index: 3; }
.nav.is-solid .nav__pill { background: linear-gradient(155deg, rgba(14, 22, 20, .78), rgba(8, 12, 11, .62)); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--os); }
.brand__fist { width: 22px; height: 26px; color: var(--os); transition: color .25s, transform .45s var(--ease-out); }
.brand:hover .brand__fist { color: var(--verde); transform: rotate(-10deg) scale(1.08); }
.brand__word { font: 900 20px/1 var(--display); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 9px 13px; border-radius: 999px; font: 500 15px/1 var(--display); color: var(--text); transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--strong); background: rgba(255, 255, 255, .08); }
.nav__links a.nav__autumn { display: inline-flex; align-items: center; gap: 6px; color: var(--frunza-2); }
.nav__autumn svg { width: 15px; height: 15px; color: var(--frunza); }
.nav__links a.nav__autumn:hover, .nav__links a.nav__autumn.is-on { background: rgba(255, 138, 0, .12); color: var(--frunza-2); }
.nav__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tool { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); font: 600 12px/1 var(--mono); letter-spacing: .06em; box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, background-color .2s, box-shadow .2s; }
.tool:hover { color: var(--strong); background: rgba(255, 255, 255, .08); }
.eq { display: flex; align-items: center; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.tool[aria-pressed="true"] { color: var(--verde); box-shadow: inset 0 0 0 1px rgba(23, 201, 100, .45); }
.tool[aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
.tool[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.tool[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.tool[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 110px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media-in { position: absolute; inset: -6% 0; background: var(--bg) url("../img/reel-poster.webp") center / cover no-repeat; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; filter: saturate(.8) contrast(1.06) brightness(.82); }
.hero__video.is-on { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 72% 55%, transparent 0%, rgba(5, 8, 7, .35) 70%),
    linear-gradient(90deg, rgba(5, 8, 7, .96) 0%, rgba(5, 8, 7, .86) 32%, rgba(5, 8, 7, .45) 62%, rgba(5, 8, 7, .55) 100%),
    linear-gradient(180deg, rgba(5, 8, 7, .6) 0%, transparent 20%, transparent 60%, var(--bg) 100%);
}
.hero__grid {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  align-items: center;
  gap: 32px;
}
.hero__copy { will-change: transform, opacity; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 12px; margin-bottom: 28px; border-radius: 999px; color: var(--os); font: 500 14px/1 var(--display); max-width: 100%; }
.chip > * { position: relative; z-index: 3; }
.chip > svg:first-child { width: 18px; height: 18px; color: var(--frunza); flex: none; animation: sway 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.chip b { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #1a0c02; background: var(--frunza); padding: 5px 7px; border-radius: 6px; flex: none; }
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip__arrow { width: 16px; height: 16px; fill: none; stroke: var(--frunza); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .3s var(--ease); }
.chip:hover .chip__arrow { transform: translateX(4px); }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.hero__title { font: 900 clamp(58px, 10.2vw, 168px)/.84 var(--display); letter-spacing: -.045em; color: var(--os); text-transform: uppercase; margin-bottom: 30px; }
.hero__line { display: block; }
.hero__accent { color: var(--verde); padding-right: .04em; text-shadow: 0 0 60px rgba(23, 201, 100, .35); }
.hero__lead { max-width: 500px; font-size: clamp(17px, 1.45vw, 20px); color: var(--text); margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__f8 { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero__f8 .copy { padding: 4px 4px 4px 12px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--line); }
.hero__foot { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-right: -.3em; }
.hero__scroll { position: relative; width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.hero__scroll i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--os); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* pumnul care se umple cu jucatorii online */
.meter { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; will-change: transform; }
.fist { position: relative; height: min(44vh, 430px); aspect-ratio: 640 / 940; cursor: pointer; }
.fist img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.fist__shadow { inset: 6% -8% -6% -8% !important; width: 116% !important; height: 112% !important; opacity: .8; }
.fist__glow { inset: -18% !important; width: 136% !important; height: 136% !important; opacity: calc(.25 + var(--fill, .2) * .6); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); filter: brightness(1.15); } }
.fist__blood { clip-path: inset(100% 0 0 0); }
.fist__hot { opacity: 0; mix-blend-mode: screen; }
.fist.is-punch { animation: clench .75s var(--ease); }
.fist.is-punch .fist__hot { animation: hot .9s ease-out; }
@keyframes clench { 18% { transform: scale(.9, .87) rotate(-2.5deg); } 42% { transform: scale(1.06) rotate(1.2deg); } 70% { transform: scale(.99); } }
@keyframes hot { 0% { opacity: .9; } 100% { opacity: 0; } }
.meter__card { position: relative; z-index: 2; margin-top: -54px; width: min(300px, 100%); padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.meter__card > * { position: relative; z-index: 3; }
.meter__live { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--verde); }
.meter__num { font: 600 clamp(42px, 4vw, 56px)/1 var(--mono); color: var(--strong); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.meter__max { font-size: .36em; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.meter__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--verde), var(--teal)); box-shadow: 0 0 12px rgba(23, 201, 100, .6); transition: width 1.6s var(--ease-out); }
.meter__label { font-size: 13px; color: var(--muted); }

/* ---------- banda de politie: se taie la scroll ----------
   .tape__rot = banda intreaga (rotita); doua jumatati suprapuse 14px la mijloc, cu margine zimtata,
   fiecare cu aceeasi fasie de text (decalata din JS), ca sa para una singura pana la taiere. */
.tape { position: relative; z-index: 4; height: 150px; margin-top: -92px; pointer-events: none; }
.tape__rot { position: absolute; left: -8vw; right: -8vw; top: 44px; height: 62px; transform: rotate(-3deg); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
.tape__half { position: absolute; top: 0; bottom: 0; overflow: hidden; will-change: transform, opacity; }
.tape__half--l { left: 0; width: calc(50% + 14px); transform-origin: 0% 50%; z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 14%, calc(100% - 2px) 30%, calc(100% - 12px) 47%, calc(100% - 3px) 63%, calc(100% - 10px) 80%, 100% 100%, 0 100%); }
.tape__half--r { right: 0; left: calc(50% - 14px); transform-origin: 100% 50%; z-index: 1;
  clip-path: polygon(4px 0, 100% 0, 100% 100%, 12px 100%, 2px 84%, 11px 66%, 1px 50%, 13px 33%, 3px 17%); }
.tape__band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(116vw + 28px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) calc(100% - 3px), rgba(0, 0, 0, .35) 100%),
    linear-gradient(180deg, #2ee67f 0%, #17c964 45%, #10a852 100%);
}
/* dungi de avertizare pe margini */
.tape__band::before, .tape__band::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(-55deg, #04130a 0 9px, transparent 9px 18px); opacity: .85; }
.tape__band::before { top: 4px; }
.tape__band::after { bottom: 4px; }
.tape__move { position: absolute; top: 0; bottom: 0; left: 0; display: flex; width: max-content; will-change: transform; }
.tape__run {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: 900 21px/1 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #04130a;
  /* cute de plastic care se misca odata cu textul */
  background: repeating-linear-gradient(98deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .16) 70px, rgba(0, 0, 0, .07) 150px, rgba(255, 255, 255, 0) 240px);
}
.tape__run i { font-style: normal; display: inline-flex; align-items: center; gap: 26px; padding-left: 26px; }
.tape__run b { font-family: var(--mono); font-weight: 600; margin-right: 6px; }
.tape__fist { width: 15px; height: 18px; color: #04130a; opacity: .9; }
/* blitzul de pe linia de taiere */
.tape__cut { position: absolute; left: 50%; top: -30px; bottom: -30px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; box-shadow: 0 0 18px 4px rgba(255, 255, 255, .8), 0 0 50px 10px rgba(23, 201, 100, .7); opacity: 0; transform: scaleY(0); z-index: 3; }

/* ---------- sectiuni ---------- */
.section { position: relative; padding: clamp(110px, 13vw, 180px) 0 0; }

/* intrari la scroll (doar cand animatiile sunt pornite) */
.anim .up { opacity: 0; transform: translateY(46px); }
.anim .split { visibility: hidden; }
.anim .split.is-split { visibility: visible; }

/* ---------- toamna ---------- */
.autumn { padding-bottom: 20px; }
.autumn__leaves { position: absolute; inset: -80px 0 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 85%, transparent); }
.leaf { position: absolute; top: -40px; width: var(--s); height: var(--s); color: var(--c); opacity: 0; animation: fall var(--d) linear var(--delay) infinite; will-change: transform, opacity; }
.leaf svg { width: 100%; height: 100%; animation: spin var(--spin) ease-in-out infinite alternate; }
@keyframes fall { 0% { transform: translate3d(0, -40px, 0); opacity: 0; } 8% { opacity: var(--o); } 85% { opacity: var(--o); } 100% { transform: translate3d(var(--dx), 1600px, 0); opacity: 0; } }
@keyframes spin { from { transform: rotate(-40deg) rotateY(0deg); } to { transform: rotate(50deg) rotateY(160deg); } }
.autumn .wrap { position: relative; z-index: 1; }
.autumn__top { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.autumn__top .head { margin-bottom: 0; }
.autumn__accent { background: linear-gradient(100deg, var(--frunza-2), var(--frunza) 50%, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.autumn__accent .word, .autumn__accent .char { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.autumn .head__sub { margin-bottom: 32px; }
.autumn__board { padding: 28px; }
.autumn__board > * { position: relative; z-index: 3; }
.autumn__days { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.autumn__days b { font: 600 clamp(60px, 6vw, 84px)/.85 var(--mono); letter-spacing: -.06em; color: var(--strong); font-variant-numeric: tabular-nums; }
.autumn__days span { color: var(--muted); font-size: 15px; line-height: 1.3; max-width: 150px; }
.autumn__prog { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 24px; }
.autumn__prog i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--frunza-2), var(--frunza)); box-shadow: 0 0 14px rgba(255, 138, 0, .6); transition: width 1.6s var(--ease-out); }
.autumn__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.autumn__stats li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.autumn__stats b { font: 600 28px/1 var(--mono); color: var(--strong); letter-spacing: -.04em; }
.autumn__stats b.is-gold { color: var(--aur); text-shadow: 0 0 24px rgba(243, 189, 62, .35); }
.autumn__stats span { font-size: 13px; color: var(--muted); }

.acts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.act { padding: 22px 18px 22px; border-radius: var(--r-sm); display: flex; flex-direction: column; }
.act > * { position: relative; z-index: 3; }
.act img { width: 66px; height: 66px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease-out); }
.act:hover img { transform: translateZ(30px) rotate(-8deg) scale(1.12); }
.act__kind { font: 600 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--frunza); margin-bottom: 8px; }
.act__name { font: 700 17px/1.15 var(--display); color: var(--strong); margin-bottom: 8px; }
.act p { font-size: 13px; line-height: 1.5; color: var(--muted); }

.garage { padding: 28px 28px 12px; overflow: hidden; }
.garage > * { position: relative; z-index: 3; }
.garage__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.garage__head h3 { font: 900 26px/1 var(--display); color: var(--strong); letter-spacing: -.01em; }
.garage__head p { font-size: 14px; color: var(--muted); }
.garage__row { list-style: none; margin: 0 -28px; padding: 0 28px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.garage__row::-webkit-scrollbar { display: none; }
.car { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 4px 0; }
.car__img { position: relative; isolation: isolate; width: 100%; height: 116px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.car__img::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -6px; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .75), transparent 70%); z-index: -1; }
.car__img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .7s var(--ease-out); }
.car:hover .car__img img { transform: translateX(10px) scale(1.08); }
.car__name { font: 700 14px/1.2 var(--display); color: var(--strong); margin-bottom: 6px; }
.car__price { font: 500 12px/1 var(--mono); color: var(--muted); }
.car__price b { color: var(--frunza-2); font-weight: 600; }

/* ---------- servere ---------- */
.servers__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.srv { min-height: 560px; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.srv__art { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.srv__art img { width: 100%; height: 118%; object-fit: cover; will-change: transform; transition: filter .6s; }
.srv__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 7, 0) 0%, rgba(5, 8, 7, .15) 30%, rgba(5, 8, 7, .78) 55%, rgba(5, 8, 7, .96) 78%); }
.srv:hover .srv__art img { filter: saturate(1.15); }
.srv__body { position: relative; z-index: 3; padding: clamp(26px, 3vw, 40px); }
.srv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.srv__name { font: 900 clamp(34px, 3.8vw, 54px)/1 var(--display); color: var(--strong); letter-spacing: -.025em; margin-bottom: 14px; }
.srv__text { max-width: 520px; color: var(--text); margin-bottom: 26px; }
.srv__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.srv--five { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 90px -40px rgba(23, 201, 100, .45); }

/* ---------- ce e nou ---------- */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.post > * { position: relative; z-index: 3; }
.post__meta { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.post__tag { color: var(--teal); padding: 6px 8px; border-radius: 7px; background: rgba(63, 210, 199, .1); }
.post__title { font: 700 21px/1.2 var(--display); color: var(--strong); text-wrap: balance; }
.post__text { font-size: 15px; color: var(--muted); flex: 1; }
.post__more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); color: var(--os); }
.post__more::after { content: "→"; color: var(--teal); transition: transform .3s var(--ease); }
.post:hover .post__more::after { transform: translateX(5px); }
.post:first-child .post__tag { color: var(--verde-ink); background: var(--teal); }

/* ---------- comunitate (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "total total record day"
    "total total new clans"
    "discord discord chart chart";
  gap: 18px;
}
.tile { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 180px; }
.tile > * { position: relative; z-index: 3; }
.tile--total { grid-area: total; justify-content: flex-end; gap: 18px; min-height: 380px; }
.tile--gold { grid-area: record; }
.bento > .tile:nth-child(3) { grid-area: day; }
.bento > .tile:nth-child(4) { grid-area: new; }
.bento > .tile:nth-child(5) { grid-area: clans; }
.tile--discord { grid-area: discord; }
.tile--chart { grid-area: chart; margin: 0; }
.tile__k { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile__k svg { width: 18px; height: 18px; color: #8ea1ff; }
.tile__big { font: 900 clamp(56px, 7.4vw, 116px)/.88 var(--display); letter-spacing: -.05em; color: var(--verde); font-variant-numeric: tabular-nums; text-shadow: 0 0 60px rgba(23, 201, 100, .3); }
.tile__num { font: 600 clamp(38px, 3.6vw, 54px)/1 var(--mono); color: var(--strong); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tile__num small { font-size: .38em; letter-spacing: 0; color: var(--muted); }
.tile__label { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tile__label b { color: var(--os); font: 600 14px var(--mono); }
.tile--gold { background: linear-gradient(155deg, rgba(243, 189, 62, .16), rgba(243, 189, 62, .02) 55%, rgba(255, 255, 255, .04)); }
.tile--gold .tile__num { color: var(--aur); text-shadow: 0 0 30px rgba(243, 189, 62, .4); }
.tile--discord { background: linear-gradient(155deg, rgba(88, 101, 242, .2), rgba(88, 101, 242, .03) 60%, rgba(255, 255, 255, .04)); }
.tile__go { position: absolute !important; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, transform .35s var(--ease-out); }
.tile__go svg { width: 16px; height: 16px; fill: none; stroke: var(--os); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile--discord:hover .tile__go { background: #5865f2; transform: rotate(45deg); }
.split__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; background: rgba(255, 255, 255, .05); }
.split__seg { display: block; height: 100%; width: 0; transition: width 1.6s var(--ease-out); }
.split__seg--five { background: linear-gradient(90deg, var(--verde), var(--teal)); }
.split__seg--rpg { background: rgba(255, 255, 255, .28); }
.split__legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.split__legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.split__legend b { font: 600 15px/1 var(--mono); color: var(--os); font-variant-numeric: tabular-nums; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw--five { background: var(--verde); }
.sw--rpg { background: rgba(255, 255, 255, .35); }

.chart__cap { display: flex; justify-content: space-between; gap: 16px; font: 600 14px/1.3 var(--display); color: var(--os); }
.chart__peak { font: 500 13px/1 var(--mono); color: var(--muted); }
.chart__peak b { color: var(--verde); font-weight: 600; }
.chart__bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; align-items: end; height: 150px; }
.chart__bar { position: relative; height: 100%; display: flex; align-items: flex-end; }
.chart__bar i { display: block; width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(23, 201, 100, .75), rgba(23, 201, 100, .12)); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease-out); transition-delay: calc(var(--k) * 22ms); }
.tile--chart.is-in .chart__bar i { transform: scaleY(1); }
.chart__bar.is-now i { background: linear-gradient(180deg, var(--teal), var(--verde)); box-shadow: 0 0 22px rgba(23, 201, 100, .6); }
.chart__bar:hover i { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .3)); }
.chart__bar span { position: absolute; left: 50%; bottom: calc(var(--h) + 8px); transform: translateX(-50%); font: 600 11px/1 var(--mono); color: var(--os); background: rgba(10, 16, 14, .9); box-shadow: inset 0 0 0 1px var(--line-2); padding: 6px 7px; border-radius: 7px; opacity: 0; pointer-events: none; transition: opacity .15s; white-space: nowrap; z-index: 5; }
.chart__bar:hover span, .chart__bar:focus-visible span { opacity: 1; }
.chart__axis { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; font: 500 10px/1 var(--mono); color: var(--muted); }
.chart__axis span { text-align: center; }

/* ---------- orasul (sina fixata) ---------- */
.city { position: relative; padding-top: clamp(110px, 13vw, 180px); }
.city__pin { position: relative; }
@media (min-width: 1024px) { .city__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 20px; } .city { padding-top: clamp(40px, 5vw, 80px); } }
.city__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 48px); }
.city__head .eyebrow { margin-bottom: 20px; }
.city__progress { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 14px; flex: none; }
.city__progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--verde), var(--teal)); }
.rail {
  display: flex;
  gap: 22px;
  padding: 6px max(var(--gutter), calc((100% - var(--max)) / 2)) 30px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-pinned { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.card { flex: 0 0 clamp(290px, 31vw, 430px); scroll-snap-align: start; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card > * { position: relative; z-index: 3; }
.card__img { overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--r) - 8px); margin: 8px 8px 0; }
.card__img img { width: 112%; max-width: none; height: 100%; object-fit: cover; will-change: transform; -webkit-user-drag: none; user-select: none; }
.card__body { padding: 22px 24px 28px; }
.card__cat { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--verde); }
.card__title { font: 900 27px/1.05 var(--display); color: var(--strong); margin: 12px 0 10px; letter-spacing: -.015em; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- clipuri ---------- */
.clips__grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.yt { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.vid { display: flex; flex-direction: column; padding: 8px; border-radius: var(--r); overflow: hidden; }
.vid > * { position: relative; z-index: 3; }
.vid--main { grid-row: span 2; }
.vid--main .vid__thumb { flex: 1; aspect-ratio: auto; min-height: 260px; }
.vid__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: calc(var(--r) - 8px); overflow: hidden; background: #0b100e; }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.vid:hover .vid__thumb img { transform: scale(1.06); }
.vid__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .45s var(--ease-out), background-color .3s; }
.vid__play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.vid:hover .vid__play { transform: scale(1.12); background: #ff0033; }
.vid:not(.vid--main) .vid__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.vid:not(.vid--main) .vid__play svg { width: 16px; height: 16px; }
.vid__info { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px 10px; }
.vid__title { font: 700 16px/1.25 var(--display); color: var(--strong); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid--main .vid__title { font-size: 22px; }
.vid__meta { font: 500 12px/1 var(--mono); color: var(--muted); }
.tt { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tt > * { position: relative; z-index: 3; }
.tt__head { display: flex; align-items: center; gap: 12px; }
.tt__head svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #000; color: #fff; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }
.tt__head b { display: block; font: 700 17px/1.2 var(--display); color: var(--strong); }
.tt__head span { font: 500 12px/1 var(--mono); color: var(--muted); }
.tt__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tt__stats li { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line); }
.tt__stats b { font: 600 18px/1 var(--mono); color: var(--strong); letter-spacing: -.03em; }
.tt__stats span { font-size: 12px; color: var(--muted); }
.tt__embed:empty { display: none; }
.tt__embed { border-radius: 14px; overflow: hidden; max-height: 620px; overflow-y: auto; }
.tt__embed blockquote { margin: 0 !important; }
.tt__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tt__actions .btn { flex: 1; }

/* ---------- cum intri ---------- */
.join__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.join__head { position: sticky; top: 120px; margin-bottom: 0; }
.tabs { position: relative; margin-top: 34px; display: inline-flex; padding: 5px; border-radius: 999px; }
.tabs__ink { position: absolute; z-index: 2; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--os); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs__btn { position: relative; z-index: 3; height: 42px; padding: 0 20px; border-radius: 999px; font: 700 14px/1 var(--display); color: var(--text); transition: color .3s; }
.tabs__btn.is-on { color: var(--bg); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 40px 78px; }
.steps li:not(.steps__end)::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -6px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 17px/1 var(--mono);
  color: var(--verde);
  background: linear-gradient(155deg, rgba(23, 201, 100, .18), rgba(23, 201, 100, .04));
  box-shadow: inset 0 0 0 1px rgba(23, 201, 100, .45), 0 0 30px -8px rgba(23, 201, 100, .5);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.steps::before { content: ""; position: absolute; left: 24.5px; top: 50px; bottom: 120px; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 24.5px; top: 50px; bottom: 120px; width: 1px; background: linear-gradient(180deg, var(--verde), var(--teal)); transform: scaleY(var(--p, 0)); transform-origin: top; box-shadow: 0 0 10px rgba(23, 201, 100, .7); }
.steps h3 { font: 700 23px/1.2 var(--display); color: var(--strong); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }
.steps p a { color: var(--os); border-bottom: 1px solid rgba(23, 201, 100, .5); transition: color .2s; }
.steps p a:hover { color: var(--verde); }
.steps__end { padding-left: 78px !important; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__grid .head { position: sticky; top: 120px; }
.faq__grid .head .btn { margin-top: 28px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { border-radius: var(--r-sm); }
.qa > * { position: relative; z-index: 3; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font: 700 18px/1.3 var(--display); color: var(--strong); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--ease-out), background-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--os); border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.qa[open] summary i { background: var(--verde); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--verde-ink); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 24px 24px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* ---------- final ---------- */
.final { position: relative; margin-top: clamp(120px, 15vw, 200px); padding: clamp(150px, 20vw, 280px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.final__art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.final__art img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(5, 8, 7, .45), rgba(5, 8, 7, .94) 75%), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__title { font: 900 clamp(54px, 9.5vw, 150px)/.86 var(--display); letter-spacing: -.045em; text-transform: uppercase; color: var(--strong); margin-bottom: 22px; text-wrap: balance; }
.final__sub { color: var(--text); font-size: 19px; margin-bottom: 38px; }
.final__sub b { font: 600 1.05em var(--mono); color: var(--verde); }
.final .hero__cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 70px 0 28px; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 8, 7, .6), var(--bg)); }
.foot__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin: 16px 0 22px; color: var(--muted); max-width: 320px; font-size: 15px; }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, background-color .2s, transform .4s var(--ease-out); }
.social a:hover { color: var(--verde-ink); background: var(--verde); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.foot__col { display: flex; flex-direction: column; gap: 11px; }
.foot__col h3 { font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--os); margin-bottom: 6px; }
.foot__col a { color: var(--muted); font-size: 15px; transition: color .2s; width: fit-content; }
.foot__col a:hover { color: var(--strong); }
.foot__mega { font: 900 clamp(90px, 24vw, 380px)/.8 var(--display); letter-spacing: -.06em; text-align: center; margin: 50px 0 -2vw; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(23, 201, 100, .18), transparent 75%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }
.foot__legal { position: relative; z-index: 1; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal__bg { position: absolute; inset: 0; background: rgba(2, 4, 3, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: default; }
.modal__box { position: relative; width: min(1100px, 100%); padding: 10px; border-radius: var(--r); animation: pop .5s var(--ease-out); }
.modal__frame { position: relative; z-index: 3; aspect-ratio: 16 / 9; border-radius: calc(var(--r) - 8px); overflow: hidden; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__x { position: absolute; z-index: 4; right: -14px; top: -14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--os); color: var(--bg); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); }
.modal__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 160; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 14px; color: var(--strong); font: 700 14px/1.3 var(--display); transition: opacity .3s, transform .45s var(--ease-out); max-width: calc(100vw - 32px); text-align: center; background: linear-gradient(155deg, rgba(30, 40, 36, .85), rgba(14, 20, 18, .8)); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .acts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav__links a:not(.nav__autumn) { padding: 9px 9px; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__grid .post:last-child { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "total total" "record day" "new clans" "discord discord" "chart chart"; }
  .tile--total { min-height: 300px; }
  .clips__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --blur: blur(16px) saturate(160%); }
  .hero { padding-bottom: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .meter { order: -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; margin-bottom: 14px; }
  .fist { height: 120px; }
  .meter__card { margin-top: 0; width: auto; padding: 14px 18px; }
  .meter__num { font-size: 34px; }
  .autumn__top { grid-template-columns: 1fr; }
  .acts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 210px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 4px var(--gutter) 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .acts::-webkit-scrollbar { display: none; }
  .act { scroll-snap-align: start; }
  .servers__grid { grid-template-columns: 1fr; }
  .srv { min-height: 500px; }
  .join__grid, .faq__grid { grid-template-columns: 1fr; }
  .join__head, .faq__grid .head { position: static; }
  .city__progress { display: none; }
  .yt { grid-template-columns: 1fr 1fr; }
  .vid--main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .nav { inset: 10px 0 auto 0; }
  .nav__pill { height: 56px; padding: 0 8px 0 18px; }
  .nav .btn--sm { display: none; }
  .hero__title { font-size: clamp(50px, 16vw, 76px); }
  .hero__cta .btn { width: 100%; }
  .hero__f8 .copy code { font-size: 12px; }
  .chip { height: auto; min-height: 38px; padding: 7px 12px 7px 10px; font-size: 13px; }
  .chip span { white-space: normal; line-height: 1.25; }
  .tape { height: 120px; margin-top: -70px; }
  .tape__rot { height: 48px; top: 36px; }
  .tape__run { font-size: 16px; }
  .tape__band::before, .tape__band::after { height: 5px; }
  .head--row { flex-direction: column; align-items: flex-start; }
  .news__grid { grid-template-columns: 1fr; }
  .news__grid .post:last-child { display: flex; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 18px; min-height: 150px; }
  .tile__num { font-size: 30px; }
  .tile--chart { padding: 18px 14px; }
  .chart__bars { gap: 3px; height: 120px; }
  .chart__axis { gap: 3px; font-size: 9px; }
  .srv__actions .btn, .srv__actions .copy--box { width: 100%; }
  .srv__actions .copy--box { justify-content: space-between; }
  .autumn__stats b { font-size: 22px; white-space: nowrap; }
  .garage { padding: 22px 22px 8px; }
  .garage__row { margin: 0 -22px; padding: 0 22px 14px; grid-auto-columns: 160px; }
  .yt { grid-template-columns: 1fr; }
  .steps li { padding-left: 66px; }
  .steps__end { padding-left: 66px !important; }
  .qa summary { padding: 18px; font-size: 16px; }
  .qa__a p { padding: 0 18px 18px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__legal { flex-direction: column; }
  .modal__x { right: 6px; top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .autumn__leaves { display: none; }
  .aurora__orb { animation: none; }
}

/* ---------- Halloween 2026 (20.10.2026): sectiunea #halloween, chip-ul si linkul din meniu; duce la /halloween/ ----------
   Paleta paginii /halloween (FISA.md): noapte mov, verde otravit, rosu de sange, os. Se ascunde singura din site.js. */
body[data-aura="halloween"] { --aura-a: rgba(107, 63, 160, .30); --aura-b: rgba(155, 227, 58, .14); --aura-c: rgba(208, 20, 31, .14); }
.nav__links a.nav__hw { display: inline-flex; align-items: center; gap: 6px; color: #c9f08f; }
.nav__hw img { width: 15px; height: 15px; }
.nav__links a.nav__hw:hover, .nav__links a.nav__hw.is-on { background: rgba(155, 227, 58, .12); color: #e3ffbf; }
.chip--hw > img:first-child { width: 18px; height: 18px; flex: none; }
.chip--hw b { color: #fff; background: #c3121c; }
.chip--hw + .chip--autumn { display: none; }
.chip--hw[hidden] + .chip--autumn { display: inline-flex; }
.hw { padding-bottom: 20px; }
.hw__card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; border: 1px solid rgba(155, 227, 58, .16); background: #07050a; padding: clamp(28px, 4vw, 56px); box-shadow: 0 40px 100px -40px rgba(107, 63, 160, .6); }
.hw__bg { position: absolute; inset: 0; z-index: -2; }
.hw__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hw__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 5, 10, .93) 0%, rgba(7, 5, 10, .74) 46%, rgba(7, 5, 10, .35) 100%), linear-gradient(180deg, transparent 40%, rgba(42, 16, 54, .7) 100%); }
.hw__moon { position: absolute; z-index: -1; width: clamp(110px, 14vw, 190px); top: 22px; right: 4%; filter: drop-shadow(0 0 30px rgba(194, 54, 30, .6)); opacity: .95; }
.hw__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.hw .head { margin-bottom: 0; }
.eyebrow--hw { color: #9be33a; }
.dot--hw { background: #d0141f; animation-name: pingHw; }
@keyframes pingHw { 0% { box-shadow: 0 0 0 0 rgba(208, 20, 31, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(208, 20, 31, 0); } }
.hw .h2 { text-transform: uppercase; }
.hw__accent { color: #e01e2b; text-shadow: 0 0 26px rgba(208, 20, 31, .5); }
.hw .head__sub { margin-bottom: 30px; color: #d9cfbf; }
.btn--hw { background: linear-gradient(180deg, #e5212c, #8f1014); color: #fff; box-shadow: 0 12px 34px -12px rgba(208, 20, 31, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--hw:hover { box-shadow: 0 0 0 6px rgba(208, 20, 31, .16), 0 18px 44px -12px rgba(208, 20, 31, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hw__board { padding: 24px; background: linear-gradient(155deg, rgba(42, 16, 54, .55), rgba(7, 5, 10, .55)); }
.hw__board > * { position: relative; z-index: 3; }
.hw__when { margin: 0 0 12px; font: 700 13px/1.35 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #ff6a6f; }
.hw__count { display: flex; gap: 8px; margin-bottom: 20px; }
.hw__count span { flex: 1; text-align: center; padding: 10px 4px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.hw__count b { display: block; font: 600 30px/1 var(--mono); color: var(--strong); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.hw__count i { display: block; margin-top: 5px; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hw__count.is-off { display: none; }
.hw__crypt { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.hw__crypt b { display: block; color: var(--strong); font: 700 16px/1.3 var(--display); margin-bottom: 2px; }
.hw__cars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hw__cars li { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px 10px; border-radius: 14px; background: radial-gradient(70% 50% at 50% 40%, rgba(155, 227, 58, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .07); }
.hw__cars img { height: 64px; width: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); margin-bottom: 4px; }
.hw__cars span { font: 700 12.5px/1.2 var(--display); color: var(--os); }
.hw__cars b { font: 600 15px/1 var(--mono); color: #9be33a; }
.hw__cars b i { font-style: normal; font-family: var(--body, inherit); font-size: 11px; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .hw__grid { grid-template-columns: 1fr; }
  .hw__card::before { background: linear-gradient(180deg, rgba(7, 5, 10, .55) 0%, rgba(7, 5, 10, .85) 45%, rgba(7, 5, 10, .95) 100%); }
}
@media (max-width: 640px) {
  .hw__card { border-radius: 22px; padding: 26px 16px 18px; }
  .hw__moon { width: 62px; top: 12px; right: 12px; }
  .hw .eyebrow { padding-right: 58px; }
  .hw__board { padding: 16px 12px; }
  .hw__cars { gap: 6px; }
  .hw__cars img { height: 46px; }
  .hw__cars span { font-size: 11.5px; }
  .hw__cars b { font-size: 13px; }
}
