/* ============================================================
   Slab Sidekick — Dashboard Styles
   ============================================================ */

@font-face {
  font-family: 'Mona Sans Condensed';
  src: url('assets/fonts/MonaSansCondensed-ExtraBold.woff2') format('woff2'),
       url('assets/fonts/MonaSansCondensed-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #151515;
  --bg-elevated: #1a1a1a;
  --green: #29ff5e;
  --green-dark: #1fcc4a;
  --yellow: #fff200;
  --red: #ff453a;
  --text: #ffffff;
  --text-sec: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: 'Mona Sans Condensed', 'Inter', sans-serif;
  --font-body: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font: var(--font-body);
  --sidebar-w: 64px;
  --topbar-h: 60px;
  --transition: 0.18s ease;
}

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

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.bottom-cta-title,
.browse-col-label {
  font-family: var(--font-heading);
  font-weight: 800;

  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font: inherit; }
input { font: inherit; color: inherit; }
em { font-style: italic; }

body::-webkit-scrollbar { width: 10px; height: 10px; }
body::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 5px; }
body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 5px; }
body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

/* ---- App Shell ---- */
.app { display: flex; min-height: 100vh; width: 100%; max-width: 100vw; overflow-x: hidden; }

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  padding: 16px 0;
}

.sidebar-logo {
  margin-bottom: 8px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-label-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 12px 0 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.sidebar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: all var(--transition);
  position: relative;
}

.sidebar-icon:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.sidebar-icon.active {
  color: #fff;
  background: var(--green);
}

.sidebar-icon.active svg { stroke: #000; }

.expand-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-sec);
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
}

.sidebar-bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 500;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.sidebar-bottom-link:hover { color: var(--text); }
.sidebar-bottom-link svg { flex-shrink: 0; }

/* ---- Main ---- */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  max-width: calc(100vw - var(--sidebar-w));
  overflow-x: hidden;
}

/* ---- Topbar ---- */
.topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.topbar-tabs {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.tab-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-pill:hover { color: var(--text); }

.tab-pill.active {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.search-wrap {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.search-wrap svg { color: var(--text-muted); flex-shrink: 0; }

.search-wrap input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  color: var(--text);
}

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

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-sec);
  transition: all var(--transition);
}

.topbar-icon-btn:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.avatar-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
}

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

.install-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--green);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}

.install-btn:hover {
  background: var(--green-dark);
  box-shadow: 0 0 20px rgba(41,255,94,0.3);
}

/* ---- Content ---- */
.content {
  padding: 28px 32px 60px;
  max-width: 100%;
  overflow-x: hidden;
}

/* ---- Hero ---- */
.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin-bottom: 24px;
  overflow: hidden;
}

.hero-left { flex: 0 0 400px; }

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-green {
  color: var(--green);
  font-style: italic;
  padding-right: 0.12em;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 340px;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sec);
}

.feat-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-shrink: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--green);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--green-dark);
  box-shadow: 0 0 24px rgba(41,255,94,0.3);
  transform: translateY(-1px);
}

.hero-cta.small { font-size: 12px; padding: 9px 18px; }

.hero-right {
  flex: 1;
  min-width: 0;
}

