:root{
  --sprout:#8bc34a;--lime:#b8e06a;--sun:#f0c040;--amber:#e6a817;
  --fern:#4e7a3a;--moss:#3a5c2e;
  --cream:#f5f0e0;--parchment:#ede5cc;--bark:#2c2416;--soil:#1a1a0e;
  --card-bg:rgba(255,255,255,.028);
  --card-border:rgba(139,195,74,.11);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--soil);color:var(--cream);
  font-family:'Nunito',sans-serif;font-size:16px;line-height:1.6;overflow-x:hidden;
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='4' fill='%238bc34a' opacity='0.8'/%3E%3C/svg%3E") 10 10,auto;
}
body::before{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity:.5;
}
::-webkit-scrollbar{width:5px;}
::-webkit-scrollbar-track{background:var(--bark);}
::-webkit-scrollbar-thumb{background:var(--fern);border-radius:3px;}

/* ── NAV ── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 48px;
  background:rgba(22,22,12,.9);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(139,195,74,.12);
}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.nav-logo-text{font-family:'Fraunces',serif;font-size:1.3rem;font-weight:700;color:var(--sprout);}
.nav-links{display:flex;gap:28px;list-style:none;align-items:center;}
.nav-links a{color:var(--parchment);text-decoration:none;font-size:.82rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;opacity:.6;transition:opacity .2s,color .2s;}
.nav-links a:hover{opacity:1;color:var(--sprout);}
.nav-pill{
  background:rgba(139,195,74,.1);color:var(--sprout)!important;
  padding:7px 18px;border-radius:40px;opacity:1!important;
  border:1px solid rgba(139,195,74,.22)!important;
  text-transform:none!important;letter-spacing:0!important;
  transition:background .2s!important;
}
.nav-pill:hover{background:rgba(139,195,74,.2)!important;}

/* ── HERO ── */
.hero{
  position:relative;min-height:54vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;padding:150px 24px 64px;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 100%,rgba(78,122,58,.4) 0%,transparent 70%),
    radial-gradient(ellipse 80% 40% at 30% 0%,rgba(139,195,74,.06) 0%,transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 10%,rgba(240,192,64,.05) 0%,transparent 50%),
    linear-gradient(180deg,#0b0f08 0%,#161610 55%,#111409 100%);
}
.hero-particles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;}
.hp{position:absolute;border-radius:50%;opacity:0;animation:hp-rise linear infinite;}
@keyframes hp-rise{0%{opacity:0;transform:translateY(0) scale(1)}10%{opacity:.6}85%{opacity:.25}100%{opacity:0;transform:translateY(-110vh) scale(.4)}}
.hero-inner{position:relative;z-index:2;max-width:660px;}
.hero-kicker{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(240,192,64,.08);border:1px solid rgba(240,192,64,.22);
  border-radius:40px;padding:5px 16px;
  font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sun);
  margin-bottom:24px;animation:fadeDown .7s ease both;
}
.kicker-dot{width:6px;height:6px;background:var(--sun);border-radius:50%;animation:blink 2s ease infinite;}
@keyframes blink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(1.5)}}
.hero-title{
  font-family:'Fraunces',serif;
  font-size:clamp(2.6rem,6.5vw,4.6rem);
  font-weight:700;line-height:1.04;letter-spacing:-.025em;
  margin-bottom:16px;animation:fadeDown .7s .1s ease both;
}
.hero-title .g{color:var(--sprout);}
.hero-title .y{color:var(--sun);}
.hero-sub{
  font-size:1rem;font-weight:400;color:rgba(245,240,224,.52);
  max-width:480px;margin:0 auto;animation:fadeDown .7s .2s ease both;
  line-height:1.65;
}
@keyframes fadeDown{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}

/* ── MAIN ── */
main{position:relative;z-index:1;}
.wrap{max-width:1040px;margin:0 auto;padding:32px 40px 90px;}

