/* ==========================================================================
   SILVERMOONS — CS:GO DEDICATED COMMUNITY GAME SERVER PORTAL
   Aesthetic: Authentic 2016 CS:GO Server Network & Matchmaking Hub
   Typography: Space Grotesk / Inter / JetBrains Mono
   Palette: Deep Steel Charcoal, Emerald Action Accent, CS:GO Amber & Gold
   ========================================================================== */

:root {
  /* Core Server Charcoal & Slate */
  --bg-dark: #0a0d13;
  --bg-surface: #10141e;
  --bg-card: #141926;
  --bg-elevated: #1a2132;
  --bg-input: #0d1018;

  /* Borders */
  --border-subtle: #222a3a;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-hover: #333f57;

  /* CS:GO Accents */
  --csgo-emerald: #10b981;
  --csgo-emerald-hover: #059669;
  --csgo-amber: #de9b35;
  --csgo-amber-bright: #f59e0b;
  --csgo-gold: #ffd700;
  --csgo-blue: #3b82f6;

  /* Item Rarities */
  --r-special: #f0b94a;
  --r-covert: #eb4b4b;
  --r-classified: #d32ce6;
  --r-restricted: #8847ff;
  --r-mil-spec: #4b69ff;
  --r-milspec: #4b69ff;
  --r-uncommon: #5e98d9;
  --r-common: #b0c3d9;
  --r-base: #b0c3d9;
  --stattrak-orange: #cf6a32;

  /* CS:GO Wear Rating Tiers */
  --wear-fn: #4caf50;
  --wear-mw: #8bc34a;
  --wear-ft: #fbc02d;
  --wear-ww: #f57c00;
  --wear-bs: #e53935;

  /* Typography */
  --text-main: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #8a96aa;
  --text-dim: #5a667a;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   1. BACKGROUND & AMBIENCE (ANIMATED MAP & PARTICLES)
   ========================================================================== */

@keyframes csgoBackdropFloat {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  50% {
    transform: scale(1.045) translate(-8px, -6px);
  }
  100% {
    transform: scale(1.02) translate(6px, -3px);
  }
}

.csgo-backdrop-image {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle 950px at 50% 45%, rgba(14, 116, 144, 0.28) 0%, rgba(14, 116, 144, 0.12) 38%, transparent 70%),
    radial-gradient(circle 650px at 50% 12%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0d14 0%, #06080d 50%, #030406 100%);
  pointer-events: none;
  z-index: 0;
}

.csgo-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.csgo-backdrop-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(3, 4, 7, 0.45) 100%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 3px;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   2. TOPBAR HEADER & NAVIGATION
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13, 17, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
  z-index: 100;
}

.topbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand:hover .brand-logo-wrap {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.7));
}

.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.brand-name {
  font-family: 'Rajdhani', 'Orbitron', var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 15%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.18));
  line-height: 1;
}

.brand-sublabel {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #34d399; /* text-emerald-400 */
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Nav Tabs */
.tabs {
  display: flex;
  align-items: center;
  height: 64px;
}

.nav-link {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 600;
  padding: 0 18px;
  height: 100%;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.nav-link.active {
  color: #ffffff;
  border-bottom-color: var(--csgo-emerald);
  background: rgba(16, 185, 129, 0.05);
}

/* User Cluster */
.topbar-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-console-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-console-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-hover);
}

.console-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--csgo-emerald);
  box-shadow: 0 0 6px var(--csgo-emerald);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-md);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.user-rank-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}

.rank-icon {
  height: 14px;
  width: auto;
}

.user-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-left: 1px solid var(--border-subtle);
  padding-left: 12px;
  margin-left: 4px;
}

.balance-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
}

.balance-coins {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--csgo-gold);
}

/* ==========================================================================
   3. MAIN VIEWPORT & VIEW SWITCHING
   ========================================================================== */

.page-viewport {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  z-index: 10;
}

