/**
 * Pixel Battle — игровой магазин (dark / neon / glass)
 */

.game-shop-overlay {
  z-index: 120;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(168, 85, 247, 0.12), transparent 45%),
    rgba(4, 6, 14, 0.92);
  /* Без backdrop-filter: в TG WebView размытие может оставлять артефакт на карте под оверлеем */
}

.game-shop {
  --shop-bg: rgba(18, 22, 38, 0.72);
  --shop-glass: rgba(255, 255, 255, 0.06);
  --shop-neon: #6366f1;
  --shop-neon2: #a855f7;
  --shop-gold: #fbbf24;
  --shop-gold2: #f59e0b;
  --shop-text: #f1f5f9;
  --shop-muted: #94a3b8;
  --shop-radius: 16px;
  --shop-radius-sm: 12px;

  width: 100%;
  max-width: 420px;
  max-height: min(92dvh, 720px);
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, var(--shop-bg) 0%, rgba(10, 12, 24, 0.92) 100%);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15), 0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(99, 102, 241, 0.08);
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--shop-text);
}

.game-shop__header {
  position: relative;
  padding: 16px 52px 14px 18px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-shop__header-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--shop-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.game-shop__header-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.game-shop__header-close:active {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0.96);
}

.game-shop__header-close:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.85);
  outline-offset: 2px;
}

.game-shop__header-close-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.game-shop__header-close-icon::before,
.game-shop__header-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.game-shop__header-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.game-shop__header-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.game-shop__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.game-shop__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.game-shop__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.game-shop__subtitle {
  margin: 2px 0 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shop-muted);
  opacity: 0.9;
}

.game-shop__balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--shop-radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.game-shop__balance-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-gold);
  opacity: 0.85;
}

.game-shop__balance-value {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fef3c7;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
  transition: transform 0.2s ease;
}

.game-shop__balance-value[data-pulse="1"] {
  animation: shop-balance-pulse 0.45s ease;
}

@keyframes shop-balance-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.game-shop__tabs {
  display: flex;
  gap: 4px;
  padding: 0 10px;
  margin-top: 4px;
}

.game-shop__tab {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border: none;
  border-radius: var(--shop-radius-sm) var(--shop-radius-sm) 0 0;
  background: transparent;
  color: var(--shop-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.22s, background 0.22s, box-shadow 0.22s, transform 0.18s ease;
}

.game-shop__tab:not(.is-active):hover {
  transform: translateY(-1px);
  color: #e2e8f0;
}

.game-shop__tab:hover {
  color: #cbd5e1;
}

.game-shop__tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0.06) 100%);
  box-shadow: 0 -2px 16px rgba(99, 102, 241, 0.2);
}

.game-shop__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 14px 16px;
  -webkit-overflow-scrolling: touch;
}

.game-shop__panel[hidden] {
  display: none !important;
}

.game-shop__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: shop-panel-in 0.28s ease;
}

@keyframes shop-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-shop__section-label {
  margin: 4px 0 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shop-muted);
}

.game-shop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 380px) {
  .game-shop__grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.game-shop__energy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 380px) {
  .game-shop__energy-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.game-shop__card--energy {
  padding: 10px 10px 8px;
}

.game-shop__card--energy .game-shop__card-title {
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.game-shop__card--energy .game-shop__card-desc {
  font-size: 0.75rem;
  margin: 0 0 8px;
  opacity: 0.85;
}

.game-shop__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 14px 12px;
  border-radius: var(--shop-radius);
  background: linear-gradient(145deg, var(--shop-glass) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s;
  overflow: hidden;
}

.game-shop__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-shop__card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(99, 102, 241, 0.12);
}

.game-shop__card:hover::before {
  opacity: 1;
}

.game-shop__card--premium {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.08) 0%, rgba(15, 18, 32, 0.85) 50%);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45), 0 0 40px rgba(251, 191, 36, 0.1);
}

