@charset "UTF-8";
:root{--bg:#f4f4f8;--panel:#ffffff;--line:#ece5f0;--line-strong:#d9cee0;--text:#1a1620;--text-2:#3a3040;--muted:#706478;--muted-soft:#8f8299;--brand:#b81c9a;--brand-dark:#8a0f7c;--brand-darker:#5b0868;--brand-mid:#9c1498;--brand-light:#d846b6;--brand-soft:#f9ecf6;--warn-bg:#fff6d6;--warn-border:#f2dfa0;--warn-text:#7a5613;--warn-muted:#9a793d;--green:#35a655;--green-soft:#e6f5ea;--red:#c8323b;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
button,input{font:inherit}
button{cursor:pointer;background:transparent;border:0;color:inherit;font-family:inherit}
button:disabled{cursor:default;opacity:.4}
a{color:inherit;text-decoration:none}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}
h1,h2,h3,p{margin-top:0}

/*  Hero  */
.hero{position:relative;overflow:hidden;color:#fff;padding:26px 32px 120px;background:radial-gradient(ellipse 1000px 500px at 78% 30%,#c22ba9 0,transparent 70%),linear-gradient(180deg,var(--brand-darker) 0%,var(--brand-mid) 100%)}
.hero-bubble{position:absolute;border-radius:50%;background:radial-gradient(circle,#ffffff10 0,transparent 60%);pointer-events:none}
.bubble-a{width:340px;height:340px;right:-90px;top:-90px}
.bubble-b{width:220px;height:220px;right:12%;bottom:-70px;opacity:.6}
.topbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:90px}
.wordmark{font-size:26px;font-weight:800;letter-spacing:-.5px;color:#fff}
.menu-btn{display:grid;place-items:center;width:40px;height:40px;color:#fff;border-radius:10px;transition:background .15s}
.menu-btn:hover{background:#ffffff18}
.menu-btn svg{width:26px;height:26px;stroke-width:2}
.hero-body{position:relative;z-index:2;text-align:center;max-width:600px;margin-inline:auto}
.pill{display:inline-flex;padding:9px 22px;background:#ffffff20;border:1px solid #ffffff30;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:1.8px;color:#fff;margin-bottom:22px;text-transform:uppercase;backdrop-filter:blur(6px)}
.hero-sub{font-size:16px;color:#ffffffcc;margin:0 0 8px;font-weight:400}
.hero-amount{margin:0;color:#fff;line-height:1;font-weight:800;font-size:clamp(72px,12vw,120px);letter-spacing:-4px;display:flex;align-items:baseline;justify-content:center;gap:14px}
.hero-amount .ruble{font-size:.82em;font-weight:700}
.hero-order{font-size:15px;color:#ffffffcc;margin:16px 0 0}

/*  Stage (cards overlap hero bottom) ─ */
.stage{width:min(760px,calc(100% - 32px));margin:-72px auto 0;position:relative;z-index:3;flex:1;padding-bottom:36px}

/* Promo code card */
.promo-card{background:#fff;border-radius:20px;padding:26px 30px 24px;box-shadow:0 20px 60px #5b086814,0 4px 12px #0000000a}
.kicker{display:block;font-family:Consolas,"Courier New",monospace;font-size:11px;font-weight:700;letter-spacing:1.9px;color:var(--brand);margin:6px 0 30px;text-transform:uppercase}
.code-row{display:flex;align-items:stretch;gap:16px}
.code-box{flex:1;border:2px dashed var(--brand);border-radius:12px;padding:18px 22px;font-family:Consolas,"Courier New",monospace;font-weight:800;font-size:22px;letter-spacing:2.5px;color:var(--brand-dark);background:#faedf6;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center}
.copy-btn{flex-shrink:0;padding:0 24px;min-height:60px;border:1.5px solid var(--brand);color:var(--brand-dark);border-radius:12px;font-size:13px;font-weight:600;transition:background .18s,color .18s,transform .15s;background:#fff}
.copy-btn:hover{background:var(--brand-soft);transform:translateY(-1px)}
.copy-btn.is-copied{background:var(--brand);color:#fff;border-color:var(--brand)}
.promo-hint{margin:18px 0 0;font-size:13px;color:var(--muted)}

/* Timer card */
.timer-card{margin-top:18px;display:flex;align-items:center;gap:16px;padding:18px 22px;background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:16px;color:var(--warn-text)}
.hourglass{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;color:var(--warn-text);background:#fff2b3;border-radius:12px}
.hourglass svg{width:26px;height:26px;stroke-width:1.8}
.timer-card>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.timer-card strong{font-size:15px;font-weight:700;color:var(--warn-text)}
.timer-card span{font-size:13px;color:var(--warn-muted)}

/* Terms card */
.terms-card{margin-top:18px;background:#fff;border-radius:20px;padding:26px 30px 24px;box-shadow:0 20px 60px #5b08680d,0 4px 12px #0000000a}
.terms-card h2{font-size:20px;letter-spacing:-.3px;margin:0 0 18px;color:var(--text);font-weight:700}
.terms-list{list-style:none;padding:0;margin:0;display:grid;gap:13px}
.terms-list li{display:flex;align-items:flex-start;gap:13px;font-size:14px;color:var(--text-2);line-height:1.5}
.terms-list .check{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;margin-top:1px;border-radius:50%;background:var(--green-soft);color:var(--green)}
.terms-list .check svg{width:13px;height:13px;stroke-width:2.6}

/* CTA */
.cta-activate{display:block;width:100%;margin-top:22px;padding:22px;border-radius:16px;background:linear-gradient(90deg,var(--brand-dark) 0%,var(--brand) 55%,var(--brand-light) 100%);color:#fff;font-size:16px;font-weight:700;letter-spacing:.2px;box-shadow:0 15px 40px #b81c9a48;transition:transform .18s,box-shadow .2s,filter .2s}
.cta-activate:hover{transform:translateY(-1px);box-shadow:0 18px 44px #b81c9a58;filter:brightness(1.03)}
.cta-activate:active{transform:translateY(0)}

.sub-tag{text-align:center;margin:22px 0 0;font-size:12px;color:var(--muted)}

/* Footer */
.site-foot{background:#1a1620;color:#ffffffb0;padding:22px 24px 26px;text-align:center;font-size:12px;line-height:1.7}
.site-foot p{margin:2px 0}
.site-foot .sig{color:#ffffff70;font-size:11px}

/*  Auth dialog ─ */
dialog{background:#fff;color:var(--text);border:1px solid var(--line);border-radius:22px;padding:34px 30px 28px;width:min(430px,calc(100% - 32px));box-shadow:0 30px 100px #1a162060;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}
dialog::backdrop{background:#1a162099;backdrop-filter:blur(6px)}
dialog h2{font-size:26px;letter-spacing:-.7px;line-height:1.2;margin:22px 0 12px;color:var(--text);font-weight:700}
dialog p{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 22px}
.dialog-close{position:absolute;top:14px;right:15px;color:var(--muted);font-size:28px;width:36px;height:36px;line-height:1;border-radius:10px}
.dialog-close:hover{color:var(--text);background:var(--brand-soft)}

.auth-telegram-icon{display:block;width:60px;height:60px;filter:drop-shadow(0 6px 18px #0088cc40)}

#auth-dialog .section-kicker{display:block;font-family:Consolas,"Courier New",monospace;font-size:10px;letter-spacing:1.7px;color:var(--brand);margin:16px 0 26px;text-transform:uppercase}
#auth-dialog h2{margin-top:0;font-size:26px}

.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;min-height:52px;padding:0 22px;font-size:14px;font-weight:700;transition:background .18s,transform .18s,box-shadow .2s;color:#fff}
.button-telegram{width:100%;background:#0088cc;color:#fff;font-size:14px;gap:10px;box-shadow:0 8px 20px #0088cc35;position:relative}
.button-telegram:hover{background:#0074b0;transform:translateY(-1px)}
.button-telegram svg{width:20px;height:20px}
.button-telegram svg:last-child{margin-left:auto}

#auth-dialog .auth-note{text-align:center;font-size:11px;margin:14px 0 0;color:var(--muted-soft)}
#auth-dialog .auth-status{font-size:12px;line-height:1.6;color:var(--brand-dark);padding:13px 15px;border:1px solid var(--brand-light);border-radius:10px;margin:20px 0 0;background:var(--brand-soft)}
#auth-dialog .auth-status[data-kind=error]{color:#a02831;border-color:#e6a5a9;background:#fbecee}

#auth-dialog .auth-form{display:block;margin:0}
#auth-dialog .auth-label{display:block;font-family:Consolas,"Courier New",monospace;font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-bottom:10px;text-transform:uppercase}
#auth-dialog .auth-input{display:block;width:100%;background:#fafafd;border:1px solid var(--line-strong);border-radius:12px;padding:15px 16px;color:var(--text);font-size:15px;letter-spacing:.4px;transition:border-color .18s,box-shadow .18s,background .18s;margin-bottom:18px;font-family:inherit;-webkit-appearance:none;appearance:none}
#auth-dialog .auth-input:focus{outline:none;border-color:#0088cc;box-shadow:0 0 0 3px #0088cc22;background:#fff}
#auth-dialog .auth-input:disabled{opacity:.55;cursor:not-allowed;background:var(--brand-soft)}
#auth-dialog .auth-input::placeholder{color:#a99cb2}
#auth-dialog .auth-input-code{letter-spacing:9px;text-align:center;font-size:22px;font-family:Consolas,"Courier New",monospace}
#auth-dialog .auth-input-code::placeholder{letter-spacing:9px}

#auth-dialog .auth-form .button-telegram{width:100%;margin-top:2px}
#auth-dialog .auth-form .button-telegram:disabled{background:var(--line-strong);color:#fff;transform:none;box-shadow:none}
#auth-dialog .auth-form .button-telegram.is-loading .button-label,#auth-dialog .auth-form .button-telegram.is-loading svg{visibility:hidden}
#auth-dialog .auth-form .button-telegram.is-loading::after{content:"";position:absolute;top:50%;left:50%;width:19px;height:19px;margin:-10px 0 0 -10px;border:2px solid #fff;border-top-color:transparent;border-radius:50%;animation:auth-spin .7s linear infinite}
@keyframes auth-spin{to{transform:rotate(360deg)}}

.button-small{min-height:44px;font-size:12px;padding:0 22px;background:#fff;border:1px solid var(--line-strong);color:var(--text)}
.button-small:hover{background:var(--brand-soft);border-color:var(--brand);transform:translateY(-1px)}

#auth-dialog .auth-fail{text-align:center;padding:6px 0 0}
#auth-dialog .auth-fail-icon{width:56px;height:56px;color:var(--red);margin:0 auto 18px;display:block;stroke-width:1.6}
#auth-dialog .auth-fail h3{font-size:19px;letter-spacing:-.4px;margin:0 0 12px;color:var(--text)}
#auth-dialog .auth-fail p{font-size:13px;line-height:1.7;margin:0 0 22px;color:var(--muted)}

/*  Responsive  */
@media(max-width:680px){
  .hero{padding:22px 20px 100px}
  .topbar{margin-bottom:56px}
  .wordmark{font-size:22px}
  .hero-amount{gap:10px;letter-spacing:-3px}
  .hero-sub{font-size:15px}
  .pill{font-size:10px;padding:8px 18px;letter-spacing:1.5px}
  .bubble-a{width:240px;height:240px;right:-70px;top:-70px}
  .bubble-b{display:none}
  .stage{margin-top:-62px;width:calc(100% - 20px)}
  .promo-card,.terms-card{padding:22px 20px 20px;border-radius:18px}
  .code-row{flex-direction:column;gap:12px}
  .code-box{font-size:19px;letter-spacing:2px;padding:16px 18px}
  .copy-btn{width:100%;min-height:50px}
  .timer-card{padding:14px 16px;gap:13px;border-radius:14px}
  .timer-card strong{font-size:14px}
  .timer-card span{font-size:12px}
  .hourglass{width:40px;height:40px}
  .hourglass svg{width:22px;height:22px}
  .terms-card h2{font-size:18px}
  .terms-list li{font-size:13px}
  .cta-activate{padding:19px;font-size:15px;border-radius:14px}
  dialog{padding:28px 22px 24px;border-radius:20px}
  dialog h2,#auth-dialog h2{font-size:22px}
  .auth-telegram-icon{width:56px;height:56px}
  .auth-telegram-icon svg{width:29px;height:29px}
}

@media(max-width:400px){
  .hero-amount{letter-spacing:-2.5px}
  .code-box{font-size:17px;letter-spacing:1.6px}
  .cta-activate{font-size:14px;padding:18px}
}
