/* Сайт Nocturne: та сама нічна сцена, що й екран входу лаунчера (живе небо sky.js, сяйво, скло). */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root {
  --bg: #05040A; --text: #EDE9F6; --muted: #A99DC2; --line: rgba(167, 139, 250, .16);
  --glass: rgba(18, 13, 30, .55); --glass2: rgba(5, 4, 10, .55);
  --accent: #A78BFA; --pink: #F0ABFC; --good: #4ADE80; --warn: #FCD34D; --bad: #FCA5A5;
  --cta: linear-gradient(100deg, #7C3AED, #A855F7 55%, #D946EF);
  --r-common: #23A65A; --r-rare: #1BA0C8; --r-epic: #8A68EE; --r-legendary: #BF850F;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font: 16px/1.55 'Manrope', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(120% 90% at 15% 0%, #1D1036 0%, #0B0816 50%, #05040A 100%) fixed, var(--bg);
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i-discord { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* --- фон --- */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { width: 75vw; height: 65vw; left: -22vw; top: -34vw; background: radial-gradient(closest-side, rgba(109, 40, 217, .45), transparent); animation: drift-a 28s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 60vw; height: 50vw; right: -20vw; top: 10vh; background: radial-gradient(closest-side, rgba(192, 38, 211, .25), transparent); animation: drift-b 34s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 70vw; height: 45vw; left: 20vw; bottom: -26vw; background: radial-gradient(closest-side, rgba(67, 56, 202, .35), transparent); animation: drift-c 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vw, 8vh) scale(1.15) rotate(12deg); } }
@keyframes drift-b { to { transform: translate(-16vw, 14vh) scale(.85) rotate(-10deg); } }
@keyframes drift-c { to { transform: translate(-10vw, -10vh) scale(1.2); } }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--glass2); color: var(--text); font: 700 15px 'Manrope', sans-serif; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, filter .2s, background .2s; }
.btn:hover { background: rgba(5, 4, 10, .8); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.primary { border: 0; color: #fff; background: var(--cta); box-shadow: 0 10px 30px rgba(124, 58, 237, .45); position: relative; overflow: hidden; }
.btn.primary:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 38px rgba(168, 85, 247, .55); }
.btn.primary::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -70%; } 100% { left: 130%; } }
.btn.big { height: 54px; padding: 0 26px; border-radius: 15px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.discord { border: 0; background: linear-gradient(100deg, #5865F2, #6D5AF5); box-shadow: 0 8px 24px rgba(88, 101, 242, .35); }
.btn.discord:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.link { border: 0; background: none; padding: 2px 4px; font: 600 14px 'Manrope', sans-serif; color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }
.link:hover:not(:disabled) { color: #C4B5FD; }
.link:disabled { opacity: .55; cursor: default; text-decoration: none; }

/* --- шапка --- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 5vw, 64px);
  background: rgba(8, 6, 16, .55); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(167, 139, 250, .08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img:first-child { width: 36px; height: 36px; filter: drop-shadow(0 4px 14px rgba(124, 58, 237, .5)); }
.brand .wordmark { width: 140px; height: auto; filter: brightness(1.2); }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.lang-select { height: 40px; padding: 0 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--glass2); color: var(--text);
  font: 600 14px 'Manrope', sans-serif; cursor: pointer; }
.lang-select option { background: #17121F; }

main { position: relative; }
.section { max-width: 1180px; margin: 0 auto; padding: 90px clamp(16px, 5vw, 40px) 0; }
.section h2 { margin: 0 0 10px; text-align: center; font: 700 clamp(28px, 3.4vw, 40px)/1.15 'Unbounded', sans-serif; letter-spacing: -.01em; }
.section > .muted.center { max-width: 640px; margin: 0 auto 40px; }
.glow { background: linear-gradient(90deg, #A78BFA, #F0ABFC, #A78BFA) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }

/* --- герой --- */
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 9vh, 110px) clamp(16px, 5vw, 40px) 20px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; animation: fade-up .9s ease-out both; }
.eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #DDD3FF;
  background: rgba(124, 58, 237, .18); border: 1px solid rgba(167, 139, 250, .25); }
.hero h1 { margin: 0; font: 700 clamp(38px, 5.4vw, 66px)/1.05 'Unbounded', sans-serif; letter-spacing: -.02em; }
.lead { margin: 0; max-width: 520px; font-size: 18px; color: #C9BEE0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.soon-note { padding: 12px 16px; border-radius: 13px; font-size: 14px; color: var(--warn); background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }

.hero-art { position: relative; min-height: 380px; animation: fade-up .9s .15s ease-out both; }
.preview { position: absolute; inset: 20px 30px 20px 10px; border-radius: 24px; overflow: hidden; background: var(--glass);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); display: flex; flex-direction: column; }
.preview::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), rgba(167, 139, 250, .15) 0 55%, #C4B5FD 70%, #F0ABFC 78%, rgba(167, 139, 250, .15) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 6s linear infinite; }
@keyframes border-spin { to { --spin: 360deg; } }
.preview-img { flex: 1; min-height: 180px; background: linear-gradient(0deg, rgba(18, 13, 30, .95), transparent 60%), url("assets/gpo-hero.jpg") 70% 40% / cover; }
.preview-body { display: flex; flex-direction: column; gap: 12px; padding: 0 22px 22px; }
.preview-body b { font: 700 20px 'Unbounded', sans-serif; }
.chip-row { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(167, 139, 250, .14); color: #DDD3FF; }
.chip.good { background: rgba(74, 222, 128, .12); color: #BBF7D0; }
.chip.good i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mini-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--r-epic), var(--r-common)); opacity: .85;
  animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.mini-bars i:nth-child(1) { height: 40%; } .mini-bars i:nth-child(2) { height: 65%; animation-delay: .05s; }
