:root {
  --bg: #070707;
  --ink: #f2f0ea;
  --muted: #9a978f;
  --gold: #f2c230;
  --line: rgba(242, 240, 234, 0.55);
  --card: #121212;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 3D-сцена на весь экран, прозрачная — сквозь неё видна бегущая строка */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 1; pointer-events: none; }

/* Плёночное зерно поверх всего — "тёплый" аналоговый вид */
.grain {
  position: fixed; inset: -50%; z-index: 5; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Шапка */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px; padding: 18px 28px;
}
/* В PNG логотипа много пустых полей — поэтому крупнее и с отрицательными отступами */
.brand img { height: 72px; display: block; margin: -16px 0 -16px -18px; filter: brightness(1.25); }
.top nav { margin-left: auto; display: flex; gap: 28px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 14px; opacity: 0.8; transition: opacity 0.2s; }
.top nav a:hover { opacity: 1; }
.cart {
  background: rgba(255, 255, 255, 0.1); color: var(--ink); border: 0; border-radius: 99px;
  padding: 8px 14px; font: 600 13px Inter, sans-serif; cursor: pointer; backdrop-filter: blur(8px);
}
.cart-count { background: var(--gold); color: #000; border-radius: 99px; padding: 1px 7px; margin-left: 4px; }

/* Первый экран: ровно один экран, без длинной прокрутки */
#hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
/* Гигантская бегущая строка контуром — позади пластинки (под canvas) */
.marquee { position: absolute; top: 50%; left: 0; transform: translateY(-46%); z-index: 0; white-space: nowrap; pointer-events: none; }
.marquee-track { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee span {
  font-family: Anton, Impact, sans-serif; font-size: 30vw; line-height: 1; letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 234, 0.09);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-copy { position: absolute; left: 32px; top: 50%; transform: translateY(-52%); z-index: 2; max-width: 640px; }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
.hero-copy h1 { display: flex; flex-direction: column; line-height: 0.86; }
.h-big { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 10.5vw, 172px); letter-spacing: -0.005em; }
.h-serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(44px, 6.6vw, 108px); color: var(--gold); margin-top: 6px; letter-spacing: -0.01em; }
.lede { font-size: 17px; line-height: 1.5; color: #c9c6be; max-width: 430px; margin: 24px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; background: var(--gold); color: #000; text-decoration: none; font-weight: 600;
  padding: 14px 24px; border-radius: 99px; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(242, 194, 48, 0.25); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.06); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 99px; padding: 13px 22px; font: 600 15px Inter, sans-serif;
  cursor: pointer; backdrop-filter: blur(8px); transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }
.play-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #000; font-size: 10px; padding-left: 2px; }
.play[aria-pressed="true"] .play-icon { padding-left: 0; }

