/* ============================================================
   AOTR SHOP — Global Stylesheet v2 "Titan Citadel"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* === RESET & TOKENS ======================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* backgrounds — navy-based, not pure black */
  --bg:          #070a14;
  --bg2:         #0a0f1e;
  --bg3:         #0d1528;
  --card:        #0e1627;
  --card-hover:  #131e35;
  --card2:       #0a1020;
  --surface:     rgba(255,255,255,0.025);

  /* borders */
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.13);
  --border-gold: rgba(240,180,41,0.3);
  --border-blue: rgba(79,140,247,0.2);

  /* gold accent — brighter, bolder */
  --gold:        #f0b429;
  --gold-light:  #ffc847;
  --gold-dark:   #c9901f;
  --gold-dim:    rgba(240,180,41,0.12);
  --gold-dim2:   rgba(240,180,41,0.06);

  /* blue accent — unique to this site */
  --blue:        #4f8cf7;
  --blue-light:  #74a9ff;
  --blue-dim:    rgba(79,140,247,0.12);
  --blue-dim2:   rgba(79,140,247,0.06);

  /* text */
  --text:        #e2e8f0;
  --text-muted:  #64748b;
  --text-faint:  #2d3a4e;

  /* status */
  --red:         #ef4444;
  --green:       #22c55e;

  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --shadow:      0 8px 40px rgba(0,0,0,0.85);
  --transition:  .18s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(79,140,247,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Rajdhani for headings — military/tactical feel */
h1, h2, h3,
.hero-title,
.nav-logo,
.footer-brand,
.page-header-title,
.section-title {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  letter-spacing: .01em;
}

/* === CURSOR SPOTLIGHT ====================================== */
#cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,140,247,0.07) 0%, rgba(240,180,41,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

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

/* === SCROLLBAR ============================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(79,140,247,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* === TYPOGRAPHY =========================================== */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }

.gold { color: var(--gold); }
.blue { color: var(--blue); }
.muted { color: var(--text-muted); }

/* === LAYOUT =============================================== */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-accent {
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}

.section-link {
  font-size: .82rem;
  color: var(--blue);
  font-weight: 500;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { color: var(--gold); }

/* === LIVE TICKER ========================================== */
.live-ticker {
  height: 36px;
  background: linear-gradient(90deg, rgba(79,140,247,0.06), rgba(79,140,247,0.02));
  border-bottom: 1px solid rgba(79,140,247,0.1);
  display: flex;
  align-items: stretch;
  position: relative;
}

.ticker-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(79,140,247,0.15);
  background: rgba(79,140,247,0.08);
  white-space: nowrap;
  z-index: 2;
}

.ticker-overflow {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-live 2s ease-in-out infinite;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker-scroll 75s linear infinite;
  white-space: nowrap;
  padding-left: 32px;
  will-change: transform;
}

.ticker-overflow:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: var(--text-muted);
}

.ticker-entry strong { color: var(--text); font-weight: 600; }
.ticker-entry .tprice { color: var(--gold); font-weight: 700; }
.ticker-entry .tsep { opacity: .3; }

