    :root {
      color-scheme: dark;
      --color-void: #000000;
      --color-carbon: #1c1c1c;
      --color-graphite: #4d4d4d;
      --color-steel: #808080;
      --color-ash: #ababab;
      --color-paper: #ffffff;
      --color-periwinkle: #7089ba;
      --color-mint: #1fc297;
      --color-cyan: #57d7ff;
      --color-deep: #05110f;
      --color-violet: #a06bff;
      --primary-button-bg: linear-gradient(135deg, #ffffff 0%, #efe4ff 45%, #dcfff0 100%);
      --accent-button-bg: linear-gradient(135deg, #9b63f8 0%, #6d48d8 55%, #2fbf8f 130%);
      --font-display: Inter, Manrope, Arial, Helvetica, sans-serif;
      --font-mono: "Geist Mono", "JetBrains Mono", "IBM Plex Mono", Consolas, monospace;
    }

    @property --panel-border-angle {
      syntax: "<angle>";
      inherits: false;
      initial-value: 0deg;
    }

    * {
      box-sizing: border-box;
    }

    html {
      background: var(--color-void);
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: var(--font-display);
      background: var(--color-void);
      color: var(--color-paper);
      overflow-x: hidden;
    }

    button,
    input {
      font: inherit;
    }

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

    .page {
      min-height: 100vh;
      background:
        linear-gradient(180deg, #000000 0%, #0b0a22 36%, #071026 70%, #020409 100%);
      overflow-x: hidden;
      position: relative;
      isolation: isolate;
    }

    .page::before,
    .page::after {
      content: "";
      position: fixed;
      inset: -18% -14%;
      z-index: 0;
      pointer-events: none;
      will-change: transform, opacity;
    }

    .page::before {
      background:
        linear-gradient(108deg, transparent 5%, transparent 18%, rgba(108, 62, 216, 0.6) 27%, rgba(152, 102, 255, 0.46) 35%, rgba(96, 140, 255, 0.3) 43%, transparent 58%, transparent 100%),
        linear-gradient(82deg, transparent 0%, rgba(74, 46, 160, 0.32) 16%, transparent 35%, rgba(49, 96, 220, 0.32) 66%, transparent 82%, transparent 100%);
      background-size: 145% 145%, 160% 160%;
      background-position: 0% 45%, 100% 56%;
      filter: blur(40px) saturate(1.65);
      opacity: calc(0.24 - var(--aurora-shift, 0) * 0.14);
      mix-blend-mode: screen;
      transform: translate3d(-8%, -4%, 0) rotate(-8deg);
      animation: pageAuroraDrift 8s ease-in-out infinite alternate;
    }

    .page::after {
      background:
        linear-gradient(128deg, transparent 5%, transparent 30%, rgba(150, 110, 255, 0.3) 42%, rgba(88, 70, 200, 0.3) 49%, transparent 61%, transparent 100%),
        linear-gradient(36deg, transparent 18%, rgba(112, 137, 186, 0.2) 34%, transparent 48%, transparent 100%);
      background-size: 155% 155%, 120% 120%;
      background-position: 72% 34%, 18% 78%;
      filter: blur(48px) saturate(1.78);
      opacity: calc(0.22 - var(--aurora-shift, 0) * 0.12);
      mix-blend-mode: screen;
      transform: translate3d(6%, 6%, 0) rotate(8deg);
      animation: pageAuroraBreathe 10s ease-in-out infinite alternate;
    }

    .aurora-alt,
    .aurora-stars,
    .aurora-stars::after,
    .aurora-shooting {
      position: fixed;
      z-index: 0;
      pointer-events: none;
    }

    .aurora-alt {
      inset: -20% -15%;
      background:
        radial-gradient(52% 42% at 24% 28%, rgba(168, 118, 255, 0.52) 0%, rgba(168, 118, 255, 0.16) 44%, transparent 72%),
        radial-gradient(46% 40% at 76% 58%, rgba(255, 92, 190, 0.36) 0%, rgba(255, 92, 190, 0.1) 46%, transparent 74%),
        radial-gradient(60% 46% at 50% 84%, rgba(64, 130, 255, 0.44) 0%, rgba(64, 130, 255, 0.12) 42%, transparent 70%);
      mix-blend-mode: screen;
      opacity: calc(var(--aurora-shift, 0) * 0.96);
      animation: auroraAltDrift 13s ease-in-out infinite alternate;
      will-change: transform, opacity;
    }

    .aurora-stars {
      inset: -14% 0 0;
      background-image:
        radial-gradient(1.6px 1.6px at 42px 68px, rgba(255, 255, 255, 0.9), transparent 60%),
        radial-gradient(1.2px 1.2px at 168px 24px, rgba(210, 240, 255, 0.8), transparent 60%),
        radial-gradient(1.8px 1.8px at 286px 132px, rgba(255, 255, 255, 0.7), transparent 60%),
        radial-gradient(1.1px 1.1px at 372px 210px, rgba(190, 255, 234, 0.75), transparent 60%),
        radial-gradient(1.4px 1.4px at 96px 288px, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1px 1px at 232px 316px, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 78px 172px, rgba(226, 238, 255, 0.7), transparent 60%),
        radial-gradient(1.1px 1.1px at 318px 44px, rgba(255, 255, 255, 0.65), transparent 60%),
        radial-gradient(1px 1px at 422px 118px, rgba(236, 226, 255, 0.7), transparent 60%),
        radial-gradient(1px 1px at 496px 248px, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1.2px 1.2px at 448px 352px, rgba(215, 228, 255, 0.7), transparent 60%);
      background-repeat: repeat;
      background-size: 520px 420px;
      opacity: 0.68;
      transform: translate3d(0, var(--stars-y, 0px), 0);
      animation: starsTwinkle 3.8s ease-in-out infinite alternate;
      will-change: transform, opacity;
    }

    .aurora-stars::after {
      content: "";
      inset: 0;
      background-image:
        radial-gradient(1px 1px at 24px 140px, rgba(255, 255, 255, 0.8), transparent 60%),
        radial-gradient(1.3px 1.3px at 210px 236px, rgba(200, 234, 255, 0.7), transparent 60%),
        radial-gradient(1px 1px at 330px 60px, rgba(255, 255, 255, 0.65), transparent 60%),
        radial-gradient(0.9px 0.9px at 150px 30px, rgba(255, 255, 255, 0.7), transparent 60%),
        radial-gradient(0.9px 0.9px at 396px 188px, rgba(228, 240, 255, 0.65), transparent 60%),
        radial-gradient(1px 1px at 262px 342px, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1.2px 1.2px at 120px 372px, rgba(224, 255, 244, 0.6), transparent 60%);
      background-repeat: repeat;
      background-size: 460px 440px;
      transform: translate3d(0, calc(var(--stars-y, 0px) * 1.8), 0);
      animation: starsTwinkle 5.2s ease-in-out 1.1s infinite alternate-reverse;
    }

    .aurora-shooting {
      top: 12%;
      left: 0;
      width: 140px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, transparent 0%, rgba(210, 240, 255, 0.95) 55%, transparent 100%);
      filter: drop-shadow(0 0 6px rgba(160, 220, 255, 0.85));
      opacity: 0;
      animation: shootingStar 8s linear 2s infinite;
      will-change: transform, opacity;
    }

    .aurora-sky {
      position: fixed;
      inset: -14% -18%;
      z-index: 0;
      pointer-events: none;
      mix-blend-mode: screen;
      -webkit-mask-image: radial-gradient(145% 130% at 30% 55%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.9) 48%, rgba(0, 0, 0, 0.36) 68%, transparent 86%);
      mask-image: radial-gradient(145% 130% at 30% 55%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.9) 48%, rgba(0, 0, 0, 0.36) 68%, transparent 86%);
      filter: hue-rotate(calc(var(--aurora-shift, 0) * 110deg)) saturate(calc(1.12 + var(--aurora-shift, 0) * 0.5));
      transform: rotate(-7deg) translate3d(0, calc(var(--aurora-shift, 0) * -4vh), 0);
    }

    .aurora-sky::before,
    .aurora-sky::after {
      content: "";
      position: absolute;
      inset: -6% -14%;
      background:
        linear-gradient(180deg,
          rgba(150, 88, 240, 0.85) 0%,
          rgba(190, 120, 255, 0.92) 22%,
          rgba(176, 112, 255, 0.8) 46%,
          rgba(150, 112, 252, 0.66) 62%,
          rgba(108, 176, 235, 0.6) 72%,
          rgba(96, 240, 190, 0.8) 82%,
          rgba(110, 255, 178, 0.95) 92%,
          rgba(92, 246, 168, 0.8) 100%);
      will-change: transform, opacity;
    }

    .aurora-sky::before {
      -webkit-mask-image:
        linear-gradient(94deg,
          transparent 0%,
          rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.95) 7%, rgba(0, 0, 0, 0.4) 11%,
          rgba(0, 0, 0, 0.85) 15%, transparent 20%,
          transparent 27%,
          rgba(0, 0, 0, 0.9) 33%, rgba(0, 0, 0, 0.5) 37%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.3) 46%,
          transparent 50%, transparent 63%,
          rgba(0, 0, 0, 0.75) 69%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0.45) 80%,
          rgba(0, 0, 0, 0.9) 86%, transparent 92%,
          transparent 100%),
        linear-gradient(174deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.98) 62%, rgba(0, 0, 0, 0.88) 80%, transparent 102%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(94deg,
          transparent 0%,
          rgba(0, 0, 0, 0.6) 3%, rgba(0, 0, 0, 0.95) 7%, rgba(0, 0, 0, 0.4) 11%,
          rgba(0, 0, 0, 0.85) 15%, transparent 20%,
          transparent 27%,
          rgba(0, 0, 0, 0.9) 33%, rgba(0, 0, 0, 0.5) 37%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.3) 46%,
          transparent 50%, transparent 63%,
          rgba(0, 0, 0, 0.75) 69%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0.45) 80%,
          rgba(0, 0, 0, 0.9) 86%, transparent 92%,
          transparent 100%),
        linear-gradient(174deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.98) 62%, rgba(0, 0, 0, 0.88) 80%, transparent 102%);
      mask-composite: intersect;
      filter: blur(52px);
      animation: curtainSwayFront 7s ease-in-out infinite alternate;
    }

    .aurora-sky::after {
      -webkit-mask-image:
        linear-gradient(86deg,
          rgba(0, 0, 0, 0.5) 0%, transparent 7%,
          rgba(0, 0, 0, 0.35) 14%, rgba(0, 0, 0, 0.9) 22%, rgba(0, 0, 0, 0.45) 28%, rgba(0, 0, 0, 0.95) 34%, transparent 41%,
          transparent 51%,
          rgba(0, 0, 0, 0.85) 58%, rgba(0, 0, 0, 0.4) 62%, rgba(0, 0, 0, 0.8) 67%, transparent 74%,
          transparent 88%, rgba(0, 0, 0, 0.55) 94%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(188deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.45) 48%, transparent 66%);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(86deg,
          rgba(0, 0, 0, 0.5) 0%, transparent 7%,
          rgba(0, 0, 0, 0.35) 14%, rgba(0, 0, 0, 0.9) 22%, rgba(0, 0, 0, 0.45) 28%, rgba(0, 0, 0, 0.95) 34%, transparent 41%,
          transparent 51%,
          rgba(0, 0, 0, 0.85) 58%, rgba(0, 0, 0, 0.4) 62%, rgba(0, 0, 0, 0.8) 67%, transparent 74%,
          transparent 88%, rgba(0, 0, 0, 0.55) 94%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(188deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.45) 48%, transparent 66%);
      mask-composite: intersect;
      filter: blur(72px);
      opacity: 0.8;
      animation: curtainSwayBack 11s ease-in-out infinite alternate;
    }

    @keyframes curtainSwayFront {
      0% {
        transform: translate3d(-2%, 0, 0) rotate(-1.4deg) skewX(-3deg);
        opacity: 0.86;
      }

      45% {
        transform: translate3d(0.6%, -1%, 0) rotate(0.6deg) skewX(1.5deg);
        opacity: 1;
      }

      100% {
        transform: translate3d(2.4%, 0.4%, 0) rotate(1.8deg) skewX(3.5deg);
        opacity: 0.9;
      }
    }

    @keyframes curtainSwayBack {
      0% {
        transform: translate3d(2%, 0.6%, 0) rotate(1.6deg) skewX(3.5deg);
        opacity: 0.72;
      }

      50% {
        transform: translate3d(-0.8%, -0.6%, 0) rotate(-0.5deg) skewX(-1deg);
        opacity: 0.92;
      }

      100% {
        transform: translate3d(-2.6%, 0.2%, 0) rotate(-2deg) skewX(-4deg);
        opacity: 0.76;
      }
    }

    @keyframes auroraAltDrift {
      0% {
        transform: translate3d(-4%, -2%, 0) rotate(-4deg) scale(1.05);
      }

      50% {
        transform: translate3d(3%, 3%, 0) rotate(2deg) scale(1.14);
      }

      100% {
        transform: translate3d(5%, -3%, 0) rotate(5deg) scale(1.07);
      }
    }

    @keyframes starsTwinkle {
      0% {
        opacity: 0.3;
      }

      100% {
        opacity: 0.72;
      }
    }

    @keyframes shootingStar {
      0%,
      84% {
        transform: translate3d(-12vw, 0, 0) rotate(16deg);
        opacity: 0;
      }

      86% {
        opacity: 0.95;
      }

      93%,
      100% {
        transform: translate3d(112vw, 36vh, 0) rotate(16deg);
        opacity: 0;
      }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px) scale(0.98);
      transition:
        opacity 720ms ease,
        transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
    }

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

    .plans-grid .plan-card {
      animation: cardIn 560ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    }

    .plans-grid .plan-card:nth-child(2) {
      animation-delay: 80ms;
    }

    .plans-grid .plan-card:nth-child(3) {
      animation-delay: 160ms;
    }

    .plans-grid .plan-card:nth-child(4) {
      animation-delay: 240ms;
    }

    .plans-grid .plan-card:nth-child(5) {
      animation-delay: 320ms;
    }

    .plans-grid .plan-card:nth-child(6) {
      animation-delay: 400ms;
    }

    @keyframes cardIn {
      from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
      }
    }

    .hero-copy > .brand-title {
      animation: heroRise 820ms cubic-bezier(0.22, 0.61, 0.36, 1) 80ms backwards;
    }

    .hero-copy > .hero-actions {
      animation: heroRise 820ms cubic-bezier(0.22, 0.61, 0.36, 1) 240ms backwards;
    }

    @keyframes heroRise {
      from {
        opacity: 0;
        transform: translateY(26px) scale(0.985);
      }
    }

    .nav {
      position: fixed;
      z-index: 20;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      padding: 18px 24px;
      background: rgba(0, 0, 0, 0.68);
      border-bottom: 1px dashed var(--color-carbon);
      backdrop-filter: blur(10px);
    }

    .nav-login {
      margin-left: auto;
    }

    .nav-telegram {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .telegram-icon {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(145deg, #4fc3ff 0%, #188bd8 100%);
      box-shadow:
        inset 0 1px 4px rgba(255, 255, 255, 0.32),
        0 10px 26px rgba(24, 139, 216, 0.28);
      pointer-events: none;
    }

    .telegram-icon::before {
      content: "";
      width: 19px;
      height: 16px;
      display: block;
      background: var(--color-paper);
      clip-path: polygon(0 46%, 100% 0, 78% 100%, 55% 70%, 36% 86%, 42% 64%);
      transform: translateX(-1px) rotate(-3deg);
    }

    .telegram-link-button {
      min-height: 38px;
      border: 1px solid rgba(190, 158, 255, 0.5);
      border-radius: 999px;
      padding: 4px 5px 4px 18px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(146, 92, 244, 0.2) 54%, rgba(87, 215, 255, 0.1));
      color: var(--color-paper);
      cursor: pointer;
      font-size: 14px;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      line-height: 1;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 12px 30px rgba(146, 92, 244, 0.18);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .telegram-link-button:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.9);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(146, 92, 244, 0.28) 54%, rgba(87, 215, 255, 0.14));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 34px rgba(146, 92, 244, 0.26);
    }

    .telegram-link-button:disabled {
      cursor: wait;
      opacity: 0.64;
    }

    .telegram-link-title {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1 1 auto;
      font-weight: 800;
    }

    .telegram-link-title-short {
      display: none;
    }

    .telegram-link-gift {
      min-height: 30px;
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border: 1px solid rgba(122, 255, 205, 0.62);
      border-radius: 999px;
      padding: 0 12px 0 9px;
      background:
        linear-gradient(135deg, rgba(205, 255, 236, 0.98), rgba(94, 244, 177, 0.9) 48%, rgba(87, 215, 255, 0.84));
      color: #071b18;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0;
      white-space: nowrap;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 8px 24px rgba(74, 240, 160, 0.24);
    }

    .telegram-link-gift-icon {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.72);
      font-size: 13px;
      line-height: 1;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    }

    .nav-login {
      min-height: 38px;
      border: 1px solid rgba(255, 255, 255, 0.74);
      border-radius: 999px;
      padding: 0 20px;
      background: rgba(255, 255, 255, 0.06);
      color: var(--color-paper);
      cursor: pointer;
      font-weight: 800;
      font-size: 14px;
      white-space: nowrap;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .nav-login:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.94);
      background: rgba(146, 92, 244, 0.14);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 12px 30px rgba(146, 92, 244, 0.2);
    }

    .nav-referral {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border: 1px solid rgba(74, 240, 160, 0.44);
      border-radius: 999px;
      padding: 0 16px;
      background: linear-gradient(135deg, rgba(74, 240, 160, 0.16), rgba(146, 92, 244, 0.1));
      color: var(--color-paper);
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      white-space: nowrap;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 28px rgba(74, 240, 160, 0.14);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .nav-referral-icon {
      font-size: 15px;
      line-height: 1;
    }

    .nav-referral:hover {
      transform: translateY(-1px);
      border-color: rgba(120, 255, 190, 0.9);
      background: linear-gradient(135deg, rgba(74, 240, 160, 0.26), rgba(146, 92, 244, 0.16));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 34px rgba(74, 240, 160, 0.24);
    }

    .referral-layer {
      position: fixed;
      z-index: 50;
      inset: 0;
      display: none;
      place-items: center;
      padding: 24px;
      background:
        radial-gradient(60% 50% at 26% 18%, rgba(74, 240, 160, 0.16) 0%, transparent 70%),
        radial-gradient(55% 45% at 78% 84%, rgba(150, 92, 244, 0.16) 0%, transparent 70%),
        rgba(0, 0, 0, 0.76);
      backdrop-filter: blur(7px);
    }

    .referral-layer.open {
      display: grid;
    }

    .referral-card {
      width: min(100%, 440px);
      position: relative;
      display: grid;
      gap: 16px;
      border: 1px solid rgba(74, 240, 160, 0.32);
      border-radius: 18px;
      background:
        radial-gradient(120% 90% at 12% 0%, rgba(74, 240, 160, 0.18) 0%, transparent 55%),
        radial-gradient(110% 85% at 88% 100%, rgba(146, 92, 244, 0.2) 0%, transparent 55%),
        linear-gradient(155deg, rgba(9, 20, 18, 0.98), rgba(10, 12, 26, 0.98));
      padding: 24px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 24px 74px rgba(0, 0, 0, 0.5),
        0 0 44px rgba(74, 240, 160, 0.16);
    }

    .referral-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      color: var(--color-ash);
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      transition: background 160ms ease, color 160ms ease;
    }

    .referral-close:hover {
      background: rgba(255, 255, 255, 0.12);
      color: var(--color-paper);
    }

    .referral-card h3 {
      margin: 0;
      padding-right: 36px;
      font-size: 21px;
      font-weight: 900;
    }

    .referral-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .referral-stat {
      display: grid;
      gap: 4px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.24);
      padding: 13px 14px;
    }

    .referral-stat::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 3px;
      background: linear-gradient(180deg, rgba(74, 240, 160, 0.92), rgba(146, 92, 244, 0.4));
      opacity: 0.8;
    }

    .referral-stat-label {
      color: var(--color-ash);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .referral-stat-value {
      font-size: 22px;
      font-weight: 900;
    }

    .referral-info {
      margin: 0;
      color: var(--color-ash);
      font-size: 13.5px;
      line-height: 1.5;
    }

    .referral-info b {
      color: var(--color-paper);
    }

    .referral-roulette {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid rgba(168, 118, 255, 0.46);
      border-radius: 999px;
      padding: 8px 16px;
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.18), rgba(74, 240, 160, 0.08));
      color: var(--color-paper);
      font-weight: 700;
      font-size: 14px;
      text-decoration: none;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 28px rgba(146, 92, 244, 0.16);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .referral-roulette:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.9);
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.28), rgba(74, 240, 160, 0.14));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 34px rgba(146, 92, 244, 0.26);
    }

    .referral-link-block {
      display: grid;
      gap: 7px;
    }

    .referral-link-label {
      color: var(--color-ash);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .referral-link-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    .referral-link-input {
      min-height: 40px;
      min-width: 0;
      padding: 0 12px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.32);
      color: var(--color-paper);
      font-size: 13px;
      font-weight: 600;
      outline: none;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .referral-copy {
      min-height: 40px;
      padding: 0 16px;
      border: 1px solid rgba(120, 255, 190, 0.6);
      border-radius: 10px;
      background: linear-gradient(135deg, #37e3a1 0%, #2fbf8f 55%, #6d48d8 150%);
      color: #04120d;
      cursor: pointer;
      font-size: 14px;
      font-weight: 850;
      white-space: nowrap;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 12px 28px rgba(74, 240, 160, 0.28);
      transition: transform 180ms ease, filter 180ms ease;
    }

    .referral-copy:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
    }

    .referral-copy-status {
      min-height: 14px;
      font-size: 12.5px;
      color: #7dffc0;
    }

    .referral-status {
      min-height: 14px;
      font-size: 13px;
      color: var(--color-ash);
    }

    .referral-status.error {
      color: #ff9db1;
    }

    .hero {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 132px 24px 48px;
      position: relative;
      z-index: 1;
    }

    .hero-frame {
      width: min(100%, 760px);
      display: grid;
      place-items: center;
      background: transparent;
      padding: 0;
      position: relative;
      z-index: 1;
    }

    @keyframes pageAuroraDrift {
      0% {
        background-position: 0% 42%, 100% 58%;
        transform: translate3d(-10%, -6%, 0) rotate(-9deg) skewX(-8deg) scale(1.02);
      }

      45% {
        background-position: 56% 38%, 42% 62%;
        transform: translate3d(1%, -10%, 0) rotate(-2deg) skewX(5deg) scale(1.09);
      }

      100% {
        background-position: 100% 54%, 0% 46%;
        transform: translate3d(12%, 4%, 0) rotate(8deg) skewX(-3deg) scale(1.04);
      }
    }

    @keyframes pageAuroraBreathe {
      0% {
        background-position: 70% 36%, 18% 78%;
        transform: translate3d(7%, 7%, 0) rotate(10deg) scale(1);
      }

      48% {
        background-position: 32% 48%, 76% 34%;
        transform: translate3d(-1%, 0%, 0) rotate(5deg) scale(1.1);
      }

      100% {
        background-position: 0% 62%, 100% 50%;
        transform: translate3d(-9%, -3%, 0) rotate(0deg) scale(1.16);
      }
    }

    .hero-copy {
      width: min(100%, 760px);
      display: grid;
      justify-items: center;
      gap: 26px;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .hero-actions {
      width: min(100%, 560px);
      display: grid;
      gap: 12px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 26px;
      padding: 0 12px;
      border: 1px dashed var(--color-paper);
      border-radius: 999px;
      color: var(--color-paper);
      font-family: var(--font-mono);
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--color-periwinkle);
    }

    h1 {
      margin: 0;
      font-size: 70px;
      line-height: 1.08;
      letter-spacing: 0;
      font-weight: 1000;
      color: var(--color-paper);
    }

    .brand-title {
      line-height: 0;
      transform: translateY(-34px);
    }

    .brand-logo {
      width: min(320px, 72vw);
      height: auto;
      display: block;
      margin: 0 auto;
      opacity: 0.82;
      filter:
        drop-shadow(0 0 26px rgba(31, 194, 151, 0.22))
        drop-shadow(0 0 44px rgba(49, 123, 229, 0.16))
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    }

    .brand-logo text {
      font-family: var(--font-display);
    }

    .hero-copy p {
      margin: 0;
      max-width: 560px;
      color: var(--color-steel);
      font-size: 16px;
      line-height: 1.6;
      letter-spacing: 0;
    }

    .tariffs-section {
      display: grid;
      justify-items: center;
      gap: 28px;
      padding: 18px 24px 96px;
      position: relative;
      z-index: 1;
      scroll-margin-top: 92px;
    }

    .tariffs-frame {
      width: min(100%, 980px);
      display: grid;
      justify-items: center;
      gap: 24px;
      position: relative;
      z-index: 1;
    }

    .access-button {
      width: min(100%, 560px);
      min-height: 68px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.92);
      border-radius: 8px;
      background: var(--primary-button-bg);
      color: #03100d;
      cursor: pointer;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: 0;
      padding: 0 22px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 18px 44px rgba(31, 194, 151, 0.2),
        0 8px 22px rgba(87, 215, 255, 0.12);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
    }

    .access-button::after,
    .result-link::after {
      content: "";
      position: absolute;
      inset: -1px;
      background:
        linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.78) 48%, transparent 58%, transparent 100%);
      transform: translateX(-120%);
      transition: transform 640ms ease;
      pointer-events: none;
    }

    .hero-actions .access-button {
      width: 100%;
      border-color: rgba(226, 208, 255, 0.9);
      background:
        linear-gradient(135deg, rgba(18, 8, 38, 0.98) 0%, rgba(30, 16, 58, 0.98) 56%, rgba(10, 42, 40, 0.98) 100%);
      color: #f9f5ff;
      text-shadow: 0 1px 12px rgba(168, 118, 255, 0.4);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -18px 34px rgba(146, 92, 244, 0.14),
        0 0 0 1px rgba(146, 92, 244, 0.3),
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 34px rgba(146, 92, 244, 0.3);
      backdrop-filter: blur(12px);
    }

    .access-button:hover {
      transform: translateY(-2px);
      border-color: rgba(196, 150, 255, 0.92);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 22px 52px rgba(146, 92, 244, 0.28),
        0 12px 34px rgba(74, 240, 160, 0.16);
      filter: saturate(1.08);
    }

    .hero-actions .access-button:hover {
      border-color: rgba(233, 218, 255, 1);
      background:
        linear-gradient(135deg, rgba(26, 12, 52, 0.98) 0%, rgba(42, 24, 78, 0.98) 54%, rgba(14, 60, 56, 0.98) 100%);
      color: #ffffff;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -18px 34px rgba(146, 92, 244, 0.2),
        0 0 0 1px rgba(168, 118, 255, 0.44),
        0 22px 50px rgba(0, 0, 0, 0.38),
        0 0 46px rgba(146, 92, 244, 0.42);
    }

    .access-button:hover::after,
    .result-link:hover::after {
      transform: translateX(120%);
    }

    .access-button:disabled,
    .trial-button:disabled {
      cursor: wait;
      opacity: 0.62;
    }

    .trial-button {
      width: 100%;
      min-height: 58px;
      border: 1px solid rgba(216, 196, 255, 0.5);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(16, 8, 34, 0.84), rgba(24, 14, 50, 0.78));
      color: var(--color-paper);
      cursor: pointer;
      font-size: 16px;
      font-weight: 850;
      letter-spacing: 0;
      padding: 0 22px;
      text-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -16px 32px rgba(146, 92, 244, 0.1),
        0 0 0 1px rgba(146, 92, 244, 0.2),
        0 14px 34px rgba(0, 0, 0, 0.28),
        0 0 24px rgba(146, 92, 244, 0.18);
      backdrop-filter: blur(12px);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .trial-button:hover {
      transform: translateY(-2px);
      border-color: rgba(226, 208, 255, 0.9);
      background:
        linear-gradient(135deg, rgba(24, 12, 48, 0.94), rgba(36, 20, 70, 0.92));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -16px 32px rgba(146, 92, 244, 0.16),
        0 0 0 1px rgba(168, 118, 255, 0.34),
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 34px rgba(146, 92, 244, 0.3);
    }

    .plans-panel {
      width: min(100%, 1000px);
      display: grid;
      gap: 20px;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      border: 1px solid rgba(156, 182, 235, 0.22);
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 36%),
        linear-gradient(145deg, rgba(12, 18, 34, 0.88), rgba(16, 10, 28, 0.78));
      padding: 24px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 26px 70px rgba(0, 0, 0, 0.28);
    }

    .plans-panel::before,
    .white-list-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      z-index: 0;
      height: 3px;
      background: linear-gradient(90deg, #4af0a0 0%, #57d7ff 48%, #a06bff 100%);
      opacity: 0.92;
      pointer-events: none;
    }

    .plans-panel > *,
    .white-list-panel > * {
      position: relative;
      z-index: 1;
    }

    .plans-panel + .white-list-panel {
      margin-top: 20px;
    }

    .plans-head {
      display: grid;
      gap: 7px;
      max-width: 820px;
    }

    .plans-head h2,
    .payment-result h2 {
      margin: 0;
      font-size: 25px;
      line-height: 1.2;
      letter-spacing: 0;
      font-weight: 1000;
    }

    .plans-head p,
    .plan-note,
    .payment-result p {
      margin: 0;
      color: rgba(236, 242, 255, 0.64);
      font-size: 14px;
      line-height: 1.55;
    }

    .legal-note {
      margin: 0;
      color: var(--color-ash);
      font-size: 12px;
      line-height: 1.45;
    }

    .payment-legal-note {
      max-width: 860px;
    }

    .legal-note a,
    .consent-label a {
      color: #dffcff;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }

    .plans-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      align-items: stretch;
    }

    .plan-card {
      min-height: 206px;
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr auto;
      gap: 14px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(142, 164, 220, 0.28);
      border-radius: 8px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        linear-gradient(145deg, rgba(18, 24, 42, 0.94), rgba(11, 15, 29, 0.94));
      color: var(--color-paper);
      cursor: pointer;
      padding: 18px;
      text-align: left;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 14px 34px rgba(0, 0, 0, 0.18);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .plan-card::before {
      content: "";
      position: absolute;
      inset: -40% -80%;
      z-index: 0;
      background:
        linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.12) 50%, transparent 66%);
      transform: translateX(-48%) rotate(8deg);
      opacity: 0;
      transition:
        transform 680ms ease,
        opacity 180ms ease;
      pointer-events: none;
    }

    .plan-card::after {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 13px;
      z-index: 0;
      height: 1px;
      background:
        linear-gradient(90deg, transparent, rgba(87, 215, 255, 0.58), rgba(31, 194, 151, 0.76), transparent);
      opacity: 0.22;
      transition: opacity 180ms ease;
      pointer-events: none;
    }

    .plan-card > * {
      position: relative;
      z-index: 1;
    }

    .white-list-panel {
      width: min(100%, 1000px);
      display: grid;
      gap: 20px;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      border: 1px solid rgba(156, 182, 235, 0.2);
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.048), transparent 36%),
        linear-gradient(145deg, rgba(9, 18, 31, 0.88), rgba(11, 12, 28, 0.78));
      padding: 24px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 24px 64px rgba(0, 0, 0, 0.24);
    }

    .white-list-head {
      display: grid;
      gap: 6px;
    }

    .white-list-head h2 {
      margin: 0;
      font-size: 25px;
      line-height: 1.2;
      letter-spacing: 0;
      font-weight: 1000;
    }

    .white-list-head p {
      margin: 0;
      color: rgba(236, 242, 255, 0.64);
      font-size: 14px;
      line-height: 1.55;
    }

    .subscription-visual {
      border-style: solid;
      border-color: rgba(255, 255, 255, 0.12);
    }

    .white-list-visual {
      aspect-ratio: 3 / 2;
      border-style: solid;
      border-color: rgba(255, 255, 255, 0.12);
    }

    .white-list-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .plan-card:hover {
      transform: translateY(-4px);
      border-color: rgba(87, 215, 255, 0.72);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.028)),
        linear-gradient(145deg, rgba(19, 30, 50, 0.96), rgba(12, 20, 36, 0.96));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 22px 48px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(87, 215, 255, 0.12);
    }

    .plan-card:hover::before {
      transform: translateX(48%) rotate(8deg);
      opacity: 1;
    }

    .plan-card:hover::after {
      opacity: 0.78;
    }

    .plan-card:disabled {
      cursor: wait;
      opacity: 0.62;
      transform: none;
    }

    .plan-card.is-featured {
      border-color: rgba(74, 240, 160, 0.68);
      background:
        linear-gradient(180deg, rgba(74, 240, 160, 0.13), rgba(255, 255, 255, 0.025)),
        linear-gradient(145deg, rgba(14, 35, 35, 0.98), rgba(18, 18, 40, 0.98));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 46px rgba(31, 194, 151, 0.14),
        0 0 0 1px rgba(74, 240, 160, 0.08);
    }

    .plan-card.is-featured:hover {
      border-color: rgba(125, 255, 195, 0.9);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 58px rgba(31, 194, 151, 0.2),
        0 0 34px rgba(74, 240, 160, 0.16);
    }

    .plan-top {
      display: grid;
      gap: 10px;
      align-content: start;
    }

    .plan-title-row {
      min-height: 26px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }

    .plan-period {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      color: rgba(236, 242, 255, 0.72);
      font-size: 12px;
      line-height: 1.3;
      font-weight: 750;
      text-transform: uppercase;
    }

    .plan-price {
      display: block;
      font-size: 32px;
      line-height: 1;
      font-weight: 1000;
      letter-spacing: 0;
    }

    .plan-caption {
      min-height: 17px;
      display: block;
      color: rgba(236, 242, 255, 0.52);
      font-size: 12px;
      line-height: 1.4;
    }

    .plan-badge {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(74, 240, 160, 0.5);
      border-radius: 999px;
      padding: 0 9px;
      background: rgba(74, 240, 160, 0.12);
      color: #d8fff1;
      font-size: 10.5px;
      line-height: 1;
      font-weight: 850;
      white-space: nowrap;
    }

    .plan-meta {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      gap: 7px;
    }

    .plan-chip {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      border: 1px solid rgba(171, 190, 230, 0.24);
      border-radius: 999px;
      padding: 0 9px;
      background: rgba(255, 255, 255, 0.045);
      color: rgba(238, 246, 255, 0.82);
      font-size: 11px;
      line-height: 1.2;
      white-space: nowrap;
    }

    .plan-chip.discount {
      border-color: rgba(74, 240, 160, 0.38);
      background: rgba(74, 240, 160, 0.1);
      color: #ccffe9;
    }

    .plan-action {
      min-height: 40px;
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(160, 107, 255, 0.98) 0%, rgba(80, 145, 226, 0.98) 100%);
      color: #ffffff;
      font-size: 13px;
      line-height: 1;
      font-weight: 1000;
      text-shadow: 0 1px 6px rgba(20, 6, 44, 0.4);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 12px 28px rgba(146, 92, 244, 0.24);
      transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
    }

    .plan-card:hover .plan-action {
      transform: translateY(-1px);
      filter: saturate(1.1) brightness(1.06);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 16px 34px rgba(146, 92, 244, 0.34);
    }

    .plan-status {
      min-height: 22px;
      color: var(--color-ash);
      font-size: 14px;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }

    .payment-result {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr);
      align-items: start;
      gap: 12px 16px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(87, 215, 255, 0.62);
      border-radius: 14px;
      padding: 22px;
      background:
        linear-gradient(135deg, rgba(5, 17, 15, 0.96) 0%, rgba(6, 18, 29, 0.98) 52%, rgba(11, 32, 34, 0.96) 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 22px 56px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(31, 194, 151, 0.08);
      scroll-margin-top: 96px;
    }

    .payment-result::before {
      content: "✓";
      width: 48px;
      height: 48px;
      display: inline-grid;
      place-items: center;
      grid-column: 1;
      grid-row: 1 / span 2;
      position: relative;
      z-index: 1;
      border-radius: 50%;
      background: var(--accent-button-bg);
      color: #03100d;
      font-size: 28px;
      line-height: 1;
      font-weight: 1000;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 0 6px rgba(31, 194, 151, 0.12),
        0 16px 34px rgba(31, 194, 151, 0.22);
      animation: successPulse 2.6s ease-in-out infinite;
    }

    .payment-result::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        linear-gradient(110deg, transparent 0%, rgba(31, 194, 151, 0.08) 35%, rgba(87, 215, 255, 0.08) 52%, transparent 76%);
      opacity: 0.9;
      pointer-events: none;
    }

    .payment-result > * {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    .payment-result h2,
    #paymentResultText {
      grid-column: 2;
    }

    .payment-result-standalone {
      width: min(100%, 980px);
      justify-self: center;
      margin-top: 34px;
      padding: 28px;
      border-color: rgba(87, 215, 255, 0.76);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 28px 78px rgba(0, 0, 0, 0.46),
        0 0 42px rgba(31, 194, 151, 0.1),
        0 0 0 1px rgba(31, 194, 151, 0.08);
    }

    #paymentResultText {
      color: var(--color-paper);
      font-size: 20px;
      line-height: 1.45;
      font-weight: 850;
      overflow-wrap: anywhere;
    }

    .result-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      grid-column: 1 / -1;
      padding-top: 2px;
    }

    .connect-guide {
      display: grid;
      gap: 10px;
      grid-column: 1 / -1;
      border: 1px solid rgba(87, 215, 255, 0.24);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(31, 194, 151, 0.075));
      padding: 16px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.16);
    }

    .connect-guide h3 {
      margin: 0;
      font-size: 18px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    .connect-guide p {
      margin: 0;
      color: var(--color-ash);
      font-size: 14px;
      line-height: 1.5;
    }

    .guide-link {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(168, 118, 255, 0.44);
      border-radius: 8px;
      color: var(--color-paper);
      padding: 0 16px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 800;
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.12), rgba(74, 240, 160, 0.06));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .guide-link:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.86);
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.22), rgba(74, 240, 160, 0.1));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 28px rgba(146, 92, 244, 0.2);
    }

    .result-link {
      width: min(100%, 520px);
      min-height: 64px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.74);
      border-radius: 8px;
      background: var(--primary-button-bg);
      color: #03100d;
      padding: 0 22px;
      text-decoration: none;
      font-size: 18px;
      font-weight: 900;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 18px 44px rgba(31, 194, 151, 0.2),
        0 8px 24px rgba(87, 215, 255, 0.14);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
    }

    .result-link:hover {
      transform: translateY(-2px);
      border-color: rgba(196, 150, 255, 0.9);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 22px 52px rgba(146, 92, 244, 0.28),
        0 12px 34px rgba(74, 240, 160, 0.16);
      filter: saturate(1.08);
    }

    @keyframes successPulse {
      0%,
      100% {
        transform: scale(1);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.42),
          0 0 0 6px rgba(31, 194, 151, 0.12),
          0 16px 34px rgba(31, 194, 151, 0.22);
      }

      50% {
        transform: scale(1.045);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.46),
          0 0 0 9px rgba(87, 215, 255, 0.08),
          0 18px 40px rgba(87, 215, 255, 0.24);
      }
    }

    .modal-layer {
      position: fixed;
      z-index: 40;
      inset: 0;
      display: none;
      place-items: center;
      padding: 24px;
      background:
        radial-gradient(60% 50% at 22% 18%, rgba(150, 92, 244, 0.2) 0%, transparent 70%),
        radial-gradient(55% 45% at 78% 84%, rgba(74, 240, 160, 0.14) 0%, transparent 70%),
        rgba(0, 0, 0, 0.76);
      backdrop-filter: blur(7px);
    }

    .modal-layer.open {
      display: grid;
    }

    .auth-shell {
      width: min(100%, 460px);
      min-height: 430px;
      overflow: hidden;
      border: 1px solid rgba(168, 118, 255, 0.3);
      border-radius: 18px;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 28%),
        radial-gradient(120% 90% at 12% 0%, rgba(146, 92, 244, 0.24) 0%, transparent 55%),
        radial-gradient(110% 85% at 88% 100%, rgba(74, 240, 160, 0.16) 0%, transparent 55%),
        linear-gradient(155deg, rgba(15, 10, 32, 0.98), rgba(11, 12, 26, 0.98) 48%, rgba(5, 10, 20, 0.98));
      padding: 24px;
      position: relative;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -42px 80px rgba(0, 0, 0, 0.28),
        0 28px 90px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(146, 92, 244, 0.1),
        0 0 52px rgba(146, 92, 244, 0.18),
        0 0 30px rgba(31, 194, 151, 0.1);
      backdrop-filter: blur(18px);
    }

    .auth-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      border-radius: inherit;
      padding: 1px;
      background:
        linear-gradient(135deg, rgba(236, 224, 255, 0.55), rgba(168, 118, 255, 0.4) 36%, rgba(31, 194, 151, 0.26) 70%, rgba(255, 255, 255, 0.18));
      pointer-events: none;
      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      mask-composite: exclude;
    }

    .auth-shell::after {
      content: "";
      position: absolute;
      left: 24px;
      right: 24px;
      top: 0;
      z-index: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(206, 160, 255, 0.88), rgba(74, 240, 160, 0.66), transparent);
      opacity: 0.74;
      pointer-events: none;
    }

    .auth-shell > * {
      position: relative;
      z-index: 1;
    }

    .auth-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 22px;
      padding-right: 42px;
    }

    .mode-title {
      margin: 0;
      font-size: 24px;
      line-height: 1.2;
      letter-spacing: 0;
      font-weight: 900;
    }

    .auth-tools {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .link-button,
    .close-button {
      border: 0;
      background: transparent;
      color: var(--color-paper);
      cursor: pointer;
      padding: 0;
      font-size: 14px;
      line-height: 1.2;
    }

    .link-button {
      border-bottom: 1px solid var(--color-steel);
    }

    .close-button {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 50%;
      position: absolute;
      z-index: 4;
      top: 14px;
      right: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.22);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      font-size: 0;
      pointer-events: auto;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease;
    }

    .close-button::before,
    .close-button::after {
      content: "";
      width: 13px;
      height: 2px;
      position: absolute;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      transition: background 180ms ease;
    }

    .close-button::before {
      transform: rotate(45deg);
    }

    .close-button::after {
      transform: rotate(-45deg);
    }

    .close-button:hover {
      transform: translateY(-1px) rotate(90deg);
      border-color: rgba(87, 215, 255, 0.66);
      background: rgba(87, 215, 255, 0.1);
      color: var(--color-paper);
    }

    .close-button:hover::before,
    .close-button:hover::after {
      background: var(--color-paper);
    }

    form {
      display: grid;
      gap: 14px;
      margin: 0;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
      width: 100%;
      min-height: 46px;
      border: 1px solid var(--color-steel);
      border-radius: 8px;
      background: #000000;
      color: var(--color-paper);
      padding: 0 14px;
      font-size: 14px;
      outline: none;
    }

    input::placeholder {
      color: var(--color-steel);
    }

    input:focus {
      border-color: var(--color-periwinkle);
    }

    .row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 24px;
      color: var(--color-ash);
      font-size: 14px;
    }

    .remember {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    input[type="checkbox"] {
      width: 15px;
      height: 15px;
      accent-color: var(--color-periwinkle);
    }

    .consent-label {
      display: grid;
      grid-template-columns: 18px minmax(0, 1fr);
      align-items: start;
      gap: 10px;
      color: var(--color-ash);
      font-size: 12px;
      line-height: 1.35;
    }

    .consent-label input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin: 1px 0 0;
    }

    .consent-label span {
      min-width: 0;
    }

    .forgot {
      color: var(--color-ash);
      font-size: 12px;
      text-decoration: underline;
      text-underline-offset: 3px;
      white-space: nowrap;
    }

    .primary {
      min-height: 46px;
      border: 1px solid rgba(216, 196, 255, 0.6);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.2), rgba(74, 240, 160, 0.08));
      color: var(--color-paper);
      cursor: pointer;
      font-size: 14px;
      font-weight: 750;
      margin-top: 22px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 12px 28px rgba(146, 92, 244, 0.16);
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .primary:hover {
      transform: translateY(-1px);
      border-color: rgba(226, 208, 255, 0.94);
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.32), rgba(74, 240, 160, 0.12));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 16px 34px rgba(146, 92, 244, 0.26);
    }

    .primary:disabled {
      cursor: wait;
      opacity: 0.64;
    }

    .status {
      min-height: 40px;
      color: var(--color-ash);
      font-size: 13px;
      line-height: 1.45;
      margin-top: 16px;
      overflow-wrap: anywhere;
    }

    .status.error {
      color: var(--color-paper);
    }

    .status.ok {
      color: var(--color-periwinkle);
    }

    .account {
      display: none;
      grid-template-rows: auto 1fr auto;
      gap: 18px;
      min-height: 382px;
      text-align: left;
    }

    .account-main {
      align-self: start;
      display: flex;
      align-items: center;
      gap: 14px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(146, 92, 244, 0.1) 48%, rgba(31, 194, 151, 0.07));
      padding: 16px 48px 16px 16px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 36px rgba(0, 0, 0, 0.18);
    }

    .account-main::after {
      content: "";
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(168, 118, 255, 0.78), rgba(74, 240, 160, 0.5), transparent);
      opacity: 0.58;
    }

    .account-avatar {
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      display: inline-grid;
      place-items: center;
      color: rgba(14, 6, 26, 0.82);
      font-size: 24px;
      line-height: 1;
      font-weight: 1000;
      text-transform: uppercase;
      user-select: none;
      border: 1px solid rgba(233, 222, 255, 0.4);
      border-radius: 50%;
      background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 26%),
        linear-gradient(145deg, #b07cff, #7d54e8 56%, #37e3a1);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 0 0 6px rgba(146, 92, 244, 0.12),
        0 12px 28px rgba(146, 92, 244, 0.34);
    }

    .account-info {
      min-width: 0;
      display: grid;
      gap: 4px;
      padding-top: 2px;
    }

    .account-actions {
      align-self: end;
      display: grid;
    }

    .account h2 {
      margin: 0;
      font-size: 25px;
      line-height: 1.2;
      letter-spacing: 0;
      font-weight: 1000;
    }

    .account p {
      margin: 0;
      color: var(--color-steel);
      font-size: 14px;
      line-height: 1.35;
      overflow-wrap: anywhere;
    }

    .account-details {
      display: grid;
      align-self: start;
      gap: 10px;
      padding: 0;
    }

    .account-detail {
      display: grid;
      gap: 7px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.2);
      padding: 13px 14px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
      transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
    }

    .account-detail:hover {
      border-color: rgba(168, 118, 255, 0.36);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 26px rgba(146, 92, 244, 0.16);
    }

    .account-detail::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 3px;
      background: linear-gradient(180deg, rgba(168, 118, 255, 0.95), rgba(74, 240, 160, 0.55));
      opacity: 0.78;
    }

    .account-detail-label {
      color: var(--color-ash);
      font-size: 12px;
      line-height: 1.2;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .account-detail-value,
    .account-referral {
      color: var(--color-paper);
      font-size: 19px;
      line-height: 1.32;
      font-weight: 850;
      overflow-wrap: anywhere;
    }

    .account-referral {
      display: block;
      border-radius: 8px;
      color: #e9ddff;
      text-decoration: none;
      word-break: break-word;
      transition:
        color 180ms ease,
        background 180ms ease;
    }

    .account-referral:hover {
      color: var(--color-paper);
    }

    .account-logout {
      margin-top: 0;
      border-color: rgba(255, 255, 255, 0.18);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(146, 92, 244, 0.08));
      color: var(--color-paper);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 26px rgba(0, 0, 0, 0.16);
    }

    .account-logout:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.8);
      background: rgba(146, 92, 244, 0.16);
      color: var(--color-paper);
    }

    .balance-row,
    .subscription-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .extend-button {
      min-height: 32px;
      padding: 0 14px;
      border: 1px solid rgba(168, 118, 255, 0.5);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.2), rgba(74, 240, 160, 0.1));
      color: var(--color-paper);
      cursor: pointer;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .extend-button:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.9);
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.32), rgba(74, 240, 160, 0.16));
      box-shadow: 0 10px 26px rgba(146, 92, 244, 0.24);
    }

    .topup-toggle {
      min-height: 32px;
      padding: 0 14px;
      border: 1px solid rgba(168, 118, 255, 0.5);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.2), rgba(74, 240, 160, 0.1));
      color: var(--color-paper);
      cursor: pointer;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .topup-toggle:hover {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.9);
      background: linear-gradient(135deg, rgba(146, 92, 244, 0.32), rgba(74, 240, 160, 0.16));
      box-shadow: 0 10px 26px rgba(146, 92, 244, 0.24);
    }

    .topup-panel {
      display: grid;
      gap: 10px;
      margin-top: 4px;
    }

    .topup-presets {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .topup-chip {
      min-height: 30px;
      padding: 0 12px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.05);
      color: var(--color-paper);
      cursor: pointer;
      font-size: 13px;
      font-weight: 750;
      transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
    }

    .topup-chip:hover {
      transform: translateY(-1px);
      border-color: rgba(168, 118, 255, 0.66);
      background: rgba(146, 92, 244, 0.18);
    }

    .topup-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    .topup-row input {
      min-height: 40px;
      padding: 0 12px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.3);
      color: var(--color-paper);
      font-size: 15px;
      font-weight: 700;
      outline: none;
      transition: border-color 180ms ease, box-shadow 180ms ease;
      appearance: textfield;
      -moz-appearance: textfield;
    }

    .topup-row input::-webkit-outer-spin-button,
    .topup-row input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .topup-row input:focus {
      border-color: rgba(168, 118, 255, 0.7);
      box-shadow: 0 0 0 3px rgba(146, 92, 244, 0.18);
    }

    .topup-submit {
      min-height: 40px;
      padding: 0 18px;
      border: 1px solid rgba(196, 150, 255, 0.66);
      border-radius: 10px;
      background: linear-gradient(135deg, #8a5bea 0%, #6d48d8 55%, #2fbf8f 130%);
      color: #ffffff;
      cursor: pointer;
      font-size: 14px;
      font-weight: 850;
      white-space: nowrap;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 12px 28px rgba(146, 92, 244, 0.3);
      transition:
        transform 180ms ease,
        filter 180ms ease,
        box-shadow 180ms ease;
    }

    .topup-submit:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 16px 34px rgba(146, 92, 244, 0.4);
    }

    .topup-submit:disabled {
      cursor: wait;
      opacity: 0.6;
    }

    .topup-status {
      min-height: 16px;
      font-size: 13px;
      color: var(--color-ash);
    }

    .topup-status.error {
      color: #ff9db1;
    }

    .paymethod-layer {
      position: fixed;
      z-index: 50;
      inset: 0;
      display: none;
      place-items: center;
      padding: 24px;
      background:
        radial-gradient(60% 50% at 30% 20%, rgba(150, 92, 244, 0.16) 0%, transparent 70%),
        rgba(0, 0, 0, 0.74);
      backdrop-filter: blur(6px);
    }

    .paymethod-layer.open {
      display: grid;
    }

    .paymethod-card {
      width: min(100%, 400px);
      display: grid;
      gap: 12px;
      border: 1px solid rgba(168, 118, 255, 0.34);
      border-radius: 16px;
      background:
        radial-gradient(120% 90% at 14% 0%, rgba(146, 92, 244, 0.22) 0%, transparent 55%),
        radial-gradient(110% 85% at 86% 100%, rgba(74, 240, 160, 0.14) 0%, transparent 55%),
        linear-gradient(155deg, rgba(15, 10, 32, 0.98), rgba(8, 10, 22, 0.98));
      padding: 20px;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 24px 70px rgba(0, 0, 0, 0.5),
        0 0 42px rgba(146, 92, 244, 0.18);
    }

    .paymethod-card h3 {
      margin: 0;
      font-size: 20px;
      font-weight: 900;
    }

    .paymethod-summary {
      margin: 0;
      color: var(--color-ash);
      font-size: 14px;
      line-height: 1.4;
    }

    .paymethod-option {
      display: grid;
      gap: 3px;
      text-align: left;
      padding: 13px 16px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.045);
      color: var(--color-paper);
      cursor: pointer;
      transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
    }

    .paymethod-option:hover:not(:disabled) {
      transform: translateY(-1px);
      border-color: rgba(196, 150, 255, 0.72);
      background: rgba(146, 92, 244, 0.14);
      box-shadow: 0 12px 30px rgba(146, 92, 244, 0.2);
    }

    .paymethod-option:disabled {
      cursor: not-allowed;
      opacity: 0.55;
    }

    .paymethod-option-title {
      font-size: 16px;
      font-weight: 850;
    }

    .paymethod-option-sub {
      font-size: 13px;
      color: var(--color-ash);
    }

    .paymethod-cancel {
      min-height: 38px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 10px;
      background: transparent;
      color: var(--color-ash);
      cursor: pointer;
      font-size: 14px;
      font-weight: 750;
      transition:
        color 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
    }

    .paymethod-cancel:hover {
      color: var(--color-paper);
      border-color: rgba(255, 255, 255, 0.4);
      background: rgba(255, 255, 255, 0.05);
    }

    .hidden {
      display: none;
    }

    [hidden] {
      display: none !important;
    }

    @media (prefers-reduced-motion: reduce) {
      .page::before,
      .page::after,
      .plans-panel::before,
      .white-list-panel::before,
      .payment-result::before,
      .aurora-alt,
      .aurora-sky::before,
      .aurora-sky::after,
      .aurora-stars,
      .aurora-stars::after,
      .plans-grid .plan-card,
      .hero-copy > .brand-title,
      .hero-copy > .hero-actions {
        animation: none;
      }

      .aurora-shooting {
        display: none;
      }

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

    @media (max-width: 900px), (pointer: coarse) {
      /*
        Mobile GPUs choke on full-screen filter: blur(), backdrop-filter,
        mix-blend-mode and scroll-driven filter recalcs. Drop the animated
        aurora for a static gradient that mimics the same look, cheaply.
      */
      .page {
        background:
          radial-gradient(120% 70% at 26% 0%, rgba(150, 92, 244, 0.55) 0%, rgba(120, 80, 230, 0.22) 34%, transparent 66%),
          radial-gradient(120% 80% at 78% 108%, rgba(74, 240, 160, 0.34) 0%, rgba(49, 123, 229, 0.16) 40%, transparent 72%),
          radial-gradient(90% 60% at 60% 50%, rgba(96, 130, 255, 0.16) 0%, transparent 70%),
          linear-gradient(180deg, #05030f 0%, #0b0a22 40%, #071026 78%, #02030a 100%);
      }

      .page::before,
      .page::after,
      .aurora-alt,
      .aurora-sky,
      .aurora-stars,
      .aurora-shooting {
        display: none !important;
      }

      /* backdrop-filter forces a full-screen repaint on every scroll frame */
      .nav {
        background: rgba(6, 4, 16, 0.9);
        backdrop-filter: none;
      }

      .hero-actions .access-button,
      .trial-button,
      .auth-shell,
      .modal-layer,
      .paymethod-layer {
        backdrop-filter: none;
      }

      /* purely decorative motion – not worth the paint cost on touch devices */
      .plans-grid .plan-card,
      .hero-copy > .brand-title,
      .hero-copy > .hero-actions {
        animation: none;
      }

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

    @media (max-width: 640px) {
      .nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
          "tg tg"
          "ref login";
        align-items: center;
        padding: 14px 16px;
        gap: 8px;
      }

      .nav-telegram {
        grid-area: tg;
        width: 100%;
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
      }

      .nav-referral {
        grid-area: ref;
        width: 100%;
        justify-content: center;
      }

      .nav-login {
        grid-area: login;
        margin-left: 0;
      }

      .telegram-icon {
        width: 34px;
        height: 34px;
      }

      .telegram-link-button,
      .nav-referral,
      .nav-login {
        width: 100%;
        min-width: 0;
        min-height: 34px;
        padding: 5px 8px;
        font-size: 11px;
        line-height: 1.12;
        text-align: center;
        white-space: normal;
      }

      .telegram-link-button {
        min-height: 38px;
        padding: 4px 4px 4px 12px;
        gap: 6px;
        font-size: 12px;
        white-space: nowrap;
      }

      .telegram-link-title-full {
        display: none;
      }

      .telegram-link-title-short {
        display: inline;
      }

      .telegram-link-gift {
        min-height: 25px;
        gap: 5px;
        padding: 0 8px 0 6px;
        font-size: 10px;
      }

      .telegram-link-gift-icon {
        width: 18px;
        height: 18px;
        font-size: 12px;
      }

      .hero {
        padding: 128px 16px 32px;
      }

      .hero-frame {
        width: 100%;
      }

      h1 {
        font-size: 48px;
      }

      .brand-title {
        transform: translateY(-22px);
      }

      .brand-logo {
        width: min(240px, 68vw);
      }

      .modal-layer {
        padding: 16px;
      }

      .auth-shell {
        padding: 20px;
      }

      .account {
        gap: 16px;
      }

      .account-main {
        gap: 12px;
        padding: 14px 42px 14px 14px;
      }

      .account-avatar {
        width: 44px;
        height: 44px;
        font-size: 22px;
      }

      .account h2 {
        font-size: 24px;
      }

      .account-detail-value,
      .account-referral {
        font-size: 18px;
      }

      .tariffs-section {
        padding: 8px 16px 72px;
        scroll-margin-top: 122px;
      }

      .access-button {
        min-height: 62px;
        font-size: 16px;
      }

      #paymentResultText {
        font-size: 18px;
        line-height: 1.42;
      }

      .trial-button {
        min-height: 56px;
        font-size: 15px;
      }

      .plans-panel {
        padding: 16px;
      }

      .payment-result {
        grid-template-columns: 1fr;
        padding: 20px;
      }

      .payment-result::before {
        grid-row: auto;
      }

      .payment-result h2,
      #paymentResultText,
      .connect-guide,
      .result-actions {
        grid-column: 1;
      }

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

      .white-list-grid {
        grid-template-columns: 1fr;
      }

      .plan-card {
        min-height: 168px;
      }

      .row {
        align-items: flex-start;
        flex-direction: column;
      }
    }
