:root {
  --bg: #050711;
  --bg-soft: #080a16;
  --panel: #101222;
  --panel-strong: #15172a;
  --text: #fff4e4;
  --muted: #c8c1d6;
  --muted-strong: #eee6d6;
  --line: rgba(255, 216, 120, 0.16);
  --accent: #f4c85b;
  --accent-strong: #ffdd7a;
  --accent-dark: #8a5cff;
  --glow: rgba(109, 76, 255, 0.34);
  --gold-rgb: 244, 200, 91;
  --purple-rgb: 138, 92, 255;
  --blue-glow-rgb: 47, 59, 255;
  --discord-rgb: 88, 101, 242;
  --telegram-rgb: 42, 171, 238;
  --reddit-rgb: 255, 87, 0;
  --steam-rgb: 102, 192, 244;
  --vk-rgb: 0, 119, 255;
  --avakot-rgb: 190, 230, 60;
  --warm: #d3a66c;
  --shadow: rgba(0, 0, 0, 0.48);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 0%, rgba(var(--purple-rgb), 0.2), transparent 32rem),
    radial-gradient(circle at 12% 18%, rgba(var(--gold-rgb), 0.08), transparent 28rem),
    radial-gradient(circle at 50% 65%, rgba(var(--blue-glow-rgb), 0.1), transparent 36rem),
    linear-gradient(180deg, #050711 0%, #080a16 45%, #050711 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

a,
button,
[role="button"] {
  cursor: pointer;
  caret-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.brand,
.nav-links a,
.hero-pills li,
.hero-pills li *,
.button,
.button *,
.link-card,
.link-card * {
  caret-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.hero-pills li {
  cursor: default;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(var(--gold-rgb), 0.72);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(var(--purple-rgb), 0.2);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--accent-strong);
  color: var(--bg);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.14);
  background: rgba(5, 7, 17, 0.78);
  backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(var(--purple-rgb), 0.14),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1380px);
  min-height: 72px;
  margin-inline: auto;
  gap: 1rem;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(var(--gold-rgb), 0.18))
    drop-shadow(0 0 18px rgba(var(--purple-rgb), 0.16));
}

.nav-links {
  gap: clamp(0.75rem, 2vw, 1.6rem);
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  list-style: none;
}

.nav-links > li {
  display: contents;
}

.nav-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--accent-strong);
  text-shadow: 0 0 18px var(--glow);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 73px);
  overflow: hidden;
  border-bottom: 0;
  background-image: url("assets/hero-soulframe-wolves.webp");
  background-position: 62% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-appearance: none;
}

.hero-video::-webkit-media-controls {
  display: none !important;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.hero-video::-webkit-media-controls-panel {
  display: none !important;
}

.hero-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}

.hero-video::-webkit-media-controls-cast-button {
  display: none !important;
}

.hero-side-ornament {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(220px, 10vw, 340px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent calc(100% - 100px), rgba(5, 7, 17, 0.86) 100%),
    radial-gradient(circle at 75% 42%, rgba(var(--purple-rgb), 0.07), transparent 30rem),
    linear-gradient(90deg, rgba(5, 7, 17, 0.58) 0%, rgba(5, 7, 17, 0.4) 43%, rgba(5, 7, 17, 0.06) 76%, rgba(5, 7, 17, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 7, 17, 0.05) 0%, rgba(5, 7, 17, 0.13) 62%, rgba(5, 7, 17, 0.48) 100%);
  pointer-events: none;
}

