/* ==========================================================================
   QuickCheats - global stylesheet
   Change the brand look in one place: the :root tokens below.
   ========================================================================== */

:root {
  /* Monochrome brand palette, matched to the glowing white QC logo */
  --bg: #050505;
  --bg-2: #0a0a0b;
  --surface: #0f0f10;
  --surface-2: #161617;
  --surface-3: #202022;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f2f2;
  --text-soft: #c4c4c4;
  --muted: #828282;
  --primary: #ffffff;
  --primary-hover: #e6e6e6;
  --primary-soft: rgba(255, 255, 255, 0.07);
  --accent: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  /* silver sheen, used for display text and thin accents */
  --gradient: linear-gradient(180deg, #ffffff 0%, #d9d9d9 45%, #8c8c8c 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 36px -6px rgba(255, 255, 255, 0.28);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Archivo', system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 520px at 78% -12%, rgba(255, 255, 255, 0.07), transparent 62%),
    radial-gradient(600px 380px at -8% 30%, rgba(255, 255, 255, 0.03), transparent 60%);
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: #ffffff;
}

/* in-text links get a subtle underline */
p a,
.alt a,
.row-between a,
.empty-state a,
.notice a,
.small a,
.form-error a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

p a:hover,
.alt a:hover,
.row-between a:hover,
.empty-state a:hover,
.notice a:hover,
.small a:hover {
  text-decoration-color: #ffffff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  color: #fff;
}

h1,
h2 {
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 750;
}

h4 {
  font-weight: 700;
}

/* everything set in the display face uses the wide cut */
.logo,
.price,
.v-price,
.hero-stats strong,
.step::before,
.stat-card .value,
.notfound .big,
.avatar,
.code-inputs input {
  font-stretch: 125%;
}

p {
  margin: 0 0 1em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.center {
  text-align: center;
}

.gradient-text {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--btn-bg);
  color: var(--text);
  font: 650 0.92rem/1.2 var(--font);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: #fff;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #050505;
}

.btn-primary:hover {
  background: #ffffff;
  color: #050505;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 32px -4px rgba(255, 255, 255, 0.45);
}

.btn-primary .spinner {
  border-color: rgba(0, 0, 0, 0.25);
  border-top-color: #050505;
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.22);
  color: #fff;
}

.btn-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex: none;
}

.spinner-lg {
  width: 44px;
  height: 44px;
  border-width: 3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.nav-open {
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: #fff;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  margin: -6px -4px -6px -8px; /* the logo file has built-in padding */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.158));
  transition: transform 0.3s var(--ease), filter 0.3s;
}

.logo:hover .logo-img {
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.27));
}

.hero-orb .hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4%;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.248));
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  color: #050505;
  font-weight: 900;
  box-shadow: 0 0 20px -4px rgba(255, 255, 255, 0.5);
}

.logo-text {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

.logo-text span {
  color: #9a9a9a;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a,
.nav-login,
.nav-admin {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav > a:hover {
  color: #fff;
}

.main-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-admin {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }

  .main-nav > a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-auth {
    padding-top: 12px;
    justify-content: space-between;
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- Config warning ---------- */
.config-warning {
  background: rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  padding: 10px 16px;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 0 12px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0), 0 0 12px rgba(34, 197, 94, 0.6);
  }
}

.hero h1 {
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 500px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.hero-stats > div {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--border);
}

.hero-stats > div:last-child {
  border-right: none;
  margin-right: 0;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Big glowing logo, no frame */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 45%, transparent 70%);
  filter: blur(10px);
  animation: breathe 6s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ring::after {
  content: '';
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  animation: spin 60s linear infinite;
}

.hero-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: float 7s ease-in-out infinite;
}

.hero-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-orb .hero-placeholder {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 7rem;
  font-weight: 900;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.6;
    transform: scale(0.96);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual {
    max-width: 320px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero-stats > div {
    padding-right: 16px;
    margin-right: 16px;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-kicker {
  display: inline-block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.product-grid.single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.203);
  box-shadow: var(--glow);
  color: var(--text);
}

.product-card .media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
  overflow: hidden;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .media img {
  transform: scale(1.06);
}

.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px -4px rgba(255, 255, 255, 0.5);
}

.product-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.product-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.product-card .foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-from {
  font-size: 0.8rem;
  color: var(--muted);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}

.skeleton-card {
  height: 400px;
  border-radius: var(--radius);
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Features / steps ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-hover);
  margin-bottom: 18px;
}

.feature .ico svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.1rem;
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.faq details[open] {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 56px 40px;
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(255, 255, 255, 0.158), transparent 70%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.135);
}

