/* ===== Variables ===== */
:root {
  --header-height: 80px;
  /* ox_inventory / gl_hud palette */
  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-light: #a78bfa;
  --accent-soft: #c4b5fd;
  --accent-glow: rgba(124, 58, 237, 0.45);
  --panel: #22232cf2;
  --panel-deep: rgba(18, 19, 26, 0.86);
  --border-ui: #33343f;
  --bg: #000;
  --bg-card: #0a0a0a;
  --bg-elevated: #111;
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.15);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.article-body img,
.article-body video,
.article-body iframe,
.ck-content img {
  max-width: 100% !important;
  height: auto !important;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.accent { color: var(--accent); }

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
}

.logo-rp,
.brand-inline .logo-rp,
.hero-title .logo-rp,
.video-logo .logo-rp,
.footer-copy .logo-rp,
.cityscape h2 .logo-rp {
  color: var(--accent-light);
}

.brand-inline {
  color: #fff;
  font-weight: 800;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  z-index: 1200;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-online {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.header-online strong {
  color: #fff;
  font-weight: 700;
}

.nav-desktop {
  display: none;
  flex: 1;
  justify-content: center;
}

.nav-desktop-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.nav-desktop-list a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-desktop-list a:not(.nav-play)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}

.nav-desktop-list a:not(.nav-play):hover {
  color: #fff;
}

.nav-desktop-list a:not(.nav-play):hover::after {
  width: 100%;
}

.nav-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent) !important;
  background: rgba(124, 58, 237, 0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-play:hover {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.header-right {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-switch {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn .flag-ru,
.lang-btn .flag-en {
  display: block;
}

.lang-btn .flag-en[hidden],
.lang-btn .flag-ru[hidden] {
  display: none !important;
}

.lang-flag {
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  line-height: 0;
}

.lang-name {
  text-transform: none;
}

.lang-chevron {
  opacity: 0.7;
  transition: transform 0.2s;
}

.lang-switch:hover .lang-chevron,
.lang-switch.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(18, 19, 26, 0.96);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1100;
}

.lang-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.lang-switch:hover .lang-menu,
.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(124, 58, 237, 0.22);
  color: #fff;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--accent-glow);
}

.btn-login svg {
  flex-shrink: 0;
}

.burger {
  position: relative;
  width: 28px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  z-index: 1100;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.burger.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 8, 0.96);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-height, 72px) + 1.25rem) 1.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-list {
  list-style: none;
  text-align: center;
  width: min(100%, 320px);
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0.55rem 0;
}

.nav-list a {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  display: inline-block;
  padding: 0.35rem 0.5rem;
  transition: color var(--transition);
}

.nav-list a:hover { color: var(--accent); }

.nav-list .nav-play {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
}

.btn-login--mobile {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  justify-content: center;
  padding: 0.55rem 1rem;
}

