/* SLW Black Glass 3D — sandbox preview shell. The page art IS the design
   (pixel-exact from the approved PNGs); this shell adds navigation, hotspots,
   search, and the sandbox banner. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #030407; }
body {
  background: #030407;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

/* ---- sandbox banner + nav ---- */
.sandbox-bar {
  position: sticky; top: 0; z-index: 100; min-height: 46px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 6px 16px;
  background: linear-gradient(180deg, #12081f 0%, #0a0512 100%);
  border-bottom: 1px solid #3b1d6e;
  box-shadow: 0 2px 18px rgba(88, 28, 175, 0.35);
  font-size: 11.5px; letter-spacing: 0.06em;
}
.sandbox-bar .tag {
  color: #e9d5ff; font-weight: 700;
}
.sandbox-bar .tag span { color: #a78bfa; font-weight: 400; }
.sandbox-bar nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; }
.sandbox-bar nav a {
  color: #cbd5e1; text-decoration: none; font-weight: 600; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 8px; font-size: 10.5px; text-transform: uppercase;
}
.sandbox-bar nav a:hover { background: rgba(139, 92, 246, 0.18); color: #fff; }
.sandbox-bar nav a.on { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); }

/* ---- art pages (pixel-exact image + hotspot overlays) ---- */
.art-wrap { display: flex; justify-content: center; padding: 18px 10px 40px; }
.art-page { position: relative; width: 100%; }
.art-page > img { display: block; width: 100%; height: auto; }
.hot {
  position: absolute; display: block; border-radius: 14px;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.hot:hover, .hot:focus-visible {
  background: rgba(148, 190, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(126, 170, 255, 0.55), 0 0 26px rgba(97, 145, 255, 0.35);
  outline: none;
}

/* ---- VIP Vault native grid page ---- */
.vip-shell { max-width: 1080px; margin: 0 auto; padding: 18px 14px 56px; }
.vip-head { position: relative; }
.vip-head img { display: block; width: 100%; height: auto; }
.vip-search {
  position: absolute; left: 4.6%; top: 81%; width: 34.5%; height: 15.5%;
  background: transparent; border: 0; color: #e5e7eb;
  font: 500 clamp(11px, 1.35vw, 15px) 'Inter', sans-serif;
  padding-left: 8.5%; letter-spacing: 0.02em;
}
.vip-search:focus { outline: none; }
.vip-search::placeholder { color: transparent; }
.vip-count {
  color: #9aa3b2; font-size: 11.5px; letter-spacing: 0.28em; font-weight: 600;
  margin: 14px 2px 10px; text-transform: uppercase;
}
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
.vip-grid a { display: block; border-radius: 18px; transition: transform .18s ease, filter .18s ease; }
.vip-grid a:hover { transform: translateY(-3px); filter: brightness(1.12) drop-shadow(0 0 18px rgba(110,160,255,.25)); }
.vip-grid img { display: block; width: 100%; height: auto; }
.vip-grid a.hidden { display: none; }
@media (max-width: 760px) { .vip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .vip-grid { grid-template-columns: 1fr; } }

/* ---- drawer (accordion sections on profile pages) ---- */
.drawer-veil {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(2, 3, 8, 0.75); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 24px;
}
.drawer-veil.open { display: flex; }
.drawer {
  width: min(660px, 94vw); border-radius: 22px; padding: 2px;
  background: linear-gradient(160deg, rgba(167, 122, 255, 0.65), rgba(30, 41, 59, 0.4) 45%, #0b0f1a);
  box-shadow: 0 0 60px rgba(120, 80, 255, 0.25);
}
.drawer > div {
  border-radius: 20px; padding: 26px 30px;
  background: linear-gradient(150deg, #0d1117 0%, #05070c 100%);
}
.drawer h3 {
  font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 800; letter-spacing: 0.12em;
  font-size: 18px; text-transform: uppercase; margin-bottom: 6px;
  background: linear-gradient(180deg, #fff, #94a3b8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.drawer p { color: #94a3b8; font-size: 14px; line-height: 1.65; margin-top: 10px; }
.drawer .close {
  float: right; cursor: pointer; border: 1px solid #334155; background: #0f172a; color: #cbd5e1;
  border-radius: 999px; width: 30px; height: 30px; font-size: 15px;
}
.drawer .close:hover { color: #fff; border-color: #64748b; }

/* ---- toast ---- */
#toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  z-index: 300; opacity: 0; pointer-events: none; transition: all 0.28s ease;
  background: linear-gradient(180deg, #191033, #0c0819);
  border: 1px solid #6d28d9; border-radius: 999px; padding: 11px 22px;
  color: #e9d5ff; font-size: 13px; letter-spacing: 0.03em;
  box-shadow: 0 8px 34px rgba(109, 40, 217, 0.45);
  max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