.game-shop__card--premium::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(251, 191, 36, 0.06) 60deg, transparent 120deg);
  animation: shop-shine 6s linear infinite;
  pointer-events: none;
}

@keyframes shop-shine {
  to {
    transform: rotate(360deg);
  }
}

.game-shop__card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.game-shop__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.game-shop__card--premium .game-shop__icon {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.2);
}

.game-shop__card-text {
  flex: 1;
  min-width: 0;
}

.game-shop__card-title {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f8fafc;
}

.game-shop__card-desc {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--shop-muted);
}

.game-shop__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.game-shop__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-shop__badge--hot {
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.game-shop__badge--star {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  color: #fff;
}

.game-shop__badge--limited {
  background: rgba(251, 191, 36, 0.2);
  color: var(--shop-gold);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.game-shop__badge--deal {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.game-shop__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.game-shop__price {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fde68a;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
}

.game-shop__buy {
  appearance: none;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(180deg, #fde68a 0%, var(--shop-gold2) 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.12s ease, box-shadow 0.2s;
}

.game-shop__buy:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.game-shop__buy:active:not(:disabled) {
  transform: scale(0.92);
  filter: brightness(1.12);
}

.game-shop__buy:not(:disabled):hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}

.fx-btn-press.game-shop__buy,
.fx-btn-press.starter-pack__cta,
.fx-btn-press.shop-topup-pack {
  animation: shop-buy-snap 0.24s cubic-bezier(0.34, 1.45, 0.64, 1);
}

@keyframes shop-buy-snap {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(0.9);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.game-shop__buy:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.game-shop__buy.game-shop__buy--success {
  color: #052e16;
  background: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  cursor: default;
}

.game-shop__buy.game-shop__buy--success:disabled {
  opacity: 1;
}

.game-shop__buy--ghost {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.35) 0%, rgba(79, 70, 229, 0.55) 100%);
  color: #e0e7ff;
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.game-shop__coins-panel {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--shop-radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(251, 191, 36, 0.25);
}

.game-shop__coins-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.4));
}

.game-shop__coins-text {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--shop-muted);
}

.game-shop__deposit-btn {
  appearance: none;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: #ecfdf5;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.45) 0%, rgba(21, 128, 61, 0.65) 100%);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.25);
  transition: transform 0.12s ease;
}

.game-shop__deposit-btn:active {
  transform: scale(0.97);
}

.game-shop__bundle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.game-shop__bundle-grid .game-shop__buy {
  width: 100%;
  padding: 8px 6px;
  font-size: 0.62rem;
}

.game-shop__hint {
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--shop-muted);
}

.game-shop__subhint {
  margin: -4px 0 10px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #a5b4fc;
}

.game-shop__grid--recovery {
  grid-template-columns: 1fr;
}

@media (min-width: 380px) {
  .game-shop__grid--recovery {
    grid-template-columns: 1fr 1fr;
  }
}

.game-shop__effects {
  font-size: 0.68rem;
  line-height: 1.4;
  color: #a5b4fc;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.game-shop__pending {
  font-size: 0.72rem;
  font-weight: 600;
  color: #818cf8;
  margin: 0 0 10px;
  min-height: 1.2em;
}

/* —— Starter Pack (featured hero) —— */
.game-shop__starter-wrap {
  margin: 0 -4px 14px;
  padding: 0 2px 4px;
}

