:root {
  --bg: #08080b;
  --bg-soft: #101014;
  --surface: rgba(14, 14, 18, 0.82);
  --line: rgba(226, 196, 150, 0.16);
  --line-strong: rgba(226, 196, 150, 0.38);
  --gold: #e8b45c;
  --gold-bright: #f6d08a;
  --ink: #f4efe6;
  --muted: #9b9288;
  --online: #5bc846;
  --warn: #ef6a4c;
  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Reaver-Bold", "Times New Roman", serif;
  --font-body: "Radiance", "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --cursor-default: url("../img/cursor-default.cur"), auto;
  --cursor-select: url("../img/cursor-select.cur"), pointer;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  cursor: var(--cursor-default);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  user-select: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: var(--cursor-select);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: var(--cursor-select);
}

.page {
  position: relative;
  isolation: isolate;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(232, 180, 92, 0.14), transparent 60%),
    radial-gradient(800px 500px at 100% 80%, rgba(90, 40, 12, 0.18), transparent 55%),
    var(--bg);
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header__logo-link {
  flex-shrink: 0;
}

.header__logo {
  width: 92px;
  height: 44px;
  background: url("../img/VectorLogo=.svg") center / contain no-repeat;
}

.header__online {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.header__online-text {
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 10px;
  line-height: 1.3;
}

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(91, 200, 70, 0.7);
  animation: pulse-online 2s ease-out infinite;
}

@keyframes pulse-online {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 200, 70, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(91, 200, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(91, 200, 70, 0);
  }
}

.header__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header__list a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.header__list a:hover {
  color: var(--ink);
}

.header__lang {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header__lang:hover {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.header__lang-code {
  line-height: 1;
}

.page-utils {
  position: fixed;
  top: calc(var(--nav-h) + 14px);
  left: 18px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.header__sound {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header__sound:hover {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

html.is-sounds-muted .header__sound {
  color: var(--warn);
  border-color: rgba(239, 106, 76, 0.35);
  background: rgba(239, 106, 76, 0.08);
}

.header__sound-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.header__sound-icon--off {
  display: none;
}

html.is-sounds-muted .header__sound-icon--on {
  display: none;
}

html.is-sounds-muted .header__sound-icon--off {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--gold);
  color: #16110c;
  border-color: var(--gold);
}

.button-lk {
  min-width: 148px;
  background: var(--gold);
  color: #16110c;
  border-color: var(--gold);
}

.button-lk:hover {
  background: var(--gold-bright);
}

.header__external-link {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--gold);
  font-size: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 11, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  color: var(--gold);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 18px;
}

.mobile-menu__list a {
  color: var(--gold);
}

.header {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 32px) 20px 72px;
  overflow: hidden;
}

.header__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.28) 0%, rgba(8, 8, 11, 0.48) 48%, var(--bg) 100%),
    url("../img/header-bg.webp") center 36% / cover no-repeat;
  background-color: #0b0b0f;
}

.header__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 180, 92, 0.14), transparent 42%),
    linear-gradient(90deg, rgba(8, 8, 11, 0.38), transparent 22%, transparent 78%, rgba(8, 8, 11, 0.38));
  pointer-events: none;
}

.section-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.header .section-particles {
  z-index: 1;
}

.section-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ffe4a8;
  box-shadow: 0 0 6px 1px rgba(246, 208, 138, 0.55);
  opacity: 0;
  will-change: transform, opacity;
  animation: section-particle-out var(--dur) linear var(--delay) infinite;
}

@keyframes section-particle-out {
  0% {
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0;
  }

  10% {
    opacity: 0.95;
  }

  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.15);
    opacity: 0;
  }
}