.view-panel {
  display: none;
  animation: fadeIn 0.2s ease-out forwards;
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Wrappers */
.section-container {
  margin-top: 48px;
}

.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.section-subheading {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-refresh-status {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-refresh-status:hover {
  color: #ffffff;
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

/* ==========================================================================
   4. HOME VIEW: HERO PANEL
   ========================================================================== */

.hero-panel {
  background: rgba(10, 15, 24, 0.84); /* deep dark slate card */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(51, 65, 85, 0.85); /* metallic slate-blue border border-slate-700/85 */
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
  max-width: 800px;
}

.highlight-accent {
  background: linear-gradient(135deg, #34d399 0%, #22d3ee 100%); /* emerald-400 to cyan-400 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(52, 211, 153, 0.35));
  font-weight: 800;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #a1a1aa; /* text-zinc-400 matte soft silver-gray */
  max-width: 720px;
}

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

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-copy-ip-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(39, 39, 42, 0.6);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-ip-hero:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(63, 63, 70, 0.8);
}

.btn-connect-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%); /* gradient from-emerald-500 to-green-600 */
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-connect-hero:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38), 0 0 15px rgba(52, 211, 153, 0.25);
}

.btn-browse-hero {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(39, 39, 42, 0.6);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-browse-hero:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(63, 63, 70, 0.8);
}

/* ==========================================================================
   5. DUAL LIVE SERVER CARDS
   ========================================================================== */

.servers-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.server-card-detailed {
  background: rgba(10, 15, 24, 0.85); /* deep dark slate box */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(51, 65, 85, 0.85); /* metallic slate-blue border border-slate-700/85 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.server-card-detailed:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 116, 144, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(14, 116, 144, 0.25);
}

.card-map-header {
  position: relative;
  height: 165px;
  background-size: cover;
  background-position: center;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  filter: saturate(1.15) contrast(1.05);
}

.map-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

.server-badge-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.server-mode-pill {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.server-mode-pill.surf {
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.server-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.server-map-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.map-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #a1a1aa; /* text-zinc-400 matte gray */
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.map-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.map-file {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #cbd5e1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.server-details-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(15, 23, 42, 0.25); /* semi-transparent glass body */
}

.server-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(39, 39, 42, 0.5); /* border-zinc-800/50 */
}

.spec-pod {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a1a1aa; /* text-zinc-400 matte gray */
}

.spec-val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.spec-val.highlight {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.server-roster-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roster-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.roster-label {
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa; /* text-zinc-400 matte gray */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roster-badge {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
}

.roster-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
}

.roster-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(51, 65, 85, 0.45);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 500;
  transition: all 0.15s ease;
}

.roster-avatar {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
}

.empty-roster-text {
  font-size: 12px;
  color: var(--text-dim);
}

.server-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-card-connect {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-card-connect .btn-icon {
  width: 14px;
  height: 14px;
  opacity: 0.95;
}

.btn-card-connect:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-color: rgba(52, 211, 153, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38), 0 0 15px rgba(52, 211, 153, 0.25);
  transform: translateY(-1px);
}

.btn-card-copy {
  background: #18181b;
  border: 1px solid rgba(39, 39, 42, 0.6); /* border-zinc-800/60 */
  color: #a1a1aa; /* text-zinc-400 */
  font-weight: 600;
  font-size: 13px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(63, 63, 70, 0.8);
}

/* ==========================================================================
   6. FEATURES QUAD GRID
   ========================================================================== */

.features-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-icon-wrap {
  font-size: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   7. QUICKSTART GUIDE
   ========================================================================== */

.quickstart-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quickstart-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

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

.step-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--csgo-emerald);
}

.step-head {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.step-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.copy-inline {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--csgo-emerald);
  cursor: pointer;
  font-family: var(--font-mono);
}