.cta-band p {
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 28px;
}

@media (max-width: 640px) {
  .cta-band {
    padding: 40px 20px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  font-family: var(--font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.footer-cols a,
.footer-cols span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label,
.label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='url'],
input[type='search'],
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  color: var(--text);
  font: 400 0.95rem/1.4 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  background: var(--surface);
}

input.invalid {
  border-color: var(--danger);
}

input::placeholder,
textarea::placeholder {
  color: #5d6378;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
  cursor: pointer;
}

.checkbox input {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.form-error {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.form-success {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 64px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font: 600 0.8rem var(--font);
  cursor: pointer;
  padding: 6px 8px;
}

.password-toggle:hover {
  color: #fff;
}

.strength {
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
}

.strength span {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.3s var(--ease), background 0.3s;
}

/* ---------- Auth pages ---------- */
.auth-page {
  display: grid;
  place-items: center;
  padding: 48px 16px 72px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: rise 0.6s var(--ease) both;
}

.auth-card h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.auth-card .sub {
  color: var(--muted);
  margin-bottom: 28px;
}

.auth-card .alt {
  text-align: center;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-hover);
  margin-bottom: 20px;
}

.auth-icon svg {
  width: 26px;
  height: 26px;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 8px 0 22px;
}

.code-inputs input {
  width: 100%;
  min-width: 0;
  text-align: center;
  font: 700 1.6rem/1 var(--font-display);
  padding: 14px 0;
  border-radius: 12px;
  caret-color: var(--primary);
}

.code-inputs input.filled {
  border-color: rgba(255, 255, 255, 0.27);
}

@media (max-width: 400px) {
  .code-inputs {
    gap: 6px;
  }

  .code-inputs input {
    font-size: 1.3rem;
    padding: 12px 0;
  }
}

/* ---------- Product page ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
  padding: 24px 0 8px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: #fff;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 16px 0 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  min-width: 0;
}

@media (max-width: 900px) {
  .gallery {
    position: static;
  }
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  touch-action: pan-y;
}

.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}

.gallery-main img.active {
  opacity: 1;
  transform: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}

.gallery-arrow:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow svg {
  width: 20px;
  height: 20px;
}

.gallery-arrow.prev {
  left: 14px;
}

.gallery-arrow.next {
  right: 14px;
}

.gallery-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.7);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.thumb {
  flex: 0 0 84px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

.product-info h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 14px 0 12px;
}

.product-info .short {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 26px;
}

.product-price .price {
  font-size: 2.4rem;
  transition: opacity 0.2s;
}

.product-price .price.bump {
  animation: bump 0.35s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.06);
    color: var(--accent);
  }
}

.variant-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.variant-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}

.variant-option:hover {
  border-color: rgba(255, 255, 255, 0.225);
}

.variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-option .radio {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}

.variant-option .radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.variant-option .v-text {
  flex: 1;
  min-width: 0;
}

.variant-option .v-name {
  font-weight: 700;
  color: #fff;
}

.variant-option .v-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.variant-option .v-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.variant-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.063), rgba(255, 255, 255, 0.027));
  box-shadow: var(--glow);
}

.variant-option.selected .radio {
  border-color: var(--primary);
}

.variant-option.selected .radio::after {
  transform: scale(1);
}

.variant-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.trust-row svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.product-description {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.product-description .text {
  white-space: pre-line;
  color: var(--text-soft);
}

/* ---------- Cards / dashboard ---------- */
.page-head {
  padding: 40px 0 24px;
}

.page-head p {
  color: var(--muted);
}

.card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}

.card + .card {
  margin-top: 20px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.card-head h2,
.card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.account-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding-bottom: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #050505;
  font: 800 1.6rem var(--font-display);
  margin-bottom: 16px;
}

.kv {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.kv div:last-child {
  border-bottom: none;
}

.kv span:first-child {
  color: var(--muted);
}

.kv span:last-child {
  text-align: right;
  word-break: break-word;
}

.owned-list {
  display: grid;
  gap: 12px;
}

.owned-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.owned-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}

.owned-item .grow {
  flex: 1;
  min-width: 0;
}

.owned-item strong {
  display: block;
  color: #fff;
}

@media (max-width: 520px) {
  .owned-item {
    flex-wrap: wrap;
  }

  .owned-item .btn {
    width: 100%;
  }
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  white-space: nowrap;
}

.table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--bg-2);
  font-weight: 600;
}