.mini-bars i:nth-child(3) { height: 50%; animation-delay: .1s; } .mini-bars i:nth-child(4) { height: 85%; animation-delay: .15s; }
.mini-bars i:nth-child(5) { height: 60%; animation-delay: .2s; } .mini-bars i:nth-child(6) { height: 95%; animation-delay: .25s; }
.mini-bars i:nth-child(7) { height: 72%; animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 700;
  background: rgba(18, 13, 30, .8); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  animation: float 6s ease-in-out infinite; }
.float-card.c1 { right: 0; top: 40px; }
.float-card.c2 { left: -10px; bottom: 60px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.legendary { background: var(--r-legendary); box-shadow: 0 0 10px var(--r-legendary); }
.dot.rare { background: var(--r-rare); box-shadow: 0 0 10px var(--r-rare); }

/* --- скляні картки --- */
.glass { position: relative; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 40px rgba(0, 0, 0, .3); }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.prod { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s; }
.prod.live:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, .5); }
.prod-art { position: relative; height: 160px; display: grid; place-items: center; color: #C4B5FD;
  background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, .4), transparent 60%), radial-gradient(circle at 80% 90%, rgba(192, 38, 211, .25), transparent 55%), #1A1330; }
.prod-art.gpo { background: linear-gradient(0deg, rgba(18, 13, 30, .9), transparent 55%), url("assets/gpo-hero.jpg") 72% 45% / cover; }
.prod-art svg { width: 54px; height: 54px; stroke-width: 1.4; opacity: .85; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(10, 8, 20, .6); color: #DDD3FF; border: 1px solid rgba(221, 211, 255, .25); backdrop-filter: blur(8px); }
.badge.live { background: rgba(22, 101, 52, .55); color: #BBF7D0; border-color: rgba(74, 222, 128, .35); }
.prod-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 22px; }
.prod-game { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod-name { font: 700 19px 'Unbounded', sans-serif; }
.prod.soon .prod-name, .prod.soon .muted { opacity: .75; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #E9D5FF;
  background: linear-gradient(135deg, rgba(124, 58, 237, .4), rgba(192, 38, 211, .25)); box-shadow: 0 8px 24px rgba(124, 58, 237, .25); }
.feature b { font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font: 700 16px 'Unbounded', sans-serif; color: #fff; background: var(--cta); box-shadow: 0 8px 22px rgba(124, 58, 237, .4); }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tier { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tier.featured { background: linear-gradient(160deg, rgba(124, 58, 237, .25), var(--glass) 60%); border-color: rgba(167, 139, 250, .45); }
.tier.featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0 58%, rgba(167, 139, 250, .6) 74%, var(--pink) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 7s linear infinite; }
.tier-name { font: 700 22px 'Unbounded', sans-serif; }
.tier-price { color: var(--muted); font-weight: 700; }
.tier ul { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.band { max-width: 1180px; margin: 90px auto 0; padding: 0 clamp(16px, 5vw, 40px); }
.band .glass { padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(192, 38, 211, .25), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(67, 56, 202, .3), transparent 60%), var(--glass); }
.band h2 { margin: 0 0 6px; font: 700 clamp(24px, 3vw, 34px)/1.2 'Unbounded', sans-serif; }

footer { max-width: 1180px; margin: 0 auto; padding: 60px clamp(16px, 5vw, 40px) 40px; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; color: var(--muted); font-size: 14px; }

/* ================= сторінка акаунта ================= */
.account { max-width: 1000px; margin: 0 auto; padding: clamp(32px, 7vh, 80px) clamp(16px, 5vw, 40px) 40px; }
.auth-card { width: min(440px, 100%); margin: 0 auto; padding: 34px; border-radius: 26px; animation: fade-up .7s ease-out both; }
.auth-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--spin), rgba(167, 139, 250, .18) 0 55%, #C4B5FD 70%, #F0ABFC 78%, rgba(167, 139, 250, .18) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 6s linear infinite; }
.form { display: flex; flex-direction: column; gap: 15px; }
.form-head { display: flex; flex-direction: column; gap: 6px; text-align: center; margin-bottom: 4px; }
.form-head > b { font: 700 22px 'Unbounded', sans-serif; }
.form-head > span { color: var(--muted); font-size: 14px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--glass2); border: 1px solid var(--line); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .55), rgba(192, 38, 211, .4)); transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.seg[data-mode="register"] .seg-thumb { transform: translateX(100%); }
.seg button { position: relative; height: 38px; border: 0; background: transparent; color: var(--muted); font: 700 15px 'Manrope', sans-serif; cursor: pointer; }
.seg button.active { color: #fff; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.form input { height: 48px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--glass2); color: var(--text);
  font: 500 15px 'Manrope', sans-serif; outline: none; transition: border-color .25s, box-shadow .25s; }