@media (min-width: 1100px) {
  .header-online,
  .nav-desktop,
  .header-right {
    display: flex;
  }

  .burger,
  .nav-mobile {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background:
    url('../img/gangland.webp') center/cover no-repeat;
  filter: saturate(0.85) brightness(0.45);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(124, 58, 237, 0.16) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 70%, #000 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(167,139,250,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.2) 0%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.hero-characters {
  display: none;
}

.hero-char {
  position: absolute;
  bottom: 0;
  width: 45%;
  height: 85%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 0.85;
}

.hero-char--left {
  left: -5%;
  background-image: url('https://images.unsplash.com/photo-1557862921-37829c790f19?w=800&q=80');
  mask-image: linear-gradient(to right, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent);
  filter: contrast(1.2) saturate(0.3);
}

.hero-char--right {
  right: -5%;
  background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&q=80');
  mask-image: linear-gradient(to left, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent);
  filter: contrast(1.2) saturate(0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: calc(var(--header-height) + 0.75rem) 1rem 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 80px var(--accent-glow);
  animation: fadeUp 1s ease;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-title-letters {
  display: inline-flex;
  position: relative;
  z-index: 2;
}

.hero-title .letter {
  display: inline-block;
  position: relative;
  color: #fff;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.2s ease;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title .letter.is-rp {
  color: var(--accent-light);
}

/* Shared fx reset */
.hero-title-wrap[data-fx] .hero-title {
  text-shadow: none;
}

/* ===== Criminal: bullet sweep + blood fill ===== */
.title-bullet,
.title-muzzle {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}

.title-bullet {
  width: 42px;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff 30%, #ffd7a8 70%, #ff3b3b);
  box-shadow:
    0 0 12px #fff,
    0 0 24px #ff6b6b,
    8px 0 18px rgba(255, 60, 60, 0.85);
}

.title-muzzle {
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffcc66 35%, #ff3b3b 70%, transparent 75%);
  box-shadow: 0 0 28px #ff5a5a;
}

.hero-title-wrap[data-fx="criminal"] .title-muzzle {
  animation: muzzleFlash 0.35s ease-out 1;
}

.hero-title-wrap[data-fx="criminal"] .title-bullet {
  opacity: 1;
  animation: bulletFly 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-title-wrap[data-fx="criminal"] .letter {
  color: transparent;
  background-image: linear-gradient(
    to top,
    #7a0000 0%,
    #c40606 38%,
    #ff2a2a 55%,
    #fff 56%,
    #fff 100%
  );
  background-size: 100% 220%;
  background-position: 0 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bloodFill 0.85s ease forwards;
  animation-delay: calc(var(--i) * 0.045s + 0.25s);
}

.hero-title-wrap[data-fx="criminal"] .letter.is-rp {
  background-image: linear-gradient(
    to top,
    #5a0000 0%,
    #a10020 40%,
    #ff4d6d 55%,
    var(--accent-light) 56%,
    var(--accent-light) 100%
  );
}

@keyframes bulletFly {
  0% { left: -4%; opacity: 0; transform: scaleX(0.4); }
  10% { opacity: 1; }
  100% { left: 104%; opacity: 0; transform: scaleX(1.2); }
}

@keyframes muzzleFlash {
  0% { opacity: 0; transform: scale(0.4); }
  30% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(0.8); }
}

@keyframes bloodFill {
  0% { background-position: 0 100%; }
  100% { background-position: 0 0%; }
}

/* ===== Gov: Rockstar-style red/blue sirens ===== */
.hero-title-wrap[data-fx="gov"] .letter {
  animation: sirenLetter 0.55s steps(2, end) infinite;
  animation-delay: calc(var(--i) * 0.03s);
}

.hero-title-wrap[data-fx="gov"]::before,
.hero-title-wrap[data-fx="gov"]::after {
  content: '';
  position: absolute;
  inset: -20% -8%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-title-wrap[data-fx="gov"]::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 30, 30, 0.55), transparent 55%);
  animation: sirenSweepRed 0.7s ease-in-out infinite alternate;
}

.hero-title-wrap[data-fx="gov"]::after {
  background: radial-gradient(ellipse at 80% 50%, rgba(40, 90, 255, 0.55), transparent 55%);
  animation: sirenSweepBlue 0.7s ease-in-out infinite alternate;
}

@keyframes sirenLetter {
  0% {
    color: #ff2a2a;
    text-shadow:
      -4px 0 10px rgba(255, 40, 40, 0.9),
      4px 0 14px rgba(40, 90, 255, 0.35);
  }
  50% {
    color: #4d7cff;
    text-shadow:
      4px 0 10px rgba(40, 90, 255, 0.95),
      -4px 0 14px rgba(255, 40, 40, 0.35);
  }
  100% {
    color: #ff2a2a;
    text-shadow:
      -4px 0 10px rgba(255, 40, 40, 0.9),
      4px 0 14px rgba(40, 90, 255, 0.35);
  }
}

@keyframes sirenSweepRed {
  from { opacity: 0.35; transform: translateX(-8%); }
  to { opacity: 0.9; transform: translateX(8%); }
}

@keyframes sirenSweepBlue {
  from { opacity: 0.9; transform: translateX(8%); }
  to { opacity: 0.35; transform: translateX(-8%); }
}

/* ===== Business: dollars dripping inside letters ===== */
.title-dollars {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}

.hero-title-wrap[data-fx="business"] .title-dollars {
  opacity: 1;
}

.hero-title-wrap[data-fx="business"] .letter {
  color: #1a7a3a;
  text-shadow: 0 0 18px rgba(69, 235, 69, 0.35);
  background-image: linear-gradient(180deg, #d4f7d8 0%, #2f9e4a 45%, #0d5c2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-wrap[data-fx="business"] .letter.is-rp {
  background-image: linear-gradient(180deg, #efe6ff 0%, var(--accent-light) 50%, #5b21b6 100%);
}

.dollar-drop {
  position: absolute;
  top: -20%;
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #45eb45;
  text-shadow: 0 0 8px rgba(69, 235, 69, 0.8);
  animation: dollarFall linear infinite;
  opacity: 0.85;
}

@keyframes dollarFall {
  0% { transform: translateY(0) rotate(-8deg); opacity: 0; }
  15% { opacity: 0.95; }
  100% { transform: translateY(140%) rotate(12deg); opacity: 0; }
}

/* ===== Civilian: city skyline inside letters ===== */
.hero-title-wrap[data-fx="civilian"] .letter {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  filter: contrast(1.15) saturate(1.1);
  text-shadow: none;
  animation: cityReveal 0.55s ease both;
  animation-delay: calc(var(--i) * 0.03s);
}

.hero-title-wrap[data-fx="civilian"] .letter.is-rp {
  background-image:
    linear-gradient(180deg, rgba(124, 58, 237, 0.35), rgba(0,0,0,0.4)),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1200&q=80');
}

@keyframes cityReveal {
  from { opacity: 0.35; transform: translateY(6px); filter: grayscale(1); }
  to { opacity: 1; transform: translateY(0); filter: contrast(1.15) saturate(1.1); }
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--text-muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0.85rem 0 1.75rem;
  animation: fadeUp 1s ease 0.15s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  animation: fadeUp 1s ease 0.3s both;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 2.25rem;
  background: rgba(18, 19, 26, 0.72);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
  animation: none;
}

.btn-play:hover {
  background: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 0 50px var(--accent-glow);
}

.btn-play:hover .btn-play-icon {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.55);
}

.btn-play-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-play-icon svg {
  display: block;
  margin-left: 2px;
}

.btn-trailer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(18, 19, 26, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.btn-trailer svg {
  display: block;
}

.btn-trailer:hover {
  background: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 48px var(--accent-glow);
}

.hero-become {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeUp 1s ease 0.45s both;
}

.hero-roles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  z-index: 5;
  animation: fadeUp 1s ease 0.55s both;
}

.role-card {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
  opacity: 0.75;
  transition: opacity 0.2s;
  z-index: 1;
  pointer-events: none;
}

.role-card-visual {
  position: absolute;
  /* чуть больше карточки, чтобы при сдвиге вверх/вниз не было чёрных полос */
  top: -24px;
  right: -8px;
  bottom: -24px;
  left: -8px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(0.15) brightness(0.88);
  transform: translateY(0) scale(1.02);
  transition: filter 0.25s cubic-bezier(0, 0, 0.2, 1), transform 0.35s ease;
  will-change: transform;
}

.role-card--criminal .role-card-visual {
  background-image: url('../img/gangster.jpg');
  background-position: center 15%;
}

.role-card--gov .role-card-visual {
  background-image: url('../img/cop.jpg');
  background-position: center top;
}

.role-card--business .role-card-visual {
  background-image: url('../img/businessman.jpg');
  background-position: center top;
}

.role-card--civilian .role-card-visual {
  background-image: url('../img/citizen.jpg');
  background-position: center top;
}

.role-card:hover .role-card-visual,
.role-card.is-active .role-card-visual {
  filter: saturate(1) brightness(1);
  transform: translateY(-16px) scale(1.04);
}

.role-card-text,
.role-card-hover {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 0.85rem 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.role-card-text {
  opacity: 0.85;
}

.role-card-text strong,
.role-card-hover strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.35vw + 0.55rem, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.role-card-text em {
  font-style: normal;
  font-size: clamp(0.62rem, 0.9vw + 0.4rem, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-soft);
  line-height: 1.3;
  opacity: 0.9;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.role-card-hover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.role-select-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.role-card:hover,
.role-card.is-active {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 48px rgba(124, 58, 237, 0.45);
  transform: translateY(-6px);
}

.role-card:hover::before,
.role-card.is-active::before {
  opacity: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(18, 19, 26, 0.55) 45%, rgba(124, 58, 237, 0.15) 100%);
}

.role-card:hover .role-card-text,
.role-card.is-active .role-card-text {
  opacity: 0;
  transform: translateY(-8px);
}

.role-card:hover .role-card-hover,
.role-card.is-active .role-card-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.role-card:hover .role-select-btn,
.role-card.is-active .role-select-btn {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s ease infinite;
  z-index: 10;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Intro ===== */
.intro {
  position: relative;
  padding: 6rem 0 4rem;
  background: #000;
}

.intro-portraits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.portrait {
  position: absolute;
  top: 0;
  width: 35%;
  height: 70%;
  background-size: cover;
  background-position: center top;
  filter: grayscale(1) contrast(1.15) brightness(0.9);
  opacity: 0.28;
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
  transform: scale(1);
  will-change: filter, opacity;
}

.portrait--left {
  left: 0;
  background-image: url('../img/cvtf-left-side.webp');
  mask-image: linear-gradient(to right, black, transparent);
  -webkit-mask-image: linear-gradient(to right, black, transparent);
  transform-origin: left center;
}

.portrait--right {
  right: 0;
  background-image: url('../img/bar-right-side.webp');
  mask-image: linear-gradient(to left, black, transparent);
  -webkit-mask-image: linear-gradient(to left, black, transparent);
  transform-origin: right center;
}

.intro-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin-bottom: 4rem;
}

.intro-text {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.intro-cta {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.intro-cta::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.path-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.path-btn {
  flex: 1 1 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.path-btn span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.path-btn-arrow {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  display: block;
  color: var(--accent);
  transition: transform 0.25s ease, color 0.25s;
}

.path-btn--left {
  justify-content: flex-start;
}

.path-btn--right {
  justify-content: flex-end;
}

.path-btn:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--accent-glow);
}

.path-btn--left:hover .path-btn-arrow {
  transform: translateX(-3px);
  color: #a78bfa;
}

.path-btn--right:hover .path-btn-arrow {
  transform: translateX(3px);
  color: #a78bfa;
}

/* Ховер кнопок путей → цвет у портретов */
.intro:has(.path-btn--left:hover) .portrait--left,
.intro:has(.path-btn--left:focus-visible) .portrait--left {
  filter: grayscale(0) contrast(1.05) brightness(1);
  opacity: 0.72;
  transform: scale(1.03);
}

.intro:has(.path-btn--right:hover) .portrait--right,
.intro:has(.path-btn--right:focus-visible) .portrait--right {
  filter: grayscale(0) contrast(1.05) brightness(1);
  opacity: 0.72;
  transform: scale(1.03);
}

.intro-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Gallery slider */
.gallery-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery-slide.active { opacity: 1; }

.gallery-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.gallery-image--1 {
  background-image: url('../img/slide-main-page-1.webp');
}

.gallery-image--2 {
  background-image: url('../img/slide-main-page-2.webp');
}

.gallery-image--3 {
  background-image: url('../img/slide-main-page-3.webp');
}


.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 5;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-btn--prev { left: 0.75rem; }
.slider-btn--next { right: 0.75rem; }

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Video card */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  background: #0a0a0a;
  text-align: center;
}

.video-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.25s;
}

.video-thumb:hover::before {
  background: rgba(0, 0, 0, 0.32);
}

.video-overlay-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.video-play {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: var(--transition);
  pointer-events: none;
}

.video-play svg {
  display: block;
  margin-left: 3px;
}

.video-thumb:hover .video-play {
  transform: scale(1.1);
  background: #fff;
}

.video-caption {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.4;
}

.video-logo {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  z-index: 2;
  opacity: 0.7;
}

/* ===== Features horizontal scroll ===== */
.features-scroll {
  position: relative;
  padding: 4rem 0;
  background: #000;
}

.features-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 4vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

.features-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.features-track.is-dragging .feature-panel {
  pointer-events: none;
}

.features-track::-webkit-scrollbar { display: none; }

.feature-panel {
  flex: 0 0 min(85vw, 700px);
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: transform 0.6s ease;
}

.feature-panel:hover .feature-bg {
  transform: scale(1.05);
}

.feature-bg--1 { background-image: url('../img/banner-1.webp'); }
.feature-bg--2 { background-image: url('../img/banner-2.webp'); }
.feature-bg--3 { background-image: url('../img/banner-3.webp'); }
.feature-bg--4 { background-image: url('../img/banner-4.webp'); }

.feature-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
  width: 100%;
}

.feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}

