/* Vitokoto — тёмная неоновая тема с голографическими акцентами */

:root {
  --night: #0c0714;
  --night-2: #120b1e;
  --panel: #1a1129;
  --panel-2: #221735;
  --line: rgba(190, 160, 255, 0.14);
  --text: #f4effc;
  --muted: #a898c8;
  --faint: #7c6fa0;
  --violet: #8b3dff;
  --violet-deep: #5b18c9;
  --holo: linear-gradient(105deg, #ffe9b3 0%, #ffc0e9 20%, #cdb5ff 42%, #a5e9ff 64%, #baffd6 82%, #fff3ac 100%);
  --radius: 20px;
  --head: 'Fredoka', sans-serif;
  --body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 85% -80px, rgba(139, 61, 255, 0.22), transparent 65%),
    radial-gradient(700px 420px at 8% 30px, rgba(255, 80, 200, 0.10), transparent 60%),
    var(--night);
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.2; }

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---- дисклеймер-полоса ---- */

.notice-strip {
  background: #070310;
  color: #c9bde4;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
}
.notice-strip b { color: #fff; }

/* ---- шапка ---- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(14px, 4vw, 36px);
  background: rgba(10, 5, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--head);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand .spark { flex: none; }
.brand b { font-weight: 600; color: #fff; }
.brand i {
  font-style: normal;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge-21 {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  color: #ffd9f2;
  border: 1.5px solid rgba(255, 170, 230, 0.5);
  border-radius: 999px;
  padding: 2px 9px;
}

.masthead .spread { flex: 1; }

.mast-links { display: flex; gap: 4px; }
.mast-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.mast-links a:hover { color: #fff; background: rgba(160, 110, 255, 0.12); }

/* кнопки */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s;
}
.pill:active { transform: scale(0.97); }

.pill.holo {
  color: #1d1030;
  background: var(--holo);
  background-size: 160% 160%;
  box-shadow: 0 4px 22px rgba(200, 150, 255, 0.35);
}
.pill.holo:hover { background-position: 80% 40%; box-shadow: 0 6px 28px rgba(200, 150, 255, 0.5); }