/* === NAVBAR =============================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 58px;
  background: rgba(7,10,20,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 58px;
  gap: 0;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: 28px;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(240,180,41,0.4));
}
.nav-logo-shop { color: var(--gold); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links a {
  padding: 6px 11px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--gold); background: var(--gold-dim2); }

.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--transition);
  margin-left: 4px;
}
.nav-live:hover { background: rgba(34,197,94,0.14); }

.nav-live-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { opacity: .75; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding-left: 16px;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: none;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-icon-btn:hover { color: var(--text); background: var(--surface); }

.nav-badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 16px; height: 16px;
  background: var(--gold);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.nav-badge.visible { display: flex; }

.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.25);
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: #8b9cf7;
  transition: all var(--transition);
  margin-left: 6px;
  white-space: nowrap;
}
.nav-discord-btn:hover { background: rgba(88,101,242,0.25); color: #fff; }

.btn-login {
  margin-left: 8px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 700;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 8px;
  transition: all var(--transition);
  letter-spacing: .01em;
}
.btn-login:hover { background: var(--gold-light); box-shadow: 0 0 16px rgba(240,180,41,0.35); }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 5px 10px;
  background: var(--gold-dim2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition);
}
.nav-user:hover { border-color: var(--border-gold); }

.nav-user-avatar {
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: none;
  color: var(--text);
  border-radius: 8px;
}

/* === BUTTONS ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,180,41,0.35), 0 0 0 1px rgba(240,180,41,0.2);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79,140,247,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--border-gold); color: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
}
.btn-ghost:hover { color: var(--text); background: var(--surface); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c94444; }

.btn-discord {
  background: #5865F2;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(88,101,242,0.4); }

.btn-sm { padding: 7px 14px; font-size: .78rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* === HERO ================================================= */
#hero {
  padding: 48px 0 44px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 15% 50%, rgba(79,140,247,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 85% 25%, rgba(240,180,41,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 30% 50% at 70% 80%, rgba(79,140,247,0.04) 0%, transparent 50%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,140,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,140,247,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

/* Featured item card */
.hero-featured {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.hero-featured:hover { border-color: rgba(240,180,41,0.3); }

.hero-featured-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #0e1627 0%, #1a2540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-featured-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(240,180,41,0.08) 0%, transparent 70%);
}
.hero-featured-img-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(240,180,41,0.15), rgba(79,140,247,0.1));
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.hero-featured-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 8px;
  background: var(--gold);
  color: #000;
  font-size: .62rem;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-featured-body {
  padding: 14px 16px;
}
.hero-featured-cat {
  font-size: .62rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.hero-featured-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-featured-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-featured-btn {
  padding: 6px 14px;
  background: var(--gold);
  color: #000;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 6px;
  transition: opacity var(--transition);
}
.hero-featured-btn:hover { opacity: .85; color: #000; }

/* === SECURE PAYMENTS BAR ================================== */
.secure-pay-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
}
.secure-pay-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}
.secure-pay-methods {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.secure-pay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 10px 16px;
  background: rgba(79,140,247,0.05);
  border: 1px solid rgba(79,140,247,0.1);
  border-radius: 8px;
}
.secure-pay-item:first-child { margin-right: 10px; }
.secure-pay-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(79,140,247,0.08);
  border: 1px solid rgba(79,140,247,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.secure-pay-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}
.secure-pay-sub {
  font-size: .72rem;
  color: var(--text-faint);
}
.secure-pay-lock { margin-left: auto; flex-shrink: 0; }
.secure-pay-divider { display: none; }

/* === SECURE PAYMENTS card (legacy, kept for safety) ======= */
.hero-secure {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.hero-secure-title {
  font-size: .65rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
}
.hero-secure-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(79,140,247,0.06);
  border: 1px solid rgba(79,140,247,0.14);
  border-radius: 8px;
  margin-bottom: 8px;
}
.hero-secure-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(79,140,247,0.12);
  border: 1px solid rgba(79,140,247,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.hero-secure-method-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}
.hero-secure-method-sub {
  font-size: .72rem;
  color: var(--text-faint);
}
.hero-secure-lock {
  margin-left: auto;
  color: var(--text-faint);
  flex-shrink: 0;
}
.hero-secure-badges {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.hero-secure-badge {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-faint);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-kicker-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: #fff;
}
.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

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

.hero-stat {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; margin-right: 0; }

.hero-stat-val {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: -.04em;
}

.hero-stat-label {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* === TRUST BAR ============================================ */
.trust-bar {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(79,140,247,0.04), rgba(240,180,41,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(240,180,41,0.03); }

.trust-item-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--gold-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.trust-item-text { min-width: 0; }

.trust-item-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.trust-item-sub {
  font-size: .69rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* === ITEM CARDS =========================================== */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.items-grid-4 { grid-template-columns: repeat(4, 1fr); }
.items-grid-5 { grid-template-columns: repeat(5, 1fr); }
.items-grid-6 { grid-template-columns: repeat(6, 1fr); }
.items-grid-3 { grid-template-columns: repeat(3, 1fr); }

.item-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.item-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(79,140,247,0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.item-card:hover {
  transform: scale(1.04);
  border-color: rgba(240,180,41,0.28);
  box-shadow: 0 28px 52px rgba(0,0,0,0.8), 0 0 0 1px rgba(240,180,41,0.08), 0 0 30px rgba(79,140,247,0.06);
  z-index: 2;
}
.item-card:hover::after { opacity: 1; }

.item-img-wrap {
  position: relative;
  aspect-ratio: 1;
  flex-shrink: 0;
  background: var(--bg3);
  overflow: hidden;
}

.item-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: none;
}
.item-card:hover .item-img { transform: none; }

.item-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(240,180,41,0.18) 0%, transparent 70%);
  opacity: .4;
  transition: opacity .3s;
  pointer-events: none;
}
.item-card:hover .item-img-wrap::after { opacity: .9; }

.item-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 6px;
}

/* Badges */
.item-badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 8px;
  font-size: .62rem;
  font-weight: 800;
  border-radius: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
}