.header-cast {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.header-cast__ring {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(246, 208, 138, 0.9);
  border-radius: 50%;
  box-shadow:
    0 0 22px rgba(232, 180, 92, 0.5),
    inset 0 0 14px rgba(246, 208, 138, 0.28);
  transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
  opacity: 0.95;
  animation: header-cast-ring 0.95s cubic-bezier(0.16, 0.84, 0.28, 1) forwards;
}

.header-cast__ring::before,
.header-cast__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.header-cast__ring::before {
  inset: 16%;
  border: 1px dashed rgba(246, 208, 138, 0.55);
}

.header-cast__ring::after {
  inset: -18%;
  border: 1px solid rgba(232, 180, 92, 0.28);
}

.header-cast__ring.is-critical {
  border-color: #ffe4a8;
  box-shadow:
    0 0 34px rgba(246, 208, 138, 0.75),
    inset 0 0 18px rgba(255, 228, 168, 0.4);
  animation-duration: 1.15s;
}

.header-cast__ring.is-finale {
  width: 28px;
  height: 28px;
  animation-duration: 1.45s;
  box-shadow:
    0 0 48px rgba(255, 236, 180, 0.9),
    inset 0 0 22px rgba(255, 245, 210, 0.55);
}

.header-cast__ring.is-compact {
  width: 14px;
  height: 14px;
  animation-name: header-cast-ring-compact;
}

.header-cast__ring.is-spirit {
  border-color: rgba(150, 210, 255, 0.92);
  box-shadow:
    0 0 18px rgba(110, 180, 255, 0.5),
    inset 0 0 10px rgba(170, 220, 255, 0.3);
}

.header-cast__ring.is-spirit::before {
  border-color: rgba(160, 215, 255, 0.55);
}

.header-cast__ring.is-spirit::after {
  border-color: rgba(100, 170, 240, 0.32);
}

.header-cast__ring.is-sonic {
  border-color: rgba(255, 90, 70, 0.92);
  box-shadow:
    0 0 18px rgba(220, 40, 30, 0.55),
    inset 0 0 10px rgba(255, 120, 90, 0.35);
}

.header-cast__ring.is-sonic::before {
  border-color: rgba(255, 120, 100, 0.55);
}

.header-cast__ring.is-sonic::after {
  border-color: rgba(200, 40, 30, 0.35);
}

.header-cast__spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ffe4a8;
  box-shadow: 0 0 8px 1px rgba(246, 208, 138, 0.7);
  transform: translate(-50%, -50%);
  opacity: 1;
  animation: header-cast-spark var(--dur) ease-out forwards;
}

.header-cast__spark.is-spirit {
  background: #a8d4ff;
  box-shadow: 0 0 8px 1px rgba(120, 190, 255, 0.7);
}

.header-cast__spark.is-sonic {
  background: #ff7a62;
  box-shadow: 0 0 8px 1px rgba(255, 70, 50, 0.7);
}

.header-cast__seal {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.header-cast__seal-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(0.2);
  opacity: 0;
}

.header-cast__seal-ring--outer {
  width: 150px;
  height: 150px;
  border: 1.5px solid rgba(168, 214, 255, 0.85);
  box-shadow:
    0 0 28px rgba(110, 180, 255, 0.45),
    inset 0 0 18px rgba(180, 220, 255, 0.2);
  animation: header-cast-seal-outer 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header-cast__seal-ring--outer::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(190, 225, 255, 0.55);
  border-radius: 50%;
}

.header-cast__seal-ring--mid {
  width: 102px;
  height: 102px;
  border: 1.5px solid rgba(246, 208, 138, 0.8);
  border-top-color: transparent;
  border-bottom-color: transparent;
  box-shadow: 0 0 18px rgba(232, 180, 92, 0.35);
  animation: header-cast-seal-mid 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header-cast__seal-ring--inner {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(210, 235, 255, 0.9);
  background: radial-gradient(circle, rgba(150, 200, 255, 0.22), transparent 70%);
  animation: header-cast-seal-inner 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header-cast__seal-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8f4ff;
  box-shadow: 0 0 18px 6px rgba(140, 200, 255, 0.75);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  animation: header-cast-seal-core 1.45s ease-out forwards;
}

.header-cast__seal-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(190, 225, 255, 0.95), transparent);
  box-shadow: 0 0 14px rgba(140, 200, 255, 0.8);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: header-cast-seal-beam 1.45s ease-out forwards;
}