.sec-label{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.68rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sprout);margin-bottom:24px;
}
.sec-label::before{content:'';width:18px;height:1px;background:var(--sprout);}

/* ── GRID ── */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:48px;}
.grid-2{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:48px;}

/* ── CARD ── */
.card{
  position:relative;overflow:hidden;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:20px;padding:28px 24px 24px;
  display:flex;flex-direction:column;
  transition:border-color .25s,transform .22s,background .25s;
  cursor:pointer;
}
.card::after{
  content:'';position:absolute;inset:0;border-radius:20px;
  background:linear-gradient(135deg,rgba(139,195,74,.04) 0%,transparent 60%);
  opacity:0;transition:opacity .3s;pointer-events:none;
}
.card:hover{border-color:rgba(139,195,74,.32);transform:translateY(-4px);}
.card:hover::after{opacity:1;}
.card.featured{
  border-color:rgba(240,192,64,.28);
  background:linear-gradient(145deg,rgba(240,192,64,.06),rgba(58,92,46,.08));
}
.card.featured:hover{border-color:rgba(240,192,64,.52);}
.card.alt{
  border-color:rgba(230,168,23,.2);
  background:linear-gradient(145deg,rgba(230,168,23,.06),rgba(78,122,58,.08));
}
.card.alt:hover{border-color:rgba(230,168,23,.44);}

/* card top line */
.card-top-line{position:absolute;top:0;left:0;right:0;height:2px;border-radius:20px 20px 0 0;opacity:0;transition:opacity .3s;}
.card:hover .card-top-line{opacity:1;}
.line-green{background:linear-gradient(90deg,transparent,var(--sprout),transparent);}
.line-gold{background:linear-gradient(90deg,transparent,var(--sun),transparent);opacity:1;}
.line-amber{background:linear-gradient(90deg,transparent,var(--amber),transparent);opacity:1;}

/* icon watermark bg */
.card-icon-bg{
  position:absolute;right:-14px;bottom:-14px;
  width:110px;height:110px;opacity:.055;
  pointer-events:none;
  transition:opacity .3s,transform .35s;
  color:var(--sprout);
}
.card-icon-bg svg{width:100%;height:100%;}
.card:hover .card-icon-bg{opacity:.12;transform:scale(1.1) rotate(8deg);}
.featured .card-icon-bg{color:var(--sun);}
.alt .card-icon-bg{color:var(--amber);}