/* Нижняя панель: что играет + преимущества магазина */
.hero-bar {
  position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px;
}
.now { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.now small { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.now em { color: var(--muted); font-style: normal; }
.eq { display: inline-flex; align-items: end; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 30%; background: var(--gold); border-radius: 2px; transition: height 0.08s; }
.perks { list-style: none; display: flex; gap: 26px; padding: 0; font-size: 13px; color: #c9c6be; }
.perks li::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: 10px; }

/* Остальные секции поверх сцены */
.page { position: relative; z-index: 3; background: var(--bg); padding: 96px 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 88px); letter-spacing: 0; line-height: 0.9; }
.search {
  background: var(--card); border: 1px solid #262626; color: var(--ink); border-radius: 99px;
  padding: 12px 18px; width: min(360px, 100%); font: 14px Inter, sans-serif;
}
.muted { color: var(--muted); line-height: 1.6; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--gold); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { background: var(--card); color: var(--ink); border: 1px solid #262626; border-radius: 99px; padding: 8px 16px; font: 500 13px Inter, sans-serif; cursor: pointer; }
.chip.on { background: var(--gold); color: #000; border-color: var(--gold); }

/* Строка бита в каталоге */
.beat-list { display: grid; gap: 8px; }
.beat {
  display: grid; grid-template-columns: 64px 1fr 90px auto auto; align-items: center; gap: 18px;
  background: var(--card); border-radius: 14px; padding: 10px 14px 10px 10px; transition: background 0.2s;
}
.beat:hover, .beat.playing { background: #1b1b1b; }
.beat.playing .beat-name { color: var(--gold); }
.beat-cover-btn { position: relative; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; }
.beat-cover-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.beat-cover-btn span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.2s; }
.beat:hover .beat-cover-btn span, .beat.playing .beat-cover-btn span { opacity: 1; }
.beat-name { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; }
.beat-name:hover { text-decoration: underline; }
.beat .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.beat-bpm { font-size: 13px; color: var(--muted); }
.beat .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.beat .tag { font-size: 11px; border: 1px solid #2c2c2c; border-radius: 99px; padding: 3px 9px; color: var(--muted); }
.price { background: var(--ink); color: #000; border: 0; border-radius: 99px; padding: 10px 16px; font: 600 13px Inter, sans-serif; cursor: pointer; transition: background 0.2s; }
.price:hover { background: var(--gold); }
.empty { color: var(--muted); padding: 30px 0; }

/* Лицензии */
.license-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.license { position: relative; background: var(--card); border: 1px solid #222; border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; }
.license.popular { border-color: var(--gold); }
.badge { position: absolute; top: -10px; left: 18px; background: var(--gold); color: #000; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.license h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 22px; letter-spacing: 0.01em; }
.lic-price { font-size: 30px; font-weight: 800; margin: 8px 0 2px; }
.lic-files { color: var(--gold); font-size: 13px; margin-bottom: 14px; }
.license ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 13px; color: #c9c6be; margin-bottom: 18px; flex: 1; }
.license li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
.lic-btn { justify-content: center; width: 100%; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; max-width: 760px; line-height: 1.6; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.about-lead { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; margin-top: 18px; font-weight: 500; }
.contact .hero-actions { margin-top: 20px; }

/* Нижний плеер */
.player {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: grid; grid-template-columns: 52px minmax(140px, 220px) auto 1fr auto auto; align-items: center; gap: 16px;
  background: rgba(18, 18, 18, 0.92); backdrop-filter: blur(16px); border: 1px solid #262626; border-radius: 16px; padding: 10px 14px 10px 10px;
}
.player[hidden] { display: none; }
body.has-player { padding-bottom: 86px; }
.pl-cover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.pl-info { display: flex; flex-direction: column; min-width: 0; }
.pl-title { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-controls { display: flex; gap: 6px; }
.pl-controls button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; }
.pl-controls .pl-play { background: var(--ink); color: #000; }
/* Волна с перемоткой: клик или перетаскивание, над курсором — время */
.pl-wave, .beat-wave { position: relative; height: 40px; cursor: pointer; touch-action: none; user-select: none; }
.pl-wave canvas, .beat-wave canvas { width: 100%; height: 100%; display: block; }
.pl-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wave-tip { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); background: #000; color: var(--ink); border: 1px solid #333; font: 600 11px Inter, sans-serif; padding: 3px 7px; border-radius: 6px; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wave-tip[hidden] { display: none; }
/* На телефоне вместо волны — тонкая полоса перемотки по верхнему краю плеера */
.pl-progress { display: none; position: absolute; left: 12px; right: 12px; top: -9px; height: 18px; cursor: pointer; touch-action: none; }
.pl-progress::before, .pl-progress i { content: ""; position: absolute; left: 0; top: 7px; height: 4px; border-radius: 4px; }
.pl-progress::before { right: 0; background: rgba(242, 240, 234, 0.18); }
.pl-progress i { width: 0; background: var(--gold); }
.beat-wave { height: 76px; margin: 26px 0 4px; max-width: 720px; }
.pl-buy { padding: 10px 18px; font-size: 13px; border: 0; cursor: pointer; }

/* Окна (лицензии, корзина, оформление) */
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.overlay[hidden] { display: none; }
body.locked { overflow: hidden; }
.panel { position: relative; background: #101010; border: 1px solid #262626; border-radius: 20px; padding: 28px; width: min(560px, 100%); max-height: 90vh; overflow: auto; }
.panel.lic-panel { width: min(1100px, 100%); }
.panel h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 32px; margin-bottom: 16px; }
.close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #1d1d1d; color: var(--ink); cursor: pointer; }
.lic-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.lic-head img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.lic-head h2 { margin: 0; }
.license-grid.compact .license { padding: 18px 14px; }
.cart-lines { display: grid; gap: 10px; margin-bottom: 14px; }
.cart-line { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; }
.cart-line img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.cart-line small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.rm { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.deal { background: rgba(242, 194, 48, 0.1); color: var(--gold); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.sum { display: flex; justify-content: space-between; padding: 6px 0; color: #c9c6be; }
.sum.good { color: #6fdc8c; }
.sum.total { font-size: 20px; font-weight: 800; color: var(--ink); border-top: 1px solid #262626; margin-top: 6px; padding-top: 12px; }
.btn.wide { width: 100%; justify-content: center; border: 0; cursor: pointer; margin-top: 14px; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.secure { text-align: center; color: var(--muted); font-size: 12px; }

/* Страница бита */
.top.solid { background: rgba(7, 7, 7, 0.85); backdrop-filter: blur(12px); }
.beat-detail { padding-top: 120px; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.beat-hero { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: 48px; align-items: center; margin: 28px 0 70px; }
.beat-cover { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #000; }
.beat-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--gold); color: #000; font-size: 22px; cursor: pointer; }
.beat-title { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 8vw, 120px); line-height: 0.9; }
.beat-facts { color: var(--muted); margin: 16px 0 26px; }
.beat-note { color: var(--muted); font-size: 13px; margin-top: 20px; }
.licenses-section h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 48px; margin-bottom: 20px; }

.footer { text-align: center; color: var(--muted); font-size: 13px; padding: 60px 28px; }
.footer-logo { height: 36px; margin-bottom: 14px; opacity: 0.8; }

@media (max-width: 1100px) {
  .perks { display: none; }
  .license-grid { grid-template-columns: repeat(2, 1fr); }
  .beat { grid-template-columns: 56px 1fr auto auto; }
  .beat .tags { display: none; }
}
@media (max-width: 760px) {
  .top nav { display: none; }
  .top { padding: 14px 16px; }
  #hero { min-height: 700px; }
  .hero-copy { left: 16px; right: 16px; top: 96px; transform: none; }
  .lede { font-size: 15px; margin: 16px 0 20px; }
  .hero-bar { left: 16px; right: 16px; bottom: 18px; }
  .marquee span { font-size: 46vw; }
  .beat { grid-template-columns: 52px 1fr auto; gap: 12px; }
  .beat-cover-btn { width: 52px; height: 52px; }
  .beat-bpm { display: none; }
  .page { padding: 72px 16px; }
  .license-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 16px; }
  .beat-hero { grid-template-columns: 1fr; gap: 24px; }
  .player { grid-template-columns: 44px 1fr auto; gap: 10px; left: 8px; right: 8px; bottom: 8px; }
  .pl-cover { width: 44px; height: 44px; }
  .pl-wave, .pl-buy, .pl-prev, .pl-next, .pl-time { display: none; }
  .pl-progress { display: block; }
  .beat-wave { height: 60px; }
}

/* ---------- Оформление заказа и "спасибо" ---------- */
.co-page { background: radial-gradient(1200px 600px at 85% -10%, rgba(242, 194, 48, 0.07), transparent 60%), var(--bg); }
.co { padding-top: 120px; max-width: 1180px; margin: 0 auto; background: transparent; }
.co-title { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; margin: 18px 0 20px; }
.co-title .h-serif { display: block; font-size: 0.62em; text-transform: none; }
.steps { list-style: none; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; padding: 7px 14px 7px 7px; border: 1px solid #262626; border-radius: 99px; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1f1f1f; font-size: 12px; }
.steps li.on { color: var(--ink); border-color: rgba(242, 194, 48, 0.5); }
.steps li.on span { background: var(--gold); color: #000; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.co-box { background: var(--card); border: 1px solid #222; border-radius: 18px; padding: 26px; margin-bottom: 16px; }
.co-box h2, .co-summary h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 24px; letter-spacing: 0.01em; margin-bottom: 6px; }
.co-box > .muted { font-size: 14px; margin-bottom: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: #d8d5cd; }
.opt { color: var(--muted); font-weight: 400; }
.field input { width: 100%; background: #0c0c0c; border: 1px solid #2c2c2c; border-radius: 12px; color: var(--ink); padding: 14px; font: 15px Inter, sans-serif; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.15); }
.field.bad input { border-color: #ff5d5d; }
.err { color: #ff7a7a; font-size: 12px; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-box .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #d8d5cd; margin: 14px 0; cursor: pointer; }
.co-box .check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 1px; flex: none; }
.co-box .check a { color: var(--gold); }
.pay-btn { font-size: 16px; padding: 18px; margin-top: 4px; }
.pay-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-err { color: #ff7a7a; font-size: 14px; margin-top: 10px; text-align: center; }
.form-err:empty { display: none; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 16px 0 10px; }
.pay-methods span { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #cfccc4; border: 1px solid #2c2c2c; border-radius: 6px; padding: 5px 9px; background: #101010; }
.co-summary { position: sticky; top: 100px; background: var(--card); border: 1px solid #222; border-radius: 18px; padding: 26px; }
.co-summary h2 { margin-bottom: 16px; }
.deal a { color: var(--gold); font-weight: 600; }
.sum.total small { font-size: 12px; color: var(--muted); font-weight: 600; }
.trust { list-style: none; padding: 16px 0 0; margin-top: 16px; border-top: 1px solid #222; display: grid; gap: 9px; font-size: 13px; color: #c9c6be; }
.trust li::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 800; }
.co-empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: var(--card); border: 1px solid #222; border-radius: 18px; }
.co-empty .btn { margin-top: 20px; }
.demo-flag { display: inline-block; background: rgba(242, 194, 48, 0.12); color: var(--gold); border: 1px dashed rgba(242, 194, 48, 0.5); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.demo-pay .btn-ghost.wide { width: 100%; justify-content: center; margin-top: 10px; }
.thanks { max-width: 760px; }
.thanks-box .lede { max-width: none; margin: 0 0 18px; }
.thanks-order { margin-bottom: 22px; }
@media (max-width: 960px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}
@media (max-width: 760px) {
  .co { padding-top: 96px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .co-box, .co-summary { padding: 20px; }
}

/* ---------- Подвал и страницы с правилами ---------- */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.footer-links a { color: #c9c6be; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.fine a { color: var(--gold); }
.legal { max-width: 820px; margin: 0 auto; padding-top: 120px; }
.legal h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 72px); line-height: 0.95; margin: 18px 0 8px; }
.legal h2 { font-size: 19px; margin: 34px 0 10px; }
.legal p, .legal li { color: #d2cfc7; line-height: 1.7; font-size: 15px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--gold); }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.legal .back { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 6px 0 14px; border: 1px solid #222; border-radius: 14px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.legal th, .legal td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #222; color: #d2cfc7; }
.legal th { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); background: #121212; }
.legal tr:last-child td { border-bottom: 0; }
.legal td:first-child { color: var(--muted); }
.lost { text-align: center; min-height: 70vh; }
.lost .hero-actions { justify-content: center; margin-top: 24px; }

/* ---------- Скачивание после оплаты ---------- */
.dl-item { border: 1px solid rgba(242, 240, 234, 0.14); border-radius: 14px; padding: 16px; margin: 12px 0; }
.dl-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dl-head span { color: var(--muted); font-size: 14px; }
.dl-files { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-files .btn small { opacity: 0.7; font-weight: 500; margin-left: 4px; }
.dl-keep { margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(242, 194, 48, 0.08); }
.dl-keep p { margin: 0 0 8px; font-size: 14px; }
.dl-link { display: flex; gap: 8px; }
.dl-link input { flex: 1; min-width: 0; background: var(--bg); color: var(--ink); border: 1px solid rgba(242, 240, 234, 0.2); border-radius: 10px; padding: 10px; font-size: 13px; }
.dl-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spin { width: 18px; height: 18px; border: 2px solid rgba(242, 240, 234, 0.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