.scroll-progress {
  width: min(1200px, 92vw);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem auto 0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.scroll-progress:hover {
  height: 5px;
}

.scroll-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.15s ease;
  pointer-events: none;
}

/* ===== Cityscape ===== */
.cityscape {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cityscape-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1580654712603-eb43229fafcc?w=1920&q=80') center/cover;
  filter: brightness(0.35) saturate(0.8);
}

.cityscape-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.cityscape-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 0;
}

.cityscape-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cityscape h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 2rem;
}

.link-arrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: var(--transition);
}

.link-arrow:hover { color: var(--accent); }

/* ===== Gangs ===== */
.gangs {
  padding: 6rem 0;
  background: #000;
}

.gangs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gang-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.gang-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
}

.gang-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transition: transform 0.5s ease;
}

.gang-card:hover .gang-card-bg { transform: scale(1.08); }

.gang-card--bloods .gang-card-bg {
  background-image: url('https://images.unsplash.com/photo-1520975922284-8a4569068913?w=600&q=80');
}

.gang-card--crips .gang-card-bg {
  background-image: url('https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=600&q=80');
}

.gang-card--ms13 .gang-card-bg {
  background-image: url('https://images.unsplash.com/photo-1444723121477-42142a165c7b?w=600&q=80');
}

.gang-card--18th .gang-card-bg {
  background-image: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?w=600&q=80');
}

