/* Duck Donate — Duck Survival Post-Apocalypse */

:root {
  --bg: #050709;
  --surface: #0e1217;
  --surface2: #141a22;
  --glass: rgba(14, 18, 23, 0.72);
  --glass-in: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.06);
  --line-soft: rgba(255, 255, 255, 0.035);
  --text: #eef1f6;
  --muted: #6b7280;
  --accent-neon: #a3e635;
  --accent-orange: #f97316;
  --gold: #f97316;
  --gold2: #fdba74;
  --purple: #a3e635;
  --purple-dim: rgba(163, 230, 53, 0.18);
  --gold-glow: rgba(249, 115, 22, 0.35);
  --purple-glow: rgba(163, 230, 53, 0.28);
  --neon: #a3e635;
  --neon-dim: rgba(163, 230, 53, 0.12);
  --blue: #3b82f6;
  --yellow: #eab308;
  --green: #22c55e;
  --red: #ef4444;
  --err: #ef4444;
  --nav: 64px;
  --cart: 58px;
  --fab: 48px;
  --safe: env(safe-area-inset-bottom, 0px);
  --tap: cubic-bezier(0.34, 1.2, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(163, 230, 53, 0.15) 2px,
    rgba(163, 230, 53, 0.15) 4px
  );
}
.hidden { display: none !important; }

/* ── SVG Icons ── */
.ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  stroke: currentColor;
  fill: none;
  transition: color 0.3s ease, filter 0.3s ease;
}
.ico-xs { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.ico-sm { width: 16px; height: 16px; }
.ico-nav { width: 22px; height: 22px; margin-bottom: 2px; }
.ico-xl { width: 48px; height: 48px; margin: 0 auto 12px; }
.ico-muted { color: var(--muted); opacity: 0.55; }
.ico-glow { color: var(--gold); filter: drop-shadow(0 0 10px var(--gold-glow)); }
.ico-card { width: 28px; height: 28px; margin: 0 auto 6px; color: var(--purple); opacity: 0.85; }

.nav-i.on .ico-nav {
  color: var(--gold);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.nav-i.on[data-pg="orders"] .ico-nav {
  color: var(--purple);
  filter: drop-shadow(0 0 8px var(--purple-glow));
}
.nav-i.on[data-pg="games"] .ico-nav {
  color: var(--gold);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

/* ── Subscription gate ── */
.sub-gate {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
}

.sub-gate__card {
  width: min(360px, 100%);
  padding: 28px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(249, 115, 22, 0.08) 0%, rgba(5, 7, 9, 0.96) 45%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.sub-gate__icon {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.sub-gate__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.sub-gate__text {
  margin: 0 0 18px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.sub-gate__text strong {
  color: var(--text);
}

.sub-gate__btn + .sub-gate__btn {
  margin-top: 10px;
}

/* ── Landing ── */
.landing {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.landing.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.landing__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 15%, rgba(163, 230, 53, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 25%, rgba(249, 115, 22, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 85%, rgba(163, 230, 53, 0.06), transparent 45%);
  pointer-events: none;
}
.landing__content {
  position: relative;
  z-index: 1;
  max-width: 360px;
  padding: 32px 28px;
  text-align: center;
}
.landing__badge {
  display: inline-block;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(163, 230, 53, 0.28);
  background: rgba(163, 230, 53, 0.08);
  color: var(--gold2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.landing__logo-wrap {
  position: relative;
  margin-bottom: 24px;
  padding: 0 0 4px;
}
.landing__logo-glow {
  position: absolute;
  inset: -16px -24px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(249, 115, 22, 0.18) 0%,
    transparent 68%
  );
  filter: blur(14px);
  animation: logoPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.logo--hero {
  position: relative;
  z-index: 1;
  font-size: 2.8rem;
  text-align: center;
}
.logo-line--hero {
  position: relative;
  z-index: 1;
  display: block;
  width: 120px;
  height: 3px;
  margin: 10px auto 0;
}
.landing__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.landing__desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}
.landing__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 28px;
  font-size: 0.72rem;
  color: var(--gold2);
}
.landing__perks li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 23, 0.5);
}
.landing__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 1rem;
}

/* ── App ── */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(var(--nav) + var(--cart) + var(--safe) + 16px);
  background:
    radial-gradient(ellipse 70% 30% at 50% -5%, rgba(163, 230, 53, 0.05), transparent),
    radial-gradient(ellipse 60% 25% at 80% 10%, rgba(249, 115, 22, 0.04), transparent),
    var(--bg);
}

.fade-in { animation: fadeIn 0.45s ease both; }
.fade-up { animation: fadeUp 0.35s ease both; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes logoShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes pricePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--gold); }
  100% { transform: scale(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(239, 68, 68, 0.35); }
  50% { opacity: 0.8; box-shadow: 0 0 18px rgba(239, 68, 68, 0.55); }
}
.price-anim.pop { animation: pricePop 0.35s ease; }

/* Header & Logo */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 9, 0.6);
}

.header .brand-lockup {
  min-width: 0;
  gap: 5px;
  align-items: center;
}

.header .logo {
  font-size: 1.22rem;
  line-height: 1;
}

.header .logo-wrap {
  padding-bottom: 3px;
}

/* ── Tactical crosshair logo ── */
.crosshair-mark {
  display: block;
  flex-shrink: 0;
  overflow: visible;
  animation: crosshairMarkGlow 4s ease-in-out infinite;
}