.badge-hot {
  background: linear-gradient(135deg, #ff8c00 0%, var(--gold) 100%);
  color: #000;
  box-shadow: 0 0 10px rgba(255,140,0,0.6), 0 0 20px rgba(240,180,41,0.25);
  animation: badge-pulse 1.8s ease-in-out infinite;
}

.badge-new {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 10px rgba(79,140,247,0.5);
}

.badge-sale {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 10px rgba(239,68,68,0.5);
}

.badge-oos { background: rgba(45,58,78,0.9); color: var(--text-muted); }

.badge-cat {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(240,180,41,0.2);
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.item-fav-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 27px; height: 27px;
  background: rgba(7,10,20,0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: all var(--transition);
  z-index: 2;
}
.item-fav-btn:hover,
.item-fav-btn.active { color: var(--gold); border-color: var(--border-gold); background: var(--gold-dim); }

.item-body {
  padding: 12px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--card);
  position: relative;
  z-index: 1;
}

.item-cat {
  font-size: .62rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.item-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.item-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  font-size: .69rem;
  line-height: 1;
}
.item-rating-val { color: var(--text); font-weight: 700; }
.item-rating-count { color: var(--text-faint); }

.item-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 2px;
}
.item-price {
  font-size: .98rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.01em;
}
.item-fee { font-size: .68rem; color: var(--text-faint); }

.item-reqs { display: none; }

.req-tag {
  padding: 2px 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
  white-space: nowrap;
  font-size: .72rem;
}

.item-add-btn {
  margin-top: 6px;
  padding: 7px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.18);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
  width: 100%;
  letter-spacing: .01em;
}
.item-add-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(240,180,41,0.4);
}

/* === HORIZONTAL SCROLL ROW ================================ */
.scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .item-card { min-width: 210px; flex-shrink: 0; scroll-snap-align: start; }

/* === CATEGORIES =========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all .22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,180,41,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .22s;
}
.cat-card:hover { border-color: rgba(240,180,41,0.3); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.5); }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-icon { color: var(--gold); }
.cat-card:hover .cat-name { color: var(--text); }

.cat-icon { color: var(--text-faint); transition: color var(--transition); position: relative; }
.cat-name { font-size: .78rem; font-weight: 600; color: var(--text-muted); transition: color var(--transition); position: relative; }

/* === DISCORD CTA ========================================== */
.discord-cta {
  background: linear-gradient(135deg, rgba(88,101,242,0.08), rgba(88,101,242,0.03));
  border-top: 1px solid rgba(88,101,242,0.12);
  border-bottom: 1px solid rgba(88,101,242,0.12);
  padding: 32px 0;
}

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

.discord-cta-left {}

.discord-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.2);
  border-radius: 99px;
  font-size: .67rem;
  font-weight: 700;
  color: #8b9cf7;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.discord-cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.discord-cta-sub {
  font-size: .85rem;
  color: var(--text-muted);
}

/* === HOW IT WORKS ========================================= */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 0;
}

.how-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.how-step:hover { border-color: var(--border-gold); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.3);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 14px;
}

.how-title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.how-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: .4;
}

/* === ACCOUNTS PREVIEW ===================================== */
.accounts-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.account-preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.account-preview-card:hover {
  border-color: rgba(240,180,41,0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.acc-preview-top { display: flex; align-items: center; justify-content: space-between; }
.acc-preview-price { font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.acc-preview-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.acc-preview-tag {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.16);
  color: var(--green);
}
.acc-preview-desc { font-size: .78rem; color: var(--text-faint); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === FOOTER =============================================== */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.4fr;
  gap: 32px;
  margin-bottom: 44px;
  align-items: start;
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(240,180,41,0.3));
}

.footer-brand-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 16px;
}

.footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.22);
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  color: #8b9cf7;
  transition: all var(--transition);
}
.footer-discord:hover { background: rgba(88,101,242,0.22); color: #fff; }

.footer-col-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
  font-family: 'Rajdhani', sans-serif;
}

.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col li { display: flex; align-items: center; gap: 6px; }
.footer-col li::before {
  content: '›';
  color: var(--text-faint);
  font-size: .9rem;
  line-height: 1;
  flex-shrink: 0;
}
.footer-col a { font-size: .84rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-col a.live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 3px;
  font-size: .6rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: .06em;
}

/* Support column */
.footer-support-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-support-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  background: var(--surface);
}
.footer-support-label { font-size: .72rem; color: var(--text-faint); margin-bottom: 2px; }
.footer-support-val { font-size: .88rem; font-weight: 700; color: var(--text); }

/* Safety box */
.footer-safety {
  background: linear-gradient(135deg, rgba(240,180,41,0.05), rgba(79,140,247,0.04));
  border: 1px solid rgba(240,180,41,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.footer-safety-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
  font-family: 'Rajdhani', sans-serif;
}
.footer-safety-list { display: flex; flex-direction: column; gap: 8px; }
.footer-safety-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
}
.footer-safety-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: .6;
}

/* Bottom bar */
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-faint);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
}
.footer-badge svg { flex-shrink: 0; }

/* === AUTH MODAL =========================================== */
#auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
#auth-modal.open { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-faint);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.modal-close:hover { color: var(--text); background: var(--surface); }

.modal-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.modal-sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 28px; }

.modal-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.modal-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-faint);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.modal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; letter-spacing: .02em; }
.form-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-faint); }
.form-error { margin-top: 4px; font-size: .78rem; color: var(--red); display: none; }
.form-error.show { display: block; }

/* === SEARCH OVERLAY ======================================= */
#search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
}
#search-overlay.open { display: flex; }

.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(7,10,20,.9);
  backdrop-filter: blur(10px);
}

.search-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
}

.search-input-wrap { position: relative; }
.search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: var(--card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 0 0 4px rgba(240,180,41,0.06);
}
.search-input::placeholder { color: var(--text-faint); }
.search-icon-in {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}
.search-results {
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--gold-dim2); }
.search-result-img { width: 40px; height: 40px; background: var(--bg3); border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.search-result-name { font-size: .9rem; font-weight: 600; }
.search-result-cat { font-size: .75rem; color: var(--blue); }
.search-result-price { margin-left: auto; font-size: .9rem; font-weight: 700; color: var(--gold); }

/* === SHOP PAGE ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 76px;
}

.filter-section { margin-bottom: 24px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title { font-size: .72rem; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.filter-option:hover { color: var(--text); }
.filter-option input[type=checkbox],
.filter-option input[type=radio] { accent-color: var(--gold); width: 14px; height: 14px; cursor: pointer; }
.filter-option.selected { color: var(--gold); }
.filter-separator { height: 1px; background: var(--border); margin: 14px 0; }

.shop-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-search-wrap { flex: 1; min-width: 200px; position: relative; }
.shop-search {
  width: 100%;
  padding: 9px 14px 9px 38px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .875rem;
  outline: none;
  transition: border-color var(--transition);
}
.shop-search:focus { border-color: rgba(240,180,41,0.4); }
.shop-search::placeholder { color: var(--text-faint); }
.shop-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.shop-count { font-size: .84rem; color: var(--text-faint); white-space: nowrap; }

/* === ITEM DETAIL ========================================== */
.item-detail-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  align-items: start;
}

.item-detail-img-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.item-detail-img { width: 100%; height: 100%; object-fit: cover; }
.item-detail-info { display: flex; flex-direction: column; gap: 20px; }
.item-detail-cat { font-size: .78rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }
.item-detail-name { font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; }
.item-detail-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

