/* ── Star BG ──────────────────────────────────────────────────────── */
    #mp-starfield {
      position: fixed; inset: 0; pointer-events: none; z-index: 0;
      background: linear-gradient(135deg, #080a2e 0%, #0c0e40 50%, #080a2e 100%);
    }

    /* ── Layout wrap ──────────────────────────────────────────────────── */
    .mp-wrap { position: relative; z-index: 1; min-height: 100vh; }

    /* ── Live dot ─────────────────────────────────────────────────────── */
    .live-dot {
      display: inline-block;
      width: 8px; height: 8px;
      background: #22d3ee;
      border-radius: 50%;
      animation: livePulse 1.8s ease-in-out infinite;
    }
    @keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

    /* ── Top Bar ──────────────────────────────────────────────────────── */
    .mp-topbar {
      position: sticky; top: 0; z-index: 60;
      background: rgba(8,10,46,0.92);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(139,92,246,0.2);
      padding: 10px 24px;
    }
    .mp-search-wrap { position: relative; flex: 1; max-width: 500px; }
    .mp-search {
      width: 100%; padding: 9px 16px 9px 44px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(139,92,246,0.25);
      border-radius: 12px; color: #f0f1ff; font-size: 0.9rem;
      transition: border-color 0.22s, box-shadow 0.22s;
    }
    .mp-search:focus { outline: none; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.18); }
    .mp-search::placeholder { color: #8b89b8; }
    .mp-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8b89b8; pointer-events: none; }
    .search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #8b89b8; cursor: pointer; display: none; font-size: 0.9rem; }

    /* ── Hero Banner ──────────────────────────────────────────────────── */
    .mp-hero {
      position: relative; overflow: hidden;
      min-height: 340px;
      background:
        radial-gradient(ellipse at 20% 60%, rgba(139,92,246,0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(34,211,238,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 90%, rgba(249,115,22,0.1) 0%, transparent 45%),
        #080a2e;
      padding: 52px 24px 40px;
    }
    .mp-hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(139,92,246,0.18);
      border: 1px solid rgba(139,92,246,0.4);
      border-radius: 20px; padding: 4px 14px;
      font-size: 0.72rem; font-weight: 700; color: #8b5cf6;
      text-transform: uppercase; letter-spacing: 0.09em;
      margin-bottom: 14px;
    }
    .mp-hero h1 {
      font-size: 2.6rem; font-weight: 900; color: #f0f1ff;
      line-height: 1.08; margin-bottom: 14px;
    }
    .mp-hero h1 span {
      background: linear-gradient(135deg,#8b5cf6 0%,#22d3ee 50%,#f97316 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .mp-hero-sub { color: #8b89b8; font-size: 0.95rem; max-width: 480px; line-height: 1.55; }
    .mp-hero-stats {
      display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap;
    }
    .hero-stat { display: flex; flex-direction: column; gap: 2px; }
    .hero-stat-val { font-size: 1.3rem; font-weight: 900; color: #f0f1ff; }
    .hero-stat-lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: #8b89b8; font-weight: 600; }

    /* Dual floating featured NFT cards */
    .mp-hero-features {
      position: absolute; right: 3%; top: 50%;
      transform: translateY(-50%);
      display: flex; gap: 18px; align-items: flex-end;
    }
    .mp-hero-feat-card {
      border-radius: 18px; overflow: hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,0.65), 0 0 36px rgba(139,92,246,0.28);
      border: 1px solid rgba(139,92,246,0.38);
    }
    .mp-hero-feat-card:first-child {
      width: 180px; margin-bottom: 20px;
      animation: floatHero1 4s ease-in-out infinite;
    }
    .mp-hero-feat-card:last-child {
      width: 200px;
      animation: floatHero2 4.5s ease-in-out infinite;
    }
    @keyframes floatHero1 { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
    @keyframes floatHero2 { 0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)} }
    .mp-hero-feat-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
    .mp-hero-feat-info { padding: 11px 13px; background: rgba(14,16,72,0.96); }
    .mp-hero-feat-name { font-weight: 700; color: #f0f1ff; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mp-hero-feat-price { font-size: 0.85rem; font-weight: 800; color: #8b5cf6; margin-top: 3px; }
    .feat-badge {
      position: absolute; top: 10px; left: 10px;
      background: linear-gradient(135deg,#f97316,#eab308);
      color: #000; font-size: 0.65rem; font-weight: 800;
      padding: 3px 9px; border-radius: 20px; text-transform: uppercase;
    }
    .feat-badge-hot {
      position: absolute; top: 10px; left: 10px;
      background: linear-gradient(135deg,#f43f5e,#f97316);
      color: #fff; font-size: 0.65rem; font-weight: 800;
      padding: 3px 9px; border-radius: 20px; text-transform: uppercase;
    }
    @media(max-width:900px){ .mp-hero-features { display: none; } .mp-hero h1 { font-size: 1.9rem; } }

    /* ── Live Stats Bar ───────────────────────────────────────────────── */
    .mp-stats-bar {
      background: rgba(14,16,72,0.92);
      border-bottom: 1px solid rgba(139,92,246,0.15);
      padding: 14px 24px;
      display: flex; gap: 0; overflow-x: auto; align-items: center;
    }
    .mp-stats-bar::-webkit-scrollbar { height: 0; }
    .mp-stat {
      display: flex; flex-direction: column; align-items: center; gap: 2px;
      flex-shrink: 0; padding: 0 28px;
      border-right: 1px solid rgba(139,92,246,0.1);
    }
    .mp-stat:last-child { border-right: none; }
    .mp-stat-val { font-size: 1.15rem; font-weight: 800; color: #f0f1ff; }
    .mp-stat-lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.07em; color: #8b89b8; font-weight: 600; }
    .mp-stat-change {
      font-size: 0.62rem; font-weight: 700;
      padding: 1px 5px; border-radius: 6px; margin-top: 1px;
    }
    .stat-up   { background: rgba(52,211,153,0.15); color: #34d399; }
    .stat-down { background: rgba(244,63,94,0.15);  color: #f43f5e; }
    .stat-zero { background: rgba(249,115,22,0.15); color: #f97316; }

    /* ── Top Collections Bar ─────────────────────────────────────────── */
    .mp-collections-bar {
      padding: 16px 24px;
      border-bottom: 1px solid rgba(139,92,246,0.1);
    }
    .collections-bar-title {
      font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; color: #8b89b8; margin-bottom: 10px;
    }
    .collections-scroll {
      display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
    }
    .collections-scroll::-webkit-scrollbar { height: 3px; }
    .collections-scroll::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }
    .coll-pill {
      display: flex; align-items: center; gap: 8px;
      padding: 6px 14px 6px 8px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(139,92,246,0.15);
      border-radius: 50px; cursor: pointer; flex-shrink: 0;
      transition: all 0.18s;
    }
    .coll-pill:hover, .coll-pill.active {
      background: rgba(139,92,246,0.15);
      border-color: rgba(139,92,246,0.4);
    }
    .coll-pill-img {
      width: 28px; height: 28px; border-radius: 50%;
      object-fit: cover; border: 1px solid rgba(139,92,246,0.2);
      background: linear-gradient(135deg,#8b5cf6,#22d3ee);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.7rem; font-weight: 800; color: #fff; flex-shrink: 0;
    }
    .coll-pill-name { font-size: 0.78rem; font-weight: 600; color: #c8c7e0; white-space: nowrap; }
    .coll-pill-floor { font-size: 0.68rem; color: #8b89b8; white-space: nowrap; }

    /* ── Main Layout ──────────────────────────────────────────────────── */
    .mp-main { display: flex; gap: 0; }
    .mp-sidebar {
      width: 256px; flex-shrink: 0;
      padding: 20px 18px;
      border-right: 1px solid rgba(139,92,246,0.12);
      position: sticky; top: 57px; height: calc(100vh - 57px);
      overflow-y: auto; background: rgba(8,10,46,0.5);
    }
    .mp-sidebar::-webkit-scrollbar { width: 3px; }
    .mp-sidebar::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }
    .mp-content { flex: 1; min-width: 0; padding: 22px 24px; }
    @media(max-width:900px){
      .mp-main { flex-direction: column; }
      .mp-sidebar {
        width: 80%; max-width: 320px;
        height: 100vh; position: fixed; top: 0; left: 0;
        border-right: none; transform: translateX(-100%);
        transition: transform 0.3s ease; z-index: 1001;
        background: rgba(8,10,46,0.98);
      }
      body.sidebar-open .mp-sidebar { transform: translateX(0); }
    }
    .filter-overlay {
      position: fixed; top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.55); z-index: 1000; display: none;
    }
    body.sidebar-open .filter-overlay { display: block; }
    .filter-toggle-btn {
      display: none;
      background: linear-gradient(135deg,#8b5cf6,#22d3ee);
      border: none; color: #fff; font-size: 0.82rem; font-weight: 600;
      padding: 7px 14px; border-radius: 10px; cursor: pointer;
    }
    @media(max-width:900px){ .filter-toggle-btn { display: inline-flex; align-items: center; gap: 6px; } }

    /* Accessibility */
    *:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }

    /* ── Sidebar Filters ──────────────────────────────────────────────── */
    .filter-section { margin-bottom: 22px; }
    .filter-title {
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; color: #8b89b8;
      margin-bottom: 10px; padding-bottom: 7px;
      border-bottom: 1px solid rgba(139,92,246,0.1);
      display: flex; align-items: center; justify-content: space-between;
    }
    .filter-section .filter-title {
      cursor: pointer;
      transition: color 0.2s;
    }
    .filter-section .filter-title:hover {
      color: #a78bfa;
    }
    .filter-section .filter-title i.bi-chevron-up,
    .filter-section .filter-title i.bi-chevron-down {
      margin-left: auto;
      transition: transform 0.2s;
    }
    .filter-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; }
    .filter-check input[type=checkbox] { accent-color: #8b5cf6; width: 14px; height: 14px; cursor: pointer; }
    .filter-check label { font-size: 0.82rem; color: #c8c7e0; cursor: pointer; flex: 1; }
    .filter-count {
      font-size: 0.7rem; color: #8b89b8;
      background: rgba(255,255,255,0.06);
      border-radius: 10px; padding: 1px 7px; min-width: 24px; text-align: center;
    }
    .price-inputs { display: flex; gap: 8px; margin-top: 8px; }
    .price-input {
      flex: 1; padding: 6px 10px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(139,92,246,0.2);
      border-radius: 8px; color: #f0f1ff; font-size: 0.82rem;
    }
    .price-input:focus { outline: none; border-color: #8b5cf6; }
    .price-slider { width: 100%; accent-color: #8b5cf6; margin: 8px 0; }
    .sort-select {
      width: 100%; padding: 7px 12px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(139,92,246,0.25);
      border-radius: 8px; color: #f0f1ff; font-size: 0.82rem;
    }
    .sort-select:focus { outline: none; border-color: #8b5cf6; }
    .filter-apply-btn {
      width: 100%; padding: 10px;
      background: linear-gradient(135deg,#8b5cf6,#7c3aed);
      border: none; border-radius: 10px;
      color: #fff; font-weight: 700; font-size: 0.84rem;
      cursor: pointer; transition: filter 0.18s;
    }
    .filter-apply-btn:hover { filter: brightness(1.15); }
    .filter-reset-btn {
      width: 100%; padding: 8px; margin-top: 6px;
      background: transparent;
      border: 1px solid rgba(139,92,246,0.22);
      border-radius: 10px; color: #8b89b8; font-size: 0.82rem;
      cursor: pointer; transition: border-color 0.18s, color 0.18s;
    }
    .filter-reset-btn:hover { border-color: #8b5cf6; color: #8b5cf6; }

    /* ── Category Tabs ────────────────────────────────────────────────── */
    .mp-tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; margin-bottom: 18px; }
    .mp-tabs::-webkit-scrollbar { height: 2px; }
    .mp-tab {
      padding: 7px 16px; border-radius: 10px;
      font-size: 0.82rem; font-weight: 600;
      color: #8b89b8; white-space: nowrap;
      background: transparent; border: 1px solid transparent;
      cursor: pointer; transition: all 0.18s;
    }
    .mp-tab:hover { color: #f0f1ff; background: rgba(139,92,246,0.08); }
    .mp-tab.active { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.4); color: #8b5cf6; }
    .mp-tab .tab-count {
      display: inline-block; background: rgba(139,92,246,0.22);
      border-radius: 10px; padding: 1px 7px;
      font-size: 0.68rem; margin-left: 4px; color: #8b5cf6;
    }

    /* ── View Toggle ──────────────────────────────────────────────────── */
    .view-toggle { display: flex; gap: 4px; }
    .view-btn {
      padding: 6px 10px; border-radius: 8px;
      background: transparent; border: 1px solid rgba(139,92,246,0.2);
      color: #8b89b8; cursor: pointer; transition: all 0.18s;
    }
    .view-btn.active, .view-btn:hover { background: rgba(139,92,246,0.15); color: #8b5cf6; border-color: rgba(139,92,246,0.4); }

    /* ── Auction Banner ───────────────────────────────────────────────── */
    .auctions-section { margin-bottom: 22px; }
    .auctions-title {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.07em; color: #f97316; margin-bottom: 12px;
    }
    .auctions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
    .auction-card {
      border-radius: 14px; overflow: hidden;
      background: rgba(20,22,80,0.8);
      border: 1px solid rgba(249,115,22,0.25);
      position: relative;
      transition: transform 0.22s, box-shadow 0.22s;
    }
    .auction-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(249,115,22,0.2); }
    .auction-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
    .auction-card-body { padding: 10px 12px; }
    .auction-card-name { font-size: 0.82rem; font-weight: 700; color: #f0f1ff; }
    .auction-card-price { font-size: 0.9rem; font-weight: 800; color: #f97316; }
    .auction-countdown {
      display: flex; align-items: center; gap: 6px;
      font-size: 0.72rem; color: #8b89b8; margin-top: 5px;
    }
    .countdown-clock {
      font-family: monospace; font-size: 0.78rem; font-weight: 700;
      color: #22d3ee;
    }
    .auction-badge {
      position: absolute; top: 8px; right: 8px;
      background: rgba(249,115,22,0.9);
      color: #fff; font-size: 0.62rem; font-weight: 800;
      padding: 2px 8px; border-radius: 20px; text-transform: uppercase;
    }

    /* ── Item Grid ────────────────────────────────────────────────────── */
    .items-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 18px;
    }
    .items-grid.list-view { grid-template-columns: 1fr; }

    /* ── NFT Card ─────────────────────────────────────────────────────── */
    .mp-nft-card {
      border-radius: 16px; overflow: hidden;
      background: rgba(20,22,80,0.78);
      border: 1px solid rgba(139,92,246,0.18);
      cursor: pointer; position: relative;
      transition: transform 0.22s cubic-bezier(0.4,0,0.2,1),
                  box-shadow 0.22s cubic-bezier(0.4,0,0.2,1),
                  border-color 0.22s;
      animation: fadeInCard 0.3s ease forwards;
    }
    @keyframes fadeInCard { from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)} }
    .mp-nft-card:hover {
      transform: translateY(-7px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 28px rgba(139,92,246,0.22);
      border-color: rgba(139,92,246,0.52);
    }
    .mp-nft-card .card-img-wrap { position: relative; overflow: hidden; }
    .mp-nft-card .card-img {
      width: 100%; aspect-ratio: 1/1; object-fit: cover;
      display: block; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .mp-nft-card:hover .card-img { transform: scale(1.07); }

    /* Card hover overlay with quick actions */
    .card-hover-overlay {
      position: absolute; inset: 0;
      background: rgba(8,10,46,0.7);
      display: flex; align-items: center; justify-content: center; gap: 10px;
      opacity: 0; transition: opacity 0.22s;
    }
    .mp-nft-card:hover .card-hover-overlay { opacity: 1; }
    .card-quick-btn {
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      display: flex; align-items: center; justify-content: center;
      color: #fff; cursor: pointer; transition: all 0.18s;
      transform: translateY(6px);
    }
    .mp-nft-card:hover .card-quick-btn { transform: translateY(0); }
    .card-quick-btn:hover { background: rgba(139,92,246,0.7); border-color: #8b5cf6; transform: scale(1.1) !important; }

    .mp-nft-card .card-collection-badge {
      position: absolute; top: 10px; left: 10px;
      background: rgba(8,10,46,0.82);
      border: 1px solid rgba(139,92,246,0.3);
      border-radius: 20px; padding: 3px 10px;
      font-size: 0.68rem; color: #c8c7e0; font-weight: 600;
      max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .mp-nft-card .card-like-btn {
      position: absolute; top: 10px; right: 10px;
      background: rgba(8,10,46,0.75); border: none; border-radius: 50%;
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      color: #8b89b8; cursor: pointer;
      transition: background 0.18s, color 0.18s, transform 0.18s; z-index: 2;
    }
    .mp-nft-card .card-like-btn:hover,
    .mp-nft-card .card-like-btn.liked { background: rgba(244,63,94,0.8); color: #fff; transform: scale(1.15); }
    .mp-nft-card .card-price-badge {
      position: absolute; bottom: 10px; left: 10px;
      background: rgba(8,10,46,0.88);
      border: 1px solid rgba(139,92,246,0.35);
      border-radius: 20px; padding: 4px 12px;
      font-size: 0.78rem; font-weight: 700; color: #8b5cf6;
    }
    /* Trending badge */
    .card-trending-badge {
      position: absolute; bottom: 10px; right: 10px;
      background: linear-gradient(135deg,#f43f5e,#f97316);
      color: #fff; font-size: 0.62rem; font-weight: 800;
      padding: 2px 8px; border-radius: 20px; text-transform: uppercase;
    }
    .mp-nft-card .card-body { padding: 12px 14px; }
    .mp-nft-card .card-name { font-size: 0.88rem; font-weight: 700; color: #f0f1ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mp-nft-card .card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
    .mp-nft-card .card-rarity { font-size: 0.7rem; font-weight: 600; }
    .rarity-common     { color: #9ca3af; }
    .rarity-uncommon   { color: #22d3ee; }
    .rarity-rare       { color: #3b82f6; }
    .rarity-epic       { color: #a78bfa; }
    .rarity-legendary  { background: linear-gradient(90deg,#f97316,#eab308); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
    .mp-nft-card .card-actions { display: flex; gap: 6px; padding: 0 14px 12px; }
    .card-action-btn {
      flex: 1; padding: 7px 0;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(139,92,246,0.2);
      border-radius: 8px; color: #c8c7e0;
      font-size: 0.76rem; font-weight: 600;
      cursor: pointer; transition: all 0.18s;
      display: flex; align-items: center; justify-content: center; gap: 4px;
    }
    .card-action-btn:hover { background: rgba(139,92,246,0.2); border-color: rgba(139,92,246,0.5); color: #f0f1ff; }
    .card-action-btn.buy-btn { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.35); color: #8b5cf6; }
    .card-action-btn.buy-btn:hover { background: #8b5cf6; color: #fff; }

    /* List view */
    .items-grid.list-view .mp-nft-card { display: flex; align-items: center; gap: 16px; padding: 12px; }
    .items-grid.list-view .mp-nft-card .card-img-wrap { width: 72px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
    .items-grid.list-view .mp-nft-card .card-img { aspect-ratio: 1/1; border-radius: 10px; }
    .items-grid.list-view .mp-nft-card .card-price-badge { display: none; }
    .items-grid.list-view .mp-nft-card .card-trending-badge { display: none; }
    .items-grid.list-view .mp-nft-card .card-hover-overlay { display: none; }
    .items-grid.list-view .mp-nft-card .card-actions { padding: 0; flex-shrink: 0; }

    /* ── Skeleton loading ─────────────────────────────────────────────── */
    .skeleton-card {
      border-radius: 16px; overflow: hidden;
      background: rgba(20,22,80,0.7);
      border: 1px solid rgba(139,92,246,0.1);
      animation: fadeInCard 0.3s ease forwards;
    }
    .skeleton-img { aspect-ratio: 1/1; background: linear-gradient(90deg, rgba(30,32,90,0.8) 0%, rgba(50,52,120,0.6) 50%, rgba(30,32,90,0.8) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
    .skeleton-body { padding: 12px 14px; }
    .skeleton-line { height: 10px; border-radius: 5px; background: linear-gradient(90deg, rgba(30,32,90,0.8) 0%, rgba(50,52,120,0.6) 50%, rgba(30,32,90,0.8) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; margin-bottom: 8px; }
    .skeleton-line.short { width: 60%; }
    @keyframes shimmer { 0%{background-position:200% 0}100%{background-position:-200% 0} }

    /* ── Empty State ──────────────────────────────────────────────────── */
    .mp-empty { grid-column: 1/-1; text-align: center; padding: 64px 0; }
    .mp-empty-icon { font-size: 3.5rem; color: #8b89b8; opacity: 0.3; }
    .mp-empty p { color: #8b89b8; margin-top: 16px; }
    .mp-empty-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 9px 20px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3); border-radius: 10px; color: #8b5cf6; font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: all 0.18s; }
    .mp-empty-cta:hover { background: rgba(139,92,246,0.22); }

    /* ── Load More ────────────────────────────────────────────────────── */
    .load-more-btn {
      display: block; width: 100%; max-width: 280px;
      margin: 32px auto 0; padding: 12px;
      background: rgba(139,92,246,0.1);
      border: 1px solid rgba(139,92,246,0.32);
      border-radius: 12px; color: #8b5cf6;
      font-weight: 700; font-size: 0.86rem;
      cursor: pointer; transition: all 0.22s; text-align: center;
    }
    .load-more-btn:hover { background: rgba(139,92,246,0.2); box-shadow: 0 4px 20px rgba(139,92,246,0.22); }

    /* ── Creator Spotlight ────────────────────────────────────────────── */
    .creators-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(139,92,246,0.1); }
    .creators-title {
      font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; color: #8b89b8; margin-bottom: 14px;
      display: flex; align-items: center; gap: 8px;
    }
    .creators-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .creator-card {
      border-radius: 14px; padding: 18px 16px; text-align: center;
      background: rgba(20,22,80,0.7);
      border: 1px solid rgba(139,92,246,0.15);
      transition: all 0.22s; cursor: pointer;
    }
    .creator-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.45); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
    .creator-avatar {
      width: 56px; height: 56px; border-radius: 50%;
      margin: 0 auto 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; font-weight: 900; color: #fff;
      border: 2px solid rgba(139,92,246,0.3);
    }
    .creator-name { font-size: 0.86rem; font-weight: 700; color: #f0f1ff; }
    .creator-stats { font-size: 0.72rem; color: #8b89b8; margin-top: 4px; }
    .creator-vol { font-size: 0.8rem; font-weight: 800; color: #8b5cf6; margin-top: 6px; }
    .creator-follow-btn {
      margin-top: 10px; padding: 5px 16px;
      background: rgba(139,92,246,0.12);
      border: 1px solid rgba(139,92,246,0.3);
      border-radius: 20px; color: #8b5cf6;
      font-size: 0.76rem; font-weight: 600; cursor: pointer;
      transition: all 0.18s;
    }
    .creator-follow-btn:hover { background: rgba(139,92,246,0.25); }

    /* ── Quick-View Modal ─────────────────────────────────────────────── */
    .qv-modal-content {
      background: #0c0e46 !important;
      border: 1px solid rgba(139,92,246,0.35) !important;
      border-radius: 22px !important;
      box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 60px rgba(139,92,246,0.15) !important;
    }
    .qv-img-wrap {
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 16px 48px rgba(0,0,0,0.5); position: relative;
      background: rgba(0,0,0,0.3);
      display: flex; align-items: center; justify-content: center;
      width: 280px; height: 280px;
      flex-shrink: 0;
      border: 1px solid rgba(139,92,246,0.15);
    }
    .qv-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
    .qv-price { font-size: 1.8rem; font-weight: 900; color: #8b5cf6; }
    .qv-attr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
    .qv-attr {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(139,92,246,0.15);
      border-radius: 10px; padding: 8px 12px; text-align: center;
      transition: border-color 0.18s;
    }
    .qv-attr:hover { border-color: rgba(139,92,246,0.35); }
    .qv-attr-name  { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em; color: #8b89b8; font-weight: 700; }
    .qv-attr-value { font-size: 0.88rem; font-weight: 700; color: #f0f1ff; margin-top: 2px; }
    .buy-flow { margin-top: 18px; }
    .buy-flow-step { display: none; }
    .buy-flow-step.active { display: block; animation: fadeInCard 0.28s ease; }
    .offer-input {
      width: 100%; padding: 12px 16px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(139,92,246,0.25);
      border-radius: 10px; color: #f0f1ff;
      font-size: 1.1rem; font-weight: 700; text-align: right;
    }
    .offer-input:focus { outline: none; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }
    .tx-receipt {
      background: rgba(52,211,153,0.07);
      border: 1px solid rgba(52,211,153,0.2);
      border-radius: 12px; padding: 14px; margin-top: 12px;
    }
    .tx-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.78rem; }
    .tx-label { color: #8b89b8; }
    .tx-val { color: #f0f1ff; font-family: monospace; font-size: 0.72rem; }

    /* ── Result count ─────────────────────────────────────────────────── */
    .result-count { font-size: 0.8rem; color: #8b89b8; }

    /* ── Floating Action Bar ──────────────────────────────────────────── */
    .mp-fab {
      position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 10px; z-index: 50;
      background: rgba(14,16,72,0.95);
      border: 1px solid rgba(139,92,246,0.28);
      border-radius: 50px; padding: 8px 16px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.55);
      backdrop-filter: blur(20px);
    }
    .fab-btn {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 18px; border-radius: 40px;
      font-size: 0.82rem; font-weight: 700;
      border: none; cursor: pointer; transition: all 0.2s;
    }
    .fab-btn-primary { background: linear-gradient(135deg,#8b5cf6,#7c3aed); color: #fff; }
    .fab-btn-primary:hover { filter: brightness(1.15); transform: translateY(-1px); }
    .fab-btn-ghost { background: rgba(255,255,255,0.06); color: #c8c7e0; border: 1px solid rgba(139,92,246,0.2); }
    .fab-btn-ghost:hover { background: rgba(139,92,246,0.15); color: #8b5cf6; }

    /* ── Toast ────────────────────────────────────────────────────────── */
    #mp-toast-container {
      position: fixed; bottom: 80px; right: 24px;
      z-index: 9999; display: flex; flex-direction: column; gap: 8px;
    }
    .mp-toast {
      background: rgba(14,16,72,0.97);
      border: 1px solid rgba(139,92,246,0.4);
      border-radius: 12px; padding: 12px 18px;
      color: #f0f1ff; font-size: 0.85rem;
      display: flex; align-items: center; gap: 10px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.5);
      animation: slideInRight 0.3s ease;
      max-width: 320px; opacity: 1; transition: opacity 0.5s;
    }
    @keyframes slideInRight { from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1} }
    .mp-toast.success { border-color: rgba(52,211,153,0.5); }
    .mp-toast.danger  { border-color: rgba(244,63,94,0.5); }
    .mp-toast.warning { border-color: rgba(251,191,36,0.5); }