.copy-inline:hover {
  background: rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   8. READY TO PLAY JOIN BANNER
   ========================================================================== */

.join-banner {
  margin-top: 48px;
  background: linear-gradient(180deg, var(--bg-card) 0%, #171d2b 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.jb-text h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.jb-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--csgo-emerald);
  color: #04140b;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary-action:hover {
  background: var(--csgo-emerald-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-hover);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* ==========================================================================
   9. SERVERS TAB (DETAILED ROW VIEW)
   ========================================================================== */

.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.view-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.view-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.servers-detailed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.server-detailed-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.sdr-map-thumb {
  width: 140px;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.sdr-tick-pill {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--csgo-emerald);
  padding: 2px 6px;
  border-radius: 4px;
}

.sdr-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdr-header-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdr-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.sdr-status.online {
  font-size: 11px;
  font-weight: 700;
  color: var(--csgo-emerald);
}

.sdr-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.sdr-meta-line strong {
  color: #ffffff;
}

.sdr-meta-line code {
  font-family: var(--font-mono);
  color: var(--csgo-emerald);
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 4px;
  border-radius: 3px;
}

.sdr-players-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.sdr-players-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.sdr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdr-player-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(51, 65, 85, 0.45);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #cbd5e1;
}

.sdr-player-chip img {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.sdr-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.sdr-counter-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sdr-count-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.sdr-count-lbl {
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.sdr-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   10. ITEMS GRID: INVENTORY & CASES
   ========================================================================== */

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  min-width: 220px;
  outline: none;
}

.search-input:focus {
  border-color: var(--csgo-emerald);
}

.pills-row {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill:hover {
  color: #ffffff;
}

.pill.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sort-select {
  background: rgba(16, 21, 30, 0.85);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.sort-select:focus {
  border-color: var(--csgo-emerald);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

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

.catalog-sidebar {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  position: sticky;
  top: 76px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 12px;
  padding-left: 6px;
}

.catalog-kinds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-kinds li button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.catalog-kinds li button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.catalog-kinds li button[aria-pressed="true"] {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 3px solid #10b981;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.18);
}

.catalog-kinds .n {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #94a3b8;
  transition: all 0.15s ease;
}

.catalog-kinds li button[aria-pressed="true"] .n {
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
}

.sidebar-tip {
  margin-top: 18px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
}
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.group-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-title:first-child {
  margin-top: 0;
}

.group-title span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 10px;
}

.cases-grid, .grid.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.case:hover, .case.open {
  transform: translateY(-2px);
  border-color: rgba(100, 116, 139, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.case-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  padding: 10px;
  background: radial-gradient(ellipse at 50% 60%, rgba(14, 116, 144, 0.12) 0%, transparent 70%);
  cursor: pointer;
  overflow: hidden;
}

.case-art::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.15);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.case:hover .case-art::before {
  opacity: 0.3;
  transform: scale(1.1);
}

.case-art img {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.case:hover .case-art img {
  transform: scale(1.06);
}

.odds {
  display: flex;
  height: 4px;
  width: 100%;
}

.odds i {
  display: block;
  height: 100%;
}

.case-body {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

.case-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: #ffffff;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-meta {
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-meta .price {
  color: var(--r-special);
  font-weight: 600;
}

.add {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.add select {
  font: inherit;
  font-size: 13px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: var(--radius-sm);
  padding: 0 6px;
  outline: none;
}

.add button {
  flex: 1;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.add button:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.btn-case-info {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-case-info:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(100, 116, 139, 0.85);
}

/* Case Contents Peek Panel (Inspection Popover) */
/* ==========================================================================
   CASE CONTENTS / DROP POOL POPUP (WIDESCREEN CINEMATIC DIALOG)
   ========================================================================== */
.peek {
  position: fixed;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 600;
  width: min(1060px, calc(100vw - 40px));
  max-height: min(84vh, 850px);
  overflow-y: auto;
  padding: 26px 30px 30px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.15);
  font-family: var(--font-main);
  scrollbar-width: thin;
  scrollbar-color: #1e293b transparent;
}

/* Minimalist ultra-thin dark track custom scrollbar */
.peek::-webkit-scrollbar {
  width: 6px;
}

.peek::-webkit-scrollbar-track {
  background: transparent;
}

.peek::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

.peek::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.peek-header {
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  padding-bottom: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-right: 40px;
}

.peek-close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
}

.peek-close:hover {
  background: transparent;
  border: none;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

.peek-rarity {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--r-special);
  margin-bottom: 4px;
}

.peek-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.peek-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge-count {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(51, 65, 85, 0.6);
  padding: 3px 10px;
  border-radius: 9999px;
}

.badge-price {
  font-size: 11.5px;
  color: #fbbf24;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
}

.badge-st {
  font-size: 11.5px;
  color: var(--stattrak-orange);
  font-weight: 700;
  background: rgba(207, 106, 50, 0.12);
  border: 1px solid rgba(207, 106, 50, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
}

/* Minimalist font text bars that stretch across the grid */
.peek .tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c);
  margin: 24px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.peek .tier:first-of-type {
  margin-top: 10px;
}

.peek .tier-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.peek .tier-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.peek .tier span {
  color: #64748b;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* Drop grid with increased spacing */
.peek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

/* Borderless item drop cards with soft heavily blurred radial color backdrop */
.peek .mini {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: none;
  border-radius: 10px;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease;
  cursor: default;
}

.peek .mini:hover {
  transform: translateY(-3px);
  background: rgba(30, 41, 59, 0.65);
}

/* Internal soft heavily blurred radial color backdrop behind weapon asset */
.peek .mini::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--c, rgba(58, 74, 91, 0.3));
  opacity: 0.28;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.peek .mini:hover::before {
  opacity: 0.45;
  transform: translateX(-50%) scale(1.2);
}

.peek .mini img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.peek .mini:hover img {
  transform: scale(1.08);
}

.peek .mini b {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.peek .mini small {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.peek-more {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-dim);
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   ITEM INSPECT TOOLTIP (FLOAT GAUGE, PATTERN & FINISH METADATA)
   ========================================================================== */
.csgo-tooltip {
  position: fixed;
  z-index: 600;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(2, 6, 23, 0.85); /* bg-slate-950/80 */
  backdrop-filter: blur(24px); /* backdrop-blur-xl */
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 65, 85, 0.8); /* border border-slate-800 */
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 1px rgba(255, 255, 255, 0.1);
  font-family: var(--font-main);
  pointer-events: auto;
}

.csgo-tooltip[hidden] {
  display: none !important;
}

.tip-header {
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  padding-bottom: 12px;
  margin-bottom: 14px;
  position: relative;
  padding-right: 32px;
}

/* Borderless floating X close button */
.tip-close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  color: #64748b;
  width: 24px;
  height: 24px;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
}

.tip-close:hover {
  background: transparent;
  border: none;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.tip-rarity {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.tip-rarity.c-special { color: var(--r-special); }
.tip-rarity.c-covert { color: var(--r-covert); }
.tip-rarity.c-classified { color: var(--r-classified); }
.tip-rarity.c-restricted { color: var(--r-restricted); }
.tip-rarity.c-mil-spec { color: var(--r-mil-spec); }
.tip-rarity.c-uncommon, .tip-rarity.c-industrial { color: var(--r-uncommon); }
.tip-rarity.c-common, .tip-rarity.c-base { color: var(--r-common); }

.tip-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.tip-nametag-box {
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-stattrak-box {
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(207, 106, 50, 0.12);
  border: 1px solid rgba(207, 106, 50, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tip-stattrak-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--stattrak-orange);
}

.tip-stattrak-count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Float Gauge Box - clean borderless container */
.tip-float-box {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 14px;
}

.tip-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 8px;
}

.tip-float-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tip-wear-name {
  font-weight: 600;
  font-size: 13.5px;
  color: #ffffff;
}

.tip-float-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #38bdf8;
  font-weight: 700;
}

/* Razor-thin horizontal gray track with crisp vertical neon line */
.tip-gauge-wrap {
  position: relative;
  margin: 14px 0 16px;
}

.tip-gauge-bar {
  height: 4px; /* razor-thin horizontal track h-1 */
  border-radius: 9999px;
  background: #1e293b; /* bg-slate-800 */
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.tip-gauge-needle {
  position: absolute;
  top: -5px;
  width: 3px;
  height: 14px;
  background: #38bdf8; /* crisp vertical neon line */
  box-shadow: 0 0 8px #38bdf8, 0 0 14px rgba(56, 189, 248, 0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 2;
}

.tip-gauge-labels {
  position: relative;
  height: 14px;
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 6px;
  color: #64748b;
}

.tip-gauge-labels span {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

/* Borderless clean monospace metadata mini-grid */
.tip-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.tip-meta-item {
  font-size: 11.5px;
  color: #94a3b8;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
}

.tip-meta-item span {
  color: #f1f5f9;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-left: 4px;
}

.tip-value-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.tip-value-badge b {
  color: #fbbf24;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

/* Action Buttons with breathing room and amber tactical Sell button */
.tip-actions {
  display: flex;
  gap: 14px; /* gap-4 breathing room */
}

.tip-btn-equip {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.tip-btn-equip:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
  transform: translateY(-1px);
}

.tip-btn-sell {
  flex: 1;
  background: rgba(15, 23, 42, 0.4); /* bg-slate-900/40 */
  border: 1px solid rgba(245, 158, 11, 0.3); /* border-amber-500/30 */
  color: #fbbf24; /* text-amber-400 */
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tip-btn-sell:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.55);
  color: #fef3c7;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* Inventory Items */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.item {
  position: relative;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-bottom: 3px solid var(--c, rgba(51, 65, 85, 0.8));
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.item:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 116, 139, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.item.is-stattrak {
  /* Clean uniform slate border - no harsh orange outline */
  border-color: rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.item.is-equipped {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.badge-eq {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--csgo-emerald);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  z-index: 2;
}

.item-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 125px;
  padding: 8px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  overflow: hidden;
}

/* Internal soft heavily blurred background radial glow behind weapon asset */
.item-art::before {
  content: '';
  position: absolute;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--c, rgba(58, 74, 91, 0.3));
  opacity: 0.18;
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.item:hover .item-art::before {
  opacity: 0.34;
  transform: scale(1.15);
}

.item-art img {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease;
}

.item:hover .item-art img {
  transform: scale(1.06);
}

.item-body {
  padding: 8px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-weapon {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.item-skin {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.item-sub .st {
  color: var(--stattrak-orange);
  font-weight: 700;
}

.item-sub .sv {
  color: var(--csgo-gold);
  font-weight: 700;
}

/* Clean borderless action overlay - revealed smoothly on hover */
.item-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}

.item:hover .item-actions,
.item.open .item-actions,
.item:focus-within .item-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-equip {
  flex: 1;
  background: rgba(15, 23, 42, 0.7);
  border: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 11.5px;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-equip:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.item.is-equipped .btn-equip {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.btn-sell {
  background: rgba(15, 23, 42, 0.7);
  border: none;
  color: #94a3b8;
  font-weight: 600;
  font-size: 11.5px;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sell:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.catalog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* Leaderboard Hero Card (Your Competitive Standing) */
.lb-hero {
  background: linear-gradient(135deg, rgba(20, 26, 36, 0.92) 0%, rgba(13, 17, 25, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lb-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.lb-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lb-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lb-hero-rank-icon {
  width: 84px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.lb-hero-titles h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-rank-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--csgo-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.lb-hero-meta {
  color: var(--text-muted);
  font-size: 13.5px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.lb-hero-meta b {
  color: #ffffff;
}

.lb-hero-progress {
  min-width: 280px;
  flex: 1;
  max-width: 400px;
}

.lb-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.lb-progress-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.form-chips {
  display: flex;
  gap: 4px;
  align-items: center;
}

.chip-form {
  font-size: 10.5px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: grid;
  place-items: center;
}

.chip-w {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.chip-l {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.chip-t {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   11. LEADERBOARD TABLE
   ========================================================================== */

.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 20px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.leaderboard-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
}

.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.rank-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.rank-num.gold { color: var(--csgo-gold); }
.rank-num.silver { color: #e2e8f0; }
.rank-num.bronze { color: #cd7f32; }

.player-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.player-name {
  font-weight: 600;
  color: #ffffff;
}

.player-steamid {
  font-size: 11px;
  color: var(--text-dim);
}

.rank-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.table-rank-icon {
  height: 18px;
}

.elo-cell {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.record-cell {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   12. CASE MODAL & CONSOLE
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 16px;
  max-width: 1040px;
  width: min(1040px, calc(100vw - 40px));
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.modal-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--csgo-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.btn-modal-close:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.modal-body {
  padding: 22px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: #1e293b transparent;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

.case-meta-ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  flex-wrap: wrap;
}

.ribbon-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ribbon-thumb {
  width: 44px;
  height: 34px;
  object-fit: contain;
}

.ribbon-id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.ribbon-info-token {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.token-lbl {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.token-val {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.loot-heading-bar {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
  padding-bottom: 6px;
}

.modal-loot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.modal-loot-card {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: none;
  border-radius: 10px;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease;
}

.modal-loot-card:hover {
  transform: translateY(-3px);
  background: rgba(30, 41, 59, 0.65);
}

.modal-loot-card::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--drop-color, #4b69ff);
  opacity: 0.28;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.loot-thumb-wrap {
  position: relative;
  z-index: 1;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loot-thumb-wrap img {
  max-width: 90%;
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.7));
}

.loot-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loot-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.loot-tier {
  font-size: 10.5px;
  color: var(--drop-color, #94a3b8);
  font-weight: 500;
}
  font-weight: 600;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-input);
}

.modal-note {
  font-size: 12px;
  color: var(--text-dim);
}

/* CS:GO Console */
.csgo-console-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 700px;
  max-width: 92vw;
  background: rgba(16, 20, 30, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  z-index: 600;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  overflow: hidden;
}

.csgo-console-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.console-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.console-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.console-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.console-target-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-dim);
}

.target-chip {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.target-chip.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.console-clear-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.console-body {
  height: 220px;
  padding: 12px 16px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  white-space: pre-wrap;
}

.console-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
}

.console-prompt {
  font-family: var(--font-mono);
  color: var(--csgo-emerald);
  font-weight: 700;
}

.console-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.btn-console-submit {
  background: var(--csgo-emerald);
  border: none;
  color: #04140b;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* Toast */
.csgo-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(16, 20, 30, 0.96);
  border: 1px solid var(--border-hover);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 700;
}

.csgo-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Community Footer */
.community-footer {
  margin-top: 60px;
  padding: 32px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 13.5px;
}

/* Responsive */
@media (max-width: 1080px) {
  .servers-dual-grid {
    grid-template-columns: 1fr;
  }
  .features-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}


/* ====================================================================
   MULTI-SELECT & BATCH SELL STYLES
   ==================================================================== */
.btn-batch-mode {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-batch-mode:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-batch-mode.active {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4) !important;
  color: #fff !important;
}

.batch-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 78, 59, 0.25));
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.batch-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.batch-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.batch-shortcuts {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.batch-link-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.batch-link-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-batch-sell {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.btn-batch-sell:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}
.btn-batch-sell:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Item Card Selection in Batch Mode */
.item-select-checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: all 0.18s ease;
}
.item-select-checkbox::after {
  content: '✓';
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.18s ease;
}
.item-select-checkbox.checked {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}
.item-select-checkbox.checked::after {
  opacity: 1;
  transform: scale(1);
}

.item.is-selected {
  border-color: #10b981 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-2px);
}



/* ==========================================================================
   ADMINISTRATOR DASHBOARD STYLES (CS:GO 2023 PORTAL)
   ========================================================================== */
.admin-nav-link {
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
  transition: all 0.2s ease;
}

.admin-nav-link:hover {
  background: rgba(52, 211, 153, 0.15) !important;
  border-color: #34d399 !important;
}

.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 9999px;
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.admin-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.admin-card:hover {
  border-color: rgba(52, 211, 153, 0.25);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.admin-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  font-weight: 700;
}

.admin-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 4px 0 0 0;
}

.admin-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 1.25rem 0;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.admin-form-group label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-form-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.admin-input, .admin-select {
  width: 100%;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f8fafc;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.admin-input:focus, .admin-select:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.admin-select option {
  background: #0f172a;
  color: #f8fafc;
}

.admin-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.75rem;
}

.btn-admin-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-admin-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-admin-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-admin-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-admin-action {
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-admin-action:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Whitelist Table */
.whitelist-table-wrapper,
.whitelist-table-wrap {
  overflow-x: auto;
  overflow-y: auto !important;
  max-height: 560px;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.4);
}

.whitelist-table-wrapper::-webkit-scrollbar,
.whitelist-table-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.whitelist-table-wrapper::-webkit-scrollbar-track,
.whitelist-table-wrap::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}

.whitelist-table-wrapper::-webkit-scrollbar-thumb,
.whitelist-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.whitelist-table-wrapper::-webkit-scrollbar-thumb:hover,
.whitelist-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.whitelist-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.whitelist-table th {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.whitelist-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  vertical-align: middle;
}

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

.whitelist-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whitelist-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-tag-approved {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-tag-pending {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.whitelist-actions-cell {
  display: flex;
  gap: 6px;
}

.btn-wl-approve {
  background: #059669;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-wl-approve:hover {
  opacity: 0.9;
}

.btn-wl-reject {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-wl-reject:hover {
  opacity: 0.9;
}