@keyframes crosshairMarkGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(249, 115, 22, 0.25))
      drop-shadow(0 0 8px rgba(249, 115, 22, 0.12));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(249, 115, 22, 0.55))
      drop-shadow(0 0 14px rgba(249, 115, 22, 0.28));
  }
}

.crosshair-mark--hero {
  width: 88px;
  height: 88px;
  margin-bottom: -4px;
}

.crosshair-mark--md {
  width: 32px;
  height: 32px;
}

.crosshair-mark--sm {
  width: 28px;
  height: 28px;
}

.crosshair-mark--avatar {
  width: 40px;
  height: 40px;
}

.header .crosshair-mark--md {
  width: 32px;
  height: 32px;
  margin-right: 1px;
}

.profile-avatar-dd {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-avatar-dd.avatar-initials {
  background: linear-gradient(145deg, #fb923c 0%, #f97316 52%, #ea580c 100%);
  box-shadow:
    0 4px 18px rgba(249, 115, 22, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-footer__brand .crosshair-mark--sm {
  width: 28px;
  height: 28px;
}

/* Military / product photo assets */
.mil-asset {
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow:
    0 0 12px rgba(249, 115, 22, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}

.mil-asset--perk {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.mil-asset--stat {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 7px;
}

.mil-asset--timeline {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.product-game-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
  filter: saturate(0.9) contrast(1.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup--hero {
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.brand-lockup--hero .brand-lockup__text {
  text-align: center;
  margin-top: 0;
}

.brand-lockup--hero .logo--hero {
  margin: 0;
  line-height: 1;
}

.brand-lockup--hero .logo-line--hero {
  margin-top: 8px;
}

.logo {
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-gen,
.logo-duck {
  color: var(--text);
  font-weight: 700;
}

.logo-don {
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-orange), var(--accent-neon));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShimmer 4s linear infinite;
}

.logo-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), var(--accent-orange), var(--accent-neon), transparent);
  background-size: 200% 100%;
  animation: logoShimmer 3s linear infinite;
  opacity: 0.85;
}

.hdr-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.av, .av-ph { width: 28px; height: 28px; border-radius: 50%; }
.av { object-fit: cover; }
.av-ph {
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
}
.avatar-initials {
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(145deg, #fb923c 0%, #f97316 52%, #ea580c 100%);
  box-shadow:
    0 2px 10px rgba(249, 115, 22, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.av-ph.avatar-initials {
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.av-name {
  font-size: 0.75rem;
  font-weight: 600;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page { display: none; padding: 14px 16px; }
.page.on { display: block; }
.page.page-in { animation: fadeIn 0.4s ease both; }

/* Games screen */
.games-section-title {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.games-head { margin-bottom: 16px; }
.games-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.ico-title {
  width: 22px;
  height: 22px;
  color: var(--gold);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 23, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-in), 0 8px 32px rgba(0, 0, 0, 0.35);
}
.game-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  position: relative;
  z-index: 2;
}
.game-card__brand {
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.game-card__badge {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  background: linear-gradient(135deg, #a3e635, #84cc16);
  box-shadow: 0 0 16px rgba(163, 230, 53, 0.45);
}
.game-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px 8px;
  min-height: 140px;
  position: relative;
  z-index: 1;
}
.game-card__info { flex: 1; max-width: 58%; position: relative; z-index: 2; }
.game-card__title {
  font-family: Orbitron, Rajdhani, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--gold2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.game-card__desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.game-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 2;
}
.game-card__foot-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.game-card__foot-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.game-card__tg {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  flex-shrink: 0;
  transition: transform 0.2s var(--tap), border-color 0.2s, background 0.2s;
}

.game-card__tg:active {
  transform: scale(0.94);
}

.game-card__tg:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.16);
}

.game-card__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(163, 230, 53, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(163, 230, 53, 0.28);
  color: var(--gold2);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--tap), box-shadow 0.2s, border-color 0.2s;
}
.game-card__open:active { transform: scale(0.96); }
.game-card__open:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.12);
}

/* Duck Survival — atmospheric game card (game duck, no stock bg) */
.game-card--duck {
  border-color: rgba(163, 230, 53, 0.14);
  background-color: #070a08;
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, #070a08 36%, rgba(7, 10, 8, 0.82) 58%, rgba(7, 10, 8, 0.35) 100%),
    radial-gradient(ellipse 85% 90% at 92% 58%, rgba(74, 93, 35, 0.22), transparent 52%),
    radial-gradient(ellipse 60% 50% at 18% 85%, rgba(249, 115, 22, 0.08), transparent 55%);
  background-size: 22px 22px, 22px 22px, 100% 100%, 100% 100%, 100% 100%;
  background-position: 0 0, 0 0, 0 0, center, center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 36px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(163, 230, 53, 0.05);
}

.game-card--duck::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 85% at 88% 52%, rgba(249, 115, 22, 0.12), transparent 58%),
    linear-gradient(180deg, transparent 62%, rgba(7, 10, 8, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.game-card--duck .game-card__bg-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(163, 230, 53, 0.012) 3px,
    rgba(163, 230, 53, 0.012) 4px
  );
  opacity: 0.85;
}

.game-card--duck .game-card__top,
.game-card--duck .game-card__body,
.game-card--duck .game-card__foot {
  position: relative;
  z-index: 2;
}

.game-card--duck .game-card__body {
  min-height: 168px;
  padding-bottom: 4px;
}

.game-card--duck .game-card__info {
  max-width: 52%;
}

.game-card--duck .game-card__title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.game-card--duck .game-card__desc {
  color: rgba(203, 213, 225, 0.82);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.game-card--duck .game-card__hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.game-card--duck .game-card__hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.62;
  filter: saturate(0.85) brightness(0.5);
}

.game-card--duck .game-card__hero-duck {
  position: absolute;
  right: -4px;
  bottom: 24px;
  width: auto;
  height: 156px;
  opacity: 0.88;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.55));
  z-index: 2;
}

.game-card--duck .card-character-art.hidden {
  display: none !important;
}

.game-card--duck .game-card__foot {
  border-top: 1px solid rgba(249, 115, 22, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(249, 115, 22, 0.08),
    0 -1px 14px rgba(249, 115, 22, 0.1);
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.55), rgba(11, 15, 20, 0.82));
  backdrop-filter: blur(10px);
}

.game-card--duck .game-card__open {
  border-color: rgba(249, 115, 22, 0.32);
  background: rgba(249, 115, 22, 0.08);
  color: #fdba74;
  transition:
    transform 0.2s var(--tap),
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.game-card--duck .game-card__open .ico {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.game-card--duck .game-card__open:hover {
  border-color: rgba(249, 115, 22, 0.62);
  background: rgba(249, 115, 22, 0.16);
  box-shadow: 0 0 22px rgba(249, 115, 22, 0.28);
}

.game-card--duck .game-card__open:hover .ico {
  transform: translateX(4px) scale(1.18);
  filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.75));
}

.game-card--duck .game-card__badge {
  box-shadow: 0 0 18px rgba(163, 230, 53, 0.5);
}

.catalog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 18, 23, 0.6);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--tap), color 0.2s, border-color 0.2s;
}
.catalog-back:active { transform: scale(0.96); }
.catalog-back:hover { color: var(--text); border-color: rgba(163, 230, 53, 0.3); }

