
  :root {
    --bg: #0a0a0e;
    --card: #15151c;
    --card-2: #1c1c25;
    --pill: #262631;
    --border: rgba(255, 255, 255, 0.07);
    --text: #f5f5f7;
    --muted: #8b8b95;
    --teal: #35d0ba;
    --teal-dim: #35d0ba1f;
    --violet: #a5b0fa;
    --red: #ff6b6b;
    --red-dim: #ff6b6b1f;
    --radius: 22px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* мягкое свечение сверху, как на скриншоте */
  .glow {
    position: absolute;
    top: -260px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 620px;
    background: radial-gradient(ellipse at center,
      rgba(120, 130, 200, 0.22) 0%,
      rgba(53, 208, 186, 0.08) 40%,
      transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .wrap {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 18px 60px;
    z-index: 1;
    opacity: 0;
    transition: opacity 300ms ease-out;
  }

  /* ---------- верхняя строка ---------- */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 2px 6px;
    font-size: 15px;
    font-weight: 600;
  }
  .ticker { display: flex; align-items: center; gap: 8px; }
  .ticker .price { font-size: 17px; font-weight: 700; }
  .ticker .chg {
    color: var(--teal);
    background: var(--teal-dim);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  header .epoch { color: var(--muted); font-size: 14px; font-weight: 500; }

  /* ---------- герой ---------- */
  .hero { text-align: center; padding: 34px 0 8px; }
  .hero .logo {
    width: 74px; height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(120, 130, 200, 0.35);
  }
  .hero .logo svg { width: 46px; height: 46px; }
  .hero h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
  }
  .hero h1 .accent {
    background: linear-gradient(90deg, var(--violet), #cdd5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p {
    color: var(--muted);
    font-size: 16px;
    margin-top: 12px;
    line-height: 1.5;
  }
  .hero .cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
  }
  .btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pill);
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-pill:hover { background: #30303d; transform: translateY(-1px); }

  /* ---------- карточки ---------- */
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-top: 22px;
  }
  .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }
  .card-head h2 { font-size: 19px; font-weight: 700; }
  .badge {
    background: var(--pill);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
  }

  /* ---------- график ---------- */
  .chart-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 4px;
  }
  .chart-price-row .big { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
  .chart-price-row .chg-lg { color: var(--teal); font-size: 15px; font-weight: 600; }
  .chart-price-row .chg-lg.down { color: var(--red); }
  #chart { width: 100%; height: 260px; margin-top: 8px; }
  .tf-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    background: var(--pill);
    border-radius: 999px;
    padding: 4px;
  }
  .tf-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 0;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s;
  }
  .tf-btn.active { background: #3a3a48; color: var(--text); }

  /* ---------- покупка ---------- */
  .field-label {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    margin: 18px 0 8px;
  }
  .field-label .hint { color: var(--muted); }
  .input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    transition: border-color 0.2s;
  }
  .input-box:focus-within { border-color: rgba(165, 176, 250, 0.5); }
  .input-box.err { border-color: rgba(255, 107, 107, 0.6); }
  .input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    min-width: 0;
  }
  .input-box input::placeholder { color: #55555f; }
  .input-box .unit { color: var(--muted); font-size: 14px; font-weight: 600; flex-shrink: 0; }
  .err-msg { color: var(--red); font-size: 13px; margin-top: 7px; display: none; }
  .err-msg.show { display: block; }

  input[type="range"] {
    width: 100%;
    margin-top: 16px;
    appearance: none;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--violet) var(--fill, 10%), #2c2c37 var(--fill, 10%));
    outline: none;
    cursor: pointer;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    cursor: grab;
  }
  .range-marks {
    display: flex;
    justify-content: space-between;
    color: #55555f;
    font-size: 12.5px;
    margin-top: 8px;
  }

  .total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-top: 18px;
  }
  .total-box .lbl { color: var(--muted); font-size: 14px; }
  .total-box .sum { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; }
  .total-box .rate { color: var(--muted); font-size: 12.5px; margin-top: 3px; }

  .pay-btn {
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(135deg, #8f9dfc, #6f7ff2);
    border: none;
    color: #0d0d14;
    font: inherit;
    font-size: 16.5px;
    font-weight: 700;
    padding: 17px;
    border-radius: 999px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(130, 145, 250, 0.25);
  }
  .pay-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(130, 145, 250, 0.35); }
  .pay-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

  .success {
    display: none;
    text-align: center;
    padding: 26px 10px 10px;
  }
  .success.show { display: block; }
  .success .check {
    width: 62px; height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--teal-dim);
    color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
  }
  .success h3 { font-size: 20px; font-weight: 700; }
  .success p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
  .success .order { color: var(--violet); font-weight: 600; }

  /* ---------- кошельки ---------- */
  .section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-top: 44px;
  }
  .section-sub { color: var(--muted); font-size: 15px; margin-top: 8px; line-height: 1.5; }

  .wallets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .wallet {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s, transform 0.15s;
  }
  .wallet:hover { background: var(--card-2); transform: translateY(-2px); }
  .wallet-wide { grid-column: 1 / -1; }
  .wallet .w-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    background-size: contain;
  }
  .wallet .w-name { font-size: 15.5px; font-weight: 700; }
  .wallet .w-desc { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.45; }

  /* ---------- поддержка ---------- */
  .support {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
  }
  .support .avatar {
    width: 54px; height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #35d0ba, #2b9fd8);
    display: flex; align-items: center; justify-content: center;
  }
  .support .avatar svg { width: 26px; height: 26px; }
  .support .s-info { flex: 1; min-width: 0; }
  .support .s-name { font-size: 16px; font-weight: 700; }
  .support .s-line {
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .support .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--teal);
    display: inline-block;
  }
  .support .s-btn {
    flex-shrink: 0;
    background: var(--pill);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 999px;
    transition: background 0.2s;
  }
  .support .s-btn:hover { background: #30303d; }

  /* ---------- экосистема Omniverse ---------- */
  .eco { text-align: center; }
  .eco-title { font-size: 16px; font-weight: 700; }
  .eco-title a { color: var(--violet); text-decoration: none; }
  .eco-title a:hover { text-decoration: underline; }
  .eco-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
  .eco-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .eco-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pill);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    transition: background 0.2s;
  }
  .eco-link:hover { background: #30303d; }
  .eco-link .tag { color: var(--muted); font-weight: 500; }

  footer {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: #55555f;
    font-size: 12.5px;
    line-height: 1.6;
    text-align: center;
  }

  @media (max-width: 420px) {
    .hero h1 { font-size: 28px; }
    .wallets { grid-template-columns: 1fr; }
    .support { flex-wrap: wrap; }
  }
