/* ========== VAULTMARKET — Premium Steam Offer ========== */
:root {
  --bg: #070a12;
  --bg-elevated: #0d1220;
  --bg-card: rgba(16, 22, 38, 0.85);
  --bg-soft: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2ff;
  --text-muted: #8b95b0;
  --text-dim: #5c6785;
  --accent: #ff2bd6;
  --accent-2: #b14bff;
  --accent-hot: #ff4d6d;
  --success: #2ee59d;
  --accent-cyan: #00d4ff;
  --warning: #ffc857;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --header-h: 68px;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Background effects */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(255, 43, 214, 0.16), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(177, 75, 255, 0.14), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(0, 212, 255, 0.06), transparent 55%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(7, 10, 18, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(255, 43, 214, 0.35);
  border: 1px solid rgba(255, 43, 214, 0.35);
  background: #000;
}

.logo-img.sm { width: 34px; height: 34px; border-radius: 10px; }

.logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.logo-text span { color: var(--accent); }

.header-nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}

.header-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--text); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.1);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(46, 229, 157, 0.22);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-sm { padding: 9px 14px; font-size: 0.82rem; }
.btn-lg { padding: 15px 20px; font-size: 0.95rem; width: 100%; }
.btn-block { width: 100%; padding: 13px 16px; }

.btn-primary {
  color: #120018;
  background: linear-gradient(135deg, #ff7af0 0%, var(--accent) 40%, var(--accent-2) 100%);
  box-shadow: 0 10px 30px rgba(255, 43, 214, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(255, 43, 214, 0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 43, 214, 0.45);
  background: rgba(255, 43, 214, 0.08);
}

/* Breadcrumb */
.breadcrumb-wrap { padding: 18px 0 8px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--text-muted); }

/* Offer layout */
.offer-section { padding: 12px 0 24px; }

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.offer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.desc-under-gallery {
  margin-bottom: 0;
}

/* Gallery */
.gallery-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.gallery-main {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.gallery-viewport {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #05070d;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
}

.gallery-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.gallery-viewport:hover img { transform: scale(1.015); }

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(7, 10, 18, 0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.gallery-zoom:hover {
  background: rgba(255, 43, 214, 0.15);
  border-color: rgba(255, 43, 214, 0.45);
}

.gallery-nav {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  transition: 0.2s;
}

.gallery-nav:hover {
  background: rgba(255, 43, 214, 0.12);
  border-color: rgba(255, 43, 214, 0.35);
  color: var(--accent);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: 0.2s;
  background: #05070d;
}

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

.thumb:hover { opacity: 0.9; }
.thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.4), 0 8px 24px rgba(255, 43, 214, 0.18);
}

.gallery-counter {
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* Buy panel */
.buy-panel { position: sticky; top: calc(var(--header-h) + 16px); }

.buy-card {
  background: linear-gradient(180deg, rgba(18, 25, 44, 0.95), rgba(12, 16, 28, 0.95));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.buy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff7af0, var(--accent), var(--accent-2), transparent);
}

.badge-family {
  background: rgba(177, 75, 255, 0.14);
  color: #d2a8ff;
  border: 1px solid rgba(177, 75, 255, 0.35);
}

.buy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-hot {
  background: rgba(255, 77, 109, 0.15);
  color: #ff7a93;
  border: 1px solid rgba(255, 77, 109, 0.3);
}

.badge-ok {
  background: rgba(46, 229, 157, 0.12);
  color: var(--success);
  border: 1px solid rgba(46, 229, 157, 0.25);
}

.badge-games {
  background: rgba(255, 43, 214, 0.12);
  color: #ff8ae8;
  border: 1px solid rgba(255, 43, 214, 0.3);
}

.offer-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.stars { color: #ffc857; letter-spacing: 1px; font-size: 0.95rem; }
.rating-text { color: var(--text-muted); font-size: 0.82rem; }

.price-block {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 43, 214, 0.06);
  border: 1px solid rgba(255, 43, 214, 0.18);
  margin-bottom: 16px;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fff, #ff7af0, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-old {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 1.05rem;
}

.price-save {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--success);
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
}

.price-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.highlights svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.buy-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.payment-hint {
  text-align: center;
  margin-bottom: 16px;
}

.payment-hint > span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.pay-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.seller-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.seller-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #061018;
}

.seller-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 43, 214, 0.35);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.2);
}

.seller-meta { flex: 1; min-width: 0; }
.seller-meta strong { display: block; font-size: 0.9rem; }
.seller-meta span { font-size: 0.78rem; color: var(--text-muted); }

.seller-level {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.15);
  color: #b7a5ff;
  border: 1px solid rgba(124, 92, 255, 0.3);
}

/* Content sections */
.content-section { padding: 8px 0 80px; }

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 28px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}

.panel h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.panel h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin: 22px 0 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.panel p strong { color: var(--text); }

