:root {
  --bg: #07080c;
  --card: #12141c;
  --card-hi: #181b26;
  --text: #fff;
  --mute: rgba(255, 255, 255, .64);
  --red: #e8322b;
  --pad: 18px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.45 "Helvetica Neue", -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100svh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 14px; }

.stage { position: relative; }

/* ---------- верхняя панель ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(env(safe-area-inset-top), 14px) var(--pad) 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 70px; height: auto; flex: none; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.top-links { display: flex; gap: 8px; }
.top-links a {
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 13px; border-radius: 999px;
  background: rgba(7, 8, 12, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- фото ---------- */
.photo { position: relative; aspect-ratio: 4 / 5; max-height: 78vh; max-height: 78svh; width: 100%; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .55) 0, rgba(7, 8, 12, 0) 20%, rgba(7, 8, 12, 0) 48%, rgba(7, 8, 12, .62) 70%, var(--bg) 93%),
    linear-gradient(rgba(7, 8, 12, .16), rgba(7, 8, 12, .16));
}

/* ---------- заголовок ---------- */
.copy { position: relative; margin-top: -132px; padding: 0 var(--pad) 22px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
h1 { margin-top: 10px; font-size: clamp(42px, 13vw, 68px); line-height: .98; letter-spacing: -.035em; font-weight: 800; }
.lead { margin-top: 14px; max-width: 30ch; font-size: 17px; color: var(--mute); }

/* ---------- способы поддержки ---------- */
.ways { display: grid; gap: 12px; padding: 0 var(--pad); }
.way {
  display: flex; align-items: center; gap: 14px;
  min-height: 84px; padding: 14px 14px 14px 14px;
  background: var(--card); border-radius: 24px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.way:hover { background: var(--card-hi); }
.way:active { transform: scale(.985); }
.ico { width: 54px; height: 54px; border-radius: 17px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; flex: none; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.txt b { font-size: 19px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.txt span { font-size: 14px; color: var(--mute); overflow-wrap: anywhere; }
.go { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.go svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pill { flex: none; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: var(--mute); }
.way.soon { background: rgba(18, 20, 28, .6); }
.way.soon .ico svg { opacity: .6; }
.way.soon .txt b { color: rgba(255, 255, 255, .78); }

/* ---------- бесплатная поддержка ---------- */
.free { padding: 34px var(--pad) 0; }
.free h2 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.free p { margin-top: 8px; color: var(--mute); }
.free-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none;
  min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; background: rgba(255, 255, 255, .09);
  transition: background .18s ease, transform .18s ease; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: rgba(255, 255, 255, .15); }
.btn:active { transform: scale(.98); }

/* ---------- крипта ---------- */
.crypto { padding: 34px var(--pad) 0; }
.crypto h2 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.crypto > p:not(.crypto-warn) { margin-top: 8px; color: var(--mute); }
.wallets { margin-top: 16px; display: grid; gap: 12px; }
.wallet {
  display: grid; gap: 10px; grid-template-rows: 1fr auto auto; padding: 14px;
  background: var(--card); border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.wtxt { display: grid; gap: 2px; align-content: start; min-width: 0; }
.wtxt b { font-size: 17px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.wtxt span { font-size: 13px; line-height: 1.35; color: var(--mute); overflow-wrap: anywhere; }
.wallet code {
  display: block; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: rgba(255, 255, 255, .88);
  overflow-wrap: anywhere; word-break: break-all;
}
.cbtn {
  min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, .09);
  transition: background .18s ease, transform .18s ease; -webkit-tap-highlight-color: transparent;
}
.cbtn:hover { background: rgba(255, 255, 255, .15); }
.cbtn:active { transform: scale(.98); }
.cbtn.done { background: var(--red); }
.crypto-warn { margin-top: 12px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
@media (min-width: 600px) { .wallets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- спасибо ---------- */
.thanks { padding: 34px var(--pad) 0; }
.thanks figure { position: relative; border-radius: 26px; overflow: hidden; }
.thanks figure img { width: 100%; height: auto; filter: brightness(.82); }
.thanks figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 8, 12, 0) 40%, rgba(7, 8, 12, .86) 100%); }
.thanks figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.thanks figcaption b { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.thanks figcaption span { color: var(--mute); font-size: 15px; }
.share { margin-top: 14px; width: 100%; }
.share[hidden] { display: none; }

/* ---------- подвал ---------- */
.foot { padding: 34px var(--pad) calc(34px + env(safe-area-inset-bottom)); display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .45); }
.addr { color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }

/* ---------- появление ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .copy > :nth-child(2) { animation-delay: .06s; }
  .copy > :nth-child(3) { animation-delay: .12s; }
  .way { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .18s; }
  .way:nth-child(2) { animation-delay: .26s; }
  .way:nth-child(3) { animation-delay: .34s; }
  .photo img { animation: fade 1s ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- телефоны: три ссылки в шапке не помещаются рядом с названием ---------- */
@media (max-width: 520px) {
  .brand-name { display: none; }
}

/* ---------- узкие телефоны ---------- */
@media (max-width: 359px) {
  :root { --pad: 14px; }
  .brand-name { display: none; }
  .txt b { font-size: 17px; }
}

/* ---------- планшет ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  :root { --pad: 28px; }
  .photo { aspect-ratio: 16 / 11; max-height: 70vh; }
  .photo img { object-position: 50% 24%; }
  .shade { background: linear-gradient(180deg, rgba(7, 8, 12, .5) 0, rgba(7, 8, 12, 0) 20%, rgba(7, 8, 12, 0) 52%, rgba(7, 8, 12, .7) 80%, var(--bg) 100%), linear-gradient(rgba(7, 8, 12, .16), rgba(7, 8, 12, .16)); }
  .copy { margin-top: -150px; }
  .ways, .crypto, .free, .thanks, .foot { max-width: 640px; margin-inline: auto; width: 100%; }
}

/* ---------- компьютер и телевизор: один экран, лицо слева, тёмное крыло справа ---------- */
/* Размеры растут вместе с шириной окна (vw) до 4K, высота окна двигает только отступы (vh). Тени и точки - настоящие элементы, не псевдо. */
@media (min-width: 900px) {
  :root { --pad: 0px; --gut: clamp(32px, 5.8vw, 220px); }
  .stage {
    display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
    grid-template-rows: auto auto auto auto auto auto 1fr;
    min-height: 100vh; min-height: 100svh;
    overflow: hidden;
  }
  .stage > .photo { grid-column: 1; grid-row: 1 / -1; position: relative; aspect-ratio: auto; max-height: none; height: auto; }
  .photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-position: 50% 26%; }
  .shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 12, 0) 36%, rgba(7, 8, 12, .1) 50%, rgba(7, 8, 12, .45) 68%, rgba(7, 8, 12, .88) 86%, var(--bg) 100%),
      linear-gradient(180deg, rgba(7, 8, 12, .38) 0, rgba(7, 8, 12, 0) 20%, rgba(7, 8, 12, 0) 78%, rgba(7, 8, 12, .55) 100%),
      linear-gradient(rgba(7, 8, 12, .14), rgba(7, 8, 12, .14));
  }
  .stage > :not(.photo) { grid-column: 2; width: 100%; max-width: 1500px; padding-left: 0; padding-right: var(--gut); }
  .top { position: static; grid-row: 1; padding-top: clamp(18px, 3.2vh, 48px); padding-bottom: 0; }
  .mark { width: clamp(70px, 5vw, 150px); }
  .brand-name { font-size: clamp(17px, 1.2vw, 34px); }
  .top-links a { font-size: clamp(14px, 1vw, 26px); padding: .5em .9em; }
  .copy { grid-row: 2; margin-top: 0; padding-top: clamp(16px, 4vh, 90px); padding-bottom: clamp(14px, 2.2vh, 36px); }
  .eyebrow { font-size: clamp(13px, .9vw, 24px); }
  h1 { margin-top: clamp(8px, 1.2vh, 20px); font-size: clamp(54px, 5.1vw, 160px); }
  .lead { margin-top: clamp(10px, 1.5vh, 24px); max-width: 38ch; font-size: clamp(18px, 1.15vw, 32px); }
  .ways { grid-row: 3; }
  .crypto { grid-row: 4; padding-top: clamp(18px, 3vh, 56px); }
  .crypto h2 { font-size: clamp(21px, 1.45vw, 40px); }
  .crypto > p:not(.crypto-warn) { font-size: clamp(14px, 1vw, 26px); }
  .wallets { margin-top: clamp(12px, 1.8vh, 26px); gap: clamp(10px, .8vw, 20px); }
  .wallet { padding: clamp(12px, .9vw, 26px); border-radius: clamp(20px, 1.5vw, 40px); gap: clamp(8px, .7vw, 18px); }
  .wtxt b { font-size: clamp(16px, 1.1vw, 30px); }
  .wtxt span { font-size: clamp(12px, .8vw, 22px); }
  .wallet code { font-size: clamp(12px, .8vw, 22px); padding: clamp(8px, .6vw, 16px) clamp(10px, .8vw, 20px); border-radius: clamp(12px, .9vw, 24px); }
  .cbtn { min-height: clamp(40px, 2.6vw, 70px); font-size: clamp(14px, .95vw, 25px); padding: .5em 1.2em; }
  .crypto-warn { font-size: clamp(12px, .8vw, 21px); }
  .free { grid-row: 5; padding-top: clamp(18px, 3vh, 56px); }
  .free h2 { font-size: clamp(21px, 1.45vw, 40px); }
  .free p { font-size: clamp(14px, 1vw, 26px); }
  .free-row { margin-top: clamp(12px, 1.8vh, 26px); gap: clamp(10px, .6vw, 16px); }
  .btn { min-height: clamp(44px, 3vw, 80px); padding: .6em 1.25em; font-size: clamp(15px, 1vw, 26px); }
  .free .stream-note { font-size: clamp(13px, .9vw, 23px); }
  .thanks { display: none; }
  .foot { grid-row: 6; padding-top: clamp(14px, 2.2vh, 40px); padding-bottom: clamp(14px, 2.4vh, 40px); font-size: clamp(12px, .8vw, 20px); }
}

