/* Black Friday FX: every class is prefixed with bfx- so it never touches the theme. */
:root{--bfx-op:.8}

/* ---------- Looks (colour variables) ---------- */
.bfx-look-gold,.bfx-layer.bfx-gold{--bg1:#09090b;--bg2:#1d1608;--ac:#f5c242;--ac2:#ff9d00;--cta1:#ffd35c;--cta2:#e09a00;--on-cta:#141008;--glow:245,194,66;--glow2:255,157,0}
.bfx-look-neon,.bfx-layer.bfx-neon{--bg1:#080512;--bg2:#220a3a;--ac:#ff4fb0;--ac2:#00e5ff;--cta1:#ff5cb8;--cta2:#d4177f;--on-cta:#fff;--glow:255,63,164;--glow2:0,229,255}
.bfx-look-red,.bfx-layer.bfx-red{--bg1:#120608;--bg2:#3b0a12;--ac:#ff6b73;--ac2:#ffffff;--cta1:#ff4d5a;--cta2:#c4101f;--on-cta:#fff;--glow:255,70,85;--glow2:255,255,255}

.bfx-layer{position:fixed;inset:0;pointer-events:none!important;z-index:99990;overflow:hidden}
.bfx-layer *{pointer-events:none!important}
.bfx-png{opacity:var(--bfx-op);transition:opacity .35s}
.bfx-png.bfx-near{opacity:.18}
.bfx-layer img{max-width:100%;height:auto;display:block;border:0;box-shadow:none}

/* ---------- Banner ---------- */
.bfx-banner{position:relative;z-index:99995;overflow:hidden;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.3;
  background:radial-gradient(circle at 15% 50%,rgba(var(--glow),.28),transparent 30%),radial-gradient(circle at 85% 50%,rgba(var(--glow2),.22),transparent 35%),linear-gradient(90deg,var(--bg1),var(--bg2) 50%,var(--bg1))}
.bfx-banner::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.12) 50%,transparent 60%);animation:bfx-shine 4.5s infinite}
@keyframes bfx-shine{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.bfx-b-in{position:relative;z-index:1;max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:center;gap:10px 22px;padding:11px 48px;flex-wrap:wrap}
.bfx-b-title{font-family:Impact,"Arial Black","Segoe UI Black",system-ui,sans-serif;font-weight:900;text-transform:uppercase;font-size:24px;letter-spacing:1.5px;color:var(--ac);text-shadow:0 0 14px rgba(var(--glow),.65);line-height:1}
.bfx-b-text{font-size:14px;opacity:.92}
.bfx-banner .bfx-code{all:unset;box-sizing:border-box;border:1px dashed rgba(var(--glow),.85);border-radius:6px;padding:3px 9px;font:700 13px/1.4 system-ui,sans-serif;letter-spacing:1px;color:var(--ac);cursor:pointer;background:rgba(var(--glow),.1)}
.bfx-banner .bfx-code.bfx-copied{background:var(--ac);color:var(--on-cta)}
.bfx-count{display:flex;gap:6px;font-variant-numeric:tabular-nums}
.bfx-count span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:3px 7px;font-size:13px;font-weight:700;min-width:38px;text-align:center;line-height:1.2}
.bfx-count small{display:block;font-size:9px;font-weight:400;opacity:.7;text-transform:uppercase}
.bfx-banner .bfx-cta{background:linear-gradient(180deg,var(--cta1),var(--cta2));color:var(--on-cta)!important;text-decoration:none!important;font-weight:800;font-size:13px;padding:9px 18px;border-radius:999px;animation:bfx-pulse 2.2s infinite;white-space:nowrap}
@keyframes bfx-pulse{0%{box-shadow:0 0 0 0 rgba(var(--glow),.6)}70%{box-shadow:0 0 0 12px rgba(var(--glow),0)}100%{box-shadow:0 0 0 0 rgba(var(--glow),0)}}
.bfx-banner .bfx-x{all:unset;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:2;color:#fff;font-size:22px;line-height:1;cursor:pointer;opacity:.65;padding:4px}
.bfx-banner .bfx-x:hover{opacity:1}

/* ---------- String lights ---------- */
.bfx-lights{position:absolute;top:0;left:0;width:100%;height:60px}
.bfx-lights svg{width:100%;height:100%;display:block}
.bfx-lights .bfx-bulb{animation:bfx-twinkle 2.4s ease-in-out infinite}

/* ---------- Spotlights ---------- */
.bfx-beams{position:absolute;top:0;left:0;right:0}
.bfx-beam{position:absolute;top:0;width:340px;height:100vh;transform-origin:50% 0;clip-path:polygon(46% 0,54% 0,100% 100%,0 100%);
  background:linear-gradient(to bottom,rgba(var(--glow),.2),rgba(var(--glow),.05) 55%,transparent 90%)}
.bfx-beam.bfx-l{left:4%;animation:bfx-beam-l 9s ease-in-out infinite alternate}
.bfx-beam.bfx-r{right:4%;animation:bfx-beam-r 11s ease-in-out infinite alternate}
@keyframes bfx-beam-l{from{transform:rotate(-24deg)}to{transform:rotate(16deg)}}
@keyframes bfx-beam-r{from{transform:rotate(24deg)}to{transform:rotate(-16deg)}}

/* ---------- Hanging price tags (thread length is driven by JS) ---------- */
.bfx-tag{position:absolute;top:0;width:0;transform-origin:top center;animation:bfx-sway var(--sw,5s) ease-in-out infinite}
.bfx-tag .bfx-thread{position:absolute;left:0;top:0;width:1px;height:60px;background:linear-gradient(rgba(150,150,160,.2),rgba(210,210,220,.8))}
.bfx-tag .bfx-tbody{position:absolute;left:0;top:60px;width:var(--sz,52px);transform:translate(-50%,-4px)}
.bfx-tag svg{display:block;width:100%;overflow:visible}
.bfx-tagb{fill:var(--ac);stroke:rgba(0,0,0,.35);stroke-width:1.5}
.bfx-tagh{fill:var(--bg1);stroke:rgba(0,0,0,.4);stroke-width:1}
.bfx-tagt{fill:var(--on-cta);font-family:Impact,"Arial Black",system-ui,sans-serif;font-weight:900;text-anchor:middle}
@keyframes bfx-sway{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}

/* ---------- Bags ---------- */
.bfx-bag{position:absolute;bottom:-4px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.3))}
.bfx-bag.bfx-l{left:8px;width:130px;animation:bfx-bob 3.8s ease-in-out infinite}
.bfx-bag.bfx-r{right:8px;width:100px;animation:bfx-bob 4.4s ease-in-out infinite reverse}
.bfx-bagbody{fill:var(--bg1);stroke:var(--ac);stroke-width:3}
.bfx-baghandle{fill:none;stroke:var(--ac);stroke-width:5;stroke-linecap:round}
.bfx-bagbadge{fill:var(--ac)}
.bfx-bagtxt{fill:var(--on-cta);font-family:Impact,"Arial Black",system-ui,sans-serif;font-weight:900;text-anchor:middle}
.bfx-bagline{stroke:var(--ac);stroke-width:2;opacity:.5}
@keyframes bfx-bob{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-7px) rotate(1.5deg)}}