.panel-tabs {
  display: flex;
  gap: 6px;
  margin: -8px 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.panel-tab {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: 0.2s;
}

.panel-tab:hover { color: var(--text); background: var(--bg-soft); }
.panel-tab.active {
  color: #120018;
  background: linear-gradient(135deg, #ff7af0, var(--accent), var(--accent-2));
}

.tab-pane[hidden] { display: none; }

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.flagship-card {
  padding: 14px 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,43,214,0.08), rgba(177,75,255,0.06));
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 600;
  transition: 0.2s;
}

.flagship-card:hover {
  border-color: rgba(255, 43, 214, 0.4);
  transform: translateY(-2px);
}

.check-list { display: grid; gap: 10px; margin: 8px 0 16px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(46, 229, 157, 0.15);
  border: 1px solid rgba(46, 229, 157, 0.4);
  box-shadow: inset 0 0 0 3px transparent;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.notice strong { color: var(--text); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th,
.specs-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.specs-table th {
  width: 40%;
  color: var(--text-muted);
  font-weight: 500;
}
.specs-table td { color: var(--text); font-weight: 600; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 58px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #120018;
  background: linear-gradient(135deg, #ff7af0, var(--accent), var(--accent-2));
}
.steps strong { display: block; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 0.88rem; }

/* Games */
.games-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.muted { color: var(--text-muted); font-size: 0.88rem; margin: 0 !important; }

.games-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  min-width: min(260px, 100%);
  color: var(--text-dim);
}

.search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--text);
}

.search-wrap input::placeholder { color: var(--text-dim); }

#gameFilter {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  outline: none;
  min-width: 150px;
}

#gameFilter:focus,
.search-wrap:focus-within {
  border-color: rgba(255, 43, 214, 0.45);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding-right: 6px;
}

.games-grid::-webkit-scrollbar { width: 8px; }
.games-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
}
.games-grid::-webkit-scrollbar-track { background: transparent; }

.game-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  transition: 0.15s;
}

.game-chip:hover {
  border-color: rgba(255, 43, 214, 0.35);
  background: rgba(255, 43, 214, 0.06);
}

.game-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 43, 214, 0.6);
  flex-shrink: 0;
}

.game-chip.aaa .dot { background: #ffc857; box-shadow: 0 0 10px rgba(255, 200, 87, 0.5); }
.game-chip.horror .dot { background: #ff4d6d; box-shadow: 0 0 10px rgba(255, 77, 109, 0.45); }
.game-chip.multi .dot { background: #7c5cff; box-shadow: 0 0 10px rgba(124, 92, 255, 0.5); }
.game-chip.racing .dot { background: #2ee59d; box-shadow: 0 0 10px rgba(46, 229, 157, 0.45); }

.games-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 30px;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 4px 14px;
}
.faq-item summary {
  cursor: pointer;
  padding: 12px 4px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 500;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 4px 14px;
  margin: 0;
  font-size: 0.9rem;
}

/* Payment modal */
.modal-card-pay {
  width: min(460px, 100%);
  text-align: center;
  max-height: min(90vh, 820px);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge/IE */
}

.modal-card-pay::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Edge */
}

.pay-methods {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.pay-method {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: 0.18s;
  color: var(--text);
}

.pay-method:hover {
  border-color: rgba(255, 43, 214, 0.45);
  background: rgba(255, 43, 214, 0.08);
  transform: translateY(-1px);
}

.pay-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.2), rgba(177, 75, 255, 0.18));
  border: 1px solid rgba(255, 43, 214, 0.25);
  color: #ffb4f3;
}

.pay-method-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pay-method-text strong {
  font-size: 0.92rem;
}

.pay-method-text small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.pay-method-go {
  color: var(--text-dim);
  font-size: 1.1rem;
}

.pay-back {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 0;
}

.pay-back:hover { color: var(--accent); }

.btc-box {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
}

.btc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 700;
}

.btc-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
  color: #ffd6f7;
  line-height: 1.45;
  text-align: center;
}

/* Ask Seller form */
.modal-card-form {
  width: min(480px, 100%);
  text-align: left;
}

.modal-card-form .modal-icon,
.modal-card-form h3 {
  text-align: center;
}

.modal-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.ask-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.field em {
  color: var(--accent-hot);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  outline: none;
  font-weight: 400;
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 43, 214, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 43, 214, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.form-status {
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.4;
}

.form-status.ok {
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.3);
  color: var(--success);
}

.form-status.error {
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: #ff8aa0;
}

.form-status.warn {
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.28);
  color: var(--warning);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  background: rgba(0,0,0,0.25);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 5, 10, 0.92);
  display: grid;
  place-items: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 2rem;
  line-height: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav:hover { background: rgba(0, 212, 255, 0.15); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #141c30, #0d1320);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
}

.modal-icon { font-size: 2rem; margin-bottom: 8px; }
.modal-card h3 {
  font-family: var(--display);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.modal-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.modal-actions {
  display: grid;
  gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr; }
  .buy-panel { position: static; order: -1; }
  .header-nav { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .trust-pill { display: none; }
  .gallery-nav { display: none; }
  .gallery-main { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 18px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .price-current { font-size: 2rem; }
  .games-grid { max-height: 420px; }
}

/* subtle entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.offer-grid > * {
  animation: rise 0.55s ease both;
}
.buy-panel { animation-delay: 0.08s; }