.item-detail-price-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.item-detail-price { font-size: 2rem; font-weight: 900; color: var(--gold); letter-spacing: -.04em; }

.item-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.item-detail-row:last-of-type { border-bottom: none; }
.item-detail-row-label { color: var(--text-muted); }
.item-detail-row-val { font-weight: 600; color: var(--text); }

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-btn { width: 36px; height: 36px; background: none; border: none; color: var(--text); font-size: 1.1rem; font-weight: 500; transition: background var(--transition); }
.qty-btn:hover { background: var(--gold-dim); color: var(--gold); }
.qty-val { width: 48px; text-align: center; font-size: .9rem; font-weight: 600; border-left: 1px solid var(--border2); border-right: 1px solid var(--border2); color: var(--text); padding: 8px 0; }

.trade-explainer {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === ACCOUNTS PAGE ======================================== */
.account-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
}
.account-card:hover {
  border-color: rgba(240,180,41,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.6);
}

.account-card-top {
  background: var(--bg3);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}

.account-card-tags-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.account-card-body {
  flex: 1;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.account-prestige {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.22);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  width: fit-content;
}

.account-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.account-tag {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text-muted);
}
.account-tag.yes {
  background: rgba(34,197,94,0.07);
  border-color: rgba(34,197,94,0.18);
  color: var(--green);
}

.account-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.account-price { font-size: 1.3rem; font-weight: 800; color: var(--gold); }