.header-cast-danger {
  position: fixed;
  inset: 0;
  z-index: 11900;
  pointer-events: none;
  --danger: 1;
  background:
    linear-gradient(
      90deg,
      rgba(180, 8, 8, calc(0.72 + var(--danger) * 0.04)) 0%,
      rgba(200, 20, 20, calc(0.4 + var(--danger) * 0.05)) 14%,
      transparent 30%,
      transparent 70%,
      rgba(200, 20, 20, calc(0.4 + var(--danger) * 0.05)) 86%,
      rgba(180, 8, 8, calc(0.72 + var(--danger) * 0.04)) 100%
    ),
    linear-gradient(
      180deg,
      rgba(120, 0, 0, calc(0.35 + var(--danger) * 0.04)) 0%,
      transparent 22%,
      transparent 78%,
      rgba(100, 0, 0, calc(0.4 + var(--danger) * 0.05)) 100%
    );
  opacity: calc(0.55 + var(--danger) * 0.06);
}

.header-cast-danger.is-pulse {
  animation: header-cast-danger-pulse 0.85s ease-in-out;
}

.header-cast-danger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(90, 0, 0, calc(0.18 + var(--danger) * 0.05)) 100%);
  opacity: 0.9;
}

@keyframes header-cast-seal-outer {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.15);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  55% {
    transform: translate(-50%, -50%) rotate(140deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) rotate(220deg) scale(1.35);
    opacity: 0;
  }
}

@keyframes header-cast-seal-mid {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.2);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  55% {
    transform: translate(-50%, -50%) rotate(-160deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) rotate(-260deg) scale(1.4);
    opacity: 0;
  }
}

@keyframes header-cast-seal-inner {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
  }

  22% {
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1) rotate(90deg);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.2) rotate(180deg);
    opacity: 0;
  }
}

@keyframes header-cast-seal-core {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
  }

  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.35);
  }

  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  70% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.8);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
}

@keyframes header-cast-seal-beam {
  0% {
    height: 0;
    opacity: 0;
  }

  18% {
    height: 180px;
    opacity: 1;
  }

  45% {
    height: 260px;
    opacity: 0.85;
  }

  100% {
    height: 320px;
    opacity: 0;
  }
}

@keyframes header-cast-danger-pulse {
  0% {
    opacity: calc(0.35 + var(--danger) * 0.04);
  }

  35% {
    opacity: calc(0.85 + var(--danger) * 0.02);
  }

  100% {
    opacity: calc(0.55 + var(--danger) * 0.06);
  }
}

.header-cast__crit {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 38px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow:
    0 0 18px rgba(232, 180, 92, 0.75),
    0 2px 0 rgba(80, 48, 8, 0.55);
  white-space: nowrap;
  transform: translate(-50%, -40%) scale(0.7);
  opacity: 0;
  animation: header-cast-crit 1.15s ease-out forwards;
}

@keyframes header-cast-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
    opacity: 0.95;
  }

  70% {
    opacity: 0.55;
  }

  100% {
    transform: translate(-50%, -50%) scale(5.2) rotate(48deg);
    opacity: 0;
  }
}

@keyframes header-cast-ring-compact {
  0% {
    transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
    opacity: 0.95;
  }

  70% {
    opacity: 0.55;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.6) rotate(40deg);
    opacity: 0;
  }
}

@keyframes header-cast-spark {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.2);
    opacity: 0;
  }
}

@keyframes header-cast-crit {
  0% {
    transform: translate(-50%, -20%) scale(0.55);
    opacity: 0;
  }

  18% {
    transform: translate(-50%, -55%) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -130%) scale(1);
    opacity: 0;
  }
}

.header-cast-finale {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 252, 235, 1) 0%, rgba(255, 232, 170, 0.92) 18%, rgba(246, 208, 138, 0.55) 42%, transparent 72%),
    linear-gradient(180deg, rgba(255, 248, 220, 0.55), rgba(255, 236, 180, 0.2) 40%, transparent 75%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: header-cast-finale-bloom 3.1s ease-out forwards;
}

