/* ─────────────────────────────────────────────────────────────
   BloxCartel shop theme — loaded last on the game shop pages.
   Re-skins the existing markup with the brand tokens and the
   "block" look: things sit on a thick edge and press down.
   ───────────────────────────────────────────────────────────── */
html:root{
  --bg:#15102e;--surface:#1b1539;--card:#211a44;--card2:#2a2153;
  --border:#2c2358;--border2:#3a2e70;--border-hover:#4a3b8a;
  --accent:#7c3aed;--accent-h:#b69cff;--accent-dark:#4c1d95;
  --accent-glow:rgba(124,58,237,.35);--accent-soft:rgba(124,58,237,.16);
  --text:#f6f2ff;--text2:#c9c0ea;--muted:#9a90c2;--muted2:#a99fd0;
  --green:#3ee0a0;--green-l:rgba(62,224,160,.14);
  --r:14px;--r-lg:22px;
  --edge:#0d0920;--sun:#ffc93c;--mint:#3ee0a0;
  --display:'Fredoka','Inter',ui-rounded,system-ui,sans-serif;
}
html,html body{background:var(--bg)!important;color:var(--text)!important}
html body{font-family:'Outfit','Inter',system-ui,sans-serif;
  background-image:radial-gradient(rgba(196,181,253,.07) 1px,transparent 1.2px)!important;background-size:26px 26px!important;background-attachment:fixed!important}

/* Loader is gone — content shows immediately */
#bc-loader{display:none!important}