.form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }
.form input.code { text-align: center; font: 800 28px 'Manrope', sans-serif; letter-spacing: .5em; padding-left: .5em; height: 62px; }
.form-error { min-height: 18px; text-align: center; font-size: 14px; font-weight: 600; color: var(--bad); }
.form-ok { text-align: center; font-size: 14px; font-weight: 600; color: var(--good); }
.or-line { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7E7398; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .25), transparent); }
.row-links { display: flex; justify-content: space-between; }

.profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; animation: fade-up .7s ease-out both; }
.profile .glass { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.profile .wide-card { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(192, 38, 211, .22), transparent 60%), var(--glass); }
.ava { width: 72px; height: 72px; flex: none; border-radius: 22px; display: grid; place-items: center; font: 800 28px 'Manrope', sans-serif; color: #fff;
  background: linear-gradient(135deg, #7C3AED, #C026D3) center / cover no-repeat; box-shadow: 0 10px 30px rgba(124, 58, 237, .4); }
.ava.has-img { font-size: 0; }
.who { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
.who b { font: 700 22px 'Unbounded', sans-serif; word-break: break-all; }
.pill { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; border: 1px solid var(--line); color: var(--muted); }
.pill.plus { border-color: transparent; background: rgba(167, 139, 250, .2); color: #DDD3FF; }
.pill.pro { border-color: transparent; background: var(--cta); color: #fff; }
.card-title { font: 700 17px 'Unbounded', sans-serif; }
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.discord-row { display: flex; align-items: center; gap: 14px; }
.discord-ava { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #5865F2 center / cover no-repeat; }
.discord-ava.has-img svg { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; }
  .links { display: none; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .brand .wordmark { display: none; }
  .nav-actions .btn.ghost { display: none; }
  .float-card { display: none; }
  .auth-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= сторінка завантаження ================= */
.dl-hero { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) clamp(16px, 5vw, 40px) 0; }
.dl-card { padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(124, 58, 237, .22), transparent 60%), var(--glass); animation: fade-up .8s ease-out both; }
.dl-card .eyebrow { align-self: center; }
.dl-card h1 { margin: 0; font: 700 clamp(32px, 5vw, 52px)/1.1 'Unbounded', sans-serif; letter-spacing: -.02em; }
.dl-card .lead { max-width: 560px; }
.dl-orbit { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.dl-orbit img { width: 60px; height: 60px; filter: drop-shadow(0 6px 24px rgba(124, 58, 237, .6)); }
.dl-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(167, 139, 250, .25);
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, rgba(240, 171, 252, .7) 85%, transparent);
  -webkit-mask: radial-gradient(circle, transparent 46px, #000 47px); mask: radial-gradient(circle, transparent 46px, #000 47px);
  animation: border-spin 6s linear infinite; }
.dl-req { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-req li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #C9BEE0;
  background: var(--glass2); border: 1px solid var(--line); }
.dl-req svg { width: 16px; height: 16px; color: #C4B5FD; }
.btn.disabled { opacity: .5; pointer-events: none; }
.dl-steps { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* міні-екран SmartScreen: показує, куди тиснути */
.smartscreen { margin-top: 6px; padding: 12px 14px; border-radius: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: #0B3C8C; color: #fff; font: 600 13px 'Segoe UI', sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.ss-title { font-size: 15px; }
.ss-link { text-decoration: underline; color: #CFE3FF; outline: 2px dashed #F0ABFC; outline-offset: 3px; border-radius: 2px; }
.ss-btn { align-self: flex-end; padding: 5px 14px; border: 1px solid #fff; border-radius: 2px; outline: 2px dashed #F0ABFC; outline-offset: 3px; }

/* ціни й підвал */
.tier-price[data-price] { color: var(--text); font: 700 28px 'Unbounded', sans-serif; }
.tier-price small { font: 600 14px 'Manrope', sans-serif; color: var(--muted); }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-note { flex-basis: 100%; font-size: 13px; color: var(--muted); }

/* юридичні сторінки */
.legal { max-width: 820px; margin: 40px auto 0; padding: clamp(24px, 5vw, 48px); line-height: 1.65; animation: fade-up .7s ease-out both; }
.legal h1 { margin: 0 0 6px; font: 700 clamp(28px, 4vw, 40px)/1.15 'Unbounded', sans-serif; }
.legal h2 { margin: 30px 0 8px; font: 700 18px 'Unbounded', sans-serif; }
.legal p, .legal li { color: #D6CDEA; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a, .consent a { color: #C4B5FD; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--muted); font-weight: 700; }
.consent { text-align: center; }
.danger-zone { border-color: rgba(252, 165, 165, .25); }
.btn.danger { border-color: rgba(252, 165, 165, .45); color: #FCA5A5; }
.btn.danger:hover { background: rgba(252, 165, 165, .1); }

.ref-banner { padding: 10px 16px; border-radius: 14px; font-weight: 600; color: #F5D0FE;
  background: linear-gradient(90deg, rgba(124, 58, 237, .28), rgba(192, 38, 211, .22)); border: 1px solid rgba(240, 171, 252, .35); }
.ref-banner b { letter-spacing: .1em; }

.sale-badge { display: inline-block; margin: 0 auto 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #DB2777, #F97316); box-shadow: 0 8px 24px rgba(219, 39, 119, .35); }
.tier-price s { font: 600 15px 'Manrope', sans-serif; color: var(--muted); }

/* --- оплата (pay.html) --- */
.pay-card { gap: 16px; min-width: 0; }
.dl-hero:has(.pay-card) { width: 100%; box-sizing: border-box; }
.pay-card h1 { font-size: clamp(28px, 4vw, 40px); }
.pay-summary { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.pay-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.pay-line > :last-child { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.pay-line .pill { align-self: center; }
.pay-total { border-bottom: 0; padding-top: 14px; font-size: 18px; }
.pay-total b { font: 700 26px 'Unbounded', sans-serif; }
.pay-methods { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pay-methods .btn { white-space: normal; text-align: center; }
.pay-methods svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pay-state { max-width: 440px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 4, 10, .45); }
.pay-state.good { border-color: rgba(74, 222, 128, .45); color: var(--good); }
.pay-legal { margin: 0; }
.pay-legal a { color: inherit; }
