:root {
  --bg-deep: #0a0510;
  --bg-panel: #130a21;
  --bg-card: #1a0f2e;
  --border: rgba(168, 85, 247, 0.15);
  --text: #e8edf7;
  --muted: #a394b8;
  --accent: #a855f7;
  --accent-2: #c084fc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.55;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.glow--2 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}

.shop-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
}

.shop-header__brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.brand-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.brand-link:hover {
  color: var(--accent);
}

.brand-pixel {
  font-family: var(--font-pixel);
  font-size: clamp(0.55rem, 2vw, 0.7rem);
  color: var(--accent);
  letter-spacing: 0.06em;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--border);
}

.tabs__btn {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  background: transparent;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.tabs__btn:hover {
  color: var(--text);
}

.tabs__btn.is-active {
  color: white;
  background: linear-gradient(180deg, #c084fc, var(--accent));
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.22);
}

.currency {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(22, 29, 46, 0.85);
}

.currency__label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.currency__btn {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
}

.currency__btn.is-active {
  color: var(--text);
  background: rgba(167, 139, 250, 0.18);
  outline: 1px solid rgba(167, 139, 250, 0.35);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.banner {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.banner--info {
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: rgba(168, 85, 247, 0.06);
  color: var(--muted);
}

.banner code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--accent);
}

.rate-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 24, 38, 0.78);
}

.section-head__title {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.section-head__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.duration-global {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 24, 38, 0.78);
}

.duration-global__label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.duration-global__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.duration-global__btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(12, 15, 20, 0.55);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.duration-global__btn:hover {
  color: var(--text);
  border-color: rgba(167, 139, 250, 0.34);
}

.duration-global__btn.is-active {
  color: white;
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(180deg, #c084fc, var(--accent));
}

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-card), #111827);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.product-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-card--ban {
  grid-column: 1 / -1;
  max-width: 640px;
}

.product-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.product-card__lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.duration-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.duration-switch__btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(12, 15, 20, 0.62);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 62px;
  width: 100%;
  min-width: 0;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.12s ease;
}

.duration-switch__btn:hover {
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(22, 29, 46, 0.78);
  transform: translateY(-1px);
}

.duration-switch__btn.is-active {
  color: var(--text);
  border-color: rgba(168, 85, 247, 0.52);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.08));
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.08);
}

.duration-switch__label {
  font-size: 0.84rem;
  line-height: 1.1;
}

.duration-switch__price {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0.95;
}

.product-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: auto;
}

.product-card__period {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.price-tag {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn--buy {
  margin-top: auto;
  color: white;
  background: linear-gradient(180deg, #c084fc, var(--accent));
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.22);
}

.btn--buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(168, 85, 247, 0.32);
}

.btn--sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

.ban-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.ban-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ban-row__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.ban-row__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer a {
  color: var(--accent);
}

code {
  font-family: ui-monospace, monospace;
}

/* ����� ��� ������ Tabler (�� ������, ���� ��� ������������ � ��������) */
.ti {
  color: var(--accent);
  font-size: 1.75rem;
  line-height: 1;
}
/* Дополнение в конец style.css */
button.btn--buy {
    font-family: inherit;
    font-size: 1rem;
}
button.btn--buy:disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}