.table tbody tr {
  transition: background 0.15s;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tr.clickable {
  cursor: pointer;
}

.table .mono,
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.table td.wrap {
  white-space: normal;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill-success {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
}

.pill-warning {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.pill-danger {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
}

.pill-muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.pill-primary {
  color: #d4d4d4;
  background: var(--primary-soft);
  border-color: rgba(255, 255, 255, 0.135);
}

/* ---------- Checkout / status pages ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  padding-bottom: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.summary-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.summary-item img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  flex: none;
}

.summary-lines {
  margin: 22px 0;
  display: grid;
  gap: 12px;
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
}

.summary-lines .total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.pay-methods span {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
}

.status-page {
  display: grid;
  place-items: center;
  padding: 56px 16px 80px;
}

.status-card {
  width: 100%;
  max-width: 540px;
  text-align: center;
  padding: 44px 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: rise 0.6s var(--ease) both;
}

.status-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
}

.status-icon svg {
  width: 40px;
  height: 40px;
}

.status-icon.success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.05);
}

.status-icon.pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.05);
}

.status-icon.failed {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.05);
}

.status-card .kv {
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.check-draw path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw 0.6s 0.3s var(--ease) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Toasts ---------- */
#toasts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: min(380px, calc(100vw - 32px));
}

.toast {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: none;
}

.toast-success {
  border-left-color: var(--success);
}

.toast-error {
  border-left-color: var(--danger);
}

.toast-warning {
  border-left-color: var(--warning);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 4, 8, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s;
}

.modal-overlay.show {
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal-wide {
  max-width: 760px;
}

.modal-overlay.show .modal {
  transform: none;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 0;
}

.modal-head h3 {
  margin: 0;
}

.modal-body {
  padding: 16px 22px;
  color: var(--text-soft);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 22px 20px;
  flex-wrap: wrap;
}

.delivery-box {
  white-space: pre-wrap;
  word-break: break-word;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}

/* ---------- 404 ---------- */
.notfound {
  text-align: center;
  padding: 100px 16px;
}

.notfound .big {
  font: 800 clamp(5rem, 18vw, 9rem) / 1 var(--font-display);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.variant-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.variant-option.is-disabled:hover {
  border-color: var(--border-strong);
}

/* ---------- Credits ---------- */
.nav-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.nav-credits:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-credits .coin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.credit-balance {
  font: 900 2.6rem/1 var(--font-display);
  font-stretch: 125%;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 4px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.preset-row .btn.active {
  background: #fff;
  color: #050505;
  border-color: #fff;
}

.amount-input {
  position: relative;
  flex: 1;
  min-width: 140px;
}

.amount-input span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.amount-input input {
  padding-left: 28px;
}

.tx-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tx-row:last-child {
  border-bottom: none;
}

.tx-row .amt {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tx-row .amt.plus {
  color: #4ade80;
}

.tx-row .amt.minus {
  color: var(--text-soft);
}

/* ---------- Downloads ---------- */
.download-card {
  padding: 28px;
}

.download-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.download-head img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.download-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.download-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.download-step h3 {
  margin: 4px 0 12px;
  font-size: 1rem;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #050505;
  font-weight: 900;
  font-stretch: 125%;
  box-shadow: 0 0 16px -4px rgba(255, 255, 255, 0.6);
}

.step-body {
  min-width: 0;
}

.key-row + .key-row {
  margin-top: 14px;
}

.key-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 10px 10px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px dashed var(--border-strong);
}

.key-box code {
  flex: 1;
  min-width: 0;
  background: none;
  padding: 0;
  font-size: 0.95rem;
  color: #fff;
  word-break: break-all;
  letter-spacing: 0.04em;
}

.loader-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
}

@media (max-width: 520px) {
  .download-card {
    padding: 20px;
  }

  .download-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .loader-file {
    flex-direction: column;
    align-items: stretch;
  }
}