/* ---------- Balloons ---------- */
.bfx-balloon{position:absolute;top:0;left:0;width:46px;opacity:0;animation:bfx-rise linear infinite;will-change:transform}
.bfx-balloon svg{display:block;width:100%;overflow:visible;animation:bfx-wob 3.2s ease-in-out infinite alternate}
.bfx-balloon text{fill:#fff;font-family:Impact,"Arial Black",system-ui,sans-serif;font-weight:900;text-anchor:middle}
@keyframes bfx-rise{0%{transform:translate(0,108vh);opacity:0}8%{opacity:var(--bfx-op)}90%{opacity:var(--bfx-op)}100%{transform:translate(var(--dx),-35vh);opacity:0}}
@keyframes bfx-wob{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}

/* ---------- Confetti ---------- */
.bfx-conf{position:absolute;top:-30px;animation:bfx-fall linear infinite}
.bfx-conf.bfx-pct{font:900 16px/1 Impact,"Arial Black",system-ui,sans-serif}
@keyframes bfx-fall{0%{transform:translate(0,0) rotate(0)}100%{transform:translate(var(--dx),112vh) rotate(var(--rot))}}

/* ---------- Sparkles ---------- */
.bfx-star{position:absolute;width:4px;height:4px;border-radius:50%;background:var(--ac);box-shadow:0 0 8px 2px rgba(var(--glow),.8);animation:bfx-twinkle 3s ease-in-out infinite}
@keyframes bfx-twinkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:.95;transform:scale(1)}}