/* tag */
.card-tag{
  display:inline-flex;align-items:center;gap:5px;
  font-size:.64rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
  padding:3px 10px;border-radius:40px;margin-bottom:18px;width:fit-content;
}
.tg{background:rgba(139,195,74,.11);color:var(--sprout);border:1px solid rgba(139,195,74,.22);}
.ty{background:rgba(240,192,64,.1);color:var(--sun);border:1px solid rgba(240,192,64,.25);}
.ta{background:rgba(230,168,23,.1);color:var(--amber);border:1px solid rgba(230,168,23,.25);}
.tb{background:rgba(120,190,255,.08);color:#8dcef5;border:1px solid rgba(120,190,255,.18);}

/* card icon (inline, top) */
.card-icon{
  width:44px;height:44px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;flex-shrink:0;
}
.ci-green{background:rgba(139,195,74,.12);}
.ci-gold{background:rgba(240,192,64,.12);}
.ci-amber{background:rgba(230,168,23,.12);}
.ci-blue{background:rgba(120,190,255,.1);}
.card-icon svg{width:22px;height:22px;}

.card-name{font-family:'Fraunces',serif;font-size:1.15rem;font-weight:700;color:var(--cream);margin-bottom:6px;line-height:1.25;}
.card-desc{font-size:.83rem;color:rgba(245,240,224,.46);line-height:1.58;flex:1;margin-bottom:18px;}
.card-price{
  font-family:'Fraunces',serif;font-size:1.8rem;font-weight:700;
  color:var(--sprout);margin-bottom:18px;line-height:1;
}
.card-price sub{font-size:.75rem;font-family:'Nunito',sans-serif;font-weight:600;color:rgba(245,240,224,.3);vertical-align:baseline;}
.featured .card-price{color:var(--sun);}
.alt .card-price{color:var(--amber);}

.card-btn{
  width:100%;padding:11px 18px;border-radius:50px;border:none;cursor:pointer;
  font-family:'Nunito',sans-serif;font-size:.86rem;font-weight:800;letter-spacing:.05em;
  display:flex;align-items:center;justify-content:center;gap:7px;
  transition:transform .15s,box-shadow .2s,filter .2s;
}
.card-btn:hover{transform:translateY(-1px);}
.cb-green{background:var(--sprout);color:var(--bark);box-shadow:0 5px 18px rgba(139,195,74,.22);}
.cb-green:hover{filter:brightness(1.1);box-shadow:0 9px 26px rgba(139,195,74,.36);}
.cb-gold{background:var(--sun);color:var(--bark);box-shadow:0 5px 18px rgba(240,192,64,.22);}
.cb-gold:hover{filter:brightness(1.08);box-shadow:0 9px 26px rgba(240,192,64,.36);}
.cb-amber{background:var(--amber);color:var(--bark);box-shadow:0 5px 18px rgba(230,168,23,.22);}
.cb-amber:hover{filter:brightness(1.08);box-shadow:0 9px 26px rgba(230,168,23,.36);}

/* hot badge */
.hot{
  position:absolute;top:14px;right:0;
  background:var(--sun);color:var(--bark);
  font-size:.58rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;
  padding:3px 12px 3px 9px;
  clip-path:polygon(7px 0%,100% 0%,100% 100%,0% 100%);
}

/* ── INSTRUCTION ── */
.instr{
  background:rgba(255,255,255,.018);border:1px solid rgba(139,195,74,.09);
  border-radius:18px;padding:32px;margin-bottom:36px;
}
.instr-title{font-family:'Fraunces',serif;font-size:1.3rem;font-weight:700;margin-bottom:4px;}
.instr-hint{font-size:.82rem;color:rgba(245,240,224,.38);margin-bottom:22px;}
.steps{display:flex;flex-direction:column;gap:13px;}
.step{display:flex;align-items:flex-start;gap:13px;}
.sn{width:26px;height:26px;border-radius:50%;background:rgba(139,195,74,.1);border:1px solid rgba(139,195,74,.22);color:var(--sprout);font-size:.75rem;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;}
.st{font-size:.88rem;color:rgba(245,240,224,.65);line-height:1.55;}
.st strong{color:var(--cream);}
.st a{color:var(--sprout);text-decoration:none;}
.st a:hover{text-decoration:underline;}

/* ── NOTICE ── */
.notice{
  background:rgba(240,192,64,.04);border:1px solid rgba(240,192,64,.12);
  border-radius:14px;padding:16px 20px;margin-bottom:36px;
  display:flex;gap:12px;align-items:flex-start;
}
.ni{flex-shrink:0;margin-top:1px;}
.ni svg{width:16px;height:16px;color:var(--sun);}
.nt{font-size:.82rem;color:rgba(245,240,224,.48);line-height:1.6;}
.nt strong{color:rgba(240,192,64,.8);}

/* ── MODAL SHARED ── */
.overlay{
  position:fixed;inset:0;z-index:400;
  background:rgba(8,11,5,.9);backdrop-filter:blur(16px);
  display:flex;align-items:center;justify-content:center;padding:20px;
  opacity:0;pointer-events:none;transition:opacity .28s;
}
.overlay.open{opacity:1;pointer-events:all;}
.mbox{
  background:#131808;border:1px solid rgba(139,195,74,.18);
  border-radius:22px;padding:40px;width:100%;
  position:relative;transform:translateY(18px);transition:transform .28s;
  max-height:90vh;overflow-y:auto;
}
.overlay.open .mbox{transform:translateY(0);}
.mclose{
  position:absolute;top:14px;right:14px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:50%;width:30px;height:30px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  color:rgba(245,240,224,.3);font-size:.85rem;transition:background .15s;
}
.mclose:hover{background:rgba(255,255,255,.1);}

/* ── BUY MODAL ── */
#modal-buy .mbox{max-width:440px;}
.m-product{
  display:flex;align-items:center;gap:14px;
  background:rgba(255,255,255,.03);border:1px solid rgba(139,195,74,.1);
  border-radius:14px;padding:14px 18px;margin-bottom:24px;
}
.m-product-icon{width:40px;height:40px;border-radius:11px;background:rgba(139,195,74,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.m-product-icon svg{width:20px;height:20px;color:var(--sprout);}
.m-product-info{}
.m-product-name{font-family:'Fraunces',serif;font-size:1rem;font-weight:700;line-height:1.2;}
.m-product-price{font-size:.82rem;color:rgba(245,240,224,.4);margin-top:1px;}
.m-product-price strong{color:var(--sprout);font-family:'Fraunces',serif;font-size:1.1rem;}

.m-title{font-family:'Fraunces',serif;font-size:1.5rem;font-weight:700;margin-bottom:20px;}

.m-field{margin-bottom:16px;}
.m-label{font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:rgba(245,240,224,.35);margin-bottom:6px;display:block;}
.m-input{
  width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(139,195,74,.14);
  border-radius:11px;padding:12px 16px;
  font-family:'Nunito',sans-serif;font-size:.95rem;color:var(--cream);
  outline:none;transition:border-color .2s,background .2s;
}
.m-input::placeholder{color:rgba(245,240,224,.22);}
.m-input:focus{border-color:rgba(139,195,74,.45);background:rgba(139,195,74,.04);}
.m-input.err{border-color:rgba(255,100,100,.5);}
.m-emoji-input{text-align:center;font-size:1.8rem;letter-spacing:.1em;}

.m-methods{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;}
.m-method{
  display:flex;align-items:center;gap:12px;padding:13px 15px;
  border-radius:12px;border:1.5px solid rgba(245,240,224,.09);
  background:rgba(255,255,255,.025);cursor:pointer;
  font-family:'Nunito',sans-serif;font-size:.88rem;font-weight:700;color:var(--cream);
  transition:all .18s;text-align:left;width:100%;
}
.m-method:hover{border-color:rgba(139,195,74,.38);background:rgba(139,195,74,.05);}
.m-method-ic{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ic-sbp{background:rgba(0,163,255,.12);}
.ic-card{background:rgba(139,195,74,.12);}
.ic-ym{background:rgba(160,80,255,.1);}
.m-method-ic svg{width:17px;height:17px;}
.m-mi{flex:1;}
.m-mname{font-weight:800;font-size:.86rem;}
.m-mhint{font-size:.69rem;color:rgba(245,240,224,.3);margin-top:1px;}
.m-arr{color:rgba(245,240,224,.16);font-size:.8rem;}

.m-note{font-size:.68rem;color:rgba(245,240,224,.24);text-align:center;line-height:1.65;}
.m-note a{color:rgba(245,240,224,.38);text-decoration:underline;cursor:pointer;}

/* buy btn */
.m-buy-btn{
  width:100%;padding:13px 20px;border-radius:50px;border:none;cursor:pointer;
  background:var(--sprout);color:var(--bark);
  font-family:'Nunito',sans-serif;font-size:.95rem;font-weight:900;letter-spacing:.04em;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 6px 24px rgba(139,195,74,.25);
  transition:filter .15s,transform .15s,box-shadow .2s;
  margin-bottom:12px;
}
.m-buy-btn:hover{filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 10px 32px rgba(139,195,74,.38);}

/* ── SUCCESS STATE ── */
.m-success{display:none;text-align:center;padding:10px 0;}
.m-success.show{display:block;}
.s-icon{
  width:68px;height:68px;border-radius:50%;
  background:rgba(139,195,74,.1);border:2px solid rgba(139,195,74,.25);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;
  animation:pop .5s ease;
}
@keyframes pop{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}
.s-icon svg{width:30px;height:30px;color:var(--sprout);}
.s-title{font-family:'Fraunces',serif;font-size:1.7rem;font-weight:700;color:var(--sprout);margin-bottom:8px;}
.s-text{font-size:.88rem;color:rgba(245,240,224,.5);line-height:1.7;margin-bottom:22px;}
.s-text a{color:var(--sprout);font-weight:800;text-decoration:none;}
.s-text a:hover{text-decoration:underline;}
.s-close{
  display:inline-flex;align-items:center;gap:7px;
  padding:11px 28px;border-radius:50px;border:none;cursor:pointer;
  background:var(--sprout);color:var(--bark);
  font-family:'Nunito',sans-serif;font-size:.88rem;font-weight:800;
  transition:filter .15s,transform .15s;
}
.s-close:hover{filter:brightness(1.1);transform:translateY(-1px);}

/* ── OFERTA MODAL ── */
#modal-oferta .mbox{max-width:640px;}
.of-title{font-family:'Fraunces',serif;font-size:1.5rem;font-weight:700;margin-bottom:4px;}
.of-date{font-size:.75rem;color:rgba(245,240,224,.3);margin-bottom:28px;}
.of-body{font-size:.8rem;color:rgba(245,240,224,.42);line-height:1.8;}
.of-body h3{font-family:'Fraunces',serif;font-size:.95rem;font-weight:700;color:rgba(245,240,224,.7);margin:18px 0 6px;}
.of-body p{margin-bottom:8px;}
.of-body p:last-child{margin-bottom:0;}

/* ── FOOTER ── */
footer{
  background:#070a05;border-top:1px solid rgba(139,195,74,.07);
  padding:36px 48px;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:18px;position:relative;z-index:1;
}
.f-logo{font-family:'Fraunces',serif;font-weight:700;color:var(--sprout);font-size:1.05rem;}
.f-links{display:flex;gap:20px;flex-wrap:wrap;}
.f-links a{font-size:.76rem;color:rgba(245,240,224,.32);text-decoration:none;transition:color .2s;}
.f-links a:hover{color:var(--sprout);}
.f-oferta-link{color:rgba(245,240,224,.32);font-size:.76rem;cursor:pointer;text-decoration:none;border:none;background:none;font-family:inherit;transition:color .2s;}
.f-oferta-link:hover{color:var(--sprout);}
/* requisites — subtle but readable, visible for ЮKassa reviewer */
.f-req{
  width:100%;font-size:.68rem;color:rgba(245,240,224,.28);
  line-height:1.9;letter-spacing:.02em;
  border-top:1px solid rgba(245,240,224,.05);
  padding-top:14px;margin-top:4px;
  user-select:text;
}

/* ── ANIMATIONS ── */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ─── Confetti ─────────────────────────────────────────────────── */
#confetti-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999; display: none; overflow: hidden;
}
.confetti-piece {
  position: absolute;
  animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(var(--rot, 360deg)); opacity: 0; }
}
.thanks-float {
  position: absolute;
  font-size: 1.1rem; font-weight: 900; color: #8bc34a;
  animation: thanksFloat 5s ease-out forwards;
  white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.4);
  pointer-events: none;
}
@keyframes thanksFloat {
  0%   { opacity: 0; transform: translateY(0) scale(.8); }
  15%  { opacity: 1; transform: translateY(-8px) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-60px) scale(.9); }
}

