:root {
  --bg: #0a0a0d;
  --bg-elevated: #101018;
  --card: #14141f;
  --card-hover: #1a1a28;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f8fafc;
  --muted: #94a3b8;
  --purple: #7b2cff;
  --purple-bright: #9146ff;
  --purple-dim: #5b21b6;
  --blue: #6366f1;
  --green: #22c55e;
  --radius: 16px;
  --font: 'Outfit', system-ui, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main,
.site-footer,
.account-main {
  position: relative;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 10% -6%, rgba(123, 44, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 34% at 94% 0%, rgba(145, 70, 255, 0.08), transparent 55%);
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

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

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

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

.container-narrow {
  max-width: 720px;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.ico-sm {
  width: 1em;
  height: 1em;
  color: var(--purple-bright);
}

.ico-windows {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.text-gradient {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    #e9d5ff 0%,
    #c084fc 18%,
    var(--purple-bright) 36%,
    var(--blue) 52%,
    var(--purple) 68%,
    #c084fc 84%,
    #e9d5ff 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shimmer 4.5s ease-in-out infinite;
  will-change: background-position;
}

@keyframes gradient-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 13, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(123, 44, 255, 0.35);
}

.nav {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 1.2vw, 1.25rem);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.2rem 0;
  transition: color 0.15s;
}

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

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s, transform 0.2s;
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
  min-width: 0;
  justify-self: end;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin-left: 0.75rem;
  border: 0;
  background: none;
  flex-shrink: 0;
  z-index: 5;
}

.lang-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.lang-btn.is-active {
  display: inline-flex;
}

.lang-switch.is-open .lang-btn {
  display: inline-flex;
}

.lang-switch.is-open .lang-btn:not(.is-active) {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  width: 1.35rem;
  height: 0.9rem;
  padding: 0.2rem;
  box-sizing: content-box;
  background: rgba(16, 16, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0.92;
}

.lang-switch.is-open .lang-btn:not(.is-active):hover {
  opacity: 1;
}

.lang-flag-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.user-menu {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

.user-menu [hidden],
.user-chip[hidden],
.user-dropdown[hidden] {
  display: none !important;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 180px;
  min-height: 40px;
  padding: 0.28rem 0.7rem 0.28rem 0.28rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.user-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
}

.user-chip-avatar--guest {
  display: grid;
  place-items: center;
  color: #bf94ff;
  background: rgba(145, 70, 255, 0.18);
}

.user-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 0.15rem;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 180px;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 24, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 120;
}

.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: rgba(145, 70, 255, 0.14);
}

.user-menu.is-open .user-chip[data-dh-user-authed] {
  background: rgba(255, 255, 255, 0.06);
}

.header-inner .btn-header {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  padding: 0.32rem 0.8rem;
  gap: 0.35rem;
  font-size: 0.86rem;
  box-sizing: border-box;
}

.header-inner .btn-header .ico-windows {
  width: 1.05rem;
  height: 1.05rem;
}

.header-inner .btn-header.btn-primary {
  box-shadow:
    0 6px 22px rgba(123, 44, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header-inner .btn-header.btn-primary:hover {
  box-shadow:
    0 10px 28px rgba(123, 44, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #a970ff 0%, var(--purple-bright) 40%, var(--purple) 100%);
  color: #fff;
  box-shadow:
    0 10px 36px rgba(123, 44, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow:
    0 16px 48px rgba(123, 44, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  border-color: rgba(123, 44, 255, 0.4);
  background: rgba(123, 44, 255, 0.08);
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn-header {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  box-shadow:
    0 6px 20px rgba(123, 44, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-header:hover {
  box-shadow:
    0 10px 28px rgba(123, 44, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
  padding: 4.25rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 35%, rgba(145, 70, 255, 0.2), transparent 62%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(123, 44, 255, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero-grid {
  display: grid;
  gap: 3.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    display: none;
  }
}

.hero-copy {
  max-width: 36rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8b4fe;
  background: rgba(123, 44, 255, 0.14);
  border: 1px solid rgba(145, 70, 255, 0.35);
  margin-bottom: 1.45rem;
  box-shadow: 0 0 28px rgba(123, 44, 255, 0.12);
}

.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.06;
  margin: 0 0 1.15rem;
  letter-spacing: -0.035em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 0 1.9rem;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-row .check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Hero visual (эскиз) */
.hero-visual {
  position: relative;
}

.hero-stage {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  aspect-ratio: 1;
  --px: 0;
  --py: 0;
}

.hero-aura {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 42%, rgba(168, 85, 247, 0.38), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(88, 28, 135, 0.28), transparent 50%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  animation: hero-aura-pulse 8s ease-in-out infinite;
}

.hero-el {
  position: absolute;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  translate: calc(var(--px) * var(--dx, 12px)) calc(var(--py) * var(--dy, 10px));
  transition: translate 0.2s ease-out, filter 0.35s ease;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.55));
}

.hero-el-twitch {
  left: 22%;
  top: 8%;
  width: 56%;
  --dx: 8px;
  --dy: 6px;
  z-index: 1;
  filter: blur(1.4px) drop-shadow(0 0 32px rgba(168, 85, 247, 0.55));
  animation: hero-lev-a 7s ease-in-out infinite;
}

.hero-stage.is-hot .hero-el-twitch {
  filter: blur(2.2px) drop-shadow(0 0 40px rgba(168, 85, 247, 0.75));
}

.hero-el-crate {
  left: -2%;
  top: 46%;
  width: 50%;
  --dx: 26px;
  --dy: 18px;
  z-index: 4;
  animation: hero-lev-b 5.6s ease-in-out infinite;
}

.hero-el-gift {
  left: 4%;
  top: 6%;
  width: 30%;
  --dx: 34px;
  --dy: 22px;
  z-index: 5;
  animation: hero-lev-spin 6.2s ease-in-out infinite;
}

.hero-el-rifle {
  right: -6%;
  top: 40%;
  width: 74%;
  --dx: 30px;
  --dy: 12px;
  z-index: 3;
  rotate: -16deg;
  animation: hero-lev-c 4.8s ease-in-out infinite;
}

.hero-el-crown {
  right: 2%;
  top: 10%;
  width: 24%;
  --dx: 36px;
  --dy: 16px;
  z-index: 6;
  animation: hero-lev-a 4.4s ease-in-out infinite 0.2s;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.hero-sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: rgba(248, 244, 255, 0.95);
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
  filter:
    drop-shadow(0 0 3px rgba(233, 213, 255, 0.85))
    drop-shadow(0 0 10px rgba(145, 70, 255, 0.45));
  animation: hero-twinkle var(--dur, 3.2s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}

@keyframes hero-twinkle {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: scale(0.35);
  }
  38% {
    opacity: 0.85;
    transform: scale(1);
  }
  55% {
    opacity: 0.55;
    transform: scale(0.78);
  }
  72% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes hero-aura-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes hero-lev-a {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

@keyframes hero-lev-b {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-18px) rotate(-1.2deg); }
}

@keyframes hero-lev-c {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px) translateX(5px); }
}

@keyframes hero-lev-spin {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-16px) rotate(10deg); }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.hero-games {
  margin-top: 1.5rem;
  text-align: center;
}

.hero-games-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.95rem;
  font-weight: 600;
}

.hero-games-carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.hero-games-viewport {
  overflow: hidden;
  margin: 0 2.1rem;
  border-radius: 12px;
}

.hero-games-track {
  display: flex;
  gap: 0.65rem;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-games-track .game-banner {
  flex: 0 0 calc((100% - 1.95rem) / 4);
  min-width: 0;
}

.game-banner {
  position: relative;
  display: block;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(145, 70, 255, 0.28);
  background: #0a0a10;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.game-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.game-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 70, 255, 0.55);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(123, 44, 255, 0.2);
}

.game-banner:hover img {
  transform: scale(1.05);
}

.hero-games-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 70, 255, 0.28);
  background: rgba(20, 16, 36, 0.92);
  color: #e9e4ff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.hero-games-nav:hover {
  background: rgba(145, 70, 255, 0.22);
  border-color: rgba(145, 70, 255, 0.55);
}

.hero-games-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.hero-games-nav-prev {
  left: 0;
}

.hero-games-nav-next {
  right: 0;
}

@media (max-width: 720px) {
  .hero-games-carousel {
    max-width: 100%;
  }

  .hero-games-track .game-banner {
    flex: 0 0 calc((100% - 0.65rem) / 2);
  }
}

@media (max-width: 420px) {
  .hero-games-track .game-banner {
    flex: 0 0 100%;
  }

  .hero-games-viewport {
    margin: 0 1.85rem;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage,
  .hero-el,
  .hero-aura,
  .hero-sparkle,
  .reveal,
  .text-gradient {
    animation: none !important;
    transition: none !important;
  }

  .text-gradient {
    background-position: 30% 50%;
    will-change: auto;
  }

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-label {
  display: block;
  text-align: center;
  width: fit-content;
  margin: 0 auto 0.9rem;
  padding: 0.38rem 1.05rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b4fe;
  background: rgba(123, 44, 255, 0.12);
  border: 1px solid rgba(145, 70, 255, 0.3);
  box-shadow: 0 0 24px rgba(123, 44, 255, 0.08);
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 auto 2.85rem;
  max-width: 20em;
  letter-spacing: -0.03em;
}

.section-title--plain {
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(28, 22, 48, 0.55) 0%, rgba(20, 20, 31, 0.92) 100%);
  border: 1px solid rgba(145, 70, 255, 0.16);
  border-radius: 18px;
  padding: 1.85rem 1.6rem;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 213, 255, 0.45), transparent);
  opacity: 0.7;
}

.feature-card:hover {
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: 0 20px 50px rgba(123, 44, 255, 0.16);
  transform: translateY(-3px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(145, 70, 255, 0.45);
  background: radial-gradient(circle at 35% 30%, rgba(169, 112, 255, 0.28), rgba(123, 44, 255, 0.1));
  color: #e9d5ff;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 28px rgba(123, 44, 255, 0.18);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 34rem;
}

/* Preview */
.section-preview {
  padding-top: 2rem;
}

.preview-wrap {
  position: relative;
  margin-bottom: 3.5rem;
}

.preview-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(145, 70, 255, 0.28);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(123, 44, 255, 0.18);
}

.preview-shot-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.preview-glow {
  position: absolute;
  z-index: 0;
  inset: -8% -4%;
  background: radial-gradient(ellipse, rgba(123, 44, 255, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.app-window {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(123, 44, 255, 0.2);
  background: linear-gradient(180deg, #161622 0%, #0c0c12 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(123, 44, 255, 0.15);
  overflow: hidden;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.app-titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.app-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.app-mock {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  min-height: 340px;
}

.mock-main {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.mock-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-tabs span {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
}

.mock-tabs .active {
  background: rgba(123, 44, 255, 0.2);
  color: #e9d5ff;
}

.mock-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.mock-game {
  background: #0f0f18;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.65rem;
  font-size: 0.72rem;
}

.mock-game strong {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.mock-game small {
  color: var(--muted);
  font-size: 0.65rem;
}

.mock-game .thumb {
  height: 64px;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.thumb-a {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
}
.thumb-b {
  background: linear-gradient(135deg, #422006, #713f12);
}
.thumb-c {
  background: linear-gradient(135deg, #4c1d95, #1e1b4b);
}
.thumb-d {
  background: linear-gradient(135deg, #134e4a, #115e59);
}

.mock-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(123, 44, 255, 0.25);
  color: #d8b4fe;
}

.mock-sidebar {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.mock-sidebar h4 {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.mock-drop {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}

.mock-drop-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.mock-drop small {
  color: var(--muted);
  font-size: 0.65rem;
}

.mock-drop .bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mock-drop .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-bright));
  border-radius: 3px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2px dashed rgba(123, 44, 255, 0.35);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  border: 1px solid rgba(233, 213, 255, 0.2);
  background: linear-gradient(145deg, #a970ff, var(--purple), var(--purple-dim));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    0 12px 32px rgba(123, 44, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover .step-icon {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 36px rgba(123, 44, 255, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 14rem;
  margin-inline: auto;
}

/* Reviews carousel */
.reviews-carousel {
  position: relative;
  margin-top: 0.35rem;
}

.reviews-viewport {
  overflow: hidden;
  margin: 0 2.75rem;
  border-radius: 18px;
}

.reviews-track {
  display: flex;
  gap: 1.15rem;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-track .review-card {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  min-width: 0;
}

.review-card {
  position: relative;
  margin: 0;
  padding: 1.7rem 1.55rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 22, 48, 0.45) 0%, var(--card) 100%);
  border: 1px solid rgba(145, 70, 255, 0.16);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 10.5rem;
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 0.55rem;
  left: 1rem;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(145, 70, 255, 0.35);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}

.review-card:hover {
  border-color: rgba(145, 70, 255, 0.4);
  box-shadow: 0 16px 40px rgba(123, 44, 255, 0.12);
}

.review-card p {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #e8e4f5;
}

.review-card footer {
  font-size: 0.8rem;
  color: #a78bfa;
  font-weight: 500;
}

.reviews-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(145, 70, 255, 0.28);
  background: rgba(20, 16, 36, 0.92);
  color: #e9e4ff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.reviews-nav:hover {
  background: rgba(145, 70, 255, 0.22);
  border-color: rgba(145, 70, 255, 0.55);
}

.reviews-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.reviews-nav-prev {
  left: 0;
}

.reviews-nav-next {
  right: 0;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.reviews-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(167, 139, 250, 0.28);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.reviews-dot.is-active {
  width: 1.35rem;
  background: #9146ff;
}

/* FAQ */
.faq-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(145, 70, 255, 0.14);
  border-radius: 14px;
  background: rgba(20, 20, 31, 0.65);
  transition: border-color 0.2s, background 0.2s;
}

.faq-item:hover {
  border-color: rgba(145, 70, 255, 0.32);
  background: rgba(28, 22, 48, 0.45);
}

.faq-item dt {
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.faq-item code {
  font-size: 0.85em;
  color: #e9d5ff;
}

/* Footer CTA */
.footer-cta {
  position: relative;
  text-align: center;
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-watermarks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  pointer-events: none;
  opacity: 0.04;
}

.footer-watermarks svg {
  width: min(40vw, 280px);
  height: auto;
  color: #fff;
}

.footer-cta h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
  position: relative;
}

.footer-lead {
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 28rem;
  position: relative;
}

.footer-meta {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  position: relative;
}

.section-download {
  padding-bottom: 2.5rem;
}

.download-panel {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
  padding: 1.85rem;
  border-radius: 18px;
  border: 1px solid rgba(145, 70, 255, 0.18);
  background: linear-gradient(145deg, rgba(28, 22, 48, 0.55), rgba(16, 16, 24, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.download-card:hover {
  border-color: rgba(145, 70, 255, 0.4);
  box-shadow: 0 28px 64px rgba(123, 44, 255, 0.14);
  transform: translateY(-2px);
}

.download-lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 42rem;
}

.download-lead-top {
  margin-top: 1rem;
  max-width: 48rem;
}

.download-platforms {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.download-card--simple {
  gap: 0;
  padding: 1.5rem 1.45rem 1.35rem;
  align-items: stretch;
}

.download-card--simple .download-os-title {
  margin: 0 0 0.65rem;
}

.download-compat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.download-compat .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.download-os-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.download-card .download-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.download-footer-note {
  margin-top: 1.25rem;
}

.btn-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.badge-soon {
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 44, 255, 0.4);
  background: rgba(123, 44, 255, 0.12);
  color: var(--purple-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.download-facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text);
}

.download-facts .check {
  color: var(--green);
  font-weight: 700;
  margin-right: 0.35rem;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
  font-size: 0.88rem;
}

.download-meta div {
  margin: 0;
}

.download-meta dt {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-weight: 500;
}

.download-meta dd {
  margin: 0;
  color: var(--text);
}

.download-meta-wide {
  grid-column: 1 / -1;
}

.download-url {
  word-break: break-all;
  font-size: 0.8rem;
  color: #c4b5fd;
}

.download-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(123, 44, 255, 0.25);
  background: rgba(123, 44, 255, 0.06);
}

.download-cta {
  width: 100%;
  max-width: 100%;
}

.download-aside-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.download-aside-note a {
  color: #c084fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cta--compact {
  padding: 3rem 0 3.5rem;
}

.footer-cta--compact h2 {
  font-size: 1.65rem;
}

@media (min-width: 900px) {
  .download-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .download-platforms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .download-meta {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-seo {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.footer-seo a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-seo a:hover {
  color: var(--text);
}

.footer-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.footer-tools .lang-switch {
  margin-left: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* —— Pricing —— */
.section-pricing {
  padding-top: 3.25rem;
}

.section-sub {
  margin: 0.4rem auto 1.6rem;
  max-width: 38rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.pricing-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr) 248px;
  gap: 1.1rem;
  align-items: stretch;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(145, 70, 255, 0.2);
  background:
    linear-gradient(165deg, rgba(26, 20, 42, 0.96), rgba(12, 12, 18, 0.98)),
    var(--card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.pricing-includes,
.pricing-order,
.pricing-pay,
.pricing-plans-wrap {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-includes,
.pricing-order {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem;
}

.pricing-includes h3,
.pricing-order h3,
.pricing-pay h4 {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(248, 250, 252, 0.92);
}

.pricing-includes .check {
  color: #c4b5fd;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.35;
}

.pricing-trial-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pricing-trial-link:hover {
  color: #e9d5ff;
}

.pricing-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.pricing-plans-wrap {
  padding: 0.95rem;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: visible;
  align-items: stretch;
}

.pricing-plan {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  height: 100%;
  min-height: 10.6rem;
  padding: 1.2rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(145, 70, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(28, 22, 48, 0.55) 0%, rgba(12, 12, 20, 0.94) 100%);
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  isolation: isolate;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.pricing-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 213, 255, 0.45), transparent);
  opacity: 0.75;
}

.pricing-plan:hover {
  border-color: rgba(145, 70, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(123, 44, 255, 0.16);
}

.pricing-plan.is-active {
  border-color: rgba(214, 188, 255, 0.85);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(233, 213, 255, 0.18),
    0 16px 40px rgba(145, 70, 255, 0.28);
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.28), rgba(12, 12, 20, 0.94));
  animation: pricingActiveGlow 4.8s ease-in-out infinite;
}

.pricing-plan.is-active .pricing-plan-per strong {
  animation: pricingPriceTwinkle 3.6s ease-in-out infinite;
}

.pricing-live {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.pricing-plan > *:not(.pricing-live):not(.pricing-burst):not(.pricing-badge) {
  position: relative;
  z-index: 1;
}

.pricing-live-glow {
  position: absolute;
  inset: -35%;
  opacity: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(233, 213, 255, 0.28), transparent 42%),
    radial-gradient(circle at 78% 72%, rgba(253, 230, 138, 0.14), transparent 40%);
}

.pricing-plan.is-active .pricing-live-glow {
  opacity: 1;
  animation: pricingIdleDrift 7s ease-in-out infinite;
}

.pricing-burst {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.pricing-burst i {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: 0;
  border-radius: 50%;
  background: var(--c, #e9d5ff);
  box-shadow: 0 0 8px var(--c, #e9d5ff);
  animation: pricingBurst var(--d, 0.7s) cubic-bezier(0.12, 0.7, 0.28, 1) forwards;
}

.pricing-burst i.is-star {
  width: 8px;
  height: 8px;
  border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  box-shadow: 0 0 10px var(--c, #fde68a);
}

.pricing-burst i.is-streak {
  width: 2px;
  height: 11px;
  border-radius: 99px;
  animation-name: pricingBurstStreak;
}

.pricing-burst-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(233, 213, 255, 0.75);
  border-radius: 50%;
  left: var(--x);
  top: var(--y);
  animation: pricingRing 0.58s ease-out forwards;
}

@keyframes pricingActiveGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(233, 213, 255, 0.16),
      0 16px 40px rgba(145, 70, 255, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(253, 230, 138, 0.22),
      0 18px 46px rgba(145, 70, 255, 0.4);
  }
}

@keyframes pricingPriceTwinkle {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(233, 213, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(233, 213, 255, 0.55));
  }
}

@keyframes pricingIdleDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(5%, -4%) scale(1.08);
    opacity: 0.95;
  }
}

@keyframes pricingBurst {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.15);
    opacity: 0;
  }
}

@keyframes pricingBurstStreak {
  0% {
    transform: translate(-50%, -50%) rotate(var(--rot)) scaleY(0.35);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scaleY(1.15);
    opacity: 0;
  }
}

@keyframes pricingRing {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(7.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-plan.is-active,
  .pricing-plan.is-active .pricing-plan-per strong,
  .pricing-plan.is-active .pricing-live-glow {
    animation: none;
  }

  .pricing-burst,
  .pricing-burst-ring {
    display: none;
  }
}

.pricing-plan.has-badge {
  padding-top: 1.35rem;
}

.pricing-badge {
  position: absolute;
  top: -0.48rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  color: #1a1028;
  background: linear-gradient(90deg, #f3e8ff, #c4b5fd);
  box-shadow: 0 6px 16px rgba(145, 70, 255, 0.28);
}

.pricing-plan-title {
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
  color: rgba(248, 250, 252, 0.92);
}

.pricing-plan-per {
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
  margin-top: 0.15rem;
  color: #e9d5ff;
}

.pricing-plan-per strong {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-plan-per small {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-plan-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.pricing-plan-total .pricing-list {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.8rem;
  font-weight: 500;
}

.pricing-plan-total.has-discount .pricing-final {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #86efac;
  text-shadow: 0 0 18px rgba(134, 239, 172, 0.35);
}

.pricing-plan-total strong:not(.pricing-final) {
  font-weight: 750;
  color: rgba(248, 250, 252, 0.95);
}

.pricing-pay {
  padding: 1rem 1.05rem 1.05rem;
}

.pricing-pay-list {
  display: grid;
  gap: 0.35rem;
}

.pricing-pay-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pricing-pay-row:hover {
  border-color: rgba(145, 70, 255, 0.22);
  background: rgba(145, 70, 255, 0.04);
}

.pricing-pay-row.is-active {
  border-color: rgba(145, 70, 255, 0.42);
  background: rgba(145, 70, 255, 0.07);
}

.pricing-pay-row[hidden] {
  display: none !important;
}

.pricing-pay-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pricing-pay-dot {
  flex-shrink: 0;
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
}

.pricing-pay-row.is-active .pricing-pay-dot {
  border-color: #c4b5fd;
  box-shadow: inset 0 0 0 3px #9146ff;
}

.pricing-pay-ico {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
}

.pricing-pay-ico svg,
.pricing-pay-ico-img {
  width: 1.15rem;
  height: 1.15rem;
}

.pricing-pay-ico-img {
  display: block;
  object-fit: contain;
}

.pricing-pay-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(248, 250, 252, 0.94);
}

.pricing-promo {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-promo label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing-promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: stretch;
}

.pricing-promo-row .field {
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

.pricing-promo-row .btn {
  white-space: nowrap;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
}

.pricing-promo-note {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--muted);
}

.pricing-promo-msg {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.pricing-promo-msg.is-ok {
  color: #86efac;
}

.pricing-promo-msg.is-err {
  color: #fca5a5;
}

.pricing-order-top {
  flex: 1;
}

.pricing-order-rows {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.pricing-order-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.pricing-order-rows dt {
  margin: 0;
  color: var(--muted);
}

.pricing-order-rows dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pricing-order-rows .is-save {
  color: #86efac;
}

.pricing-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.pricing-order-total strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fde68a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-order-total strong.is-discounted {
  color: #86efac;
  text-shadow: 0 0 20px rgba(134, 239, 172, 0.35);
}

.pricing-order-rub {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  text-align: right;
}

.pricing-order-for {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e9d5ff;
  text-align: right;
}

.pricing-pay-error {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fca5a5;
}

.pricing-order-note {
  margin: 0.65rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.pricing-order-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.pricing-help {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pricing-help:hover {
  color: #c4b5fd;
}

@media (max-width: 1100px) {
  .pricing-shell {
    grid-template-columns: 200px minmax(0, 1fr) 220px;
  }

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

  .pricing-plan {
    min-height: 9.4rem;
  }
}

@media (max-width: 980px) {
  .pricing-shell {
    grid-template-columns: 1fr;
  }

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

  .pricing-plan {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .pricing-shell {
    padding: 0.7rem;
    gap: 0.7rem;
  }

  .pricing-promo-row {
    grid-template-columns: 1fr;
  }
}

.dh-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.dh-join-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.dh-join-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.dh-join-link {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(232, 228, 245, 0.72);
  text-decoration: none;
  opacity: 0.85;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

.dh-join-link:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.12);
}

.dh-join-ico {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  transition: filter 0.22s ease;
}

.dh-join-dc:hover {
  color: #8b9cff;
  filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.75)) drop-shadow(0 0 16px rgba(88, 101, 242, 0.35));
}

.dh-join-tg:hover {
  color: #5ec8f2;
  filter: drop-shadow(0 0 8px rgba(34, 158, 217, 0.75)) drop-shadow(0 0 16px rgba(34, 158, 217, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .dh-join-link,
  .dh-join-ico {
    transition: none;
  }

  .dh-join-link:hover {
    transform: none;
  }
}

.section-community {
  padding: 2rem 0 2.5rem;
}

.community-block {
  text-align: center;
}

.community-lead {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.social-list {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.social-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--card-hover);
}

.social-item:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 2px;
}

.social-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 8px;
}

.social-item--discord .social-item-icon {
  color: #5865f2;
  background: rgba(88, 101, 242, 0.12);
}

.social-item--telegram .social-item-icon {
  color: #229ed9;
  background: rgba(34, 158, 217, 0.12);
}

.social-item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.social-item-copy strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.social-item-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.social-item-url {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #a5b4fc;
  word-break: break-all;
  line-height: 1.35;
}

.social-item--telegram .social-item-url {
  color: #7dd3fc;
}

@media (max-width: 520px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .dh-join {
    flex-direction: column;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* SEO prose + light reveal polish */
.section-seo .section-label {
  margin-left: auto;
  margin-right: auto;
}

.seo-prose {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.seo-prose p {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  margin-inline: auto;
}

.seo-subtitle {
  margin: 1.35rem auto 0.65rem;
  max-width: 42rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.seo-prose a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.seo-prose a:hover {
  color: #e9d5ff;
}

.seo-list {
  margin: 0 auto 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
}

.seo-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.98rem;
}

.seo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--purple-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .reviews-track .review-card {
    flex: 0 0 calc((100% - 1.15rem) / 2);
  }

  .steps-line {
    display: none;
  }

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

@media (max-width: 720px) {
  .reviews-track .review-card {
    flex: 0 0 calc((100% - 1.15rem) / 2);
  }

  .reviews-viewport {
    margin: 0 2.4rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .app-mock {
    grid-template-columns: 1fr;
  }

  .mock-main {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn-header span:not(.ico) {
    display: none;
  }
}

@media (max-width: 520px) {
  .reviews-track .review-card {
    flex: 0 0 100%;
  }

  .reviews-viewport {
    margin: 0 2.2rem;
  }

  .reviews-nav {
    width: 2.2rem;
    height: 2.2rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-inner .btn-header {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
    gap: 0;
  }

  .header-inner .btn-header .ico {
    width: 1.3rem;
    height: 1.3rem;
  }

  .user-chip[data-dh-user-guest] {
    min-height: 44px;
    padding: 0.4rem 0.95rem 0.4rem 0.4rem;
    gap: 0.45rem;
    border-radius: 999px;
    background: rgba(145, 70, 255, 0.22);
    color: #fff;
  }

  .user-chip[data-dh-user-guest]:hover {
    background: rgba(145, 70, 255, 0.34);
  }

  .user-chip[data-dh-user-guest] .user-chip-avatar {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
  }
}

.dh-cookie {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 240;
  width: min(340px, calc(100vw - 32px));
  padding: 14px 14px 13px;
  border-radius: 16px;
  border: 1px solid rgba(145, 70, 255, 0.28);
  background:
    linear-gradient(165deg, rgba(26, 18, 42, 0.96) 0%, rgba(12, 12, 18, 0.94) 100%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  animation: dhCookieIn 0.42s ease;
}

.dh-cookie-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.dh-cookie-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dh-cookie-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  color: #d8b4fe;
  background:
    linear-gradient(160deg, rgba(145, 70, 255, 0.28) 0%, rgba(123, 44, 255, 0.1) 100%);
  border: 1px solid rgba(145, 70, 255, 0.22);
}

.dh-cookie-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.dh-cookie-copy {
  min-width: 0;
  flex: 1;
}

.dh-cookie-copy p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #c4bdd8;
}

.dh-cookie-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #a970ff 0%, var(--purple-bright) 45%, var(--purple) 100%);
  box-shadow: 0 8px 20px rgba(123, 44, 255, 0.35);
}

.dh-cookie-ok:hover {
  filter: brightness(1.06);
}

.dh-cookie-ok:active {
  transform: scale(0.98);
}

.dh-cookie.is-out {
  animation: dhCookieOut 0.26s ease forwards;
}

@keyframes dhCookieIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dhCookieOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh-cookie,
  .dh-cookie.is-out {
    animation: none;
  }
}

/* Кнопка «наверх» */
.to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 220;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(145, 70, 255, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #f3e8ff;
  cursor: pointer;
  background:
    linear-gradient(160deg, rgba(36, 24, 58, 0.92) 0%, rgba(16, 12, 28, 0.94) 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(123, 44, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.94);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: rgba(169, 112, 255, 0.7);
  color: #fff;
  background: linear-gradient(135deg, #a970ff 0%, var(--purple-bright) 48%, var(--purple) 100%);
  box-shadow:
    0 14px 36px rgba(123, 44, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.to-top:active {
  transform: scale(0.96);
}

.to-top svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
}