/* Guide — How it works */
.guide-head { margin-bottom: 16px; }
.guide-head h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.guide-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.guide-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(120, 128, 138, 0.38);
  background: rgba(8, 10, 13, 0.88);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 18px rgba(0, 0, 0, 0.28);
}
.guide-step__num {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: Orbitron, Rajdhani, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  background: rgba(14, 18, 23, 0.95);
  border: 1px solid rgba(249, 115, 22, 0.35);
  text-shadow:
    0 0 10px rgba(249, 115, 22, 0.85),
    0 0 22px rgba(249, 115, 22, 0.35);
  box-shadow: inset 0 0 12px rgba(249, 115, 22, 0.08);
}
.guide-step__body h3 {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--text);
}
.guide-step__body p {
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.6;
}
.guide-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.guide-back:active { transform: scale(0.96); }

.btn-duck-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 45%, #a3e635 100%);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s var(--tap);
}
.btn-duck-cta:active { transform: scale(0.96); }

/* ═══ Duck Survival — Post-Apocalypse Catalog ═══ */
.duck-zone {
  --bg-main: #07090b;
  --bg-card: #0f1318;
  --accent-neon: #a3e635;
  --accent-orange: #f97316;
  --border-color: rgba(163, 230, 53, 0.15);

  position: relative;
  background-color: var(--bg-main);
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 70% 35% at 50% -5%, rgba(163, 230, 53, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 25% at 100% 30%, rgba(249, 115, 22, 0.05), transparent 50%);
  background-size: 20px 20px, 20px 20px, 100% 100%, 100% 100%;
  background-attachment: local;
}

.duck-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(163, 230, 53, 0.012) 2px,
    rgba(163, 230, 53, 0.012) 4px
  );
  opacity: 0.6;
  z-index: 0;
}

.duck-zone > * {
  position: relative;
  z-index: 1;
}

.catalog-back--duck {
  border-color: var(--border-color);
  color: rgba(163, 230, 53, 0.65);
  background: rgba(15, 19, 24, 0.85);
}
.catalog-back--duck:hover {
  border-color: rgba(163, 230, 53, 0.35);
  color: var(--accent-neon);
}

/* Hero banner */
.duck-hero--apoc {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(163, 230, 53, 0.04);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.duck-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 230, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.7;
}

.duck-hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 9, 11, 0.82) 0%,
    rgba(7, 9, 11, 0.28) 38%,
    rgba(7, 9, 11, 0.04) 62%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.duck-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0.58;
  filter: saturate(0.8) brightness(0.48);
}

.duck-hero__art {
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  opacity: 0.95;
  border: 1px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
}

.duck-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 168px;
  padding: 14px 14px 14px 16px;
}

.duck-hero__content {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.duck-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-family: Orbitron, sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--accent-neon);
  border: 1px solid var(--border-color);
  background: rgba(163, 230, 53, 0.06);
  text-shadow: 0 0 10px rgba(163, 230, 53, 0.45);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.08);
}

.duck-hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 8px var(--accent-neon);
  animation: duckPulse 2s ease infinite;
}

@keyframes duckPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.duck-hero__content h2 {
  font-family: Orbitron, Rajdhani, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #eef2e8;
  text-shadow: 0 0 24px rgba(249, 115, 22, 0.35);
  letter-spacing: 0.03em;
}

.duck-hero__content p {
  font-size: 0.74rem;
  color: rgba(163, 230, 53, 0.7);
  line-height: 1.45;
}

/* Catalog section label */
.duck-catalog__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(163, 230, 53, 0.85);
  text-transform: uppercase;
}

.ico-ticket-glow {
  color: var(--accent-orange);
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.65));
}

.duck-grid { gap: 12px; }

