:root{
  --bg0:#070A12;
  --bg1:#0B1022;
  --text:#EAF0FF;
  --muted:#A9B5D6;
  --line:rgba(255,255,255,.12);
  --brand:#7C5CFF;
  --brand2:#2DE2FF;
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --radius:16px;
  --radius2:24px;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(1200px 700px at 20% 10%, rgba(124,92,255,.18), transparent 55%),
             radial-gradient(1000px 700px at 80% 30%, rgba(45,226,255,.14), transparent 55%),
             linear-gradient(180deg,var(--bg0),var(--bg1));
  color:var(--text);
  overflow-x:hidden;
}
.bg{
  position:fixed;inset:0;
  background:radial-gradient(700px 500px at 50% 110%, rgba(124,92,255,.10), transparent 60%);
  pointer-events:none;
}
.hidden{display:none !important}
.tm{opacity:.65;font-weight:600}
.grad{
  background:linear-gradient(90deg,var(--brand),var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;word-break:break-all}

.banner{
  position:relative;
  z-index:5;
  margin:12px 16px 0;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(124,92,255,.2);
  border:1px solid rgba(124,92,255,.35);
  font-size:14px;
  font-weight:600;
  text-align:center;
}
.bannerWarn{
  background:rgba(255,180,80,.12);
  border-color:rgba(255,180,80,.35);
}
.banner code{font-size:12px}

.wrap{
  position:relative;
  z-index:1;
  max-width:560px;
  margin:0 auto;
  padding:20px 16px 40px;
  min-height:100vh;
}
.shopPage{
  min-height:auto;
  padding-bottom:12px;
}
.siteFoot{
  position:relative;
  z-index:1;
  max-width:560px;
  margin:0 auto;
  padding:8px 16px 20px;
  text-align:center;
}
.siteFootLinks{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.01em;
}
.siteFootLinks a{
  color:rgba(169,181,214,.55);
  text-decoration:none;
}
.siteFootLinks a:hover{
  color:rgba(169,181,214,.85);
  text-decoration:underline;
}
.siteFootLinks span{
  color:rgba(169,181,214,.35);
  font-size:10px;
}
.siteFootSuccess{padding-top:0;margin-top:-8px}
.payRowCard{
  margin-top:12px;
}
.payRowCardInner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,10,18,.18);
  box-shadow:0 12px 40px rgba(0,0,0,.25);
}
.payRowLogos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.payLogo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:22px;
  padding:0 8px;
  border-radius:8px;
  background:rgba(255,255,255,.92);
  color:#0b1226;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1;
  user-select:none;
}
.payLogoStripe{
  background:transparent;
  color:#635bff;
  font-weight:900;
  padding:0 2px;
}
.payLogoPayPal{
  background:#ffffff;
  color:#003087;
  font-weight:900;
}
.payLogoAmex{
  background:#2E77BC;
  color:#fff;
  font-weight:900;
}
.payLogoApplePay{
  background:#111;
  color:#fff;
  font-weight:900;
}
.payLogoGPay{
  background:#fff;
  color:#111;
  font-weight:900;
}
.payLogoMc{
  background:#fff;
  color:#111;
}
.payRowCaption{
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(169,181,214,.7);
}
.successFootLinks{display:none}
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}
.brand{font-weight:800;font-size:20px;letter-spacing:-.02em}
.pricePill{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:800;
  font-size:14px;
}
.heroTitle{
  margin:0 0 12px;
  font-size:clamp(28px,7vw,40px);
  line-height:1.1;
  letter-spacing:-.03em;
}
.lead{
  margin:0 0 24px;
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
  font-size:16px;
}
.card{
  padding:20px 18px;
  border-radius:var(--radius2);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(13,19,43,.9), rgba(11,17,38,.75));
  box-shadow:var(--shadow);
}
.cardTitle{margin:0 0 12px;font-size:18px}
.bullets{
  margin:0 0 20px;
  padding-left:20px;
  color:var(--muted);
  font-weight:600;
  line-height:1.6;
}
.giftLangField{
  margin:0 0 10px;
}
.giftLangFieldTop{
  margin:0 0 12px;
  max-width:260px;
  margin-left:auto;
  margin-right:auto;
}
.giftLangFieldTop .label{
  text-align:center;
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(169,181,214,.7);
}
.giftLangFieldTop select{
  padding:10px 12px;
  font-size:14px;
  border-radius:12px;
}
.langPreview{
  margin:0 0 14px;
}
.btnBuyMain{
  margin-top:4px;
}
.btnBuyMain{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:
    0 18px 70px rgba(124,92,255,.28),
    0 14px 46px rgba(45,226,255,.16);
}
.btnBuyMain:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(220px 120px at 20% 30%, rgba(124,92,255,.42), transparent 60%),
    radial-gradient(220px 140px at 78% 70%, rgba(45,226,255,.35), transparent 62%),
    linear-gradient(135deg, rgba(124,92,255,.55), rgba(45,226,255,.45));
  opacity:.55;
  filter: blur(10px);
}
.btnBuyMain:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(2px 2px at 14% 32%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(2px 2px at 22% 68%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(2px 2px at 45% 48%, rgba(255,255,255,.70), transparent 60%),
    radial-gradient(2px 2px at 66% 28%, rgba(255,255,255,.60), transparent 60%),
    radial-gradient(2px 2px at 82% 58%, rgba(255,255,255,.72), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.22), rgba(255,255,255,.0));
  opacity:.55;
  mix-blend-mode:screen;
  transform:translateX(-35%);
  animation:shineSlide 3.2s ease-in-out infinite;
}
.btnBuyMain > *{position:relative; z-index:1}
.btnBuyMain{
  background:linear-gradient(90deg, rgba(124,92,255,.95), rgba(45,226,255,.95));
  color:#07101f;
}
.btnBuyMain:hover{
  transform:translateY(-1px);
  filter:saturate(1.05);
}
.btnBuyMain:active{transform:translateY(0)}