.pill.shade {
  color: #fff;
  background: #241639;
  border: 1px solid rgba(190, 160, 255, 0.25);
}
.pill.shade:hover { background: #2d1c48; }

.pill.grand { padding: 15px 34px; font-size: 17px; }
.pill.full { width: 100%; }

/* ---- hero ---- */

.stage { padding: clamp(14px, 3vw, 30px); }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(30px, 6vw, 76px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(720px 380px at 78% 108%, rgba(255, 90, 60, 0.30), transparent 62%),
    radial-gradient(900px 460px at 62% -30%, rgba(150, 70, 255, 0.55), transparent 65%),
    radial-gradient(540px 380px at 12% 118%, rgba(255, 60, 180, 0.28), transparent 60%),
    linear-gradient(160deg, #221040 0%, #170b2e 45%, #0e0620 100%);
  border: 1px solid rgba(200, 160, 255, 0.16);
}
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-copy { position: relative; max-width: 560px; }
.hero-copy .over {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d8b8ff;
}
.hero-copy h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  margin: 10px 0 14px;
  color: #fff;
}
.hero-copy h1 em {
  font-style: normal;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.sub { color: #d3c6ea; font-size: 17px; max-width: 470px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-fine { margin-top: 18px; font-size: 12.5px; color: #b3a1d6; }

/* ---- промо-лента ---- */

.promo-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(14px, 3vw, 30px);
  margin-bottom: 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(340px 150px at 92% 50%, rgba(255, 220, 130, 0.20), transparent 70%),
    linear-gradient(95deg, #3c1670 0%, #24104a 55%, #180a33 100%);
  border: 1px solid rgba(200, 160, 255, 0.18);
}
.promo-band .art { flex: none; }
.promo-band h3 { font-size: 20px; color: #fff; }
.promo-band p { color: #cbbbe8; font-size: 14.5px; }
.promo-band .pill { margin-left: auto; flex: none; }

/* ---- полки ---- */

.chip-belt {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: clamp(18px, 3vw, 28px) clamp(14px, 3vw, 30px) 4px;
}
.chip-belt::-webkit-scrollbar { display: none; }
.chip-belt button {
  flex: none;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.15s;
}
.chip-belt button:hover { color: #fff; border-color: rgba(200, 160, 255, 0.4); }
.chip-belt button.glow {
  color: #1d1030;
  background: var(--holo);
  border-color: transparent;
}

.row {
  padding: clamp(16px, 2.6vw, 26px) 0 4px;
}
.row > h2 {
  text-align: center;
  font-size: clamp(22px, 3.2vw, 30px);
  color: #fff;
}
.row > .strap {
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  margin-top: 2px;
}

.rail-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 17vw, 205px);
  gap: 14px;
  overflow-x: auto;
  padding: 18px clamp(14px, 3vw, 30px) 10px;
  scrollbar-width: thin;
  scrollbar-color: #3a2660 transparent;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  padding: 18px clamp(14px, 3vw, 30px) 10px;
}

.gcard {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: var(--body);
}
.gcard .frame {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.gcard:hover .frame {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(140, 80, 255, 0.35);
}
.gcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.gcard .veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 8, 30, 0.55);
  opacity: 0;
  transition: opacity 0.16s;
}
.gcard:hover .veil, .gcard:focus-visible .veil { opacity: 1; }
.gcard .veil span {
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  color: #1d1030;
  background: var(--holo);
  border-radius: 999px;
  padding: 10px 20px;
}
.gcard .mint {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--head);
  font-size: 11.5px;
  font-weight: 600;
  color: #10231a;
  background: linear-gradient(100deg, #b8ffd6, #7df0c0);
  border-radius: 999px;
  padding: 3px 10px;
}
.gcard .tag {
  display: block;
  margin-top: 9px;
  padding: 0 2px;
}
.gcard .tag .n { display: block; font-weight: 800; font-size: 15px; color: #fff; }
.gcard .tag .k { display: block; font-size: 12.5px; color: var(--faint); }

/* заметка в лобби */

.lobby-word {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
  margin: 18px clamp(14px, 3vw, 30px) 0;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  color: #d6c9ee;
  font-size: 15px;
}
.lobby-word.on { display: flex; }

/* ---- контентные секции ---- */

.slab {
  margin: clamp(22px, 4vw, 44px) clamp(14px, 3vw, 30px) 0;
}
.slab > h2 { text-align: center; font-size: clamp(22px, 3.2vw, 30px); color: #fff; margin-bottom: 22px; }

.step-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.step-trio .step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.step-trio .dot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  color: #1d1030;
  background: var(--holo);
  border-radius: 12px;
  margin-bottom: 14px;
}
.step-trio h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.step-trio p { color: var(--muted); font-size: 14.5px; }

.faq-stack { max-width: 760px; margin: 0 auto; }
.faq-stack details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq-stack summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  list-style: none;
}
.faq-stack summary::-webkit-details-marker { display: none; }
.faq-stack summary::after { content: '+'; flex: none; color: #c9a9ff; font-size: 20px; line-height: 1; }
.faq-stack details[open] summary::after { content: '\2212'; }
.faq-stack details p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

.candor {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(139, 61, 255, 0.08);
  border: 1px solid rgba(190, 140, 255, 0.22);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #d6c9ee;
  font-size: 14.5px;
}
.candor b { color: #fff; }

/* ---- подвал ---- */

.basement {
  margin-top: clamp(36px, 6vw, 70px);
  padding: clamp(36px, 5vw, 60px) 20px calc(30px + 74px);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(96, 32, 190, 0.25) 45%, rgba(139, 61, 255, 0.5) 100%);
}
.basement .brand { font-size: 27px; justify-content: center; }
.basement .foot-note { color: #cbbbe8; font-size: 14.5px; max-width: 520px; margin: 12px auto 0; }
.basement nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  margin: 26px 0 6px;
}
.basement nav a {
  color: #e6dcf7;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.basement nav a:hover { text-decoration: underline; }
.basement .mail { color: #fff; font-weight: 800; text-decoration: none; }
.basement .legal {
  max-width: 880px;
  margin: 26px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}
.basement .legal p { color: #d9cdf0; font-size: 13px; margin-bottom: 10px; }

/* ---- нижняя навигация (мобайл) ---- */

.dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 5, 18, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.dock a svg { width: 22px; height: 22px; }
.dock a:active { color: #fff; }

/* ---- модалка входа/регистрации ---- */

.veil-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.veil-layer.on { display: flex; }
.veil-layer .dim { position: absolute; inset: 0; background: rgba(5, 2, 12, 0.78); backdrop-filter: blur(4px); }
.veil-card {
  position: relative;
  width: min(430px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(170deg, #221537 0%, #170e28 100%);
  border: 1px solid rgba(200, 160, 255, 0.22);
  border-radius: 24px;
  padding: 28px 26px;
}
.veil-card .shut {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.veil-card .shut:hover { color: #fff; }

.tab-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 16px;
}
.tab-duo button {
  font-family: var(--head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 0;
  cursor: pointer;
}
.tab-duo button.glow { color: #1d1030; background: var(--holo); }

.form-note { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

.flash-bar {
  display: none;
  background: rgba(255, 80, 110, 0.12);
  border: 1px solid rgba(255, 110, 140, 0.35);
  color: #ffb9c8;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}
.flash-bar.on { display: block; }

.fgroup { margin-bottom: 14px; }
.fgroup label {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 13.5px;
  color: #d8cdee;
  margin-bottom: 6px;
}
.fgroup input {
  width: 100%;
  font-family: var(--body);
  font-size: 15.5px;
  color: #fff;
  background: rgba(8, 4, 16, 0.6);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.15s;
}
.fgroup input:focus { border-color: #b98aff; }
.fgroup input.err { border-color: #ff6e8c; }
.field-hint { display: none; color: #ffb9c8; font-size: 12.5px; margin-top: 5px; }

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.agree input { margin-top: 3px; accent-color: #b06bff; }
.agree a { color: #d9bdff; }

/* экран «подтвердите почту»: одна задача — отправить человека в почту СЕЙЧАС */

.await-wrap { text-align: center; }
.await-pill {
  display: inline-block;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  color: #9fe8bf;
  background: rgba(90, 230, 160, 0.1);
  border: 1px solid rgba(120, 240, 180, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  opacity: 0.9;
}

.mail-beacon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 22px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 233, 179, 0.16), rgba(165, 233, 255, 0.12));
  border: 1.5px solid rgba(255, 224, 150, 0.55);
  animation: beacon-bob 1.6s ease-in-out infinite;
}
.mail-beacon::before {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 34px;
  border: 2px solid rgba(255, 224, 150, 0.5);
  animation: beacon-ring 1.6s ease-out infinite;
}
.mail-beacon .ping {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff5a78;
  border: 2.5px solid #170e28;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  color: #fff;
}
@keyframes beacon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes beacon-ring {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.22); opacity: 0; }
}

.await-wrap h2, .await-wrap h1 {
  font-size: clamp(24px, 4vw, 30px);
  color: #fff;
  margin: 14px 0 6px;
}
.await-wrap h1 em, .await-wrap h2 em {
  font-style: normal;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.await-wrap .soft { color: var(--muted); font-size: 14px; }

.addr-chip {
  display: inline-block;
  font-weight: 800;
  font-size: 16.5px;
  color: #fff;
  background: rgba(139, 61, 255, 0.14);
  border: 1px solid rgba(200, 160, 255, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
  margin: 10px 0 22px;
  word-break: break-all;
}

.go-mail {
  font-size: 19px;
  padding: 18px 42px;
  animation: go-mail-glow 1.5s ease-in-out infinite;
}
@keyframes go-mail-glow {
  0%, 100% { box-shadow: 0 4px 22px rgba(200, 150, 255, 0.35); transform: scale(1); }
  50% { box-shadow: 0 6px 40px rgba(255, 214, 150, 0.65); transform: scale(1.04); }
}

.await-wrap .spam-line { font-size: 12.5px; color: var(--faint); margin-top: 16px; }

/* Режим полного фокуса на подтверждении почты: прячем всё, что отвлекает,
   и глушим единственную кнопку шапки — светится только CTA почты. */
body.confirm-focus .basement { display: none; }
body.confirm-focus .dock { display: none; }
body.confirm-focus .masthead .pill.holo {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}
body.confirm-focus .masthead .pill.holo:hover { color: #fff; background: #241639; }
.await-wrap .quiet-exit {
  margin-top: 14px;
  background: none;
  border: 0;
  color: #8d7cb5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ---- липкое напоминание «подтверди почту» ---- */

.verify-nag {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 50;
  width: calc(100% - 24px);
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(26, 16, 44, 0.95);
  border: 1px solid rgba(255, 214, 130, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  color: #ffe9b3;
  font-size: 13.5px;
  text-align: center;
}
.verify-nag b { color: #fff; word-break: break-all; }
.verify-nag svg { flex: none; }
.verify-nag .pill { padding: 7px 16px; font-size: 13.5px; }

@media (max-width: 720px) {
  .verify-nag.with-dock { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ---- игровое окно ---- */

.game-shell {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  flex-direction: column;
  background: #05020c;
}
.game-shell.on { display: flex; }
.game-shell .topline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
.game-shell .topline .gname { font-family: var(--head); font-weight: 600; font-size: 15px; color: #fff; }
.game-shell .topline button {
  margin-left: auto;
  font-family: var(--head);
  font-weight: 600;
  font-size: 14px;
  color: #1d1030;
  background: var(--holo);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}
.game-shell iframe { flex: 1; width: 100%; border: 0; }

/* ---- страница аккаунта ---- */

.join-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 60px) clamp(14px, 3vw, 30px);
}
.join-pitch h1 { font-size: clamp(30px, 4.4vw, 44px); color: #fff; }
.join-pitch h1 em {
  font-style: normal;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.art-fan { display: flex; gap: 10px; margin: 22px 0; }
.art-fan img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(200, 160, 255, 0.3);
}
.art-fan img:nth-child(even) { transform: translateY(10px) rotate(3deg); }
.art-fan img:nth-child(odd) { transform: rotate(-3deg); }
.win-list { list-style: none; }
.win-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #d6c9ee;
  font-size: 15px;
}
.win-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--holo);
}

.join-card {
  background: linear-gradient(170deg, #221537 0%, #170e28 100%);
  border: 1px solid rgba(200, 160, 255, 0.22);
  border-radius: 24px;
  padding: 28px 26px;
}

.arrival {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 90px) 20px;
  text-align: center;
}

/* ---- юридические страницы ---- */

.paper {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 30px);
}
.paper h1 { font-size: clamp(28px, 4vw, 38px); color: #fff; margin-bottom: 6px; }
.paper .updated { color: var(--faint); font-size: 13.5px; margin-bottom: 28px; }
.paper h2 { font-size: 20px; color: #fff; margin: 30px 0 10px; }
.paper p, .paper li { color: #cfc2e8; font-size: 15px; margin-bottom: 12px; }
.paper ul { padding-left: 22px; }
.paper a { color: #d9bdff; }

/* ---- адаптив ---- */

@media (max-width: 860px) {
  /* На узких экранах регистрация в фокусе: форма первой, питч ниже */
  .join-wrap { grid-template-columns: 1fr; }
  .join-card { order: -1; }
  .mast-links { display: none; }
  /* Городская сцена за текстом на мобиле выглядит шумно — прячем */
  .hero .scene { display: none; }
}

@media (max-width: 720px) {
  .dock { display: flex; }
  .basement { padding-bottom: calc(30px + 84px); }
  .promo-band { flex-wrap: wrap; }
  .promo-band .pill { margin-left: 0; }
  .hero-acts .pill { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .masthead { gap: 8px; padding: 10px 12px; }
  .brand { font-size: 19px; }
  .brand .spark { width: 22px; height: 22px; }
  .badge-21 { font-size: 11px; padding: 2px 7px; }
  .masthead .pill { padding: 9px 15px; font-size: 14px; }
  .masthead #auth-slot { gap: 7px; }
  .hero-copy h1 { font-size: 30px; }
  .art-fan img { width: 58px; height: 58px; border-radius: 13px; }
}