/* Pack cards — premium gamer vitrine */
.duck-zone .card-duck.product-card {
  position: relative;
  text-align: left;
  padding: 14px 14px 12px;
  border: 1px solid rgba(120, 128, 138, 0.22) !important;
  background: linear-gradient(135deg, #0e1317 0%, #050709 100%) !important;
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.4) !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s var(--tap);
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 4px;
  overflow: hidden;
}

.duck-zone .card-duck.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.06) 0%, transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(163, 230, 53, 0.035) 11px,
      rgba(163, 230, 53, 0.035) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(163, 230, 53, 0.035) 11px,
      rgba(163, 230, 53, 0.035) 12px
    );
}

.duck-zone .card-duck.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(163, 230, 53, 0.15) 43%, transparent 44%),
    radial-gradient(circle at center, transparent 62%, rgba(163, 230, 53, 0.1) 63%, transparent 64%);
}

.duck-zone .card-duck.product-card .product-game-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

.duck-zone .card-duck.product-card > * {
  position: relative;
  z-index: 1;
}

.duck-zone .card-duck.product-card > .ico-card { display: none; }

.duck-zone .card-duck.product-card:hover {
  border-color: rgba(249, 115, 22, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.2),
    0 0 22px rgba(249, 115, 22, 0.12),
    inset 0 0 24px rgba(249, 115, 22, 0.04),
    0 6px 24px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
}

.duck-zone .card-duck.product-card:nth-child(even):hover {
  border-color: rgba(163, 230, 53, 0.48) !important;
  box-shadow:
    0 0 0 1px rgba(163, 230, 53, 0.18),
    0 0 22px rgba(163, 230, 53, 0.1),
    inset 0 0 24px rgba(163, 230, 53, 0.04),
    0 6px 24px rgba(0, 0, 0, 0.5) !important;
}

.duck-zone .card-duck.product-card:active { transform: scale(0.96); }

.duck-zone .card-duck.product-card b {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-shadow: none;
  margin: 0 0 4px;
  line-height: 1.25;
}


.duck-zone .card-duck.product-card em {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  font-style: normal;
  font-family: Orbitron, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-orange) !important;
  text-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
  margin-bottom: 8px;
  text-align: center;
}

.duck-zone .card-duck.product-card small {
  grid-column: 1 / -1;
  grid-row: 3;
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-neon) !important;
  border: 1px solid var(--border-color) !important;
  background: rgba(163, 230, 53, 0.05) !important;
  border-radius: 2px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

/* Custom amount panel */
.duck-panel--apoc {
  border: 1px solid var(--border-color) !important;
  background:
    linear-gradient(160deg, rgba(15, 19, 24, 0.96), rgba(7, 9, 11, 0.92)) !important;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35), 0 0 15px rgba(163, 230, 53, 0.03) !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.duck-panel--apoc h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e0d0;
  font-size: 0.88rem;
}

.duck-panel--apoc .hint { color: rgba(163, 230, 53, 0.45); }

.duck-zone .inp-duck {
  background: rgba(7, 9, 11, 0.7) !important;
  border-color: var(--border-color) !important;
  color: #eef2e8;
}

.duck-zone .inp-duck:focus {
  border-color: rgba(163, 230, 53, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1), 0 0 20px rgba(163, 230, 53, 0.08) !important;
}

.duck-price {
  color: var(--accent-neon) !important;
  font-family: Orbitron, sans-serif;
  text-shadow: 0 0 12px rgba(163, 230, 53, 0.35);
}

.btn-duck-ghost {
  background: rgba(163, 230, 53, 0.06);
  border: 1px solid var(--border-color);
  color: var(--accent-neon);
  border-radius: 4px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: transform 0.2s var(--tap), box-shadow 0.2s;
}

.btn-duck-ghost:hover:not(:disabled) {
  box-shadow: 0 0 15px rgba(163, 230, 53, 0.08);
  border-color: rgba(163, 230, 53, 0.3);
}

.btn-duck-ghost:active { transform: scale(0.96); }
.btn-duck-ghost:disabled { opacity: 0.35; }

.banner {
  text-align: center;
  padding: 18px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-in);
}
.banner__tag {
  font-family: Orbitron, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.banner h2 { font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.banner p { font-size: 0.75rem; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.card {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-in), 0 4px 24px rgba(0, 0, 0, 0.25);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--tap), border-color 0.2s, box-shadow 0.2s;
}
.card:active { transform: scale(0.96); }
.card:hover {
  border-color: rgba(163, 230, 53, 0.28);
  box-shadow: inset 0 1px 0 var(--glass-in), 0 6px 28px rgba(163, 230, 53, 0.08);
}
.card b { display: block; font-size: 0.82rem; margin: 4px 0; font-weight: 600; }
.card em { font-style: normal; color: var(--gold); font-weight: 800; font-size: 0.95rem; }
.card small {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(163, 230, 53, 0.25);
  background: rgba(163, 230, 53, 0.06);
  color: var(--gold2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-in);
}
.custom h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}
.hint { font-size: 0.72rem; color: var(--muted); margin-bottom: 10px; }
.err { font-size: 0.72rem; color: var(--err); margin-top: 6px; }
.custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.price-anim {
  font-family: Orbitron, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.2s;
}