@keyframes shineSlide{
  0%,35%{transform:translateX(-45%)}
  65%,100%{transform:translateX(45%)}
}
.shopFinePrint{
  margin:12px 0 0;
  text-align:center;
  font-size:12px;
  font-weight:600;
  color:rgba(169,181,214,.75);
  line-height:1.45;
}
.botBuilder{margin:0 0 14px}
.botBuilderTitle{
  margin:0 0 10px;
  text-align:center;
  font-weight:800;
  letter-spacing:-.02em;
}
.botOutput{margin-top:12px}
.botOutputLabel{
  margin:0 0 8px;
  font-size:12px;
  font-weight:800;
  color:rgba(169,181,214,.85);
  text-align:center;
}
.botOutputBox{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,10,18,.22);
  border-radius:14px;
  padding:14px 14px;
  font-weight:650;
  line-height:1.55;
  text-align:left;
}
.botPreviewText{
  white-space:pre-wrap;
}
.botPreviewBlur{
  margin-top:10px;
  white-space:pre-wrap;
  filter: blur(7px);
  opacity:.55;
  user-select:none;
  pointer-events:none;
  position:relative;
}
.botPreviewBlur:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:18px;
  background:linear-gradient(180deg, rgba(7,10,18,0), rgba(7,10,18,.55));
}
.botPaywallHint{
  margin:10px 0 0;
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:rgba(169,181,214,.7);
}
.unlockCard{
  margin:14px 0 14px;
  padding:14px 12px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(7,10,18,.08));
  text-align:center;
}
.unlockTitleRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:900;
  letter-spacing:.02em;
  color:rgba(234,240,255,.92);
}
.unlockLock{
  font-size:14px;
  opacity:.9;
}
.unlockTitle{
  font-size:14px;
}
.unlockSub{
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:rgba(169,181,214,.85);
}
.unlockMiniCard{
  position:relative;
  width:min(320px, 92%);
  height:62px;
  margin:12px auto 0;
  border-radius:14px;
  border:1px solid rgba(124,92,255,.22);
  background:linear-gradient(180deg, rgba(124,92,255,.09), rgba(45,226,255,.06));
  overflow:hidden;
}
.unlockMiniCard:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(2px 2px at 18% 32%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(2px 2px at 34% 68%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(2px 2px at 62% 44%, rgba(255,255,255,.40), transparent 60%),
    radial-gradient(2px 2px at 78% 26%, rgba(255,255,255,.35), transparent 60%);
  opacity:.55;
  pointer-events:none;
}
.unlockMiniGlow{
  position:absolute;
  inset:-20px;
  background:radial-gradient(200px 80px at 20% 80%, rgba(124,92,255,.28), transparent 60%), radial-gradient(200px 80px at 75% 30%, rgba(45,226,255,.20), transparent 60%);
  filter: blur(10px);
  opacity:.65;
}
.unlockMiniMap{
  position:absolute;
  inset:10px 12px;
  border-radius:10px;
  background:linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px) 0 0/16px 16px, linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0/16px 16px;
  opacity:.45;
}
.unlockMiniPin{
  position:absolute;
  right:38px;
  top:20px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(167,110,255,.95);
  box-shadow:0 0 0 4px rgba(167,110,255,.18);
}
.unlockMiniDot{
  position:absolute;
  left:44px;
  top:34px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(76,234,255,.95);
  box-shadow:0 0 0 4px rgba(76,234,255,.16);
}
.unlockMiniPath{
  position:absolute;
  left:58px;
  top:38px;
  width:170px;
  height:2px;
  background:linear-gradient(90deg, rgba(76,234,255,.0), rgba(76,234,255,.75), rgba(167,110,255,.85));
  transform:rotate(-8deg);
  border-radius:999px;
  opacity:.8;
}
.langPreviewLabel{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  color:rgba(169,181,214,.85);
  text-align:center;
}
.langPreviewBox{
  padding:16px 14px;
  border-radius:14px;
  border:1px solid rgba(124,92,255,.28);
  background:linear-gradient(180deg, rgba(124,92,255,.1), rgba(45,226,255,.06));
  text-align:center;
}
.langPreviewCongrats{
  margin:0 0 8px;
  font-size:clamp(18px,4.5vw,24px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
}
.langPreviewNothing{
  margin:0;
  font-size:clamp(15px,3.8vw,18px);
  font-weight:600;
  color:var(--text);
  line-height:1.35;
}
.foot{
  margin-top:28px;
  color:rgba(169,181,214,.7);
  font-size:13px;
  font-weight:600;
  text-align:center;
}

.legalPage{align-items:flex-start;padding-top:24px}
.legalCard{width:100%;text-align:left}
.legalTitle{margin:0 0 8px;font-size:clamp(26px,6vw,34px);letter-spacing:-.03em}
.legalLead{
  margin:0 0 24px;
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
}
.legalBlock{margin:0 0 22px}
.legalBlock h2{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-.02em;
}
.legalBlock p,.legalBlock li{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
  font-size:15px;
}
.legalBlock a{color:#9eb4ff}
.legalList{
  margin:0 0 10px;
  padding-left:20px;
  color:var(--muted);
  font-weight:600;
  line-height:1.55;
}
.legalNav{
  display:flex;
  gap:16px;
  justify-content:center;
  margin:20px 0 40px;
  font-size:14px;
  font-weight:700;
}
.legalNav a{color:rgba(169,181,214,.95);text-decoration:none}
.legalNav a:hover{text-decoration:underline}
.brandLink{color:inherit;text-decoration:none}
.brandLink:hover{opacity:.9}

.recipientCenter{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
  position:relative;
  z-index:1;
}
.recipientCenterCard{
  width:min(420px,100%);
  padding:32px 24px;
  border-radius:var(--radius2);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(13,19,43,.92), rgba(11,17,38,.78));
  box-shadow:var(--shadow);
  text-align:center;
}
.langBrand{margin:0 0 16px;font-weight:800;letter-spacing:-.02em}
.recipientCenterTitle{
  margin:0 0 8px;
  font-size:clamp(24px,6vw,32px);
  letter-spacing:-.03em;
}
.recipientCenterSub{
  margin:0 0 24px;
  color:var(--muted);
  font-weight:600;
  line-height:1.5;
  font-size:15px;
}
#btnRecipientOpen{
  margin-top:6px;
}
.recipientLangField{
  margin:0 auto 20px;
  max-width:320px;
  text-align:center;
}
.languageSelectCenter{
  font-size:18px;
  padding:16px 14px;
  text-align:center;
}
.previewLabel{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  color:rgba(169,181,214,.85);
}
.langPreview{
  margin:0 0 18px;
  font-size:clamp(18px,4.5vw,26px);
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.02em;
  min-height:2.6em;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.field{display:grid;gap:8px}
.label{color:rgba(169,181,214,.9);font-weight:700;font-size:12px}
input,select{
  width:100%;
  padding:14px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(7,10,18,.35);
  color:var(--text);
  outline:none;
  font-weight:650;
  font-size:16px;
}
textarea{
  width:100%;
  padding:14px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(7,10,18,.35);
  color:var(--text);
  outline:none;
  font-weight:650;
  font-size:16px;
  resize:vertical;
  min-height:96px;
}
.btn{
  appearance:none;
  border:0;
  padding:14px 16px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
  color:#07101f;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 14px 40px rgba(124,92,255,.18);
  min-height:48px;
  font-size:15px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btnWide{width:100%}
.btnSoft{
  background:rgba(255,255,255,.08);
  color:var(--text);
  box-shadow:none;
  border:1px solid var(--line);
}
.btnAiWrite{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(124,92,255,.35);
  background:linear-gradient(90deg, rgba(124,92,255,.22), rgba(45,226,255,.18));
  box-shadow:
    0 18px 60px rgba(124,92,255,.14),
    0 14px 44px rgba(45,226,255,.10);
  letter-spacing:.12em;
}
.btnAiWrite:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(260px 120px at 20% 30%, rgba(124,92,255,.30), transparent 60%),
    radial-gradient(260px 140px at 78% 70%, rgba(45,226,255,.22), transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.16), rgba(255,255,255,.0));
  opacity:.55;
  transform:translateX(-35%);
  animation:aiWriteSweep 3.2s ease-in-out infinite;
}
.btnAiWrite > *{position:relative; z-index:1}
.aiWriteIcon{
  font-size:14px;
  margin-right:10px;
  opacity:.95;
  text-shadow:0 0 18px rgba(124,92,255,.55);
}
.aiWriteText{
  font-weight:900;
  font-size:14px;
}
@keyframes aiWriteSweep{
  0%,35%{transform:translateX(-45%)}
  65%,100%{transform:translateX(45%)}
}
.btn:disabled{opacity:.7;cursor:wait}