@media (min-width: 2200px) {
  .hero-video-stage {
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--purple-rgb), 0.08), transparent 54rem),
      linear-gradient(90deg, #04050d 0%, #0a091b 32%, #080819 50%, #0a091b 68%, #04050d 100%);
  }

  .hero-side-ornament {
    display: block;
    opacity: 0.72;
  }

  .hero-side-ornament-left {
    right: calc(50% + 810px);
  }

  .hero-side-ornament-right {
    left: calc(50% + 810px);
    transform: scaleX(-1);
  }

  .hero-video-main {
    inset: auto;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, 1920px);
    max-width: 1920px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }

  .hero-video-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(4, 5, 13, 0.48) 0%,
        rgba(34, 24, 62, 0.22) calc(50% - 960px),
        transparent calc(50% - 770px),
        transparent calc(50% + 770px),
        rgba(34, 24, 62, 0.2) calc(50% + 960px),
        rgba(4, 5, 13, 0.46) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 8, 25, 0.22) 0%,
        transparent 24%,
        transparent 76%,
        rgba(7, 8, 25, 0.3) 100%
      );
    pointer-events: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, 1380px);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.hero-panel {
  width: min(1120px, calc(100vw - 120px));
  max-width: 1120px;
  padding: clamp(1.75rem, 2.1vw, 2.25rem);
  border: 1px solid rgba(190, 160, 255, 0.08);
  border-radius: 24px;
  background: rgba(8, 10, 28, 0.16);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.2);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: none;
  margin: 0;
  color: #fff8ec;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.72),
    0 0 30px rgba(var(--gold-rgb), 0.12),
    0 0 38px rgba(var(--purple-rgb), 0.2);
}

h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 0.28em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd563 0%, #f8d991 38%, #9b63ff 100%);
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.2), 0 0 24px rgba(var(--purple-rgb), 0.2);
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.65rem;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.25;
}

.subtitle {
  max-width: 880px;
  margin: 1.55rem 0 0;
  color: #f8f1e8;
  font-size: clamp(1.22rem, 1.85vw, 1.7rem);
  font-weight: 750;
  line-height: 1.24;
}

.hero-copy {
  max-width: 900px;
  margin: 0.9rem 0 0;
  color: rgba(232, 226, 242, 0.84);
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.55;
}

