:root {
  --landing-width: 1240px;
  --client-accent: #796ee8;
  --client-accent-hover: #887df4;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #000;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(calc(100% - 28px), var(--landing-width));
  transform: translateX(-50%);
  animation: island-enter .65s var(--sx-ease) both;
}

.top-island {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px 7px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-top-color: rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(2, 2, 4, .78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .38);
  backdrop-filter: blur(22px) saturate(120%);
}

.island-left,
.island-actions,
.brand,
.primary-nav {
  display: flex;
  align-items: center;
}

.island-left {
  gap: 27px;
}

.island-actions {
  gap: 7px;
}

.brand {
  gap: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.brand img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.primary-nav {
  gap: 2px;
}

.primary-nav a,
.login-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: #919198;
  font-size: 11px;
  font-weight: 500;
  transition: background var(--sx-fast), color var(--sx-fast);
}

.primary-nav a:hover,
.primary-nav a.is-active,
.login-link:hover {
  background: rgba(255, 255, 255, .055);
  color: #fff;
}

.login-link {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #d0d0d4;
}

.header-telegram {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  color: #9b9ba2;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--sx-fast), border-color var(--sx-fast), color var(--sx-fast);
}

.header-telegram:hover {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.header-telegram svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: currentColor;
}

.landing-main {
  width: min(calc(100% - 36px), var(--landing-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(600px, 1.28fr);
  align-items: center;
  gap: 34px;
  padding: 104px 0 28px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: copy-enter .72s .08s var(--sx-ease) both;
}

.hero-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 4px 11px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
  color: #9b9ba2;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  transition: border-color var(--sx-fast), background var(--sx-fast), color var(--sx-fast);
}

.hero-channel-badge:hover {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

.hero-channel-badge .badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(121, 110, 232, .14);
  color: #a39cf4;
  font: 600 10px/1 var(--sx-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-channel-badge .badge-text {
  color: #d0d0d4;
  font-size: 11px;
}

.hero-channel-badge .badge-arrow {
  color: #71717a;
  transition: transform var(--sx-fast), color var(--sx-fast);
}

.hero-channel-badge:hover .badge-arrow {
  color: #fff;
  transform: translateX(2px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #a7a7ae;
  font: 500 9px/1 var(--sx-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 27px;
  height: 2px;
  background: var(--client-accent);
  content: "";
}

.hero h1 {
  max-width: 570px;
  color: #fff;
  font-size: clamp(49px, 5.1vw, 72px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.07em;
}

.hero h1 span {
  color: #aaaab0;
}

.hero-copy > p {
  max-width: 500px;
  margin-top: 22px;
  color: #9b9ba2;
  font-size: 13px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 650;
  transition: background var(--sx-fast), border-color var(--sx-fast), color var(--sx-fast), transform var(--sx-fast);
}

.hero-primary {
  background: var(--client-accent);
  box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 10px 30px rgba(72, 61, 170, .16);
  color: #fff;
}

.hero-primary:hover {
  background: var(--client-accent-hover);
  transform: translateY(-1px);
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(4, 4, 7, .54);
  color: #b8b8bf;
  backdrop-filter: blur(12px);
}

.hero-secondary:hover {
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.hero-facts {
  display: grid;
  max-width: 500px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.hero-facts > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.hero-facts dt {
  color: #777780;
  font: 8px var(--sx-mono);
}

.hero-facts dd {
  color: #b9b9bf;
  font-size: 9px;
  white-space: nowrap;
}

.product-showcase {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 10px;
  margin-right: -4vw;
  animation: preview-enter .88s .14s var(--sx-ease) both;
}

.product-showcase::before {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: 3%;
  left: 3%;
  height: 56%;
  border-radius: 45%;
  background: rgba(102, 87, 225, .16);
  filter: blur(54px);
  content: "";
}

.showcase-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: #030304;
}

.showcase-card {
  position: relative;
}

.interface-card {
  aspect-ratio: 2.91 / 1;
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(2, 2, 4, .72);
  color: #85858d;
  font: 8px var(--sx-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.showcase-card figcaption strong {
  color: #aaaab4;
  font-weight: 500;
}

.gameplay-card {
  aspect-ratio: 3.25 / 1;
}

.gameplay-card img {
  object-position: center;
}

.pricing-section {
  padding: 44px 0 28px;
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
}

.pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #a7a7ae;
  font: 500 9px/1 var(--sx-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-kicker::before {
  width: 27px;
  height: 2px;
  background: var(--client-accent);
  content: "";
}

.pricing-header h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-top-color: rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: rgba(6, 6, 9, .72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
  backdrop-filter: blur(20px);
  transition: border-color var(--sx-fast);
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, .18);
}

.pricing-card.is-featured {
  border-color: rgba(121, 110, 232, .35);
  border-top-color: rgba(121, 110, 232, .6);
  background: rgba(10, 9, 16, .85);
  box-shadow: 0 18px 56px rgba(121, 110, 232, .08);
}

.pricing-card.is-featured:hover {
  border-color: rgba(121, 110, 232, .55);
}

.pricing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pricing-duration-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-duration {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.pricing-badge {
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(121, 110, 232, .16);
  color: #a39cf4;
  font: 500 9px/1 var(--sx-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-price {
  color: #fff;
  font-family: var(--sx-mono);
}

.pricing-price strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.pricing-price span {
  margin-left: 3px;
  color: #888892;
  font-size: 13px;
}

.pricing-desc {
  min-height: 32px;
  margin-bottom: 18px;
  color: #888892;
  font-size: 11px;
  line-height: 1.45;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b5b5bc;
  font-size: 11px;
}

.pricing-features li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--client-accent);
  flex-shrink: 0;
}

.pricing-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #e0e0e4;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--sx-fast), border-color var(--sx-fast), color var(--sx-fast);
}

.pricing-action:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.pricing-action.is-accent {
  border-color: rgba(121, 110, 232, .45);
  background: var(--client-accent);
  color: #fff;
}

.pricing-action.is-accent:hover {
  background: var(--client-accent-hover);
  border-color: rgba(121, 110, 232, .65);
}

.video-section {
  padding: 24px 0 64px;
}

.video-header {
  margin-bottom: 32px;
  text-align: center;
}

.video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #a7a7ae;
  font: 500 9px/1 var(--sx-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video-kicker::before {
  width: 27px;
  height: 2px;
  background: var(--client-accent);
  content: "";
}

.video-header h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  background: #030304;
  box-shadow: 0 20px 70px rgba(72, 61, 170, .1);
  transition: border-color .25s, box-shadow .25s;
}

.video-frame:hover {
  border-color: rgba(121, 110, 232, .35);
  box-shadow: 0 20px 80px rgba(72, 61, 170, .18);
}

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

footer {
  display: grid;
  width: min(calc(100% - 36px), var(--landing-width));
  min-height: 94px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #77777e;
  font-size: 9px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

footer a {
  transition: color var(--sx-fast);
}

footer a:hover {
  color: #fff;
}

@keyframes island-enter {
  from { opacity: 0; transform: translate(-50%, -18px); }
}

@keyframes copy-enter {
  from { opacity: 0; transform: translateY(18px); }
}

@keyframes preview-enter {
  from { opacity: 0; transform: translate(28px, 12px) scale(.985); }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(310px, .78fr) minmax(500px, 1.22fr);
  }

  .product-showcase {
    margin-right: -6vw;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 134px 0 24px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-showcase {
    width: 100%;
    margin: 16px 0 0;
  }

  .video-section {
    padding: 16px 0 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 24px 0;
    text-align: center;
  }

  footer nav {
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 7px;
    width: calc(100% - 14px);
  }

  .top-island {
    min-height: 54px;
    border-radius: 14px;
  }

  .brand span {
    display: none;
  }

  .island-left {
    gap: 7px;
  }

  .primary-nav a {
    padding: 0 9px;
  }

  .login-link {
    padding: 0 10px;
  }

  .header-telegram {
    padding: 0 10px;
  }

  .header-telegram span {
    display: none;
  }

  .hero-channel-badge {
    max-width: 100%;
  }

  .hero-channel-badge .badge-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .landing-main {
    width: calc(100% - 24px);
  }

  .hero {
    gap: 28px;
    padding: 112px 0 42px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 25px;
  }

  .hero-facts > div {
    min-height: 38px;
    padding: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .product-showcase {
    gap: 8px;
  }

  .interface-card {
    aspect-ratio: 2.18 / 1;
  }

  .gameplay-card {
    aspect-ratio: 1.8 / 1;
  }

  footer {
    width: calc(100% - 24px);
    text-align: left;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header,
  .hero-copy,
  .product-showcase { animation: none; }
}
