/* NeoPlay — Design System */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg:        #08090f;
  --bg2:       #0f1018;
  --bg3:       #151722;
  --bg4:       #1c1f30;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);
  --accent:    #7c3aed;
  --accent2:   #a855f7;
  --neon:      #c4b5fd;
  --cyan:      #22d3ee;
  --green:     #10b981;
  --red:       #ef4444;
  --amber:     #f59e0b;
  --text:      #f1f5f9;
  --muted:     rgba(241,245,249,0.45);
  --muted2:    rgba(241,245,249,0.25);
  --font:      'DM Sans', sans-serif;
  --display:   'Bebas Neue', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 32px rgba(0,0,0,0.4);
  --glow:      0 0 40px rgba(124,58,237,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); }

.display {
  font-family: var(--display);
  letter-spacing: .02em;
  line-height: 1;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-sm { padding: 48px 0; position: relative; z-index: 1; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}
.nav-scrolled {
  background: rgba(8,9,15,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 4px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 20px; color: #fff;
  letter-spacing: 0;
}
.logo-text {
  font-family: var(--display);
  font-size: 22px; letter-spacing: .04em;
  color: var(--text);
}
.logo-text em { font-style: normal; color: var(--neon); }

.nav-search {
  flex: 1; max-width: 420px; margin: 0 auto;
}
.nav-search form {
  display: flex; align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.nav-search form:focus-within { border-color: var(--accent); }
.nav-search input {
  flex: 1; background: none; border: none; outline: none;
  padding: 9px 14px;
  color: var(--text); font-family: var(--font); font-size: 14px;
}
.nav-search input::placeholder { color: var(--muted2); }
.nav-search button {
  background: none; border: none; cursor: pointer;
  padding: 9px 14px; color: var(--muted); transition: color .2s;
}
.nav-search button:hover { color: var(--neon); }

.nav-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--bg3); }

.live-badge {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 600; letter-spacing: .08em;
  padding: 2px 5px; border-radius: 4px;
  vertical-align: middle; margin-right: 4px;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse { 0%,100%{opacity:1}50%{opacity:.6} }

/* User avatar dropdown */
.nav-user { position: relative; cursor: pointer; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: #fff;
  overflow: hidden; border: 2px solid transparent;
  transition: border-color .2s;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-user:hover .nav-avatar,
.nav-user.open .nav-avatar { border-color: var(--accent); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 6px;
  min-width: 180px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
}
.nav-user.open .nav-dropdown { opacity: 1; pointer-events: all; transform: none; }
.nav-dropdown a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14px; color: var(--muted);
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover { background: var(--bg4); color: var(--text); }
.nav-dropdown .text-danger { color: var(--red); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* Mobile nav */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: 2px;
  padding: 12px 20px 20px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 14px; border-radius: 8px;
  font-size: 15px; color: var(--muted);
  transition: background .15s, color .15s;
}
.nav-mobile a:hover { background: var(--bg3); color: var(--text); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { background: var(--accent2); box-shadow: 0 4px 28px rgba(124,58,237,0.5); }
.btn-ghost {
  background: var(--bg3); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg4); border-color: var(--border2); }
.btn-outline {
  background: transparent; color: var(--neon);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(124,58,237,0.1); }
.btn-danger { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.2);
}

/* Listing card */
.listing-card { display: flex; flex-direction: column; text-decoration: none; }
.listing-card-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg3);
}
.listing-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.listing-card:hover .listing-card-thumb img { transform: scale(1.06); }
.listing-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
}
.listing-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); border-radius: 6px;
  padding: 4px 10px; font-size: 11px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-auction { background: rgba(239,68,68,0.85); color: #fff; }
.badge-featured { background: rgba(245,158,11,0.85); color: #fff; }
.badge-sold { background: rgba(107,114,128,0.85); color: #fff; }

.listing-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.listing-card-cat {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon);
}
.listing-card-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-card-footer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.listing-price { font-size: 16px; font-weight: 600; color: var(--neon); }
.listing-seller { font-size: 12px; color: var(--muted2); display: flex; align-items: center; gap: 5px; }
.seller-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ── GRID ────────────────────────────────────────────────────── */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-listings { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .03em; }
.form-label span { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  font-family: var(--font); font-size: 14px; color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-control::placeholder { color: var(--muted2); }
.form-control[disabled] { opacity: .5; cursor: not-allowed; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-hint { font-size: 12px; color: var(--muted2); }
.form-error { font-size: 12px; color: var(--red); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 80px;
  position: relative; z-index: 1; text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 30px; padding: 6px 16px; margin-bottom: 24px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1; letter-spacing: .02em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--neon); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted); max-width: 520px; margin: 0 auto 36px;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-top: 60px; flex-wrap: wrap;
}
.hero-stat-val { font-family: var(--display); font-size: 32px; color: var(--text); }
.hero-stat-lbl { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ── CATEGORIES ──────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px 14px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none;
  transition: border-color .25s, transform .25s, background .25s;
  cursor: pointer; text-align: center;
}
.cat-card:hover {
  border-color: var(--accent);
  background: var(--bg3);
  transform: translateY(-4px);
}
.cat-icon { font-size: 28px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-count { font-size: 11px; color: var(--muted2); }

/* ── SECTION HEADER ──────────────────────────────────────────── */
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.section-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; }
.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-link { font-size: 14px; color: var(--neon); font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* ── AUTH PAGES ──────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 100px 24px 40px;
}
.auth-box {
  width: 100%; max-width: 440px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow);
}
.auth-box::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.1), transparent 70%);
  pointer-events: none;
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
}
.auth-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 28px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 20px 0;
  font-size: 12px; color: var(--muted2);
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.auth-footer a { color: var(--neon); font-weight: 500; }