.starter-pack {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    #fde68a 0%,
    #fbbf24 18%,
    #f59e0b 38%,
    #d97706 55%,
    #fbbf24 72%,
    #fde68a 100%
  );
  background-size: 200% 200%;
  animation: starter-pack-border-shift 8s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.35),
    0 0 32px rgba(251, 191, 36, 0.35),
    0 0 64px rgba(245, 158, 11, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.starter-pack:hover {
  transform: scale(1.015) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(253, 224, 71, 0.5),
    0 0 48px rgba(251, 191, 36, 0.5),
    0 0 80px rgba(245, 158, 11, 0.28),
    0 20px 48px rgba(0, 0, 0, 0.5);
}

.starter-pack__aurora {
  pointer-events: none;
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(251, 191, 36, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(168, 85, 247, 0.2), transparent 50%);
  opacity: 0.85;
  animation: starter-pack-pulse-glow 2.8s ease-in-out infinite;
  z-index: 0;
}

.starter-pack__inner {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: linear-gradient(165deg, rgba(28, 22, 12, 0.97) 0%, rgba(12, 10, 22, 0.98) 55%, rgba(8, 8, 16, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.starter-pack__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
  animation: starter-pack-shine 4s ease-in-out infinite;
  pointer-events: none;
}

.starter-pack__ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  justify-content: center;
}

.starter-pack__ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.starter-pack__ribbon-tag--hot {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  color: #fff7ed;
  animation: starter-pack-badge-pulse 2s ease-in-out infinite;
}

.starter-pack__ribbon-tag--pop {
  background: linear-gradient(180deg, #8b5cf6 0%, #5b21b6 100%);
  color: #f5f3ff;
}

.starter-pack__title {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  background: linear-gradient(90deg, #fef3c7, #fbbf24, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.45));
}

.starter-pack__subtitle {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: #cbd5e1;
}

.starter-pack__hook {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: #a5b4fc;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.starter-pack__rewards {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 14px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.2);
  display: grid;
  gap: 8px;
}

.starter-pack__reward {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: #e2e8f0;
}

.starter-pack__reward--rare {
  padding-top: 4px;
  margin-top: 2px;
  border-top: 1px dashed rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
}

.starter-pack__ricon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.starter-pack__rtext strong {
  color: #fde68a;
  font-weight: 800;
}

.starter-pack__rdur {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--shop-muted);
}

.starter-pack__cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.starter-pack__price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.starter-pack__price-old {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--shop-muted);
  text-decoration: line-through;
  opacity: 0.88;
}

.starter-pack__price-main {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fef3c7;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.5);
}

.starter-pack__price-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--shop-muted);
}

.starter-pack__cta {
  appearance: none;
  cursor: pointer;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c1008;
  background: linear-gradient(180deg, #fde68a 0%, #fbbf24 35%, #d97706 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 6px 0 #92400e,
    0 8px 24px rgba(245, 158, 11, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.starter-pack__cta:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 6px 0 #92400e,
    0 0 32px rgba(251, 191, 36, 0.55),
    0 12px 32px rgba(245, 158, 11, 0.4);
}

.starter-pack__cta:active {
  transform: scale(0.98) translateY(2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 2px 0 #92400e,
    0 4px 16px rgba(0, 0, 0, 0.4);
}

.starter-pack__urgency {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f87171;
  opacity: 0.95;
}

@keyframes starter-pack-border-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes starter-pack-pulse-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@keyframes starter-pack-shine {
  0%,
  100% {
    transform: translateX(-30%);
    opacity: 0;
  }
  45% {
    opacity: 0.5;
  }
  55% {
    transform: translateX(30%);
    opacity: 0.5;
  }
}

@keyframes starter-pack-badge-pulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .starter-pack,
  .starter-pack__aurora,
  .starter-pack__inner::before,
  .starter-pack__ribbon-tag--hot {
    animation: none;
  }

  .starter-pack:hover {
    transform: none;
  }
}

@media (min-width: 400px) {
  .starter-pack__cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .starter-pack__price-block {
    align-items: flex-start;
  }

  .starter-pack__cta {
    flex: 1;
    min-width: 0;
    max-width: 200px;
    margin-left: auto;
  }
}

/* —— Кванты: баланс, вкладки, топ-ап —— */
.game-shop__balance-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.game-shop__balance-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  opacity: 0.95;
}

.game-shop__balance-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--shop-muted);
  text-align: right;
  opacity: 0.85;
}

.game-shop__tabs--quad {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 6px;
}

