:root {
  --bg: #07070b;
  --ink: #0d0f14;
  --panel: rgba(20, 21, 28, 0.86);
  --panel-solid: #171923;
  --text: #fff8ea;
  --muted: #c8bdac;
  --gold: #ffd15a;
  --gold-2: #ff9f2d;
  --red: #ff314d;
  --cyan: #31d5ff;
  --green: #42f48f;
  --violet: #8a69ff;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(125deg, rgba(255, 49, 77, 0.18), transparent 24rem),
    linear-gradient(235deg, rgba(49, 213, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #07070b 0%, #101018 46%, #08090e 100%);
  color: var(--text);
  font-family:
    "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 84px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 82%);
  content: "";
}

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

button {
  border: 0;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.site-header,
main,
.site-footer,
.toast {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(180deg, rgba(7, 7, 11, 0.9), rgba(7, 7, 11, 0.52) 72%, transparent),
    rgba(7, 7, 11, 0.5);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img {
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(255, 209, 90, 0.72);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(255, 209, 90, 0.08),
    0 0 34px rgba(255, 49, 77, 0.28);
}

.brand span {
  overflow: hidden;
  max-width: 18rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 1rem);
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.site-nav a {
  min-height: 2.3rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 248, 234, 0.82);
  font-size: 0.94rem;
  font-weight: 850;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 209, 90, 0.12);
  color: var(--gold);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  padding: clamp(7.5rem, 12vw, 10rem) clamp(1rem, 6vw, 5.5rem) 2.6rem;
  align-items: end;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 11, 0.96) 0%, rgba(7, 7, 11, 0.8) 39%, rgba(7, 7, 11, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 7, 11, 0.28) 0%, rgba(7, 7, 11, 0.44) 54%, rgba(7, 7, 11, 0.98) 100%),
    repeating-linear-gradient(135deg, rgba(255, 209, 90, 0.12) 0 1px, transparent 1px 34px);
  content: "";
}