/* ── Header ─────────────────────────────────────────────── */
html body .site-header{background:rgba(21,16,46,.8)!important;border-bottom:1px solid rgba(196,181,253,.14)!important;backdrop-filter:blur(14px)}
html body .site-header .logo{font-family:var(--display);font-weight:700;font-size:1.5rem;letter-spacing:-.01em;color:var(--text)}
html body .site-header .logo span{color:var(--accent-h)}
html body .header-icon-btn,html body .nav-vouch-btn,html body .nav-track-btn{background:var(--card)!important;border:1px solid var(--border2)!important;color:var(--text2)!important;border-radius:12px!important;box-shadow:0 3px 0 var(--edge);transition:transform .12s,box-shadow .12s,color .15s!important}
html body .header-icon-btn:hover,html body .nav-vouch-btn:hover,html body .nav-track-btn:hover{color:var(--text)!important}
html body .header-icon-btn:active,html body .nav-vouch-btn:active,html body .nav-track-btn:active{transform:translateY(3px);box-shadow:0 0 0 var(--edge)}
html body .cart-btn{background:var(--accent)!important;border-radius:12px!important;box-shadow:0 4px 0 var(--accent-dark)!important;font-weight:700;transition:transform .12s,box-shadow .12s,background .15s!important}
html body .cart-btn:hover{background:#8b4dff!important}
html body .cart-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--accent-dark)!important}
html body .cart-count{background:var(--sun)!important;color:#2a1a00!important;font-weight:800}
.cart-count.bc-bump,.ch-cnt.bc-bump{animation:bcBump .5s cubic-bezier(.3,1.6,.4,1)}
.cart-btn.bc-catch{animation:bcCatch .45s cubic-bezier(.3,1.6,.4,1)}
html body .ci-img.bc-land,html body .ci.bc-land{animation:bcBump .45s cubic-bezier(.3,1.6,.4,1)}
@keyframes bcBump{0%{transform:scale(1)}35%{transform:scale(1.55)}100%{transform:scale(1)}}
@keyframes bcCatch{0%{transform:translateY(0)}30%{transform:translateY(3px) scale(.96)}100%{transform:translateY(0)}}

/* ── New hero ───────────────────────────────────────────── */
.bc-hero{position:relative;padding:124px 0 40px;overflow:hidden}
.bc-hero::before{content:"";position:absolute;right:-180px;top:-160px;width:720px;height:720px;background:radial-gradient(circle,rgba(139,92,246,.33),transparent 62%);pointer-events:none}
.bc-hero-in{position:relative;width:min(1100px,100% - 40px);margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.bc-crumb{display:inline-flex;align-items:center;gap:6px;color:var(--muted2);text-decoration:none;font-weight:600;font-size:.92rem;margin-bottom:18px}
.bc-crumb:hover{color:var(--text)}
.bc-hero h1{font-family:var(--display);font-weight:700;font-size:clamp(2.4rem,5.2vw,4.1rem);line-height:1.02;letter-spacing:-.01em;margin:0 0 18px;color:var(--text)}
.bc-hero p.bc-lede{font-size:1.12rem;line-height:1.6;color:var(--text2);max-width:32rem;margin:0 0 28px}
.bc-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.bc-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.bc-facts li{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:var(--card);border:1px solid var(--border2);color:var(--text2);font-weight:600;font-size:.88rem}
.bc-facts li i{width:8px;height:8px;border-radius:50%;background:var(--mint);flex:none}
.bc-art{position:relative;justify-self:center;width:min(340px,100%);aspect-ratio:1/1}
.bc-art .bc-tile{position:absolute;inset:0;border-radius:28px;overflow:hidden;background:var(--card);border:2px solid var(--border2);box-shadow:0 10px 0 var(--edge),0 40px 80px -30px rgba(124,58,237,.6);transform:rotate(4deg)}
.bc-art .bc-tile img{width:100%;height:100%;object-fit:cover;display:block}
.bc-art .bc-under{position:absolute;inset:18px -14px -14px 18px;border-radius:28px;background:var(--accent);box-shadow:0 10px 0 var(--accent-dark);transform:rotate(-5deg)}
.bc-art .bc-sticker{position:absolute;left:-18px;bottom:30px;z-index:2;background:var(--sun);color:#2a1a00;font-family:var(--display);font-weight:700;font-size:1.05rem;padding:12px 18px;border-radius:16px;box-shadow:0 5px 0 #b8860b;transform:rotate(-6deg)}
.bc-hero .bc-enter{animation:bcRise .7s cubic-bezier(.2,.9,.25,1) both}
.bc-hero .bc-enter:nth-child(2){animation-delay:.06s}.bc-hero .bc-enter:nth-child(3){animation-delay:.12s}.bc-hero .bc-enter:nth-child(4){animation-delay:.18s}.bc-hero .bc-enter:nth-child(5){animation-delay:.24s}
.bc-hero .bc-art{animation:bcDrop .9s .15s cubic-bezier(.2,.9,.25,1.25) both}
.bc-hero .bc-sticker{animation:bcStick .5s .75s cubic-bezier(.3,1.6,.4,1) both}
@keyframes bcRise{from{opacity:0;transform:translateY(18px)}}
@keyframes bcDrop{from{opacity:0;transform:translateY(40px) rotate(-8deg) scale(.9)}}
@keyframes bcStick{from{opacity:0;transform:rotate(-30deg) scale(.4)}}
@media(max-width:860px){.bc-hero{padding:96px 0 34px}.bc-hero-in{grid-template-columns:1fr;gap:34px}.bc-art{width:min(300px,78%);order:-1;aspect-ratio:5/4}}
@media(max-width:480px){.bc-art{width:72%}.bc-art .bc-sticker{font-size:.92rem;padding:9px 14px;left:-10px}}

/* Block buttons (namespaced so they don't clash with the page's .btn) */
.bcb{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:700 1.02rem/1 'Outfit','Inter',sans-serif;padding:16px 24px;border-radius:15px;border:0;cursor:pointer;text-decoration:none;color:#fff;background:var(--accent);box-shadow:0 5px 0 var(--accent-dark);transition:transform .12s,box-shadow .12s,background .15s}
.bcb:hover{background:#8b4dff}
.bcb:active{transform:translateY(4px);box-shadow:0 1px 0 var(--accent-dark)}
.bcb:focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.bcb.ghost{background:var(--card);color:var(--text);border:1px solid var(--border2);box-shadow:0 5px 0 var(--edge)}
.bcb.ghost:hover{background:var(--card2)}
.bcb.ghost:active{box-shadow:0 1px 0 var(--edge)}

/* ── Shop grid ──────────────────────────────────────────── */
html body #shop{background:transparent!important;padding-top:0!important}
html body .sp-shop-wrap{padding-top:8px!important}
html body #spFilterBar{background:rgba(33,26,68,.75)!important;border:1px solid var(--border2)!important;border-radius:18px!important;padding:10px!important;gap:8px!important;backdrop-filter:blur(12px)}
@media(min-width:760px){html body #spFilterBar{position:sticky;top:66px;z-index:20}}
html body .sp-filt-btn{background:transparent!important;border:1px solid transparent!important;color:var(--text2)!important;border-radius:11px!important;font-weight:700!important;padding:9px 15px!important;box-shadow:none!important;transition:background .15s,color .15s,transform .12s!important}
html body .sp-filt-btn:hover{background:var(--card2)!important;color:var(--text)!important}
html body .sp-filt-btn.active{background:var(--accent)!important;color:#fff!important;box-shadow:0 3px 0 var(--accent-dark)!important}
html body .sp-filt-btn:active{transform:translateY(2px)}

html body #spUnifiedGrid{gap:18px!important}
html body #spUnifiedGrid > .icard,html body .icard{background:var(--card)!important;border:2px solid var(--border2)!important;border-radius:20px!important;box-shadow:0 6px 0 var(--edge)!important;transition:transform .18s,box-shadow .18s,border-color .18s!important}
html body #spUnifiedGrid > .icard:hover,html body .icard:hover{transform:translateY(-3px)!important;box-shadow:0 9px 0 var(--edge)!important;border-color:var(--border-hover)!important}
html body #spUnifiedGrid > .icard.bc-has-pick,html body .icard.bc-has-pick{border-color:var(--accent)!important}
html body .icard-img{height:150px!important;border-bottom:0!important;background:radial-gradient(circle at 50% 60%,rgba(139,92,246,.28),transparent 70%),var(--card2)!important;position:relative}
html body .icard-img img{object-fit:contain!important;padding:10px;transition:transform .35s cubic-bezier(.2,.9,.25,1.3)}
html body .icard:hover .icard-img img{transform:scale(1.07) rotate(-2deg)}
html body .icard-body{padding:14px 14px 0!important}
html body .icard-cat{color:var(--accent-h)!important;text-transform:none!important;letter-spacing:0!important;font-size:.78rem!important;font-weight:700!important}
html body .icard-name{font-family:var(--display)!important;font-weight:600!important;font-size:1.08rem!important;color:var(--text)!important}
html body .icard-desc{color:var(--muted2)!important;font-weight:500!important;font-size:.82rem!important}
html body .icard-tiers{gap:6px!important}
html body .icard-tier{background:var(--card2)!important;border:1px solid var(--border2)!important;border-radius:11px!important;box-shadow:0 3px 0 var(--edge)!important;padding:7px 10px!important;transition:transform .1s,box-shadow .1s,background .15s,border-color .15s!important}
html body .icard-tier:hover{border-color:var(--border-hover)!important;background:#31275f!important}
html body .icard-tier:active{transform:translateY(3px)!important;box-shadow:0 0 0 var(--edge)!important}
html body .icard-tier.selected{background:var(--accent)!important;border-color:var(--accent)!important;box-shadow:0 3px 0 var(--accent-dark)!important;animation:bcPick .35s cubic-bezier(.3,1.6,.4,1)}
html body .icard-tier-label{color:var(--text2)!important;font-weight:700!important}
html body .icard-tier-price{font-family:var(--display)!important;font-weight:700!important;color:var(--sun)!important}
html body .icard-tier.selected .icard-tier-label,html body .icard-tier.selected .icard-tier-price{color:#fff!important}
@keyframes bcPick{0%{transform:scale(1)}40%{transform:scale(1.1)}100%{transform:scale(1)}}
html body .icard-footer{padding:4px 14px 14px!important}
html body .icard-add{border-radius:13px!important;padding:12px!important;font-size:.9rem!important;font-weight:700!important;background:var(--card2)!important;color:var(--muted)!important;border:1px solid var(--border2)!important;box-shadow:none!important}
html body .icard-add.ready{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;box-shadow:0 4px 0 var(--accent-dark)!important;transition:transform .12s,box-shadow .12s!important}
html body .icard-add.ready:hover{transform:none!important;background:#8b4dff!important}
html body .icard-add.ready:active{transform:translateY(3px)!important;box-shadow:0 1px 0 var(--accent-dark)!important}
html body .icard-more{border-radius:11px!important;border:1px dashed var(--border2)!important;color:var(--text2)!important}

@media(max-width:600px){
  html body #spUnifiedGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body #spUnifiedGrid > .icard{max-width:none!important;min-width:0!important}
  html body .icard-img{height:118px!important}
  html body .icard-body{padding:11px 11px 0!important}
  html body .icard-name{font-size:.98rem!important;overflow-wrap:anywhere}
  html body .icard-tier{flex:1 1 auto;min-width:0;padding:6px 7px!important}
  html body .icard-tier-label{font-size:.68rem!important;white-space:normal!important;overflow-wrap:anywhere}
  html body .icard-footer{padding:4px 11px 11px!important}
  html body .icard-add{font-size:.82rem!important;padding:11px 6px!important;line-height:1.25}
}
/* Cards entering after a filter change (answers the click) */
.icard.bc-in{animation:bcCardIn .42s cubic-bezier(.2,.9,.25,1.15) both}
@keyframes bcCardIn{from{opacity:0;transform:translateY(14px) scale(.96)}}

/* Item flying into the cart */
.bc-fly{position:fixed;z-index:2147483000;pointer-events:none;border-radius:14px;object-fit:contain;background:var(--card2);box-shadow:0 10px 30px rgba(0,0,0,.45);will-change:transform,opacity}

/* ── Cart / checkout sheet ─────────────────────────────── */
html body .ms{background:#1b1539!important;border:1px solid var(--border2)!important;box-shadow:0 30px 80px rgba(0,0,0,.6)!important}
html body .mo{background:rgba(10,7,25,.62)!important;backdrop-filter:blur(6px)}
html body .mo.open .ms{animation:bcSheet .45s cubic-bezier(.2,.9,.25,1.1)}
@keyframes bcSheet{from{opacity:0;transform:translateY(40px) scale(.97)}}
html body .ms h2{font-family:var(--display)!important;font-weight:700!important}
html body #checkoutBtn,html body #coPayBtn{border-radius:15px!important;box-shadow:0 5px 0 var(--accent-dark)!important;transition:transform .12s,box-shadow .12s!important}
html body #checkoutBtn:active:not(:disabled),html body #coPayBtn:active:not(:disabled){transform:translateY(4px)!important;box-shadow:0 1px 0 var(--accent-dark)!important}
html body .ci{border-radius:14px}
html body .c-totals,html body .ms .c-totals{background:transparent!important;border-top:1px solid var(--border2)!important}
html body .c-actions,html body .ms .c-actions,html body .co-bar,html body .co-footer{background:transparent!important}
html body .c-checkout-btn{font-family:var(--display)!important;font-weight:700!important;font-size:1.1rem!important}
html body .ci-price{color:var(--sun)!important}
html body #order-confirmation>div{animation:bcSheet .5s cubic-bezier(.2,.9,.25,1.15)}

/* ── Lower sections ─────────────────────────────────────── */
html body #sp-vouches{background:transparent!important}
html body #sp-vouches h2,html body .section h2,html body .section-title{font-family:var(--display)!important;font-weight:700!important;letter-spacing:-.01em!important}
html body .section{background:transparent!important}
html body .how-section,html body #why-us{background:linear-gradient(180deg,transparent,rgba(34,26,69,.55) 25%,rgba(34,26,69,.55) 75%,transparent)!important}
html body footer{background:transparent!important;border-top:1px solid rgba(196,181,253,.14)!important}

@media (prefers-reduced-motion: reduce){
  .bc-hero *, .icard, .icard *, .bc-fly, .ms, .cart-count, .cart-btn{animation:none!important;transition:none!important}
}

/* Item names link to their own pages */
html body .icard-link{color:inherit;text-decoration:none}
html body .icard-link:hover{text-decoration:underline;text-decoration-color:var(--accent-h)}
html body .icard-link:focus-visible{outline:3px solid var(--sun);outline-offset:2px;border-radius:6px}
/* Arriving from a product page: the chosen item is pointed out */
html body #spUnifiedGrid > .icard.bc-spot{border-color:var(--sun)!important;animation:bcSpot 1.6s ease-out 2}
@keyframes bcSpot{0%{box-shadow:0 6px 0 var(--edge),0 0 0 0 rgba(255,201,60,.7)}100%{box-shadow:0 6px 0 var(--edge),0 0 0 18px rgba(255,201,60,0)}}

/* Guides list at the bottom of each shop */
.bc-guides{padding:56px 20px 30px}
.bc-guides-in{max-width:1100px;margin:0 auto}
.bc-guides h2{font-family:var(--display);font-weight:700;font-size:1.7rem;color:var(--text);margin:0 0 16px}
.bc-guides ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}
.bc-guides li a{display:block;padding:14px 16px;border-radius:14px;background:var(--card);border:1px solid var(--border2);color:var(--text2);text-decoration:none;font-weight:600;line-height:1.35}
.bc-guides li a:hover{color:var(--text);border-color:var(--border-hover)}
.bc-guides p{margin:16px 0 0}
.bc-guides p a{color:var(--accent-h);font-weight:700}