.header-cast-finale::before,
.header-cast-finale::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.header-cast-finale::before {
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95), transparent 38%);
  animation: header-cast-finale-flash 3.1s ease-out forwards;
}

.header-cast-finale::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 228, 168, 0.45), transparent 32%),
    radial-gradient(circle at 80% 25%, rgba(246, 208, 138, 0.4), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 240, 190, 0.35), transparent 36%);
  animation: header-cast-finale-glow 3.1s ease-out forwards;
}

html.is-header-cast-finale {
  background: #fff6dc;
}

@keyframes header-cast-finale-bloom {
  0% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  18% {
    opacity: 0.72;
  }

  32% {
    opacity: 1;
  }

  55% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
  }
}

@keyframes header-cast-finale-flash {
  0%,
  100% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  16% {
    opacity: 0.25;
  }

  30% {
    opacity: 0.85;
  }

  48% {
    opacity: 0.15;
  }
}

@keyframes header-cast-finale-glow {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  12% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.header__content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.header__description {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.header__description::before,
.header__description::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.header__logo-main {
  order: 2;
  width: min(560px, 86vw);
}

.header__logo-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.header__open {
  order: 3;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw + 16px, 42px);
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.header__obt {
  order: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(239, 106, 76, 0.4);
  border-radius: 999px;
  background: rgba(239, 106, 76, 0.1);
  color: #ffb4a4;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header__cta-button {
  order: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  margin-top: 8px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #16110c;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(232, 180, 92, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header__cta-button:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.header__partner {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.header__partner:hover {
  opacity: 1;
}

.features,
.media,
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.features > *,
.media > *,
.footer > * {
  position: relative;
  z-index: 1;
}

.features > .section-particles,
.media > .section-particles,
.footer > .section-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.features > .features__container,
.media > .media__container,
.footer > .footer__container,
.footer > .footer__bottom {
  z-index: 3;
}

.features::before,
.media::before,
.footer::before {
  content: "";
  position: absolute;
  inset: -32px;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.04);
  filter: blur(8px) saturate(0.9);
}

.features::after,
.media::after,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(36, 20, 10, 0.18), rgba(36, 20, 10, 0.18)),
    radial-gradient(circle at 50% 36%, rgba(232, 180, 92, 0.14), transparent 48%);
}

.features::before {
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.3) 0%, rgba(8, 8, 11, 0.46) 50%, var(--bg) 100%),
    url("../img/features-bg.webp") center 42% / cover no-repeat;
}

.media::before {
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.3) 0%, rgba(8, 8, 11, 0.46) 50%, var(--bg) 100%),
    url("../img/media-bg.webp") center 36% / cover no-repeat;
}

.footer::before {
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.3) 0%, rgba(8, 8, 11, 0.46) 50%, var(--bg) 100%),
    url("../img/register-bg.webp") center 40% / cover no-repeat;
}

.features {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 16px) clamp(16px, 4vw, 48px) 32px;
}

.features__container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.features__title,
.footer__title,
.media__title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2vw + 18px, 44px);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.features__stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, calc(min(54svh, 540px) * 2.15));
  margin-inline: auto;
}

.features__panels {
  position: relative;
}

.features__panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.features__panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.features__image {
  position: relative;
  height: min(54svh, 540px);
  overflow: hidden;
  background: linear-gradient(160deg, #1b1713, #0d0d12);
}

.features__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 11, 0.94));
  pointer-events: none;
}

.features__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.features__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 36px 36px;
}

.features__panel-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.features__card-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.2vw + 14px, 32px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__card-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 0.3vw + 14px, 20px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.features__card-description,
.footer__card-description {
  color: var(--muted);
  font-size: clamp(15px, 0.4vw + 14px, 20px);
  line-height: 1.45;
  max-width: 720px;
}

.features__rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.features__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 16, 20, 0.78);
  color: var(--muted);
  text-align: left;
  cursor: var(--cursor-select);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.features__tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.features__tab.is-active {
  border-color: var(--gold);
  background: rgba(232, 180, 92, 0.1);
  color: var(--gold);
  box-shadow: inset 0 2px 0 var(--gold);
}