/* ─── Thanks block ─────────────────────────────────────────────── */
.thanks-block {
  background: linear-gradient(135deg, rgba(139,195,74,.07) 0%, rgba(58,92,46,.12) 100%);
  border: 1px solid rgba(139,195,74,.22);
  border-radius: 22px; padding: 40px; margin-bottom: 48px;
}
.thanks-inner {
  display: grid; grid-template-columns: 1fr 200px; gap: 40px; align-items: center;
}
.thanks-title {
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--cream); margin-bottom: 10px;
}
.thanks-desc {
  font-size: .9rem; color: rgba(245,240,224,.55); line-height: 1.65; margin-bottom: 20px;
}
.thanks-presets {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.thanks-preset {
  background: rgba(139,195,74,.1); border: 1px solid rgba(139,195,74,.22);
  border-radius: 40px; padding: 5px 14px;
  font-family: 'Nunito', sans-serif; font-size: .82rem; font-weight: 800;
  color: var(--sprout); cursor: pointer; transition: background .15s, border-color .15s;
}
.thanks-preset:hover { background: rgba(139,195,74,.2); border-color: rgba(139,195,74,.45); }
.thanks-form { display: flex; flex-direction: column; gap: 10px; }
.thanks-amount-wrap {
  position: relative;
}
.thanks-amount-input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(139,195,74,.18);
  border-radius: 12px; padding: 12px 44px 12px 16px;
  font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--cream);
  outline: none; transition: border-color .2s;
}
.thanks-amount-input:focus { border-color: rgba(139,195,74,.5); }
.thanks-amount-input::placeholder { color: rgba(245,240,224,.25); font-size: .9rem; font-weight: 400; }
.thanks-rub {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: .9rem; color: var(--sprout); font-weight: 900; pointer-events: none;
}
.thanks-nick-input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(139,195,74,.14);
  border-radius: 11px; padding: 10px 14px;
  font-family: 'Nunito', sans-serif; font-size: .88rem; color: var(--cream);
  outline: none; transition: border-color .2s;
}
.thanks-nick-input:focus { border-color: rgba(139,195,74,.4); }
.thanks-nick-input::placeholder { color: rgba(245,240,224,.22); }
.thanks-nick-input:disabled { opacity: .4; }
.thanks-anon-row {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: .82rem; color: rgba(245,240,224,.5); user-select: none;
}
.thanks-anon-row input { accent-color: var(--sprout); }
.thanks-btn {
  width: 100%; padding: 13px 20px; border-radius: 50px; border: none; cursor: pointer;
  background: var(--sprout); color: var(--bark);
  font-family: 'Nunito', sans-serif; font-size: .95rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(139,195,74,.25);
  transition: filter .15s, transform .15s, box-shadow .2s, opacity .15s;
}
.thanks-btn:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 10px 32px rgba(139,195,74,.38); }
.thanks-btn:disabled { opacity: .45; cursor: not-allowed; }
.thanks-right {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.thanks-heart-anim {
  font-size: 4rem; animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
  0%,100% { transform: scale(1); }
  15%      { transform: scale(1.18); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.1); }
}
.thanks-tagline {
  font-size: .8rem; color: rgba(245,240,224,.35); line-height: 1.6; text-align: center;
}