.gang-card--bloods { border-top: 3px solid #dc143c; }
.gang-card--crips { border-top: 3px solid #0047ab; }
.gang-card--ms13 { border-top: 3px solid #2d5016; }
.gang-card--18th { border-top: 3px solid #d4af37; }

.gang-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.gang-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.gang-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.gang-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Start ===== */
.start {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #000, #0a0a0a);
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .start-steps {
    grid-template-columns: 1fr;
  }
}

.step-btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  order: 2;
  display: block;
}

.start-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.start-step:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.step-icon--play svg {
  transform: translateX(2px);
}

.start-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.start-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: var(--transition);
}

.step-btn:hover {
  background: #fff;
  color: #000;
}

.step-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.step-btn--accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.step-btn--header {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124, 58, 237, 0.12);
}

.step-btn--header:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.start-help {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.start-help a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Social ===== */
.social {
  padding: 6rem 0;
  background: #000;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link svg { width: 24px; height: 24px; }

.social-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--accent);
}

.social-partner {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-partner a { color: var(--accent); }

/* ===== FAQ ===== */
.faq {
  padding: 6rem 0;
  background: var(--bg-elevated);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item a { color: var(--accent); }

.faq-link {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 400px;
  margin: 0 auto;
  transition: var(--transition);
}

.faq-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 4rem 0;
  background: #000;
  border-top: 1px solid var(--border);
}

.newsletter-inner {
  text-align: center;
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.newsletter-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}

.newsletter-form button:not(:disabled):hover {
  background: var(--accent-dark);
}

.newsletter-form button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.newsletter-policy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.newsletter-policy a { color: var(--accent); }

/* ===== Footer ===== */
.footer {
  padding: 3rem 0 0;
  background: #000;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .intro-media {
    grid-template-columns: 1fr;
  }

  .hero-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-card {
    min-height: 220px;
  }

  .hero-char { opacity: 0.4; width: 55%; }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header { padding: 0 1rem; }

  .hero-actions {
    gap: 0.75rem;
  }

  .btn-play {
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    gap: 0.75rem;
  }

  .btn-play-icon {
    width: 34px;
    height: 34px;
  }

  .btn-play-icon svg {
    width: 18px;
    height: 18px;
  }

  .btn-trailer {
    width: 54px;
    height: 54px;
  }

  .btn-trailer svg {
    width: 22px;
    height: 22px;
  }

  .hero-roles {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .portrait { display: none; }
}

/* ===== Trailer fullscreen modal ===== */
.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.trailer-modal[hidden] {
  display: none !important;
}

.trailer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.trailer-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trailer-modal-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 19, 26, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.trailer-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.trailer-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 48px rgba(124, 58, 237, 0.25);
}

.trailer-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .trailer-modal {
    padding: 0.65rem;
    align-items: flex-start;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .trailer-modal-dialog {
    width: 100%;
  }

  .trailer-modal-close {
    width: 40px;
    height: 40px;
  }

  .trailer-modal-frame {
    border-radius: var(--radius);
  }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  margin-top: var(--header-height);
  padding: 0.7rem 0;
  background: rgba(5, 5, 8, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumbs-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.45rem;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 400;
}

.breadcrumbs-item a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.breadcrumbs-item a:hover {
  color: var(--accent);
}

.breadcrumbs-item span[aria-current='page'] {
  color: #fff;
}

/* Pages already clear the fixed header via breadcrumbs margin */
.factions-page.has-breadcrumbs .factions-main {
  padding-top: 2rem;
}

.gangs-page.has-breadcrumbs .g-hero:first-of-type {
  padding-top: 2.5rem;
}

.news-hub-page.has-breadcrumbs .news-hub,
.news-list-page.has-breadcrumbs .news-list-hero,
.weazel-page.has-breadcrumbs .weazel-page-hero {
  padding-top: 2rem;
}

.article-page.has-breadcrumbs .article-top {
  padding-top: 1.5rem;
}

.media-page.has-breadcrumbs .media-hero {
  padding-top: 2rem;
}

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

.gang-detail-page.has-breadcrumbs .gd-hero {
  min-height: calc(100vh - var(--header-height) - 2.75rem);
}