.subtitle span,
.hero-copy span {
  display: block;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.55rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  --pill-rgb: var(--gold-rgb);
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
  min-height: 62px;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(var(--pill-rgb), 0.34);
  border-radius: 13px;
  background:
    radial-gradient(circle at 0% 50%, rgba(var(--pill-rgb), 0.1), transparent 7rem),
    linear-gradient(135deg, rgba(11, 13, 31, 0.62), rgba(17, 15, 43, 0.38));
  color: #f4eee8;
  font-size: clamp(0.74rem, 0.78vw, 0.86rem);
  font-weight: 750;
  line-height: 1.18;
  box-shadow:
    0 12px 34px rgba(var(--pill-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-pills li span {
  min-width: 0;
  white-space: nowrap;
}

.hero-pills li:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--pill-rgb), 0.58);
  background:
    radial-gradient(circle at 0% 50%, rgba(var(--pill-rgb), 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(14, 16, 38, 0.72), rgba(20, 17, 48, 0.48));
  box-shadow: 0 16px 42px rgba(var(--pill-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-pills li.hero-pill-news {
  --pill-rgb: var(--purple-rgb);
}

.hero-pills li.hero-pill-chat {
  --pill-rgb: 102, 179, 255;
}

.hero-pills li.hero-pill-help {
  --pill-rgb: 75, 222, 203;
}

.hero-pills li.hero-pill-search {
  --pill-rgb: 255, 171, 79;
}

.hero-pill-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  flex-shrink: 0;
  fill: none;
  stroke: rgb(var(--pill-rgb));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(var(--pill-rgb), 0.32));
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 720px);
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 66px;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(var(--gold-rgb), 0.52);
  background:
    linear-gradient(135deg, rgba(18, 20, 42, 0.96), rgba(28, 21, 54, 0.92)),
    var(--panel);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(var(--purple-rgb), 0.18);
}

.button-primary:hover {
  border-color: rgba(var(--accent-strong), 0.78);
  box-shadow: 0 22px 58px rgba(var(--purple-rgb), 0.26), 0 0 24px rgba(var(--gold-rgb), 0.12);
}

.button-secondary {
  border-color: rgba(var(--gold-rgb), 0.22);
  background: rgba(16, 18, 34, 0.72);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(var(--purple-rgb), 0.55);
  background: rgba(18, 20, 42, 0.86);
}

.button-discord {
  border-color: rgba(170, 118, 255, 0.72);
  background:
    radial-gradient(circle at 25% 0%, rgba(164, 112, 255, 0.3), transparent 13rem),
    linear-gradient(135deg, rgba(92, 55, 201, 0.96), rgba(57, 34, 128, 0.94));
  color: #fffaf0;
  box-shadow:
    0 16px 42px rgba(var(--discord-rgb), 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-discord:hover {
  border-color: rgba(var(--discord-rgb), 0.72);
  box-shadow:
    0 22px 58px rgba(var(--discord-rgb), 0.4),
    0 0 30px rgba(var(--purple-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-telegram {
  border-color: rgba(var(--telegram-rgb), 0.68);
  background:
    radial-gradient(circle at 25% 0%, rgba(93, 197, 255, 0.22), transparent 13rem),
    linear-gradient(135deg, rgba(30, 118, 181, 0.94), rgba(19, 67, 130, 0.94));
  box-shadow:
    0 16px 42px rgba(var(--telegram-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button-telegram:hover {
  border-color: rgba(var(--telegram-rgb), 0.56);
  background:
    radial-gradient(circle at 25% 0%, rgba(116, 208, 255, 0.28), transparent 13rem),
    linear-gradient(135deg, rgba(34, 137, 201, 0.98), rgba(22, 77, 145, 0.98));
  box-shadow:
    0 22px 58px rgba(var(--telegram-rgb), 0.3),
    0 0 28px rgba(var(--telegram-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.2));
}

.hero-action-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: rgba(228, 222, 237, 0.76);
  font-size: 0.86rem;
  line-height: 1.35;
}

.action-note-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.action-note-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: #b9b1df;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-note-item:last-child svg {
  stroke: #64c9f7;
}

.action-note-divider {
  width: 1px;
  height: 18px;
  background: rgba(237, 231, 247, 0.3);
}

.hero-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  width: min(100%, 780px);
  margin: 1.35rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(206, 195, 232, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(8, 10, 26, 0.46), rgba(12, 10, 34, 0.28));
  color: rgba(231, 225, 238, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), inset 0 0 24px rgba(var(--purple-rgb), 0.035);
}

.hero-note p {
  margin: 0;
}

.hero-note p span {
  display: block;
}

.hero-note-icon {
  width: 22px;
  height: 22px;
  margin-top: 0.08rem;
  fill: none;
  stroke: #b9b2cc;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-panel {
    background: rgba(8, 10, 28, 0.16);
  }
}

.section {
  padding-block: clamp(3.1rem, 6vw, 5.6rem);
}

#community,
#links,
#main {
  scroll-margin-top: 5.5rem;
}

#community {
  background:
    radial-gradient(circle at 82% 20%, rgba(var(--purple-rgb), 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--bg-soft);
  border-block: 1px solid rgba(var(--gold-rgb), 0.12);
}

.section-muted {
  background-image:
    linear-gradient(180deg, rgba(5, 7, 17, 0.31) 0%, rgba(5, 7, 17, 0.57) 54%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 7, 17, 0.47), rgba(5, 7, 17, 0.15) 58%, rgba(5, 7, 17, 0.33)),
    url("assets/community-ruins.webp");
  background-position: center, center, 50% 45%;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.section-intro.compact {
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--purple-rgb), 0.1), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(12, 13, 28, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.feature-card {
  min-height: 178px;
  padding: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.audience-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  border: 1px solid rgba(var(--gold-rgb), 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.046), rgba(var(--purple-rgb), 0.055)),
    rgba(12, 13, 28, 0.64);
  color: var(--muted-strong);
}

.audience-list li::before {
  content: "";
  position: absolute;
  top: 1.34rem;
  left: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.28), 0 0 24px var(--glow);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links-grid > li {
  display: contents;
}

.link-card {
  --platform-rgb: 225, 59, 79;
  min-height: 156px;
  padding: 1.05rem;
  border-color: rgba(var(--platform-rgb), 0.2);
  color: var(--muted);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--platform-rgb), 0.11), transparent 13rem),
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.045), rgba(255, 255, 255, 0.018)),
    rgba(12, 13, 28, 0.76);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--platform-rgb), 0.48);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--platform-rgb), 0.17), transparent 14rem),
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.065), rgba(255, 255, 255, 0.026)),
    rgba(14, 16, 34, 0.84);
  box-shadow: 0 24px 72px rgba(var(--platform-rgb), 0.12), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card span {
  display: block;
  margin-bottom: 1.45rem;
  color: rgb(var(--platform-rgb));
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.link-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.24;
}