/* Glass inputs */
.inp {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.55);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.inp:focus {
  border-color: rgba(163, 230, 53, 0.5);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.12), 0 0 20px rgba(163, 230, 53, 0.08);
}
.inp:focus-visible {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 0 16px rgba(249, 115, 22, 0.06);
}
.inp.bad {
  border-color: var(--err) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Premium buttons */
.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--tap), box-shadow 0.2s, border-color 0.2s;
}
.btn:active:not(:disabled) { transform: scale(0.96); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.full { width: 100%; }
.sm { padding: 10px 18px; font-size: 0.8rem; }

.btn-orange,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0a0a0a;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(163, 230, 53, 0.95), rgba(249, 115, 22, 0.85));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(163, 230, 53, 0.4);
  box-shadow:
    0 4px 24px rgba(163, 230, 53, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-orange:hover:not(:disabled),
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 28px rgba(163, 230, 53, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0a0a0a;
  background: linear-gradient(145deg, rgba(196, 240, 66, 0.95), rgba(163, 230, 53, 0.85));
  border: 1px solid rgba(196, 240, 66, 0.4);
  box-shadow: 0 4px 24px var(--neon-dim), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(163, 230, 53, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(163, 230, 53, 0.28);
  color: var(--gold2);
  box-shadow: inset 0 1px 0 var(--glass-in);
}

/* Orders + Timeline */
.orders-head { margin-bottom: 14px; }
.orders-head h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.orders-empty {
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
}
.orders-empty p { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }

.order-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 23, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 var(--glass-in), 0 6px 28px rgba(0, 0, 0, 0.3);
}
.order-card.highlight {
  border-color: rgba(163, 230, 53, 0.35);
  box-shadow: 0 0 28px rgba(163, 230, 53, 0.1);
}
.order-card--done { opacity: 0.88; }

.order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.order-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-await-pay { background: rgba(234, 179, 8, 0.12); color: var(--yellow); border: 1px solid rgba(234, 179, 8, 0.28); }
.status-paid { background: rgba(59, 130, 246, 0.12); color: var(--blue); border: 1px solid rgba(59, 130, 246, 0.28); }
.status-waiting { background: rgba(234, 179, 8, 0.1); color: var(--yellow); border: 1px solid rgba(234, 179, 8, 0.25); }
.status-need_code { background: rgba(239, 68, 68, 0.12); color: var(--red); border: 1px solid rgba(239, 68, 68, 0.3); animation: blink 1.4s ease infinite; }
.status-completed { background: rgba(34, 197, 94, 0.1); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.25); }

.order-timeline { display: flex; flex-direction: column; margin-bottom: 14px; }
.timeline-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--line-soft);
}
.timeline-step.is-done:not(:last-child)::before {
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.5), rgba(249, 115, 22, 0.25));
}
.timeline-step.is-current:not(:last-child)::before {
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.45), var(--line-soft));
}

.timeline-step__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.5);
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s, background 0.3s;
}
.timeline-step__icon .ico { width: 18px; height: 18px; }
.timeline-step__icon .mil-asset--timeline {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.timeline-step.is-done .timeline-step__icon {
  border-color: rgba(163, 230, 53, 0.4);
  background: rgba(163, 230, 53, 0.12);
  color: var(--gold);
  box-shadow: 0 0 14px rgba(163, 230, 53, 0.15);
}
.timeline-step.is-current .timeline-step__icon {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.1);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.2);
}
.timeline-step.is-current.is-alert .timeline-step__icon {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.25);
  animation: blink 1.4s ease infinite;
}

.timeline-step__body { min-width: 0; padding-top: 2px; }
.timeline-step__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--muted);
  transition: color 0.3s;
}
.timeline-step.is-done .timeline-step__title,
.timeline-step.is-current .timeline-step__title { color: var(--text); }
.timeline-step__sub { font-size: 0.72rem; color: var(--muted); }
.timeline-step.is-current .timeline-step__sub { color: var(--gold2); }
.timeline-step.is-current.is-alert .timeline-step__sub { color: var(--red); }

.timeline-step__code {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.timeline-step__code .inp { margin-top: 0; flex: 1; }
.timeline-step__code .btn { flex-shrink: 0; padding: 10px 12px; font-size: 0.78rem; }

.order-card__foot {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
.order-card__foot strong { color: var(--gold); font-weight: 700; }

.order-repeat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(249, 115, 22, 0.38);
  border-radius: 12px;
  background: rgba(12, 15, 19, 0.88);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s var(--tap), border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.order-repeat-btn:hover {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.08);
}

.order-repeat-btn:active {
  transform: scale(0.96);
}

.order-repeat-btn__ico {
  width: 16px;
  height: 16px;
  color: #f97316;
  flex-shrink: 0;
}

/* Profile */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 var(--glass-in);
}

.profile-hero__avatar { flex-shrink: 0; }

.profile-av-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.profile-hero__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.profile-hero__sub {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 var(--glass-in);
}

.profile-stat__ico {
  width: 18px;
  height: 18px;
  color: var(--muted);
  opacity: 0.85;
}

.profile-stat__label {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.35;
  flex: 1;
}

.profile-stat__val {
  font-family: Orbitron, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Lucky Case ── */
.lucky-case {
  margin-bottom: 14px;
}

.lucky-case__inner {
  position: relative;
  overflow: hidden;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 15, 19, 0.92);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 var(--glass-in),
    0 8px 28px rgba(0, 0, 0, 0.35);
}

.lucky-case__title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.lucky-case__keys {
  margin: 0 0 14px;
  font-size: 0.76rem;
  color: var(--muted);
}

.lucky-case__keys strong {
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 0.88rem;
}

.lucky-case__crate {
  position: relative;
  width: 72px;
  height: 56px;
  margin: 0 auto 16px;
}