/* ---------- Bottom glow + edge shadows ---------- */
.bfx-glow{position:absolute;left:0;right:0;bottom:0;height:150px;overflow:hidden}
.bfx-glow i{position:absolute;bottom:-60px;width:200%;height:200px;background:radial-gradient(ellipse at 15% 85%,rgba(var(--glow),.3),transparent 55%),radial-gradient(ellipse at 55% 95%,rgba(var(--glow2),.2),transparent 50%),radial-gradient(ellipse at 85% 85%,rgba(var(--glow),.22),transparent 55%);animation:bfx-glide 30s linear infinite}
.bfx-glow i:nth-child(2){animation-duration:46s;animation-direction:reverse;opacity:.7}
@keyframes bfx-glide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.bfx-vignette{position:absolute;inset:0;background:radial-gradient(ellipse 80% 75% at 50% 45%,transparent 60%,rgba(8,6,12,.14) 86%,rgba(6,4,10,.26) 100%);animation:bfx-breathe 7s ease-in-out infinite}
@keyframes bfx-breathe{0%,100%{opacity:.75}50%{opacity:.95}}
.bfx-lite .bfx-vignette{background:radial-gradient(ellipse 85% 80% at 50% 45%,transparent 64%,rgba(8,6,12,.16) 100%)}

/* ---------- Cursor trail ---------- */
.bfx-spark{position:fixed;pointer-events:none;z-index:99999;font:900 13px/1 Impact,"Arial Black",system-ui,sans-serif;animation:bfx-spark .9s ease-out forwards}
@keyframes bfx-spark{to{transform:translateY(28px) scale(.2) rotate(120deg);opacity:0}}

/* ---------- Promo popup ---------- */
.bfx-popup{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:70px 16px 16px;background:rgba(6,4,12,.66);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .3s;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.4;overflow-y:auto}
.bfx-popup.bfx-open{opacity:1}
.bfx-pop-card{position:relative;width:100%;max-width:410px;margin:auto;text-align:center;color:#fff;border-radius:22px;padding:64px 26px 22px;border:1px solid rgba(255,255,255,.12);
  background:radial-gradient(circle at 50% 0%,rgba(var(--glow),.32),transparent 45%),radial-gradient(circle at 100% 100%,rgba(var(--glow2),.25),transparent 50%),linear-gradient(160deg,var(--bg2),var(--bg1) 60%,var(--bg2));
  box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(var(--glow),.18) inset;transform:translateY(18px) scale(.94);transition:transform .35s cubic-bezier(.2,1.3,.4,1)}