.features__tab-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.features__tab-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}

.media {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 16px) clamp(16px, 5vw, 64px) 32px;
}

.media__container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.media__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.media__video {
  position: relative;
  min-height: min(52vh, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(36, 20, 10, 0.22), rgba(8, 8, 11, 0.8)),
    url("../img/header-bg.webp") center 36% / cover no-repeat;
  background-color: #121218;
}

.media__play {
  width: 100%;
  height: 100%;
  min-height: min(52vh, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: var(--cursor-select);
}

.media__play-icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(8, 8, 11, 0.72);
  position: relative;
}

.media__play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--gold);
  transform: translate(-50%, -50%);
}

.media__play-label {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.media__play-hint {
  color: var(--muted);
  font-size: 14px;
}

.media__promos {
  display: grid;
  gap: 12px;
}

.media__promo {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 20, 0.78);
}

.media__badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media__promo-title {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.media__promo-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 16px) 0 0;
}

.footer__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer__card,
.footer__bottom-card {
  position: relative;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 20, 0.78);
  overflow: hidden;
}

.footer__card::before,
.footer__bottom-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}

.footer__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}

.footer__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer__buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.footer__bottom-container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(16px, 5vw, 64px) 36px;
}

.footer__license {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer__social a:hover {
  color: var(--gold);
  border-color: var(--line-strong);
  background: rgba(232, 180, 92, 0.08);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__support ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__support a {
  color: var(--muted);
  font-size: 13px;
}

.footer__support a:hover {
  color: var(--ink);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #121218;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--muted);
}

.modal__close:hover {
  color: var(--ink);
}

.modal__links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.bonus-list {
  width: 100%;
  display: grid;
  gap: 10px;
  margin: 8px 0 4px;
}

.bonus-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  color: var(--ink);
  font-size: 13px;
}

.bonus-list img {
  width: 32px;
  height: 32px;
}

.bonus-list span:last-child {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
}

.telegram-countdown-block {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.telegram-countdown-label {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.telegram-countdown {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 48px;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #16110c;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.telegram-button:hover {
  background: var(--gold-bright);
}

@media (max-width: 1180px) {
  .header__list {
    gap: 14px;
    font-size: 11px;
  }

  .header__online {
    display: none;
  }
}

@media (max-width: 980px) {
  .features__rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .features__tab {
    flex: 0 0 132px;
  }

  .footer__grid,
  .footer__bottom-container,
  .media__grid {
    grid-template-columns: 1fr;
  }

  .footer__content {
    align-items: center;
    text-align: center;
  }

  .footer__buttons-container,
  .footer__support ul {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 820px) {
  .header__list,
  .button-lk {
    display: none;
  }

  .page-utils {
    top: auto;
    bottom: 18px;
    left: 14px;
  }

  .mobile-menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .header__nav {
    height: 64px;
  }

  .header {
    padding-top: 96px;
  }
}

@media (max-width: 700px) {
  .features__image {
    height: min(42svh, 320px);
  }

  .features__content {
    padding: 20px 18px 22px;
  }

  .media__video,
  .media__play {
    min-height: 280px;
  }

  .features,
  .footer {
    padding-bottom: 0;
  }

  .header__partner {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__social {
    justify-content: flex-start;
  }
}

html.is-overlay-scroll,
html.is-overlay-scroll body {
  overflow: hidden;
  height: 100%;
}

html.is-overlay-scroll [data-snap-section] {
  position: fixed;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

html.is-overlay-scroll [data-snap-section].is-stack-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}

html.is-overlay-instant [data-snap-section] {
  transition: none;
}

html.is-overlay-scroll .header__nav {
  z-index: 1500;
}

html.is-overlay-scroll .page-utils {
  z-index: 1550;
}

.page-dots {
  display: none;
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 1600;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

html.is-overlay-scroll .page-dots {
  display: flex;
}

.page-dots__dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: var(--cursor-select);
}

.page-dots__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-dots__dot:hover::after {
  border-color: var(--gold);
}

.page-dots__dot.is-active::after {
  transform: scale(1.2);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(232, 180, 92, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