.lucky-case__crate-body {
  position: absolute;
  inset: 12px 0 0;
  border-radius: 6px;
  border: 2px solid rgba(120, 113, 108, 0.85);
  background: linear-gradient(180deg, #3f3f46 0%, #27272a 55%, #18181b 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

.lucky-case__crate-body::before,
.lucky-case__crate-body::after {
  content: "";
  position: absolute;
  background: rgba(249, 115, 22, 0.45);
}

.lucky-case__crate-body::before {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  transform: translateY(-50%);
}

.lucky-case__crate-body::after {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.lucky-case__crate-lid {
  position: absolute;
  top: 0;
  left: 4px;
  right: 4px;
  height: 14px;
  border-radius: 4px 4px 2px 2px;
  border: 2px solid rgba(161, 161, 170, 0.7);
  background: linear-gradient(180deg, #52525b 0%, #3f3f46 100%);
  transition: transform 0.35s ease;
  z-index: 1;
}

.lucky-case__crate-lock {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  z-index: 2;
  transition: opacity 0.25s ease;
}

.lucky-case__crate--open .lucky-case__crate-lid {
  transform: translateY(-10px) rotate(-12deg);
}

.lucky-case__crate--open .lucky-case__crate-lock {
  opacity: 0;
}

.lucky-case__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.case-roulette {
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
}

.case-roulette:not(.hidden) {
  display: block;
}

.case-roulette--open {
  max-height: 110px;
  opacity: 1;
  margin-top: 14px;
}

.case-roulette__viewport {
  position: relative;
  overflow: hidden;
  height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: rgba(5, 7, 9, 0.85);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.case-roulette__track {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 8px;
  will-change: transform;
}

.case-roulette__pointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #f97316 20%, #f97316 80%, transparent);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.65);
  z-index: 2;
  pointer-events: none;
}

.case-chip {
  flex: 0 0 68px;
  width: 68px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: linear-gradient(165deg, rgba(249, 115, 22, 0.14) 0%, rgba(14, 18, 23, 0.95) 100%);
}

.case-chip__val {
  font-family: Orbitron, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
}

.case-chip__lbl {
  font-size: 0.52rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lucky-case__result {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
}

.lucky-case--win::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(249, 115, 22, 0.55), transparent 68%);
  animation: caseFlash 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes caseFlash {
  0% { opacity: 0; transform: scale(0.85); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.15); }
}

.profile-meta {
  padding: 4px 2px;
  margin-bottom: 16px;
}

.profile-meta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.78rem;
}

.profile-meta__row:last-child { border-bottom: none; }

.profile-meta__row span:first-child { color: var(--muted); }
.profile-meta__row span:last-child {
  color: var(--text);
  text-align: right;
  font-size: 0.72rem;
}

.profile-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.btn-profile-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
  box-shadow: 0 6px 22px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s var(--tap), box-shadow 0.2s;
}

.btn-profile-cta:active { transform: scale(0.98); }

.btn-profile-out {
  width: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: blur(12px);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.2s var(--tap), border-color 0.2s, color 0.2s;
}

.btn-profile-out:active { transform: scale(0.96); }
.btn-profile-out:hover { border-color: rgba(249, 115, 22, 0.35); color: var(--text); }
.btn-profile-out .ico { width: 20px; height: 20px; }

/* Referral program */
.referral-panel {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 var(--glass-in);
}

.referral-panel__title {
  font-family: Orbitron, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.referral-panel__lead {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 14px;
}

.referral-level {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(163, 230, 53, 0.28);
  background: linear-gradient(
    135deg,
    rgba(163, 230, 53, 0.1) 0%,
    rgba(249, 115, 22, 0.06) 100%
  );
}

.referral-level__label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.referral-level__val {
  font-family: Orbitron, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.referral-level__sub {
  font-size: 0.76rem;
  color: var(--gold2);
}

.referral-panel__block {
  margin-bottom: 12px;
}

.referral-panel__subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.referral-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.referral-panel__list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.referral-panel__list code {
  font-family: Orbitron, monospace;
  font-size: 0.82em;
  color: var(--accent-neon);
  background: rgba(163, 230, 53, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(163, 230, 53, 0.2);
}

.referral-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple));
}

.referral-panel__note {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 14px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.referral-link {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.referral-link__inp {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
}

.referral-link__btn {
  flex-shrink: 0;
  padding: 0 12px;
  font-size: 0.72rem;
}

.referral-panel__balances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.74rem;
  color: var(--muted);
}

.referral-panel__balances strong {
  color: var(--text);
  font-weight: 700;
}

/* Dev promo card — Profile */
.dev-promo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  background: rgba(14, 18, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--tap), border-color 0.25s ease;
  animation: dev-promo-glow 3.2s ease-in-out infinite;
}

.dev-promo-card:active {
  transform: scale(0.97);
}

.dev-promo-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.12), rgba(163, 230, 53, 0.06));
  color: #fb923c;
}

.dev-promo-card__icon svg {
  width: 22px;
  height: 22px;
}

.dev-promo-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dev-promo-card__title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.dev-promo-card__sub {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}

@keyframes dev-promo-glow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 0 0 1px rgba(249, 115, 22, 0.06),
      0 4px 20px rgba(249, 115, 22, 0.08);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 0 0 1px rgba(163, 230, 53, 0.12),
      0 6px 28px rgba(249, 115, 22, 0.16),
      0 0 18px rgba(163, 230, 53, 0.07);
    border-color: rgba(249, 115, 22, 0.32);
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.site-footer__brand-name {
  font-family: Orbitron, Rajdhani, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.muted { font-size: 0.78rem; color: var(--muted); }

/* Cart & Nav */
.cart-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav) + var(--safe));
  width: 100%;
  max-width: 480px;
  height: var(--cart);
  padding: 0 12px;
  z-index: 52;
}