.bfx-popup.bfx-open .bfx-pop-card{transform:none}
.bfx-pop-art{position:absolute;left:50%;top:-62px;width:120px;transform:translateX(-50%);filter:drop-shadow(0 10px 18px rgba(var(--glow),.45));animation:bfx-bob 3.4s ease-in-out infinite}
.bfx-pop-art svg,.bfx-pop-art img{display:block;width:100%;height:auto}
.bfx-popup .bfx-pop-x{all:unset;box-sizing:border-box;position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1;color:#fff;background:rgba(255,255,255,.12);cursor:pointer;transition:background .2s,transform .2s}
.bfx-popup .bfx-pop-x:hover{background:rgba(255,255,255,.25);transform:rotate(90deg)}
.bfx-popup .bfx-pop-x:focus-visible{outline:2px solid var(--ac);outline-offset:2px}
.bfx-popup p{margin:0;padding:0;color:inherit}
.bfx-popup .bfx-pop-title{font-family:Impact,"Arial Black","Segoe UI Black",system-ui,sans-serif;font-weight:900;text-transform:uppercase;font-size:32px;letter-spacing:1.5px;color:var(--ac);text-shadow:0 0 16px rgba(var(--glow),.6);line-height:1.1}
.bfx-popup .bfx-pop-off{margin:6px 0 4px;font-size:60px;font-weight:900;line-height:1;letter-spacing:-2px;background:linear-gradient(180deg,#fff 20%,var(--ac));-webkit-background-clip:text;background-clip:text;color:transparent}
.bfx-popup .bfx-pop-off span{font-size:30px;letter-spacing:0}
.bfx-popup .bfx-pop-text{font-size:15px;opacity:.85;margin:8px auto 14px;max-width:320px}
.bfx-pop-codebox{display:flex;align-items:center;gap:8px;border:2px dashed rgba(var(--glow),.8);border-radius:12px;padding:6px 6px 6px 16px;background:rgba(var(--glow),.08)}
.bfx-pop-code{flex:1;text-align:left;font:800 20px/1.2 ui-monospace,Consolas,monospace;letter-spacing:2px;color:var(--ac);word-break:break-all}
.bfx-popup .bfx-pop-copy{all:unset;box-sizing:border-box;cursor:pointer;background:var(--ac);color:var(--on-cta);font:800 14px/1 system-ui,sans-serif;padding:11px 16px;border-radius:8px;transition:filter .2s}
.bfx-popup .bfx-pop-copy:hover{filter:brightness(1.1)}
.bfx-popup .bfx-pop-copy.bfx-copied{background:#2fbf71;color:#fff}
.bfx-popup .bfx-pop-ends{margin:16px 0 6px;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;opacity:.65}
.bfx-popup .bfx-count{justify-content:center;display:flex}
.bfx-popup .bfx-pop-cta{display:block;margin-top:18px;background:linear-gradient(180deg,var(--cta1),var(--cta2));color:var(--on-cta)!important;text-decoration:none!important;font-weight:900;font-size:16px;padding:14px;border-radius:999px;box-shadow:0 8px 22px rgba(var(--glow),.4);transition:transform .2s}
.bfx-popup .bfx-pop-cta:hover{transform:translateY(-2px)}
.bfx-popup .bfx-pop-later{all:unset;cursor:pointer;margin-top:12px;font-size:13px;opacity:.6;text-decoration:underline}
.bfx-popup .bfx-pop-later:hover{opacity:1}

/* ---------- Phones ---------- */
@media (max-width:800px){
  .bfx-popup .bfx-pop-off{font-size:50px}.bfx-popup .bfx-pop-title{font-size:27px}.bfx-pop-card{padding:58px 18px 18px}
  .bfx-b-title{font-size:19px}.bfx-count{display:none}.bfx-b-in{padding:9px 40px 9px 14px;gap:8px 12px}
  .bfx-lite .bfx-lights{height:40px}
  .bfx-lite .bfx-beam{width:220px}
  .bfx-lite .bfx-bag.bfx-l{width:84px}.bfx-lite .bfx-bag.bfx-r{width:68px}
  .bfx-lite .bfx-balloon{width:34px}
}

@media (prefers-reduced-motion:reduce){
  .bfx-layer *,.bfx-banner,.bfx-banner *,.bfx-banner::after{animation:none!important}
  .bfx-conf,.bfx-balloon,.bfx-star{display:none}
}
@media print{.bfx-layer,.bfx-banner{display:none!important}}