/* ─── Success thanks row ───────────────────────────────────────── */
#success-thanks-row {
  margin: 12px auto;
  font-size: 1.2rem; font-weight: 900; color: var(--sprout);
}

@media (max-width: 680px) {
  .thanks-inner { grid-template-columns: 1fr; }
  .thanks-right { display: none; }
}

/* ════════════════════════════════════════════════
   MOBILE RESPONSIVE — полная мобильная адаптация
   ════════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 32px 28px 80px; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {

  /* NAV — убираем часть ссылок, уменьшаем паддинг */
  nav {
    padding: 12px 18px;
    gap: 10px;
  }
  .nav-logo-text { font-size: 1.1rem; }
  .nav-links { gap: 10px; }
  .nav-links li:first-child { display: none; } /* скрываем "О сервере" */
  .nav-links a { font-size: .72rem; letter-spacing: .04em; }
  .nav-pill { padding: 6px 12px; font-size: .72rem !important; }

  /* HERO */
  .hero { padding: 110px 18px 50px; min-height: auto; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-sub { font-size: .9rem; }
  .hero-kicker { font-size: .65rem; padding: 4px 12px; }

  /* WRAP */
  .wrap { padding: 24px 16px 70px; }

  /* GRIDS → 1 колонка */
  .grid-3 { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .grid-2 { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }

  /* CARD — нормальные отступы, читабельный текст */
  .card { padding: 22px 18px 20px; border-radius: 16px; }
  .card-name { font-size: 1.05rem; }
  .card-desc { font-size: .86rem; color: rgba(245,240,224,.6); line-height: 1.6; }
  .card-price { font-size: 1.55rem; margin-bottom: 14px; }
  .card-price sub { font-size: .72rem; }
  .card-btn { padding: 12px 18px; font-size: .88rem; }
  .card-icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
  .card-icon svg { width: 20px; height: 20px; }
  .card-tag { font-size: .62rem; margin-bottom: 14px; }
  .hot { font-size: .55rem; padding: 3px 10px 3px 8px; }

  /* Фоновый watermark иконки не мешает тексту */
  .card-icon-bg { width: 80px; height: 80px; right: -8px; bottom: -8px; }

  /* INSTRUCTION */
  .instr { padding: 22px 16px; border-radius: 14px; }
  .instr-title { font-size: 1.1rem; }
  .instr-hint { font-size: .8rem; }
  .step { gap: 10px; }
  .st { font-size: .86rem; }

  /* NOTICE */
  .notice { padding: 13px 14px; gap: 10px; }
  .nt { font-size: .8rem; }

  /* THANKS BLOCK */
  .thanks-block { padding: 24px 16px; border-radius: 16px; margin-bottom: 32px; }
  .thanks-inner { grid-template-columns: 1fr; gap: 0; }
  .thanks-right { display: none; }
  .thanks-title { font-size: 1.25rem; }
  .thanks-desc { font-size: .85rem; }
  .thanks-preset { font-size: .78rem; padding: 5px 12px; }
  .thanks-amount-input { font-size: 1rem; padding: 11px 40px 11px 14px; }
  .thanks-btn { font-size: .9rem; padding: 12px 18px; }

  /* MODAL SHARED */
  .overlay { padding: 12px; align-items: flex-end; }
  .mbox {
    padding: 28px 18px 24px;
    border-radius: 20px 20px 16px 16px;
    max-height: 92vh;
  }

  /* BUY MODAL */
  .m-title { font-size: 1.2rem; margin-bottom: 14px; }
  .m-product { padding: 12px 14px; gap: 11px; border-radius: 12px; margin-bottom: 18px; }
  .m-product-name { font-size: .92rem; }
  .m-product-price { font-size: .78rem; }
  .m-product-price strong { font-size: 1rem; }
  .m-input { font-size: .9rem; padding: 11px 14px; }
  .m-label { font-size: .65rem; }
  .m-method { padding: 12px 13px; gap: 10px; }
  .m-mname { font-size: .84rem; }
  .m-mhint { font-size: .67rem; }
  .m-method-ic { width: 30px; height: 30px; border-radius: 8px; }
  .m-method-ic svg { width: 15px; height: 15px; }
  .m-note { font-size: .67rem; }

  /* FOOTER */
  footer {
    padding: 28px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .f-links { gap: 14px; }
  .f-links a, .f-oferta-link { font-size: .74rem; }
  .f-req { font-size: .65rem; line-height: 1.8; }

  /* SEC LABEL */
  .sec-label { font-size: .63rem; margin-bottom: 16px; }
}

/* ── Very small (≤ 380px) ── */
@media (max-width: 380px) {
  nav { padding: 10px 14px; }
  .nav-links { gap: 8px; }
  .nav-links li:nth-child(2) { display: none; } /* скрываем "Инструкция" тоже */
  .hero-title { font-size: 1.9rem; }
  .wrap { padding: 20px 12px 60px; }
  .card { padding: 18px 14px 16px; }
  .card-name { font-size: 1rem; }
  .card-price { font-size: 1.4rem; }
  .mbox { padding: 22px 14px 20px; }
}