/* === CART PAGE ============================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.trade-window {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trade-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border2);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trade-header-title {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}

.trade-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.trade-slot {
  aspect-ratio: 1;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background var(--transition);
}

.trade-slot.filled { background: var(--bg3); box-shadow: inset 0 0 0 1px var(--gold); }

.trade-slot-img { width: 60%; height: 60%; object-fit: contain; border: 1px solid var(--gold); border-radius: var(--radius); }
.trade-slot-placeholder { width: 28px; height: 28px; border: 1px dashed var(--border2); border-radius: var(--radius); opacity: .25; }
.trade-slot-name { font-size: .63rem; font-weight: 600; color: var(--text-muted); text-align: center; padding: 0 4px; line-height: 1.2; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-slot-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,.7);
  border: none;
  border-radius: 50%;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all var(--transition);
  line-height: 1;
}
.trade-slot-remove:hover { background: var(--red); color: #fff; }

.trade-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.trade-fee-row { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--text-muted); }
.trade-tax-row { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; padding: 4px 0; }
.trade-tax-label { color: var(--gold); font-weight: 600; }
.trade-tax-val { color: var(--text); font-weight: 700; }

.cart-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 76px;
}
.cart-summary-title { font-size: 1rem; font-weight: 700; }

/* === PAYMENT METHOD CARDS ================================= */
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-method-card {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--bg2);
}
.pay-method-card:hover { border-color: rgba(240,180,41,0.35); }
.pay-method-card.active { border-color: var(--gold); background: var(--gold-dim2); }
.pay-method-row { display: flex; align-items: center; gap: 12px; }
.pay-method-icon { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.pay-method-info { flex: 1; min-width: 0; }
.pay-method-title { font-size: .85rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 2px; }
.pay-method-sub { font-size: .72rem; color: var(--text-faint); display: block; }
.pay-method-radio { width: 17px; height: 17px; border: 2px solid var(--border2); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.pay-method-card.active .pay-method-radio { border-color: var(--gold); }
.pay-method-radio-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: 0; transition: opacity .15s; }
.pay-method-card.active .pay-method-radio-dot { opacity: 1; }
.pay-badge-rec { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #000; background: var(--gold); padding: 2px 7px; border-radius: 20px; flex-shrink: 0; }

#manual-pay-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
#manual-pay-modal.open { display: flex; }
.manual-steps { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.manual-step { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.manual-step-num { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.wallet-copy-row { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; margin-top: 8px; }
.wallet-addr { flex: 1; font-family: monospace; font-size: .78rem; color: var(--gold); word-break: break-all; line-height: 1.4; }
.wallet-copy-btn { padding: 5px 12px; font-size: .72rem; font-weight: 600; border: 1px solid var(--border2); border-radius: var(--radius); background: var(--card); color: var(--text-muted); cursor: pointer; white-space: nowrap; transition: all .18s; flex-shrink: 0; }
.wallet-copy-btn:hover { border-color: var(--gold); color: var(--gold); }

.summary-row { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row .label { color: var(--text-muted); }
.summary-row .val { font-weight: 600; color: var(--text); }
.summary-row.total .val { font-size: 1.1rem; color: var(--gold); }
.roblox-input-wrap { display: flex; flex-direction: column; gap: 6px; }
.roblox-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }

.cart-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.cart-empty-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.cart-empty-sub { font-size: .875rem; color: var(--text-faint); margin-bottom: 24px; }

/* === PROFILE PAGE ========================================= */
.profile-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.profile-nav { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 76px; }
.profile-nav-item { display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: .875rem; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border); transition: all var(--transition); cursor: pointer; }
.profile-nav-item:last-child { border-bottom: none; }
.profile-nav-item:hover, .profile-nav-item.active { color: var(--gold); background: var(--gold-dim2); }
.profile-panel { display: none; }
.profile-panel.active { display: block; }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-row { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
.order-id { font-size: .75rem; color: var(--text-faint); font-weight: 500; }
.order-items { font-size: .875rem; color: var(--text); flex: 1; }
.order-date { font-size: .78rem; color: var(--text-faint); }
.order-price { font-size: .9rem; font-weight: 700; color: var(--gold); }

.status-badge { padding: 4px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status-pending { background: var(--gold-dim); color: var(--gold); }
.status-in-progress { background: var(--blue-dim); color: var(--blue); }
.status-completed { background: rgba(34,197,94,0.1); color: var(--green); }
.status-failed { background: rgba(239,68,68,0.1); color: var(--red); }

/* === CHAT PAGE ============================================ */
.chat-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; height: calc(100vh - 58px - 48px); align-items: start; }
.chat-order-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 76px; }
.chat-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; height: 600px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; flex-direction: column; gap: 4px; max-width: 75%; }
.chat-msg.buyer { align-items: flex-end; align-self: flex-end; }
.chat-msg.seller { align-items: flex-start; align-self: flex-start; }
.chat-bubble { padding: 10px 14px; border-radius: 12px; font-size: .875rem; line-height: 1.5; }
.chat-msg.buyer .chat-bubble { background: var(--gold-dim); border: 1px solid rgba(240,180,41,0.18); color: var(--text); border-radius: 12px 12px 2px 12px; }
.chat-msg.seller .chat-bubble { background: var(--bg3); border: 1px solid var(--border2); color: var(--text); border-radius: 12px 12px 12px 2px; }
.chat-meta { font-size: .72rem; color: var(--text-faint); }
.chat-input-area { padding: 16px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.chat-input { flex: 1; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius); color: var(--text); font-size: .875rem; outline: none; resize: none; transition: border-color var(--transition); }
.chat-input:focus { border-color: rgba(240,180,41,0.35); }
.chat-input::placeholder { color: var(--text-faint); }

/* === REVIEWS / PROOFS ===================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { display: flex; gap: 3px; color: var(--gold); }
.review-comment { font-size: .875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.review-meta { display: flex; align-items: center; justify-content: space-between; }
.review-user { font-size: .82rem; font-weight: 600; color: var(--text); }
.review-date { font-size: .75rem; color: var(--text-faint); }

.proof-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.proof-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.proof-card:hover { border-color: var(--border-gold); box-shadow: 0 10px 28px rgba(0,0,0,0.6); }

.proof-card-img {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: .8rem;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.proof-card-img img { width: 100%; height: 100%; object-fit: cover; }

.proof-card-body { padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.proof-card-order { font-size: .7rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.proof-card-item { font-size: 1rem; font-weight: 700; color: var(--text); font-family: 'Rajdhani', sans-serif; }
.proof-card-meta { font-size: .78rem; color: var(--text-faint); display: flex; gap: 16px; align-items: center; margin-top: 4px; }

/* === TUTORIAL ============================================= */
.tutorial-steps { display: flex; flex-direction: column; gap: 0; }
.tutorial-step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.tutorial-step:last-child { border-bottom: none; }
.tutorial-num { flex-shrink: 0; width: 46px; height: 46px; background: var(--gold-dim); border: 1px solid rgba(240,180,41,0.28); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.tutorial-content { flex: 1; }
.tutorial-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.tutorial-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

/* === FAQ ================================================== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--transition); }
.faq-item:hover { border-color: var(--border2); }
.faq-item.open { border-color: rgba(240,180,41,0.2); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--text); transition: color var(--transition); gap: 12px; }
.faq-question:hover { color: var(--gold); }
.faq-icon { flex-shrink: 0; color: var(--text-faint); transition: transform .2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 20px 18px; font-size: .875rem; color: var(--text-muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 16px; }

/* === SAFETY BLOCK ========================================= */
#safety { padding: 60px 0; }
.safety-card { background: var(--card); border: 1px solid rgba(240,180,41,0.15); border-radius: var(--radius-lg); padding: 36px 44px; }
.safety-title { font-size: .78rem; font-weight: 700; margin-bottom: 24px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; }
.safety-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safety-item { display: flex; align-items: center; gap: 12px; }
.safety-check { flex-shrink: 0; width: 32px; height: 32px; background: var(--gold-dim); border: 1px solid rgba(240,180,41,0.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.safety-text { font-size: .9rem; font-weight: 600; color: var(--text); }

/* === ADMIN PAGE =========================================== */
.admin-layout { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.admin-nav { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 76px; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: .875rem; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border); transition: all var(--transition); cursor: pointer; }
.admin-nav-item:last-child { border-bottom: none; }
.admin-nav-item.active { color: var(--gold); background: var(--gold-dim2); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 10px 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); border-bottom: 1px solid var(--border); background: var(--card2); }
.admin-table td { padding: 12px 14px; font-size: .875rem; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gold-dim2); }

/* === TOAST ================================================ */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { padding: 12px 20px; border-radius: var(--radius); font-size: .875rem; font-weight: 500; max-width: 320px; box-shadow: var(--shadow); animation: toast-in .2s ease; display: flex; align-items: center; gap: 10px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.toast-success { background: rgba(22,30,18,0.95); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.toast-error { background: rgba(30,15,15,0.95); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }
.toast-info { background: var(--card); border: 1px solid rgba(240,180,41,0.2); color: var(--gold); }

/* === PAGE HEADER ========================================== */
.page-header { padding: 44px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.page-header-title { font-size: 1.7rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 5px; }
.page-header-sub { font-size: .9rem; color: var(--text-muted); }

/* === LOADING ============================================== */
.skeleton {
  background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 50%, var(--card) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.spinner { width: 20px; height: 20px; border: 2px solid var(--border2); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === CARD ENTRANCE ANIMATION ============================== */
.card-hidden { opacity: 0; transform: translateX(-30px); filter: blur(4px); }
.card-visible { opacity: 1; transform: translateX(0); filter: blur(0); transition: opacity .5s ease, transform .5s ease, filter .45s ease; }

/* === UTILITY ============================================== */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.pt-58 { padding-top: 58px; }

/* === RESPONSIVE =========================================== */
@media (max-width: 1200px) {
  .items-grid-6 { grid-template-columns: repeat(4, 1fr); }
  .items-grid-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-items { grid-template-columns: repeat(2, 1fr); }
  .item-detail-grid { grid-template-columns: 1fr; }
  .item-detail-img-wrap { max-width: 420px; }
  .shop-layout { grid-template-columns: 200px 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .chat-layout { grid-template-columns: 1fr; height: auto; }
  .admin-layout { grid-template-columns: 1fr; }
  .accounts-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { flex-wrap: wrap; }
  .trust-item { min-width: 50%; }
  .discord-cta-inner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 20px; margin-right: 20px; }
  .items-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-discord-btn { display: none; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .safety-items { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .items-grid-4, .items-grid-5, .items-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .items-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .accounts-preview-grid { grid-template-columns: 1fr; }
  #hero { padding: 32px 0 28px; }
  .secure-pay-wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .secure-pay-methods { flex-direction: column; width: 100%; gap: 8px; }
  .secure-pay-item:first-child { margin-right: 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; }
  .trust-item { min-width: 100%; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .items-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .items-grid-4, .items-grid-5, .items-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .items-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .safety-items { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; }
  .live-ticker { font-size: .7rem; }
}