.modal{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  padding:0;
  background:linear-gradient(180deg, rgba(13,19,43,.98), rgba(11,17,38,.96));
  color:var(--text);
  width:min(480px, calc(100vw - 24px));
  max-height:calc(100vh - 24px);
  overflow:auto;
}
.modal::backdrop{background:rgba(0,0,0,.75)}
.modalInner{padding:22px 20px 20px}
.modalHead{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.modalTitle{font-weight:800;font-size:20px}
.modalSub{color:var(--muted);font-size:14px;font-weight:600;margin-top:4px;line-height:1.4}
.iconBtn{
  flex-shrink:0;
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-size:18px;
}
.row{margin-bottom:12px}
.checkoutNote{
  margin:8px 0 16px;
  font-size:13px;
  color:var(--muted);
  font-weight:600;
  line-height:1.45;
}
.checkoutNoteSmall{
  margin-top:-8px;
  font-size:12px;
  opacity:.9;
}
.modalActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.modalActions .btn{flex:1;min-width:120px}
.modalActions .btnSoft{flex:0 1 auto}

.recipientWindow{
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  padding:0;
  background:linear-gradient(180deg, rgba(13,19,43,.98), rgba(11,17,38,.96));
  color:var(--text);
  width:min(520px, calc(100vw - 32px));
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  z-index:10001;
}
.recipientWindow::backdrop{background:rgba(0,0,0,.72)}
.recipientWindowInner{padding:36px 28px;text-align:center}
.fireworksCanvas{
  position:fixed;
  inset:0;
  z-index:10000;
  pointer-events:none;
}
.recipientReveal{
  display:block;
}
.recipientTextPane{text-align:center}
.recipientH1{
  margin:0 0 12px;
  font-size:clamp(26px,6vw,44px);
  line-height:1.15;
  letter-spacing:-.03em;
}
.recipientH2{
  margin:0;
  font-size:clamp(18px,4.5vw,28px);
  line-height:1.35;
  font-weight:600;
  color:var(--text);
  letter-spacing:-.02em;
}
.recipientBotText{
  margin:16px 0 0;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(7,10,18,.22);
  font-size:15px;
  font-weight:650;
  line-height:1.55;
  white-space:pre-wrap;
  text-align:left;
  color:rgba(234,240,255,.92);
}
.recipientActions{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.1);
}
.btnRecipientReturn{
  width:100%;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  line-height:1.35;
  padding:14px 18px;
}
body.recipientFallbackOpen .recipientWindow{
  position:fixed;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  display:block;
  z-index:10001;
  margin:0;
}
body.recipientFallbackOpen .recipientFallbackBackdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  z-index:9999;
}
.successPage{align-items:flex-start;padding-top:32px}
.successCard{width:100%}
.doneTitle{font-size:24px;font-weight:800;margin-bottom:8px;letter-spacing:-.02em}
.doneSub{color:var(--muted);font-weight:600;margin-bottom:20px;line-height:1.5}
.linkBox{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(7,10,18,.4);
  margin-bottom:12px;
}
.previewHint{font-size:13px;color:var(--muted);font-weight:600;margin:16px 0 8px}
.recipientPreview{
  padding:16px;
  border-radius:14px;
  border:1px dashed var(--line);
  text-align:center;
}
.previewLine{font-size:20px;font-weight:800}
.successActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.successActions .btn{flex:1;min-width:140px}
.wakeHint{
  margin-top:16px;
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  font-weight:600;
}

@media (max-width:400px){
  .modalActions{flex-direction:column}
  .modalActions .btn,.modalActions .btnSoft{width:100%;flex:1}
}