/* ---- Webflow Hero Mockup (cs-*) ---- */
.cs-hero * { box-sizing: border-box; margin: 0; padding: 0; }
.cs-hero { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; overflow: visible; }
.cs-desktop { position: relative; width: 100%; max-width: 860px; transform: perspective(1400px) rotateY(-8deg) rotateX(2deg) scale(0); transform-style: preserve-3d; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5)) drop-shadow(0 15px 30px rgba(0,0,0,0.3)); }
.cs-screen { opacity: 0; }
.cs-monitor { background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 30%, #0c0c0c 60%, #1a1a1a 100%); border-radius: 20px; padding: 14px; border: 2px solid #888; border-top-color: #aaa; border-bottom-color: #555; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.4), inset 2px 0 4px rgba(0,0,0,0.3), inset -2px 0 4px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.4); }
.cs-screen-wrap { border-radius: 6px; overflow: hidden; background: #fff; }
.cs-screen { width: 100%; display: block; }
.cs-sidepanel-wrap { position: absolute; top: 2%; right: 10%; width: clamp(240px, 33%, 320px); z-index: 10; transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transform-style: preserve-3d; filter: drop-shadow(-10px 20px 40px rgba(0,0,0,0.5)); }
.cs-embed { font-family: -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; background: #000000; color: #fff; width: 100%; border-radius: 18px; overflow: hidden; font-size: 11px; -webkit-font-smoothing: antialiased; letter-spacing: 0.01em; box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding-bottom: 12px; transform-origin: center center; transform: scale(0); opacity: 0; }
.cs-embed .cs-header, .cs-embed .cs-cert-card, .cs-embed .cs-section-header, .cs-embed .cs-bento-card, .cs-embed .cs-accordion, .cs-embed .cs-progress-track, .cs-embed .cs-chip, .cs-embed .cs-cert-status-text, .cs-embed .cs-scan-status, .cs-embed .cs-scan-grid { opacity: 0; }

/* ---- Header: logo + icon buttons (matches extension) ---- */
.cs-header { display: flex; align-items: center; justify-content: flex-start; padding: 12px 12px 8px; gap: 0; }
.cs-header-left { flex-shrink: 0; margin-right: 6px; }
.cs-logo { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-header-right { display: flex; align-items: center; gap: 0; }
.cs-icon-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 8px; color: #fff; cursor: default; }
.cs-icon-btn svg { width: 16px; height: 16px; stroke: #fff; flex-shrink: 0; }
.cs-icon-btn span { font-size: 7px; font-weight: 500; color: rgba(255,255,255,0.7); }

/* ---- Cert area ---- */
.cs-body { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; }
.cs-cert-card { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; padding: 12px 0 14px; margin: 0; }
.cs-cert-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cs-cert-check { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: rgba(41,255,94,0.12); border: 1px solid rgba(41,255,94,0.22); border-radius: 7px; }
.cs-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(41,255,94,0.10); border: 1px solid rgba(41,255,94,0.22); color: #29ff5e; }
.cs-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: #29ff5e; }
.cs-progress-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; margin-bottom: 8px; }
.cs-progress-fill { height: 100%; border-radius: 999px; background: #29ff5e; box-shadow: 0 0 10px rgba(41,255,94,0.45); transform-origin: left; width: 100%; }
.cs-cert-status-text { font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ---- Section header ---- */
.cs-section-header { font-size: 9px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.32); letter-spacing: 0.08em; padding: 10px 0 6px; }
.cs-li-heading { font-size: 14px; font-weight: 800; text-transform: uppercase; color: #fff; letter-spacing: -0.01em; padding: 10px 0 6px; font-family: var(--font-heading); }
.cs-open-cert-btn { width: 100%; padding: 8px; border: none; border-radius: 10px; background: #29ff5e; color: #000; font-size: 9px; font-weight: 600; cursor: default; display: flex; align-items: center; justify-content: center; gap: 4px; margin: 6px 0; }
.cs-btn-green { padding: 8px 10px; border: none; border-radius: 8px; font-size: 9px; font-weight: 600; cursor: default; font-family: inherit; background: #29ff5e; color: #000; text-align: center; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* ---- Bento grid (6 cards, matches extension .bento-card) ---- */
.cs-bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cs-bento-card { border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 12px 12px 10px; background: linear-gradient(135deg, #242424 0%, #363636 100%); display: flex; flex-direction: column; justify-content: space-between; min-height: 60px; }
.cs-bento-label { font-size: 7px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.cs-bento-stat { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -0.5px; font-family: 'SF Mono', 'Cascadia Mono', 'Consolas', monospace; }
.cs-bento-sub { font-size: 7px; font-weight: 500; color: rgba(255,255,255,0.50); margin-top: 4px; }

/* ---- Accordions (matches extension .accordion-card) ---- */
.cs-accordion { background: #1c1c1e; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; overflow: hidden; box-shadow: inset 0 2px 6px rgba(0,0,0,0.4); }
.cs-acc-toggle { width: 100%; padding: 8px 10px; display: flex; align-items: center; background: transparent; border: none; cursor: default; gap: 0; }
.cs-acc-label { display: inline-flex; align-items: center; gap: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.01em; color: #fff; font-family: inherit; text-transform: uppercase; }
.cs-acc-icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-width: 2rem; border-radius: 7px; flex-shrink: 0; margin-right: 7px; }
.cs-acc-icon svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: #ffffff; stroke-width: 1.5; }
.cs-acc-badge { font-size: 8px; font-weight: 800; padding: 3px 8px; border-radius: 12px; letter-spacing: 0.04em; text-transform: uppercase; margin-left: 8px; white-space: nowrap; }
.cs-badge-green { background: rgba(41,255,94,0.12); color: #29ff5e; border: 1px solid rgba(41,255,94,0.22); }
.cs-badge-cyan { background: rgba(34,212,234,0.12); color: #22d4ea; border: 1px solid rgba(34,212,234,0.22); }
.cs-badge-amber { background: rgba(240,168,48,0.12); color: #f0a830; border: 1px solid rgba(240,168,48,0.22); }
.cs-acc-arrow { flex-shrink: 0; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); margin-left: auto; }
.cs-acc-arrow svg { width: 10px; height: 10px; stroke: currentColor; fill: none; }
.cs-acc-arrow.up { transform: rotate(180deg); }
.cs-acc-body { padding: 0 10px 10px; }
.cs-acc-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0 10px; }

/* ---- Scan area ---- */
.cs-scan-status { font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 500; margin: 8px 0; }
.cs-scan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.cs-btn-yellow { padding: 8px 10px; border: none; border-radius: 8px; font-size: 9px; font-weight: 700; cursor: default; font-family: inherit; background: #fff200; color: #000; text-align: center; display: flex; align-items: center; justify-content: center; gap: 4px; }
.cs-btn-gray { padding: 8px 10px; border: 1px solid rgba(255,255,255,0.10); border-radius: 8px; font-size: 9px; font-weight: 600; cursor: default; font-family: inherit; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.35); text-align: center; display: flex; align-items: center; justify-content: center; gap: 4px; }
.cs-scan-placeholders { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.cs-scan-placeholder { background: transparent; border: 1px dashed rgba(255,255,255,0.10); border-radius: 10px; height: 60px; display: flex; align-items: flex-start; padding: 6px 8px; }
.cs-scan-label { font-size: 7px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }

/* ---- Animations ---- */
@keyframes cs-glow-pulse { 0%, 100% { box-shadow: 0 0 6px rgba(41,255,94,0.3), 0 0 12px rgba(41,255,94,0.1); } 50% { box-shadow: 0 0 10px rgba(41,255,94,0.5), 0 0 20px rgba(41,255,94,0.2); } }
.cs-chip.glow { animation: cs-glow-pulse 2s ease-in-out infinite; }
.cs-bento-card.pop { transition: transform 0.3s ease; }
.cs-embed.float { animation: cs-float 2.5s ease-in-out infinite; }
@keyframes cs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Sidebar Expand on Hover ---- */
.sidebar { transition: width 0.25s cubic-bezier(0.4,0,0.2,1); overflow: hidden; }
.sidebar:hover { width: 220px; align-items: stretch; }

/* Logo left-align on hover */
.sidebar:hover .sidebar-logo { align-self: flex-start; padding-left: 18px; }

/* "MAIN" label left-align */
.sidebar:hover .sidebar-label-text { display: block; padding-left: 18px; align-self: flex-start; }

/* Nav items stretch full width */
.sidebar:hover .sidebar-nav { align-items: stretch; padding: 0 12px; }
.sidebar:hover .expand-arrow { display: none; }

.sidebar:hover .sidebar-icon {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 14px;
  gap: 12px;
  border-radius: var(--radius-sm);
}

/* Sidebar nav labels on hover */
.sidebar-icon-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  white-space: nowrap;
  display: none;
}
.sidebar:hover .sidebar-icon-label { display: inline; }
.sidebar-icon.active .sidebar-icon-label { color: #000; }

/* Bottom links full width left-aligned */
.sidebar:hover .sidebar-bottom { width: 100%; padding: 0 12px 12px; align-items: stretch; }
.sidebar:hover .sidebar-bottom-link {
  flex-direction: row;
  gap: 10px;
  padding: 10px 14px;
  width: 100%;
  justify-content: flex-start;
  border-radius: var(--radius-sm);
}
.sidebar:hover .sidebar-bottom-link:hover { background: rgba(255,255,255,0.06); }
.sidebar:hover .sidebar-bottom-link span { font-size: 13px; }

/* ---- Swiper overrides ---- */
.market-ticker-swiper,
.categories-swiper,
.deals-swiper,
.tcg-swiper {
  overflow: hidden;
  padding-bottom: 4px;
}
.market-ticker-swiper .swiper-slide,
.deals-swiper .swiper-slide,
.tcg-swiper .swiper-slide {
  width: auto;
  height: auto;
}
.categories-swiper .swiper-slide {
  flex: 1;
  height: auto;
}

/* ---- Market Ticker Cards ---- */
.market-ticker-swiper {
  margin-bottom: 40px;
}

.ticker-card {
  width: 260px;
  min-height: 130px;
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.ticker-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.ticker-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ticker-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
}

.ticker-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ticker-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.ticker-right {
  text-align: right;
}

.ticker-symbol {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.ticker-change {
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--red); }

.ticker-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ticker-label {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.ticker-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.ticker-sparkline {
  width: 100px;
  height: 36px;
  opacity: 0.5;
}

/* ---- Section ---- */
.section {
  margin-bottom: 48px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;

  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.fire { margin-left: 4px; }

.view-all-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}

.view-all-btn:hover { border-color: var(--green); }

/* ---- Categories Row ---- */
/* categories handled by swiper */

.cat-card {
  min-width: 200px;
  flex: 1;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.cat-card:hover { transform: translateY(-4px); }

.cat-card-header {
  padding: 16px 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  flex-shrink: 0;
}

.cat-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.cat-card-arrow {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.85);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #000;
  flex-shrink: 0;
}

.cat-card-img-wrap {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 0;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* ---- Filter Pills ---- */
.filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fpill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  transition: all var(--transition);
}

.fpill:hover { border-color: var(--border-hover); }

.fpill.active {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

.fpill.active svg { stroke: #000; }

/* ---- Deals Grid ---- */
/* deals handled by swiper */

.deal-card {
  width: 280px;
  background: transparent;
  border-radius: 15px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: all var(--transition);
  cursor: pointer;
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.deal-card-img-wrap {
  position: relative;
  width: 100%;
  height: 360px;
  background: #fff !important;
  border-radius: 15px 15px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.deal-card-img {
  max-width: 85%;
  max-height: 92%;
  object-fit: contain;
}

.deal-card-views {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #667085;
  font-weight: 500;
}

.deal-card-views svg { stroke: #667085; }

.deal-card-body {
  padding: 16px 18px 18px;
  background: #ffffff !important;
  border-top: 1px solid var(--border);
}

.deal-card-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #000 !important;
  margin-bottom: 3px;
}

.deal-card-set {
  font-family: var(--font-body);
  font-size: 12px;
  color: #333 !important;
  margin-bottom: 1px;
}

.deal-card-number {
  font-family: var(--font-body);
  font-size: 12px;
  color: #333 !important;
  margin-bottom: 16px;
}

.deal-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.deal-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #43b66c;
}

.deal-card-reserve {
  font-size: 12px;
  color: #333 !important;
  font-weight: 500;
}

.deal-card-meta {
  font-size: 12px;
  color: #333 !important;
  margin-bottom: 16px;
}

.deal-card-btn {
  width: 100%;
  padding: 13px;
  background: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: all var(--transition);
}

.deal-card-btn:hover {
  background: #333;
}

/* ---- TCG Row ---- */
/* tcg handled by swiper */

.tcg-card {
  width: 320px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform var(--transition);
}

.tcg-card:hover { transform: translateY(-4px); }

.tcg-card-img-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.tcg-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.tcg-card-bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 2px;
}

.tcg-card-price {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.tcg-card-change {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

.tcg-card-change.up { color: var(--green); }
.tcg-card-change.down { color: var(--red); }

/* ---- Bottom Combined Section ---- */
.bottom-combined {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 56px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.bottom-combined-left { flex: 0 0 340px; }

.bottom-combined-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.bottom-combined-desc {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bottom-combined-cards {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
}

.browse-col {
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.browse-col:hover { transform: translateY(-6px); }

.browse-col-img-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 340px;
  margin-bottom: 16px;
}

.browse-col-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.browse-icon-fire {
  font-size: 28px;
  line-height: 1;
}

.browse-icon-trend {
  width: 28px;
  height: 28px;
}

.browse-col-label {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero { flex-direction: column; padding: 32px; }
  .hero-left { flex: none; }
  .ticker-card { flex: 0 0 220px; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar-tabs { display: none; }
  .content { padding: 20px 16px 40px; }
  .hero { padding: 24px; }
  .hero-title { font-size: 24px; }
  .section-title { font-size: 22px; }
  .bottom-cta { flex-direction: column; padding: 32px; }
  .bottom-cta-left { flex: none; }
  .bottom-browse { flex-direction: column; align-items: center; }
}