.cart-bar__open {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 8px 14px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 14px;
  background: rgba(14, 18, 23, 0.94);
  backdrop-filter: blur(20px);
  box-shadow:
    0 -4px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s var(--tap);
}

.cart-bar__open:active { transform: scale(0.985); }

.cart-bar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.cart-bar__icon .ico {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.cart-bar__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-neon);
  color: #0a0f0a;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.cart-bar__label {
  flex: 1;
  text-align: left;
}

.cart-bar__label small {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-bar__label strong {
  color: var(--gold);
  font-size: 1rem;
  font-family: Orbitron, sans-serif;
}

.cart-bar__chev {
  transform: rotate(-90deg);
  color: var(--muted);
  opacity: 0.7;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.cart-drawer__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(78vh, 620px);
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  background: rgba(10, 13, 17, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  animation: cartSlideUp 0.32s var(--tap) both;
}

@keyframes cartSlideUp {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h3 {
  font-family: Rajdhani, Orbitron, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 18, 23, 0.82);
  box-shadow: inset 0 1px 0 var(--glass-in);
}

.cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-line__name {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.cart-line__price {
  font-size: 0.72rem;
  color: var(--muted);
}

.cart-line__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.qty-stepper__btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty-stepper__btn:active {
  background: rgba(249, 115, 22, 0.15);
}

.qty-stepper__val {
  min-width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: Orbitron, sans-serif;
}

.cart-line__sum {
  flex: 1;
  text-align: right;
  font-family: Orbitron, sans-serif;
  font-size: 0.88rem;
  color: var(--gold);
}

.cart-line__remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s var(--tap);
}

.cart-line__remove:active {
  transform: scale(0.94);
  background: rgba(239, 68, 68, 0.16);
}

.cart-drawer__foot {
  padding: 12px 16px calc(12px + var(--safe));
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.92);
}

.cart-drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-drawer__total strong {
  font-family: Orbitron, sans-serif;
  font-size: 1.05rem;
  color: var(--gold);
}

.cart-drawer__hint {
  margin: 0;
  padding-top: 4px;
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.checkout-autofill-hint {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.checkout-autofill-hint--visible {
  opacity: 1;
}

.checkout-promo-note {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: #4ade80;
}

.nav {
  position: fixed;
  bottom: var(--safe);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav);
  display: flex;
  background: rgba(5, 7, 9, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 60;
}
.nav-i {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, transform 0.2s var(--tap);
}
.nav-i:active { transform: scale(0.96); }
.nav-i.on { color: var(--gold); }
.nav-i.on[data-pg="profile"] { color: var(--purple); }
.nav-i.on[data-pg="profile"] .ico-nav {
  color: var(--purple);
  filter: drop-shadow(0 0 8px var(--purple-glow));
}

.support-widget {
  position: fixed;
  right: max(16px, calc(50% - 240px + 16px));
  bottom: calc(var(--nav) + var(--safe) + 12px);
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.support-widget__bubble {
  position: relative;
  max-width: 210px;
  padding: 10px 32px 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 23, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  animation: supportBubbleIn 0.35s ease both;
}

.support-widget__bubble.hidden {
  display: none;
}

.support-widget__bubble-text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text);
}

.support-widget__bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
}

.support-widget__bubble-close:active {
  background: rgba(255, 255, 255, 0.06);
}

@keyframes supportBubbleIn {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.support-fab {
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 18, 23, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transition: transform 0.2s var(--tap), box-shadow 0.2s, border-color 0.2s;
}
.support-fab .ico { width: 22px; height: 22px; stroke-width: 2; }
.support-fab:active { transform: scale(0.96); }
.support-fab:hover {
  border-color: #fff;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
}
#app:has(.cart-bar:not(.hidden)) .support-widget {
  bottom: calc(var(--nav) + var(--cart) + var(--safe) + 12px);
}

/* Modal */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
}
.modal {
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid rgba(163, 230, 53, 0.2);
  padding: 14px 16px calc(16px + var(--safe));
  box-shadow: 0 -8px 40px rgba(163, 230, 53, 0.06);
}
.modal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.modal-head h2 { flex: 1; text-align: center; font-size: 0.95rem; font-family: Orbitron, sans-serif; letter-spacing: 0.04em; }
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.6);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--tap), border-color 0.2s;
}
.icon-btn:active { transform: scale(0.96); }
.icon-btn:hover { border-color: rgba(163, 230, 53, 0.3); }

.steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.s {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  border: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
  font-family: Orbitron, sans-serif;
}
.s.on { border-color: rgba(163, 230, 53, 0.35); color: var(--purple); background: var(--purple-dim); }
.s.cur { background: linear-gradient(135deg, var(--purple), var(--gold)); color: #0a0a0a; border-color: transparent; }

.step { display: none; }
.step.on { display: block; animation: fadeUp 0.3s ease; }
.step h3 {
  font-family: Orbitron, sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-summary {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.45);
  backdrop-filter: blur(8px);
}
.checkout-summary__title {
  font-family: Orbitron, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.checkout-summary__items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-summary__items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.checkout-summary__items strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.promo-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.promo-inp {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
}
.promo-btn {
  flex-shrink: 0;
  padding: 0 14px;
  height: 42px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid rgba(163, 230, 53, 0.25);
  background: rgba(163, 230, 53, 0.12);
  color: var(--text);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.2s var(--tap), border-color 0.2s, background 0.2s;
}
.promo-btn:active { transform: scale(0.97); }
.promo-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.promo-status {
  font-size: 0.75rem;
  margin: 0 0 8px;
  line-height: 1.35;
}
.promo-status--ok { color: #4ade80; }
.promo-status--err { color: #f87171; }
.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.checkout-summary__total strong {
  font-family: Orbitron, sans-serif;
  font-size: 1rem;
  color: var(--gold);
}
.checkout-summary__old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.82rem;
  margin-right: 6px;
  font-weight: 400;
}

.proc {
  text-align: center;
  padding: 22px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: rgba(5, 7, 9, 0.45);
  backdrop-filter: blur(8px);
}
.proc.sm { padding: 14px; }
.proc p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-top: 8px; }
.oid { margin-top: 8px; color: var(--gold); font-size: 0.85rem; font-family: Orbitron, sans-serif; }
.spin {
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--purple);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.binds { display: grid; gap: 8px; margin-bottom: 12px; }
.bind {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 9, 0.45);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--tap), border-color 0.2s, box-shadow 0.2s;
}
.bind:active { transform: scale(0.96); }
.bind.on {
  border-color: rgba(163, 230, 53, 0.4);
  background: rgba(163, 230, 53, 0.08);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.1);
}

.auth-method-card.selected {
  border-color: rgba(249, 115, 22, 0.72) !important;
  background: rgba(249, 115, 22, 0.1) !important;
  box-shadow:
    inset 0 0 22px rgba(249, 115, 22, 0.1),
    0 0 24px rgba(249, 115, 22, 0.18) !important;
}

.auth-method-card.selected[data-b="vk"] {
  border-color: rgba(163, 230, 53, 0.62) !important;
  background: rgba(163, 230, 53, 0.1) !important;
  box-shadow:
    inset 0 0 22px rgba(163, 230, 53, 0.08),
    0 0 24px rgba(163, 230, 53, 0.14) !important;
}

.done { text-align: center; padding: 24px 12px; }
.done-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.done h2 { font-family: Orbitron, sans-serif; font-size: 1rem; margin-bottom: 8px; color: var(--gold); letter-spacing: 0.04em; }
.done p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(163, 230, 53, 0.3);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(163, 230, 53, 0.15);
}

/* ── Site Footer ── */
.site-footer {
  margin-top: 28px;
  margin-bottom: calc(var(--nav) + var(--safe) + 8px);
  padding: 22px 4px 8px;
  border-top: 1px solid var(--line-soft);
  color: #64748b;
}
#app:has(.cart-bar:not(.hidden)) .site-footer {
  margin-bottom: calc(var(--nav) + var(--cart) + var(--safe) + 8px);
}

.site-footer__desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 14px;
}

.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  color: #86efac;
}

.site-footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
  flex-shrink: 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-bottom: 18px;
}

.site-footer__title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #94a3b8;
  margin-bottom: 10px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer__link {
  font-size: 0.76rem;
  line-height: 1.4;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer__link:hover { color: #cbd5e1; }
.site-footer__link--accent { color: #94a3b8; font-weight: 600; }

.site-footer__game-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__tg {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  flex-shrink: 0;
  transition: transform 0.2s var(--tap), border-color 0.2s, background 0.2s;
}

.site-footer__tg:active {
  transform: scale(0.94);
}

.site-footer__tg:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.16);
}

.site-footer__copy {
  font-size: 0.66rem;
  line-height: 1.5;
  color: #475569;
}
.site-footer__copy-link {
  color: #64748b;
  text-decoration: none;
}
.site-footer__copy-link:hover { color: #94a3b8; }

.site-footer__contacts {
  margin-bottom: 14px;
  padding-top: 2px;
}

.site-footer__contact-line,
.site-footer__creator {
  margin: 0 0 5px;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #475569;
}

.site-footer__creator {
  margin-bottom: 0;
  margin-top: 6px;
  font-size: 0.64rem;
  color: #3f4f63;
}

.site-footer__contact-line a,
.site-footer__creator a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-line a:hover,
.site-footer__creator a:hover {
  color: #94a3b8;
}

/* ── Support chat modal ── */
.support-modal {
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--line);
  padding: 14px 14px calc(14px + var(--safe));
}

.support-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.support-modal__head h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.support-modal__sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.support-modal__sub a {
  color: var(--gold2);
  text-decoration: none;
}

.support-chat {
  flex: 1;
  min-height: 220px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(5, 7, 9, 0.45);
}

.support-empty {
  padding: 24px 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.support-msg {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.support-msg--user {
  margin-left: auto;
  background: rgba(163, 230, 53, 0.14);
  border: 1px solid rgba(163, 230, 53, 0.22);
}

.support-msg--admin {
  margin-right: auto;
  background: rgba(14, 18, 23, 0.85);
  border: 1px solid var(--line);
}

.support-msg__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.support-msg__time {
  margin-top: 6px;
  font-size: 0.62rem;
  color: var(--muted);
}

.support-compose {
  display: flex;
  gap: 8px;
  align-items: center;
}

.support-inp {
  margin-top: 0;
  flex: 1;
}

.support-compose .btn {
  flex-shrink: 0;
  padding: 12px 14px;
  font-size: 0.78rem;
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
  .landing__title { font-size: 1.3rem; }
}