.link-card-main {
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--platform-rgb), 0.18), transparent 13rem),
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.12), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
}

.link-card-discord {
  --platform-rgb: var(--discord-rgb);
  border-color: rgba(var(--discord-rgb), 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--discord-rgb), 0.2), transparent 13rem),
    linear-gradient(135deg, rgba(var(--purple-rgb), 0.14), rgba(255, 255, 255, 0.025)),
    rgba(11, 13, 31, 0.82);
}

.link-card-discord:hover {
  border-color: rgba(var(--discord-rgb), 0.66);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--discord-rgb), 0.28), transparent 14rem),
    linear-gradient(135deg, rgba(var(--purple-rgb), 0.2), rgba(255, 255, 255, 0.032)),
    rgba(12, 14, 34, 0.9);
  box-shadow: 0 24px 72px rgba(var(--discord-rgb), 0.2), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-telegram {
  --platform-rgb: var(--telegram-rgb);
  border-color: rgba(var(--telegram-rgb), 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--telegram-rgb), 0.17), transparent 13rem),
    linear-gradient(180deg, rgba(26, 118, 164, 0.13), rgba(255, 255, 255, 0.018)),
    rgba(7, 15, 28, 0.8);
}

.link-card-telegram:hover {
  border-color: rgba(var(--telegram-rgb), 0.62);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--telegram-rgb), 0.24), transparent 14rem),
    linear-gradient(180deg, rgba(31, 138, 190, 0.18), rgba(255, 255, 255, 0.026)),
    rgba(8, 18, 32, 0.88);
  box-shadow: 0 24px 72px rgba(var(--telegram-rgb), 0.18), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-reddit {
  --platform-rgb: var(--reddit-rgb);
  border-color: rgba(var(--reddit-rgb), 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--reddit-rgb), 0.26), transparent 13rem),
    linear-gradient(180deg, rgba(255, 103, 0, 0.14), rgba(255, 255, 255, 0.018)),
    rgba(23, 12, 4, 0.84);
}

.link-card-reddit:hover {
  border-color: rgba(var(--reddit-rgb), 0.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--reddit-rgb), 0.34), transparent 14rem),
    linear-gradient(180deg, rgba(255, 103, 0, 0.19), rgba(255, 255, 255, 0.026)),
    rgba(27, 13, 4, 0.9);
  box-shadow: 0 24px 72px rgba(var(--reddit-rgb), 0.3), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-reddit span {
  color: #ff6a00;
}

.link-card-steam {
  --platform-rgb: var(--steam-rgb);
  border-color: rgba(var(--steam-rgb), 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--steam-rgb), 0.2), transparent 13rem),
    linear-gradient(180deg, rgba(35, 74, 104, 0.22), rgba(255, 255, 255, 0.018)),
    rgba(6, 15, 25, 0.84);
}

.link-card-steam:hover {
  border-color: rgba(var(--steam-rgb), 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--steam-rgb), 0.28), transparent 14rem),
    linear-gradient(180deg, rgba(49, 97, 128, 0.28), rgba(255, 255, 255, 0.026)),
    rgba(7, 19, 33, 0.9);
  box-shadow: 0 24px 72px rgba(var(--steam-rgb), 0.22), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-steam span {
  color: #66c0f4;
}