.hero::after {
  position: absolute;
  right: -14vw;
  bottom: 8vh;
  z-index: -1;
  width: 62vw;
  height: 38vh;
  border-top: 1px solid rgba(49, 213, 255, 0.25);
  border-bottom: 1px solid rgba(255, 49, 77, 0.25);
  background:
    linear-gradient(90deg, transparent, rgba(49, 213, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, transparent 0 1.2rem, rgba(255, 255, 255, 0.06) 1.2rem 1.26rem);
  clip-path: polygon(10% 0, 100% 12%, 88% 100%, 0 84%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #07070b;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 45%;
  opacity: 0.7;
  filter: saturate(1.24) contrast(1.08);
  transform: scale(1.08);
}

.hero-shell {
  width: min(60rem, 100%);
  padding-bottom: clamp(1.4rem, 4vw, 3.5rem);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 209, 90, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 13vw, 11.5rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 32px rgba(255, 49, 77, 0.18),
    0 16px 80px rgba(0, 0, 0, 0.52);
  text-wrap: balance;
}

.hero-launcher h1 {
  max-width: 11ch;
  font-size: clamp(3.7rem, 9vw, 8.4rem);
}

.hero-launcher .hero-shell {
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.45rem, 5vw, 5.8rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.hero-copy {
  width: min(47rem, 100%);
  margin-bottom: 2rem;
  color: rgba(255, 248, 234, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-launcher .hero-copy {
  width: min(43rem, 100%);
}

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

.btn,
.site-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  max-width: 100%;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 950;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.btn span {
  overflow-wrap: anywhere;
}

.btn-gold {
  padding: 0.95rem 1.25rem;
  background:
    linear-gradient(135deg, #fff0a8, var(--gold) 48%, var(--gold-2)),
    var(--gold);
  color: #1a0d03;
  box-shadow:
    0 18px 48px rgba(255, 159, 45, 0.24),
    inset 0 -2px 0 rgba(96, 45, 0, 0.24);
}

.btn-ghost {
  padding: 0.95rem 1.18rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-red {
  width: fit-content;
  padding: 0.95rem 1.2rem;
  background:
    linear-gradient(135deg, var(--red), #ff7142),
    var(--red);
  color: white;
  box-shadow: 0 18px 48px rgba(255, 49, 77, 0.22);
}

.btn:hover,
.btn:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  transform: translateY(-2px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(49, 213, 255, 0.46);
  color: var(--cyan);
  box-shadow: 0 18px 42px rgba(49, 213, 255, 0.12);
}

.btn-red.is-disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 234, 0.52);
  box-shadow: none;
}

.btn-main {
  min-height: 3.65rem;
  padding-right: 1.45rem;
  padding-left: 1.45rem;
  font-size: 1.04rem;
}

.btn-main.is-disabled {
  border: 1px solid rgba(255, 113, 66, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 49, 77, 0.92), rgba(255, 113, 66, 0.8)),
    var(--red);
  color: white;
  box-shadow:
    0 20px 60px rgba(255, 49, 77, 0.26),
    inset 0 -2px 0 rgba(68, 0, 16, 0.32);
}

.btn-main.is-disabled:hover,
.btn-main.is-disabled:focus-visible {
  box-shadow:
    0 24px 70px rgba(255, 49, 77, 0.32),
    inset 0 -2px 0 rgba(68, 0, 16, 0.32);
}

.hero-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.7fr;
  width: min(68rem, 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, rgba(255, 49, 77, 0.14), transparent 32%, rgba(49, 213, 255, 0.12)),
    rgba(12, 13, 19, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-board div {
  min-width: 0;
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-board div:last-child {
  border-right: 0;
}

.hero-board span,
.strip-item span,
.card-number {
  display: block;
  margin-bottom: 0.36rem;
  color: rgba(255, 209, 90, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-board strong {
  display: block;
  overflow: hidden;
  font-size: clamp(0.95rem, 2vw, 1.16rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-board {
  grid-template-columns: 1.1fr 1fr 0.72fr;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(1rem, 6vw, 5.5rem);
  background: linear-gradient(90deg, rgba(255, 49, 77, 0.4), rgba(255, 209, 90, 0.38), rgba(49, 213, 255, 0.36));
}

.strip-item {
  min-height: 7rem;
  padding: 1.35rem;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    #0c0d13;
}

.strip-item strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 6vw, 5.5rem);
}

.section-head {
  width: min(60rem, 100%);
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.dna-section {
  background:
    linear-gradient(180deg, #0c0d13 0%, #121119 48%, #090a0f 100%),
    #0c0d13;
}

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

.dna-card {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.dna-card::after {
  position: absolute;
  right: -2rem;
  bottom: 1.2rem;
  width: 10rem;
  height: 3rem;
  border-top: 1px solid rgba(255, 209, 90, 0.24);
  border-bottom: 1px solid rgba(49, 213, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  transform: rotate(-18deg);
  content: "";
}

.dna-card h3,
.dna-card p,
.dna-card .card-number {
  position: relative;
  z-index: 1;
}

.dna-card p,
.launcher-copy p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.launcher-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1rem, 6vw, 5.5rem);
  background:
    linear-gradient(120deg, rgba(255, 49, 77, 0.24), transparent 31%),
    linear-gradient(240deg, rgba(49, 213, 255, 0.22), transparent 34%),
    #101017;
}

.launcher-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 3.2rem, rgba(255, 255, 255, 0.045) 3.2rem 3.25rem);
  opacity: 0.45;
  content: "";
}

.launcher-visual,
.launcher-copy {
  position: relative;
  z-index: 1;
}

.launcher-visual {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 90, 0.38);
  border-radius: 0.5rem;
  background: #11131a;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(5deg) rotateX(1deg);
}

.launcher-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 209, 90, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(49, 213, 255, 0.18), transparent 38%);
  content: "";
}

.launcher-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launcher-copy {
  min-width: 0;
}

.connect-section {
  background:
    linear-gradient(120deg, rgba(255, 209, 90, 0.14), transparent 31%),
    linear-gradient(250deg, rgba(49, 213, 255, 0.12), transparent 36%),
    #0b0c12;
}

.connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  width: min(72rem, 100%);
}

.connect-panel p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.ip-copy-card {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 209, 90, 0.38);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 209, 90, 0.18), rgba(49, 213, 255, 0.08)),
    rgba(20, 21, 28, 0.92);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.ip-copy-card:hover,
.ip-copy-card:focus-visible {
  border-color: rgba(255, 209, 90, 0.68);
  box-shadow:
    var(--shadow),
    0 0 42px rgba(255, 209, 90, 0.12);
  transform: translateY(-2px);
}

.ip-copy-card span,
.ip-copy-card small {
  color: rgba(255, 209, 90, 0.82);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ip-copy-card strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1;
}

.ip-copy-card small {
  color: rgba(255, 248, 234, 0.58);
}

.community-section {
  background:
    linear-gradient(180deg, #090a0f, #0f0f16 48%, #08090e),
    #090a0f;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.9rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 6rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    #15161f;
  font-weight: 950;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.social-link::after {
  position: absolute;
  right: -1rem;
  bottom: -1.2rem;
  width: 7rem;
  height: 4.6rem;
  opacity: 0.34;
  transform: rotate(-18deg);
  content: "";
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 209, 90, 0.44);
  transform: translateY(-2px);
}

.social-mark {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.vk .social-mark,
.vk::after {
  background: #2787f5;
}

.discord .social-mark,
.discord::after {
  background: #5865f2;
}

.telegram .social-mark,
.telegram::after {
  background: #28a8ea;
}

.forum .social-mark,
.forum::after {
  background: #f0a72f;
}

.youtube .social-mark,
.youtube::after {
  background: #ff0033;
}

.is-placeholder {
  cursor: not-allowed;
  opacity: 0.66;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1rem, 6vw, 5.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #07070b;
  color: rgba(255, 248, 234, 0.8);
  font-weight: 950;
}

.site-footer button {
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 209, 90, 0.44);
  background: rgba(255, 209, 90, 0.1);
  color: var(--gold);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 209, 90, 0.38);
  border-radius: 0.5rem;
  background: rgba(12, 13, 19, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 8.5rem;
  }

  .hero-launcher {
    padding-bottom: 1.4rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 7, 11, 0.52), rgba(7, 7, 11, 0.84) 45%, rgba(7, 7, 11, 0.98) 100%),
      repeating-linear-gradient(135deg, rgba(255, 209, 90, 0.1) 0 1px, transparent 1px 32px);
  }

  .hero-media img {
    object-position: 56% center;
    opacity: 0.62;
  }

  .hero-board,
  .quick-strip,
  .dna-grid,
  .social-grid,
  .launcher-section,
  .connect-panel {
    grid-template-columns: 1fr;
  }

  .hero-board div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-board div:last-child {
    border-bottom: 0;
  }

  .quick-strip {
    gap: 1px;
  }

  .dna-card {
    min-height: 13rem;
  }

  .launcher-visual {
    width: min(36rem, 100%);
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .brand img {
    width: 2.7rem;
    height: 2.7rem;
  }

  .brand span {
    max-width: 14rem;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    border-radius: 0.5rem;
  }

  .site-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .hero {
    padding-top: 8.4rem;
    padding-bottom: 1.8rem;
  }

  .hero::after {
    right: -38vw;
    bottom: 10vh;
    width: 110vw;
  }

  .hero-shell {
    padding-bottom: 1.2rem;
  }

  h1 {
    font-size: clamp(3.35rem, 16.8vw, 5rem);
  }

  .hero-launcher h1 {
    font-size: clamp(3rem, 14.2vw, 4.55rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .hero-copy {
    margin-bottom: 1.35rem;
  }

  .hero-actions,
  .btn,
  .btn-red {
    width: 100%;
  }

  .btn,
  .site-footer button {
    min-height: 3.1rem;
  }

  .hero-board strong {
    white-space: normal;
  }

  .strip-item {
    min-height: 5.4rem;
    padding: 1rem;
  }

  .section,
  .launcher-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .launcher-visual {
    aspect-ratio: 1;
  }

  .social-link {
    min-height: 5.2rem;
  }

  .site-footer {
    align-items: stretch;
  }
}