/* три способа в ряд - только когда хватает ширины */
@media (min-width: 1200px) {
  .lead { max-width: none; font-size: clamp(17px, 1.1vw, 32px); }
  .ways { grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, .9vw, 24px); }
  .way { flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding: clamp(14px, 1.1vw, 30px); border-radius: clamp(20px, 1.5vw, 40px); position: relative; }
  .ico { width: clamp(46px, 3.2vw, 90px); height: clamp(46px, 3.2vw, 90px); border-radius: 30%; }
  .ico svg { width: 52%; height: 52%; }
  .txt { flex: none; width: 100%; margin-top: clamp(14px, 2.2vh, 36px); }
  .txt b { font-size: clamp(19px, 1.3vw, 36px); }
  .txt span { font-size: clamp(13px, .9vw, 24px); }
  .go { position: absolute; top: clamp(14px, 1.1vw, 30px); right: clamp(14px, 1.1vw, 30px); width: clamp(40px, 2.7vw, 76px); height: clamp(40px, 2.7vw, 76px); }
  .go svg { width: 46%; height: 46%; }
}

.stream-note { font-size: clamp(13px, .9vw, 16px); }
  .thanks { display: none; }
  .foot { grid-row: 6; align-self: end; padding-top: clamp(14px, 2.4vh, 28px); padding-bottom: clamp(16px, 3vh, 34px); font-size: clamp(12px, .8vw, 14px); }
}

/* три способа в ряд - только когда хватает ширины */
@media (min-width: 1200px) {
  .ways { grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, .9vw, 16px); }
  .way { flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding: clamp(14px, 1.1vw, 20px); border-radius: clamp(20px, 1.5vw, 28px); position: relative; }
  .ico { width: clamp(46px, 3.2vw, 60px); height: clamp(46px, 3.2vw, 60px); border-radius: 17px; }
  .txt { flex: none; width: 100%; margin-top: clamp(14px, 2.2vh, 24px); }
  .txt b { font-size: clamp(19px, 1.3vw, 25px); }
  .txt span { font-size: clamp(13px, .9vw, 16px); }
  .go { position: absolute; top: clamp(14px, 1.1vw, 20px); right: clamp(14px, 1.1vw, 20px); width: clamp(40px, 2.7vw, 50px); height: clamp(40px, 2.7vw, 50px); }
}

@media (min-width: 900px) and (min-height: 1100px) {
  .stage { min-height: 100vh; min-height: 100svh; }
}

.stream-note { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