.link-card-vk {
  --platform-rgb: var(--vk-rgb);
  border-color: rgba(var(--vk-rgb), 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--vk-rgb), 0.18), transparent 13rem),
    linear-gradient(180deg, rgba(0, 92, 196, 0.17), rgba(255, 255, 255, 0.018)),
    rgba(6, 14, 29, 0.84);
}

.link-card-vk:hover {
  border-color: rgba(var(--vk-rgb), 0.66);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--vk-rgb), 0.26), transparent 14rem),
    linear-gradient(180deg, rgba(0, 104, 221, 0.22), rgba(255, 255, 255, 0.026)),
    rgba(7, 17, 34, 0.9);
  box-shadow: 0 24px 72px rgba(var(--vk-rgb), 0.2), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-vk span {
  color: #3d9bff;
}

.link-card-avakot {
  --platform-rgb: var(--avakot-rgb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.7rem;
  border-color: rgba(var(--avakot-rgb), 0.27);
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--avakot-rgb), 0.1), transparent 12rem),
    linear-gradient(145deg, rgba(74, 91, 28, 0.16), rgba(255, 255, 255, 0.018)),
    rgba(10, 17, 16, 0.86);
}

.link-card-avakot:hover {
  border-color: rgba(var(--avakot-rgb), 0.55);
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--avakot-rgb), 0.15), transparent 13rem),
    linear-gradient(145deg, rgba(86, 105, 31, 0.21), rgba(255, 255, 255, 0.025)),
    rgba(11, 20, 17, 0.92);
  box-shadow: 0 24px 72px rgba(var(--avakot-rgb), 0.16), 0 24px 72px rgba(0, 0, 0, 0.3);
}

.link-card-avakot img {
  display: block;
  width: 78%;
  height: 128px;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid rgba(var(--gold-rgb), 0.12);
  background: #040610;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  color: rgba(255, 244, 228, 0.68);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .hero-content {
    width: calc(100% - 2rem);
    max-width: 1100px;
  }

  .hero-panel {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .section-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .hero {
    background-position: 70% center;
  }

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

  .hero-pills li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768.98px) {
  .hero {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    background:
      radial-gradient(circle at 76% 12%, rgba(var(--purple-rgb), 0.09), transparent 24rem),
      linear-gradient(180deg, #080a19 0%, var(--bg) 100%);
  }

  .hero-video-stage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
  }

  .hero-video-main {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-overlay {
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(5, 7, 17, 0.04), rgba(5, 7, 17, 0.2));
  }

  .hero-content {
    width: calc(100% - 1.5rem);
    max-width: 1100px;
    padding-block: 2rem;
  }

  .hero-panel {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  h1 {
    font-size: clamp(2.7rem, 11vw, 4.2rem);
    line-height: 0.95;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .subtitle {
    margin-top: 1.25rem;
    font-size: 1.18rem;
  }

  .hero-pills {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-bottom: 0.35rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0.1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-pills::-webkit-scrollbar {
    display: none;
  }

  .hero-pills li {
    flex: 0 0 clamp(176px, 57vw, 198px);
    min-height: 68px;
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
    scroll-snap-align: start;
  }

  .hero-pills li span {
    white-space: normal;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 1.1rem;
  }

  .button {
    width: 100%;
  }

  .hero-action-note {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0.8rem;
  }

  .action-note-divider {
    display: none;
  }

  .hero-note {
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .nav {
    width: min(100% - 2rem, 1380px);
    min-height: 64px;
    gap: 0.7rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    margin-left: auto;
    gap: 0.7rem;
    font-size: 0.82rem;
  }

  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

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

  .feature-card,
  .link-card {
    min-height: auto;
  }

  .link-card-avakot img {
    height: 76px;
  }

}

@media (max-width: 460px) {
  .brand span {
    display: none;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .subtitle {
    font-size: 1.05rem;
  }

  .hero-copy {
    font-size: 0.92rem;
  }

  .hero-pills li:last-child {
    grid-column: auto;
  }

  .button {
    min-height: 60px;
    padding-inline: 0.9rem;
    font-size: 1rem;
  }

  .hero-note {
    padding: 0.8rem;
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
