* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #22BEEF 0%, #B6EF6C 100%);
  background-attachment: fixed;
  color: #1A814A;
  overflow-x: hidden;
}

/* ---------- мыльные пузыри на фоне ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.95) 0 8%, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0.08) 70%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateX(22px) translateY(-60vh); }
  100% { transform: translateX(-12px) translateY(-125vh); opacity: 0.2; }
}

/* ---------- каркас ---------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  flex: 1;
}

/* ---------- шапка ---------- */
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 4px solid #FFFFFF;
  box-shadow: 0 8px 24px rgba(8, 124, 173, 0.35);
}

.profile {
  position: relative;
  text-align: center;
  margin-top: -46px;
  margin-bottom: 20px;
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: #087CAD;
  background: radial-gradient(circle at 30% 28%, #FFFFFF 0 14%, #DEF7FE 45%, #9fe3f7 100%);
  border: 4px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(8, 124, 173, 0.4), inset -6px -8px 14px rgba(34, 190, 239, 0.35);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tg {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #087CAD;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #087CAD;
  box-shadow: 3px 3px 0 #087CAD;
  transition: transform 0.12s;
}
.tg:hover { transform: translate(-1px, -1px); }

.title {
  font-size: 2.3rem;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-shadow: 0 2px 0 #087CAD, 0 4px 12px rgba(8, 124, 173, 0.4);
}
.subtitle {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(8, 124, 173, 0.55);
}

/* ---------- кнопки ---------- */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.nav-btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 9px 16px;
  cursor: pointer;
  background: #FFFFFF;
  color: #1A814A;
  border: 3px solid #1A814A;
  border-radius: 16px;
  box-shadow: 3px 3px 0 #1A814A;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.nav-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #1A814A; }
.nav-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #1A814A; }
.nav-btn.active {
  background: #DEF7FE;
  color: #087CAD;
  border-color: #087CAD;
  box-shadow: 3px 3px 0 #087CAD;
}

/* ---------- вкладки ---------- */
.tab { display: none; }
.tab.active { display: block; }
.tab.active .banner { animation: pop 0.45s cubic-bezier(.2, .9, .3, 1.3) both; }
.tab.active .banner:nth-child(2) { animation-delay: 0.06s; }
.tab.active .banner:nth-child(3) { animation-delay: 0.12s; }
.tab.active .banner:nth-child(4) { animation-delay: 0.18s; }
.tab.active .banner:nth-child(5) { animation-delay: 0.24s; }
.tab.active .banner:nth-child(6) { animation-delay: 0.30s; }

@keyframes pop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* ---------- баннеры ---------- */
.banner {
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.5;
  word-break: break-word;
  transition: transform 0.15s, box-shadow 0.15s;
}
.b1 { background: #FFFFFF; color: #1A814A; border: 3px solid #1A814A; box-shadow: 5px 5px 0 #1A814A; }
.b2 { background: #DEF7FE; color: #087CAD; border: 3px solid #087CAD; box-shadow: 5px 5px 0 #087CAD; }
.banner:hover { transform: translate(-2px, -2px); }
.b1:hover { box-shadow: 7px 7px 0 #1A814A; }
.b2:hover { box-shadow: 7px 7px 0 #087CAD; }

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.num {
  display: inline-block;
  min-width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  margin-right: 8px;
}
.b1 .num { background: #1A814A; color: #FFFFFF; }
.b2 .num { background: #087CAD; color: #FFFFFF; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  padding: 3px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: #FFFFFF;
  color: #087CAD;
  border: 2px solid #087CAD;
}

.list { padding-left: 22px; }
.list li { margin: 2px 0; }

.nick { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.nick a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nick a:hover { text-decoration: underline wavy; }

.copy-btn {
  font: inherit;
  font-size: 0.8rem;
  line-height: 1;
  padding: 3px 6px;
  cursor: pointer;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 8px;
  color: inherit;
  transition: transform 0.12s;
}
.copy-btn:hover { transform: translateY(-1px); }

.hint {
  text-align: center;
  color: #FFFFFF;
  font-size: 0.85rem;
  text-shadow: 0 1px 4px rgba(8, 124, 173, 0.55);
}

.toast {
  position: fixed;
  z-index: 10;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #087CAD;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- футер ---------- */
.footer { position: relative; z-index: 1; margin-top: 10px; }
.wave { display: block; width: 100%; height: 46px; }
.footer-body {
  background: #DEF7FE;
  text-align: center;
  padding: 6px 16px 30px;
  color: #087CAD;
}
.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #1A814A;
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid #1A814A;
  box-shadow: 3px 3px 0 #1A814A;
}
.shield { width: 22px; height: 22px; flex: none; }

.project { margin-top: 16px; font-size: 0.95rem; }
.project a { color: #087CAD; font-weight: 800; }

.badge { margin-top: 14px; }
.badge img { max-width: 100%; height: auto; }

.to-top {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 18px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #087CAD;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #087CAD;
  box-shadow: 3px 3px 0 #087CAD;
  transition: transform 0.12s;
}
.to-top:hover { transform: translateY(-2px); }

@media (max-width: 420px) {
  .title { font-size: 2rem; }
  .nav-btn { padding: 8px 12px; font-size: 0.9rem; }
}

/* ---------- SVG-иконки ---------- */
.ic {
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.4em;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.copy-btn .ic { display: block; width: 1em; height: 1em; margin: 0; }
.label + .ic, .banner > .ic { color: inherit; }

/* ---------- логотипы соцсетей ---------- */
.with-logo, .tg-card { display: flex; align-items: center; gap: 14px; }
.logo-body { min-width: 0; flex: 1; }
.logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.b1 .logo { background: #1A814A; }
.b2 .logo { background: #087CAD; }
.logo .ic { width: 27px; height: 27px; margin: 0; }

/* ---------- Telegram: «премиум»-блок ---------- */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.premium {
  position: relative;
  isolation: isolate;
  padding: 22px 16px 4px;
  margin: 10px 4px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}
.premium::before {
  content: '';
  position: absolute;
  inset: -4px;
  padding: 4px;
  border-radius: 34px;
  background: conic-gradient(from var(--a), #FFD54A, #22BEEF, #FFFFFF, #B6EF6C, #FFD54A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
  z-index: -1;
}
@keyframes spin { to { --a: 360deg; } }

.premium-head {
  text-align: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 0 #087CAD, 0 0 14px rgba(255, 213, 74, 0.9);
}

.spark {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: #FFD54A;
  stroke: #FFFFFF;
  stroke-width: 1.2;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 6px rgba(255, 213, 74, 0.95));
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark.mini {
  position: static;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin: 0 4px;
}
.spark.s1 { top: -14px; left: -10px; width: 30px; height: 30px; }
.spark.s2 { top: -16px; left: 34%; width: 20px; height: 20px; animation-delay: 0.6s; }
.spark.s3 { top: -12px; right: -10px; width: 26px; height: 26px; animation-delay: 1.2s; }
.spark.s4 { top: 46%; right: -14px; width: 20px; height: 20px; animation-delay: 0.3s; }
.spark.s5 { bottom: -14px; right: 24%; width: 28px; height: 28px; animation-delay: 1.5s; }
.spark.s6 { bottom: -12px; left: -8px; width: 24px; height: 24px; animation-delay: 0.9s; }
.spark.s7 { top: 42%; left: -14px; width: 18px; height: 18px; animation-delay: 2s; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.55; }
  50%      { transform: scale(1.15) rotate(25deg); opacity: 1; }
}

a.banner { text-decoration: none; }
.tg-card { position: relative; overflow: hidden; cursor: pointer; }
.tg-card .handle { display: block; font-size: 1.2rem; font-weight: 800; }
.tg-card .go { flex: none; width: 22px; height: 22px; margin: 0; opacity: 0.8; }
.tg-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 213, 74, 0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}
.tg-card:nth-of-type(2)::after { animation-delay: 0.5s; }
.tg-card:nth-of-type(3)::after { animation-delay: 1s; }
@keyframes shine {
  0%       { left: -70%; }
  60%, 100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .premium::before, .spark, .tg-card::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bubbles { display: none; }
  .avatar, .tab.active .banner { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   ЗВЁЗДЫ И ВКЛАДКА «ЗАКАЗАТЬ»
   ===================================================== */
.ic.gstar {
  fill: #FFD54A;
  stroke: #C98F00;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 5px rgba(255, 213, 74, 0.9));
}

/* золотая кнопка в меню */
.nav-btn.gold {
  background: linear-gradient(180deg, #FFE98F, #FFD54A);
  color: #4A3200;
  border-color: #B57F00;
  box-shadow: 3px 3px 0 #B57F00;
}
.nav-btn.gold:hover { box-shadow: 4px 4px 0 #B57F00; }
.nav-btn.gold:active { box-shadow: 0 0 0 #B57F00; }
.nav-btn.gold.active { background: #FFC21F; }
.nav-btn.gold .gstar { animation: starspin 2.4s ease-in-out infinite; }

/* дождь из звёзд */
.star-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 30px;
  pointer-events: none;
  z-index: 0;
}
.rain {
  position: absolute;
  top: -30px;
  fill: #FFD54A;
  stroke: #FFFFFF;
  stroke-width: 1.2;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 213, 74, 0.9));
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { top: -30px; transform: rotate(0deg) scale(0.8); opacity: 0; }
  10%  { opacity: 0.95; }
  90%  { opacity: 0.8; }
  100% { top: 100%; transform: rotate(360deg) scale(1.1); opacity: 0; }
}

/* как это работает */
.how { position: relative; z-index: 1; }
.steps { list-style: none; margin-top: 4px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; font-size: 1rem; line-height: 1.45; }
.steps .num { flex: none; margin-right: 0; }

/* карточки заказа */
.order-card { position: relative; z-index: 1; }
.order-card.banner:hover { transform: none; }
.order-card.b1:hover { box-shadow: 5px 5px 0 #1A814A; }
.order-card.b2:hover { box-shadow: 5px 5px 0 #087CAD; }
.order-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.order-title { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1.25; }

.stepper { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 3px solid currentColor;
  border-radius: 12px;
  box-shadow: 2px 2px 0 currentColor;
  transition: transform 0.12s, box-shadow 0.12s;
}
.step-btn:hover { transform: translate(-1px, -1px); }
.step-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.qty { min-width: 6.5ch; text-align: center; font-weight: 800; font-size: 1.15rem; }

.tiers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; }
.tiers li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s, background 0.2s;
}
.tiers li .ic { width: 0.95em; height: 0.95em; margin: 0; }
.tiers li.on {
  opacity: 1;
  transform: scale(1.06);
  background: #FFD54A;
  color: #4A3200;
  border-color: #B57F00;
}

.opts { display: grid; gap: 8px; margin-bottom: 14px; }
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 14px;
  transition: transform 0.12s, background 0.2s, box-shadow 0.12s;
}
.opt:hover { transform: translateY(-1px); }
.opt small { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.75; }
.opt-price { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 800; }
.opt-price .ic { width: 1em; height: 1em; margin: 0; }
.opt.on {
  background: #FFD54A;
  color: #4A3200;
  border-color: #B57F00;
  box-shadow: 3px 3px 0 #B57F00;
}

.field { display: block; margin-bottom: 14px; }
.field .label { display: flex; justify-content: space-between; gap: 8px; }
.field textarea {
  display: block;
  width: 100%;
  min-height: 82px;
  resize: vertical;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: inherit;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid currentColor;
  border-radius: 14px;
}
.field textarea::placeholder { color: currentColor; opacity: 0.5; }
.field textarea:focus { outline: 3px solid #FFD54A; outline-offset: 1px; }
.field.bad textarea { border-color: #E5484D; animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.order-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 2rem; line-height: 1; }
.price .ic { width: 1em; height: 1em; margin: 0; animation: starspin 3.2s ease-in-out infinite; }
.price-num { display: inline-block; min-width: 1ch; }
.price-num.pop { animation: pricepop 0.45s cubic-bezier(.2, .9, .3, 1.5); }
@keyframes pricepop {
  from { transform: scale(0.4) rotate(-10deg); opacity: 0.3; }
  to   { transform: none; opacity: 1; }
}
@keyframes starspin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(22deg) scale(1.18); }
}

.order-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  color: #4A3200;
  background: linear-gradient(180deg, #FFE98F, #FFC21F);
  border: 3px solid #B57F00;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #B57F00;
  transition: transform 0.12s, box-shadow 0.12s;
}
.order-btn .ic { width: 1.15em; height: 1.15em; margin: 0; }
.order-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #B57F00; }
.order-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #B57F00; }
.order-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* взрыв звёзд по клику */
.burst {
  position: fixed;
  z-index: 30;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  pointer-events: none;
  fill: #FFD54A;
  stroke: #B57F00;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 5px rgba(255, 213, 74, 0.95));
  animation: burst 0.9s ease-out forwards;
}
@keyframes burst {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--r)); opacity: 0; }
}

/* кнопка темы */
.theme-btn {
  position: fixed;
  z-index: 20;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #087CAD;
  background: #FFFFFF;
  border: 3px solid #087CAD;
  border-radius: 50%;
  box-shadow: 3px 3px 0 #087CAD;
  transition: transform 0.12s, box-shadow 0.12s, background 0.3s, color 0.3s, border-color 0.3s;
}
.theme-btn:hover { transform: translate(-1px, -1px); }
.theme-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #087CAD; }
.theme-btn .ic {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: 0;
  transition: transform 0.5s cubic-bezier(.2, .9, .3, 1.3), opacity 0.3s;
}
.theme-btn .moon { opacity: 0; transform: rotate(-90deg) scale(0.4); }
html[data-theme="dark"] .theme-btn .sun { opacity: 0; transform: rotate(90deg) scale(0.4); }
html[data-theme="dark"] .theme-btn .moon { opacity: 1; transform: none; }

/* плавная смена цветов */
.banner, .nav-btn, .tg, .chip, .footer-body, .secure, .to-top { transition: transform 0.15s, box-shadow 0.15s, background 0.3s, color 0.3s, border-color 0.3s; }

/* ---------- тёмная тема ---------- */
html[data-theme="dark"] body {
  background: linear-gradient(135deg, #062A3B 0%, #0A3B2B 100%);
  background-attachment: fixed;
  color: #8EF0B6;
}
html[data-theme="dark"] .bubble { border-color: rgba(255, 255, 255, 0.3); opacity: 0.8; }
html[data-theme="dark"] .hero-img { border-color: #1D5A73; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .avatar {
  color: #7FD8FA;
  background: radial-gradient(circle at 30% 28%, #FFFFFF 0 10%, #1D5A73 45%, #0A2A3A 100%);
  border-color: #1D5A73;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .tg,
html[data-theme="dark"] .to-top {
  background: #0C2433;
  color: #7FD8FA;
  border-color: #3FB4E6;
  box-shadow: 3px 3px 0 #3FB4E6;
}
html[data-theme="dark"] .nav-btn {
  background: #0F2A22;
  color: #8EF0B6;
  border-color: #3CCF84;
  box-shadow: 3px 3px 0 #3CCF84;
}
html[data-theme="dark"] .nav-btn:hover { box-shadow: 4px 4px 0 #3CCF84; }
html[data-theme="dark"] .nav-btn:active { box-shadow: 0 0 0 #3CCF84; }
html[data-theme="dark"] .nav-btn.active {
  background: #0C2433;
  color: #7FD8FA;
  border-color: #3FB4E6;
  box-shadow: 3px 3px 0 #3FB4E6;
}
html[data-theme="dark"] .nav-btn.gold,
html[data-theme="dark"] .nav-btn.gold.active {
  background: linear-gradient(180deg, #FFE98F, #FFD54A);
  color: #4A3200;
  border-color: #B57F00;
  box-shadow: 3px 3px 0 #B57F00;
}
html[data-theme="dark"] .nav-btn.gold.active { background: #FFC21F; }

html[data-theme="dark"] .b1 { background: #0F2A22; color: #8EF0B6; border-color: #3CCF84; box-shadow: 5px 5px 0 #3CCF84; }
html[data-theme="dark"] .b2 { background: #0C2433; color: #7FD8FA; border-color: #3FB4E6; box-shadow: 5px 5px 0 #3FB4E6; }
html[data-theme="dark"] .b1:hover { box-shadow: 7px 7px 0 #3CCF84; }
html[data-theme="dark"] .b2:hover { box-shadow: 7px 7px 0 #3FB4E6; }
html[data-theme="dark"] .order-card.b1:hover { box-shadow: 5px 5px 0 #3CCF84; }
html[data-theme="dark"] .order-card.b2:hover { box-shadow: 5px 5px 0 #3FB4E6; }
html[data-theme="dark"] .b1 .num,
html[data-theme="dark"] .b1 .logo { background: #3CCF84; color: #062A3B; }
html[data-theme="dark"] .b2 .num,
html[data-theme="dark"] .b2 .logo { background: #3FB4E6; color: #062A3B; }
html[data-theme="dark"] .chip { background: #062A3B; color: #7FD8FA; border-color: #3FB4E6; }

html[data-theme="dark"] .premium { background: rgba(6, 28, 40, 0.45); }
html[data-theme="dark"] .field textarea { background: rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] .rain { stroke: rgba(255, 255, 255, 0.6); }

html[data-theme="dark"] .footer-body { background: #0A2230; color: #7FD8FA; }
html[data-theme="dark"] .wave path { fill: #0A2230; }
html[data-theme="dark"] .secure { background: #0F2A22; color: #8EF0B6; border-color: #3CCF84; box-shadow: 3px 3px 0 #3CCF84; }
html[data-theme="dark"] .project a { color: #7FD8FA; }
html[data-theme="dark"] .toast { background: #FFD54A; color: #4A3200; }

html[data-theme="dark"] .theme-btn {
  color: #FFD54A;
  background: #0C2433;
  border-color: #FFD54A;
  box-shadow: 3px 3px 0 #B57F00;
}
html[data-theme="dark"] .theme-btn:active { box-shadow: 0 0 0 #B57F00; }

@media (max-width: 420px) {
  .price { font-size: 1.7rem; }
  .order-btn { padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .rain, .burst { display: none; }
  .price .ic, .nav-btn.gold .gstar, .order-btn::after, .price-num.pop, .field.bad textarea { animation: none; }
}