/* ── ALERTS ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-info { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3); color: var(--neon); }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
}
.badge-purple { background: rgba(124,58,237,0.2); color: var(--neon); }
.badge-green  { background: rgba(16,185,129,0.15); color: #34d399; }
.badge-red    { background: rgba(239,68,68,0.15);  color: #f87171; }
.badge-amber  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-gray   { background: rgba(107,114,128,0.2); color: #9ca3af; }

/* ── TABS ────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; background: var(--bg3); border-radius: 12px; padding: 4px; }
.tab {
  flex: 1; padding: 9px 16px; border-radius: 9px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; border: none; background: none;
  transition: background .2s, color .2s; text-align: center;
}
.tab.active { background: var(--bg4); color: var(--text); }

/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--muted);
  background: var(--bg3); border: 1px solid var(--border);
  text-decoration: none; transition: all .2s;
}
.page-btn:hover { color: var(--text); border-color: var(--border2); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14px; min-width: 240px;
  box-shadow: var(--shadow);
  animation: toast-in .3s cubic-bezier(.34,1.4,.64,1);
}
.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--accent); }
@keyframes toast-in { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform:none; } }

/* ── LISTING DETAIL ──────────────────────────────────────────── */
.listing-detail { padding: 100px 0 60px; position: relative; z-index: 1; }
.listing-main { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.listing-image {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg3); aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.listing-image img { width: 100%; height: 100%; object-fit: cover; }

.listing-info { display: flex; flex-direction: column; gap: 16px; }
.listing-category-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon);
}
.listing-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.2; }
.listing-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.listing-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

.listing-sidebar {
  position: sticky; top: 90px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.listing-price-big { font-size: 36px; font-weight: 700; color: var(--neon); }
.listing-price-usd { font-size: 13px; color: var(--muted); margin-top: -8px; }

/* ── CRYPTO PAYMENT ──────────────────────────────────────────── */
.crypto-selector { display: flex; flex-direction: column; gap: 8px; }
.crypto-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.crypto-option:hover { border-color: var(--border2); background: var(--bg3); }
.crypto-option.selected { border-color: var(--accent); background: rgba(124,58,237,0.08); }
.crypto-symbol { font-size: 20px; width: 32px; text-align: center; }
.crypto-name { font-size: 14px; font-weight: 600; }
.crypto-ticker { font-size: 11px; color: var(--muted); }

/* ── DASHBOARD ───────────────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding: 100px 0 60px; position: relative; z-index: 1; }
.dashboard-sidebar { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.dashboard-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s; margin-bottom: 2px;
}
.dashboard-nav-item:hover { background: var(--bg3); color: var(--text); }
.dashboard-nav-item.active { background: rgba(124,58,237,0.1); color: var(--neon); }
.dashboard-content { display: flex; flex-direction: column; gap: 24px; }

/* Stat mini cards */
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-stat {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.dash-stat-val { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.dash-stat-lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 280px; margin: 12px 0 20px; }
.footer-crypto { display: flex; gap: 10px; font-size: 18px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 13px; color: var(--muted2); }
.footer-disclaimer { max-width: 500px; font-size: 11px !important; }

/* ── MISC ────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.text-muted { color: var(--muted); }
.text-neon { color: var(--neon); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .listing-main { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 16px; }
}

@media (max-width: 768px) {
  .nav-search { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .dash-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-box { padding: 28px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   AGREGAR AL FINAL DE /neoplay/assets/style.css
   ══════════════════════════════════════════════════════════════ */

/* ── IMAGEN DE LISTING — menos zoom, más contexto ─────────── */
.listing-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg3);
}

/* object-fit: contain muestra imagen completa sin recortar */
.listing-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* ← cambiado de cover a contain */
  object-position: center;
  transition: transform .4s ease;
  background: var(--bg3);    /* fondo para los lados vacíos */
  padding: 6px;              /* pequeño padding para que respire */
}

.listing-card:hover .listing-card-thumb img {
  transform: scale(1.03);    /* ← zoom suave reducido (era 1.06) */
}

/* Placeholder cuando no hay imagen */
.listing-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
}

/* ── BADGE ENTREGA INMEDIATA ────────────────────────────────── */
.badge-instant {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16,185,129,0.9);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* Badge pequeño en el body de la card */
.badge-instant-sm {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(16,185,129,0.12);
  color: #34d399;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid rgba(16,185,129,0.2);
}

/* ── LISTING DETAIL — imagen del producto ───────────────────── */
.listing-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* ← contain para ver imagen completa */
  object-position: center;
  padding: 12px;          /* espacio para que respire */
  background: var(--bg3);
}

/* Thumbnails en galería */
.thumb-btn img {
  object-fit: contain !important;  /* ← también en thumbnails */
  background: var(--bg3);
  padding: 3px;
}

/* ── INSTANT DELIVERY REVEAL en order.php ───────────────────── */
.instant-credentials-box {
  background: linear-gradient(135deg, rgba(10,22,40,0.95), rgba(6,15,30,0.95));
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.instant-credentials-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

.instant-credentials-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.instant-credentials-content {
  font-family: monospace;
  font-size: 13px;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  user-select: all;  /* selección fácil para copiar */
}

/* ── GLOW EFFECT en listings con entrega inmediata ─────────── */
.card.listing-card:has(.badge-instant):hover {
  border-color: rgba(16,185,129,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(16,185,129,0.15);
}