.game-shop__tabs--quad .game-shop__tab {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  font-size: 0.6rem;
  padding: 9px 4px;
  letter-spacing: 0.02em;
}

.game-shop__tabs--six {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 6px;
}

.game-shop__tabs--six .game-shop__tab {
  flex: 1 1 calc(33.33% - 4px);
  min-width: 0;
  font-size: 0.58rem;
  padding: 9px 4px;
  letter-spacing: 0.02em;
}

.game-shop__price-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  min-width: 0;
}

.game-shop__price-usdt {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--shop-muted);
  opacity: 0.88;
}

.game-shop__card--feature {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.4), 0 0 32px rgba(99, 102, 241, 0.12);
}

.game-shop__bundle-grid--lines {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.game-shop__line-btn {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.2) 0%, rgba(15, 18, 32, 0.9) 100%);
  color: #e0e7ff;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.game-shop__line-btn:hover:not(:disabled) {
  transform: scale(1.03);
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.35);
}

.game-shop__line-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.game-shop__line-arrow {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.game-shop__line-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fde68a;
}

.game-shop__line-usdt {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--shop-muted);
}

.game-shop__card--elite {
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(15, 18, 32, 0.92) 55%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 48px rgba(168, 85, 247, 0.12);
}

/* Премиум: военная база (FOB) — крупнее и заметнее остальных карточек */
.game-shop__card--military-supreme {
  grid-column: 1 / -1;
  padding: 18px 16px 16px;
  border-width: 2px;
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(
    148deg,
    rgba(251, 191, 36, 0.16) 0%,
    rgba(245, 158, 11, 0.08) 28%,
    rgba(12, 14, 28, 0.96) 62%
  );
  box-shadow:
    0 10px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 64px rgba(251, 191, 36, 0.18);
  position: relative;
  overflow: hidden;
}

.game-shop__card--military-supreme::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent 0%, rgba(251, 191, 36, 0.07) 35%, transparent 55%);
  animation: game-shop-mil-glow 8s linear infinite;
  pointer-events: none;
}

@keyframes game-shop-mil-glow {
  to {
    transform: rotate(360deg);
  }
}

.game-shop__card-head--wide {
  align-items: flex-start;
  gap: 14px;
}

.game-shop__icon--xl {
  font-size: 2.35rem;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.45));
}

.game-shop__card-title--glow {
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
}

.game-shop__price--xl {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fde68a;
}

.game-shop__price-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--shop-muted);
  line-height: 1.35;
}

.game-shop__badge--best {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.88));
  color: #1a1204;
  font-weight: 900;
}

.shop-btn--supreme {
  min-width: 118px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.22);
}

.game-shop__topup-intro {
  margin: 0 0 12px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--shop-muted);
}

.game-shop__topup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 380px) {
  .game-shop__topup-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.game-shop__topup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 12px;
  border-radius: var(--shop-radius);
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: linear-gradient(155deg, rgba(251, 191, 36, 0.1) 0%, rgba(12, 14, 28, 0.95) 100%);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--shop-text);
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.2s;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.game-shop__topup-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 32px rgba(251, 191, 36, 0.15);
}

.game-shop__topup-card:active {
  transform: scale(0.98);
}

.game-shop__topup-card--best {
  border-color: rgba(239, 68, 68, 0.45);
  background: linear-gradient(155deg, rgba(239, 68, 68, 0.12) 0%, rgba(12, 14, 28, 0.95) 100%);
}

.game-shop__topup-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.game-shop__topup-badge--best {
  background: rgba(239, 68, 68, 0.35);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.45);
}

.game-shop__topup-quant,
.game-shop__topup-tugry {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fef3c7;
  text-shadow: 0 0 16px rgba(251, 191, 36, 0.35);
}

.game-shop__topup-bonus {
  font-size: 0.62rem;
  font-weight: 700;
  color: #86efac;
}

.game-shop__topup-usdt {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--shop-muted);
  margin-top: auto;
}
