/* PixoGame Spotlight Hero v1 (2026-11-30) */
@keyframes pxhIn{from{opacity:0;transform:translateY(24px);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes pxhPop{from{opacity:0;transform:scale(.78) rotate(-7deg) translateY(26px)}to{opacity:1;transform:none}}
@keyframes pxhOut{to{opacity:0;transform:translateX(-36px) scale(.98)}}
@keyframes pxhFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(1.4deg)}}
@keyframes pxhSpin{to{transform:rotate(360deg)}}
@keyframes pxhProg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pxhShine{0%{transform:translateX(-140%) skewX(-20deg)}55%,100%{transform:translateX(330%) skewX(-20deg)}}
@keyframes pxhGlow{0%,100%{opacity:.38;transform:scale(1)}50%{opacity:.6;transform:scale(1.12)}}

#home-view .pixo-showcase.pxh-ready{margin:0 0 clamp(16px,2.6vw,32px) !important}
#home-view .pixo-showcase.pxh-ready::before,#home-view .pixo-showcase.pxh-ready::after{display:none !important;content:none !important}
.pxh{--pxh-accent:#ff3b55;position:relative;isolation:isolate;overflow:hidden;border-radius:30px;background:#0b0a10;color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:0 34px 80px -46px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.02) inset;font-family:inherit}
body.light-mode .pxh{box-shadow:0 34px 70px -40px rgba(40,10,40,.45)}
.pxh-bg{position:absolute;inset:-50px;z-index:-3;pointer-events:none}
.pxh-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(46px) saturate(1.5);opacity:0;transform:scale(1.1);transition:opacity 1.2s ease}
.pxh-bg img.on{opacity:.6}
.pxh::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(8,7,12,.94) 0%,rgba(8,7,12,.72) 42%,rgba(8,7,12,.28) 100%);pointer-events:none}
.pxh::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:3;background:linear-gradient(90deg,transparent,var(--pxh-accent),#ff8a3d,transparent);opacity:.9;transition:background .6s}
.pxh-grid{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask:radial-gradient(60% 90% at 75% 45%,#000,transparent 75%);mask:radial-gradient(60% 90% at 75% 45%,#000,transparent 75%)}
.pxh-stage{position:relative;height:340px}
.pxh-slide{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:28px;padding:30px clamp(26px,4.5vw,64px) 6px;visibility:hidden;pointer-events:none}
.pxh-slide[data-active]{visibility:visible;pointer-events:auto;z-index:2}
.pxh-slide[data-leaving]{visibility:visible;z-index:1;animation:pxhOut .5s ease both}
.pxh-copy{min-width:0}
.pxh-copy>*{opacity:0}
.pxh-slide[data-active] .pxh-copy>*{animation:pxhIn .75s cubic-bezier(.2,.8,.2,1) both}
.pxh-slide[data-active] .pxh-copy>:nth-child(1){animation-delay:.05s}
.pxh-slide[data-active] .pxh-copy>:nth-child(2){animation-delay:.13s}
.pxh-slide[data-active] .pxh-copy>:nth-child(3){animation-delay:.21s}
.pxh-slide[data-active] .pxh-copy>:nth-child(4){animation-delay:.29s}
.pxh-slide[data-leaving] .pxh-copy>*{opacity:1}
.pxh-cat{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 13px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pxh-cat::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--pxh-accent);box-shadow:0 0 12px var(--pxh-accent)}
#home-view .pxh-title{margin:16px 0 12px;font-size:clamp(1.8rem,3.5vw,3.05rem);font-weight:900;line-height:1.04;letter-spacing:-.045em;color:#fff !important;-webkit-text-fill-color:#fff !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 10px 40px rgba(0,0,0,.4)}
.pxh-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
#home-view .pxh-price strong{font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:900;letter-spacing:-.045em;background:linear-gradient(90deg,#fff 30%,var(--pxh-accent));-webkit-background-clip:text;background-clip:text;color:transparent !important;-webkit-text-fill-color:transparent !important}
#home-view .pxh-price del,#home-view .pxh-price small{color:rgba(255,255,255,.55) !important;-webkit-text-fill-color:rgba(255,255,255,.55) !important;font-weight:700}
.pxh-off{align-self:center;padding:4px 9px;border-radius:8px;background:var(--pxh-accent);font-weight:900;font-size:.78rem;color:#fff}
.pxh-actions{display:flex;align-items:center;gap:10px;margin-top:22px;flex-wrap:wrap}
#home-view .pxh-buy{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:16px;background:linear-gradient(110deg,#ff1744,#ff5a36 50%,#ff1744);background-size:200% 100%;color:#fff !important;-webkit-text-fill-color:#fff !important;font-weight:900;font-size:1rem;text-decoration:none !important;box-shadow:0 16px 30px -14px rgba(255,30,70,.95);transition:background-position .6s,transform .25s}
#home-view .pxh-buy::after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);transform:translateX(-140%) skewX(-20deg);animation:pxhShine 3.8s ease-in-out infinite 1.4s}
#home-view .pxh-buy i{transition:transform .3s}
#home-view .pxh-buy:hover{background-position:100% 0;transform:translateY(-2px)}
#home-view .pxh-buy:hover i{transform:translateX(5px)}
.pxh-cart{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:16px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font-size:1.05rem;cursor:pointer;transition:transform .25s,background .25s,border-color .25s}
.pxh-cart:hover{background:rgba(255,255,255,.16);border-color:var(--pxh-accent);transform:translateY(-2px) rotate(-6deg)}
#home-view .pxh-more{color:rgba(255,255,255,.75) !important;-webkit-text-fill-color:rgba(255,255,255,.75) !important;font-weight:700;font-size:.9rem;text-decoration:none !important;padding:0 6px;border-bottom:1px solid rgba(255,255,255,.25);transition:color .25s,border-color .25s}
#home-view .pxh-more:hover{color:#fff !important;-webkit-text-fill-color:#fff !important;border-color:var(--pxh-accent)}
.pxh-visual{position:relative;display:grid;place-items:center;height:300px;text-decoration:none !important;min-width:0}
.pxh-glow{position:absolute;width:250px;height:250px;border-radius:50%;background:var(--pxh-accent);filter:blur(64px);opacity:.45;animation:pxhGlow 5s ease-in-out infinite}
.pxh-ring{position:absolute;width:300px;height:300px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 35%,var(--pxh-accent) 58%,#fff 62%,transparent 72%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));animation:pxhSpin 7s linear infinite;opacity:.85}
.pxh-ring::after{content:"";position:absolute;inset:26px;border-radius:50%;border:1px dashed rgba(255,255,255,.14)}
.pxh-pop{position:relative;display:block;width:min(310px,100%);opacity:0}
.pxh-slide[data-active] .pxh-pop{animation:pxhPop .85s cubic-bezier(.2,.9,.25,1.15) .1s both}
.pxh-slide[data-leaving] .pxh-pop{opacity:1}
.pxh-imgwrap{position:relative;display:grid;place-items:center;aspect-ratio:1.22;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#2a1830,#120d18);box-shadow:0 40px 70px -28px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.16),0 0 60px -20px var(--pxh-accent);animation:pxhFloat 6s ease-in-out infinite}
.pxh-imgwrap::after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transform:translateX(-140%) skewX(-20deg);animation:pxhShine 4.5s ease-in-out infinite 1s;pointer-events:none}
.pxh-img{width:100%;height:100%;object-fit:cover;display:block}
.pxh-fallback{font-size:3rem;opacity:.6}
.pxh-badge{position:absolute;top:10px;left:10px;padding:5px 10px;border-radius:10px;background:var(--pxh-accent);color:#fff;font-weight:900;font-size:.8rem;box-shadow:0 8px 18px -8px var(--pxh-accent)}
.pxh-bar{position:relative;display:flex;align-items:center;gap:10px;padding:10px clamp(16px,3vw,40px) 18px}
.pxh-thumbs{flex:1;min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
.pxh-thumbs::-webkit-scrollbar{display:none}
.pxh-thumb{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;min-width:0;padding:7px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.66);font:inherit;text-align:left;cursor:pointer;scroll-snap-align:center;transition:background .3s,border-color .3s,color .3s,transform .25s}
.pxh-thumb:hover{transform:translateY(-2px);color:#fff}
.pxh-thumb img,.pxh-thumb>i{width:40px;height:40px;flex:none;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:rgba(255,255,255,.06)}
.pxh-thumb .n{font-size:.76rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pxh-thumb[aria-selected=true]{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24);color:#fff}
.pxh-thumb[aria-selected=true] img{box-shadow:0 0 0 2px var(--pxh-accent)}
.pxh-prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.06)}
.pxh-prog i{display:block;height:100%;background:linear-gradient(90deg,var(--pxh-accent),#ff8a3d);transform-origin:left center;transform:scaleX(0)}
.pxh-thumb[aria-selected=true] .pxh-prog i{animation:pxhProg var(--pxh-dur,5200ms) linear forwards}
.pxh-paused .pxh-thumb[aria-selected=true] .pxh-prog i{animation-play-state:paused}
.pxh-arrow{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;transition:background .25s,transform .25s,border-color .25s}
.pxh-arrow:hover{background:var(--pxh-accent);border-color:transparent;transform:scale(1.06)}
.pxh-single .pxh-bar{display:none}
.pxh :focus-visible{outline:2px solid var(--pxh-accent);outline-offset:3px}

@media (max-width:900px){
  .pxh-slide{gap:14px}
  .pxh-ring{width:250px;height:250px}.pxh-glow{width:210px;height:210px}
  .pxh-pop{width:min(260px,100%)}
  .pxh-thumb .n{display:none}
  .pxh-thumbs{grid-auto-columns:max-content;justify-content:center}
}
@media (max-width:700px){
  .pxh{border-radius:24px}
  .pxh::before{background:linear-gradient(180deg,rgba(8,7,12,.25) 0%,rgba(8,7,12,.78) 46%,rgba(8,7,12,.96) 100%)}
  .pxh-grid{-webkit-mask:radial-gradient(80% 50% at 50% 22%,#000,transparent 75%);mask:radial-gradient(80% 50% at 50% 22%,#000,transparent 75%)}
  .pxh-bg img{filter:blur(30px) saturate(1.4)}
  .pxh-stage{height:432px}
  .pxh-slide{grid-template-columns:1fr;grid-template-rows:210px auto;align-content:start;align-items:start;gap:4px;padding:16px 18px 4px}
  .pxh-visual{order:-1;height:210px}
  .pxh-ring{width:196px;height:196px}.pxh-glow{width:160px;height:160px;filter:blur(46px)}
  .pxh-pop{width:min(238px,74%)}
  .pxh-imgwrap{border-radius:20px}
  .pxh-copy{text-align:left}
  .pxh-cat{font-size:.62rem;padding:5px 10px}
  #home-view .pxh-title{font-size:1.42rem;margin:10px 0 6px}
  #home-view .pxh-price strong{font-size:1.7rem}
  .pxh-actions{margin-top:14px;gap:8px;flex-wrap:nowrap}
  #home-view .pxh-buy{flex:1;height:48px;padding:0 16px;font-size:.95rem}
  .pxh-cart{width:48px;height:48px}
  #home-view .pxh-more{display:none}
  .pxh-arrow{display:none}
  .pxh-bar{padding:6px 12px 14px}
  .pxh-thumbs{gap:8px}
  .pxh-thumb{padding:4px;border-radius:13px}
  .pxh-thumb img,.pxh-thumb>i{width:44px;height:44px}
}
@media (prefers-reduced-motion:reduce){.pxh *,.pxh *::before,.pxh *::after{animation:none !important;transition:none !important}.pxh-copy>*,.pxh-pop{opacity:1 !important}}

/* light-mode: banner stays dark, keep its text white */
html body.light-mode #home-view .pxh :is(.pxh-cat,.pxh-title,.pxh-cart,.pxh-cart i,.pxh-arrow,.pxh-arrow i,.pxh-thumb,.pxh-thumb .n,.pxh-thumb>i,.pxh-off,.pxh-badge,.pxh-buy,.pxh-buy span,.pxh-buy i,.pxh-fallback){color:#fff !important;-webkit-text-fill-color:#fff !important}
html body.light-mode #home-view .pxh .pxh-more{color:rgba(255,255,255,.75) !important;-webkit-text-fill-color:rgba(255,255,255,.75) !important}
html body.light-mode #home-view .pxh :is(.pxh-price del,.pxh-price small){color:rgba(255,255,255,.55) !important;-webkit-text-fill-color:rgba(255,255,255,.55) !important}
html body.light-mode #home-view .pxh .pxh-cart{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.2) !important}
html body.light-mode #home-view .pxh .pxh-thumb{background:rgba(255,255,255,.05) !important;border-color:rgba(255,255,255,.08) !important}
html body.light-mode #home-view .pxh .pxh-thumb[aria-selected=true]{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.24) !important}
html body.light-mode #home-view .pxh .pxh-cat{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.14) !important}
/* ===== v3 mobile: compact horizontal spotlight ===== */
@media (max-width:700px){
  .pxh{border-radius:22px}
  .pxh::before{background:linear-gradient(90deg,rgba(8,7,12,.35) 0%,rgba(8,7,12,.82) 38%,rgba(8,7,12,.95) 100%)}
  .pxh-grid{-webkit-mask:radial-gradient(40% 90% at 18% 50%,#000,transparent 80%);mask:radial-gradient(40% 90% at 18% 50%,#000,transparent 80%);background-size:30px 30px}
  .pxh-stage{height:168px}
  .pxh-slide{grid-template-columns:112px minmax(0,1fr);grid-template-rows:none;align-items:center;align-content:center;gap:14px;padding:14px 14px 2px 12px}
  .pxh-visual{order:-1;height:140px}
  .pxh-ring{width:134px;height:134px}
  .pxh-ring::after{inset:14px}
  .pxh-glow{width:100px;height:100px;filter:blur(34px)}
  .pxh-pop{width:104px}
  .pxh-imgwrap{aspect-ratio:1;border-radius:18px;box-shadow:0 18px 30px -14px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.16),0 0 34px -12px var(--pxh-accent)}
  .pxh-badge{top:6px;left:6px;padding:3px 6px;font-size:.62rem;border-radius:7px}
  .pxh-cat{font-size:.54rem;padding:4px 8px;gap:6px;letter-spacing:.1em}
  .pxh-cat::before{width:6px;height:6px}
  #home-view .pxh-title{font-size:1rem;line-height:1.15;margin:7px 0 3px;letter-spacing:-.02em}
  .pxh-price{gap:2px 8px}
  #home-view .pxh-price strong{font-size:1.28rem}
  #home-view .pxh-price del,#home-view .pxh-price small{font-size:.72rem}
  .pxh-off{font-size:.62rem;padding:2px 6px}
  .pxh-actions{margin-top:9px;gap:7px;flex-wrap:nowrap}
  #home-view .pxh-buy{flex:1;height:38px;padding:0 12px;border-radius:12px;font-size:.8rem;gap:7px;box-shadow:0 10px 20px -10px rgba(255,30,70,.95)}
  .pxh-cart{width:38px;height:38px;border-radius:12px;font-size:.85rem}
  #home-view .pxh-more{display:none}
  .pxh-bar{padding:6px 14px 12px;justify-content:center}
  .pxh-thumbs{flex:0 1 auto;display:flex;gap:6px;overflow:visible;justify-content:center}
  .pxh-thumb{width:16px;height:5px;padding:0;border:0 !important;border-radius:99px;background:rgba(255,255,255,.2) !important;transition:width .4s cubic-bezier(.2,.8,.2,1),background .3s}
  .pxh-thumb:hover{transform:none}
  .pxh-thumb[aria-selected=true]{width:34px;background:rgba(255,255,255,.18) !important}
  .pxh-thumb img,.pxh-thumb>i,.pxh-thumb .n{display:none !important}
  .pxh-prog{inset:0;height:auto;background:transparent;border-radius:inherit;overflow:hidden}
  .pxh-thumb::after{content:"";position:absolute;inset:-10px -3px}
}
@media (max-width:360px){
  .pxh-slide{grid-template-columns:96px minmax(0,1fr);gap:11px}
  .pxh-pop{width:90px}.pxh-ring{width:116px;height:116px}
  #home-view .pxh-title{font-size:.92rem}
}
/* brand logo instead of category name */
@keyframes pxhLogoGlow{0%,100%{filter:brightness(0) invert(1) drop-shadow(0 0 6px var(--pxh-accent))}50%{filter:brightness(0) invert(1) drop-shadow(0 0 14px var(--pxh-accent))}}
.pxh-logo{display:inline-flex;align-items:center;gap:10px;height:48px;padding:9px 16px;border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.16);box-shadow:0 10px 24px -14px var(--pxh-accent),inset 0 1px rgba(255,255,255,.12)}
.pxh-logo img{display:block;height:28px;width:auto;max-width:170px;object-fit:contain;filter:brightness(0) invert(1) drop-shadow(0 0 8px var(--pxh-accent));animation:pxhLogoGlow 3.2s ease-in-out infinite}
.pxh-logo-art{padding:5px}
.pxh-logo-art img{width:38px;height:38px;max-width:none;border-radius:11px;object-fit:cover;filter:none !important;animation:none}
@media (max-width:700px){
  .pxh-logo{height:32px;padding:5px 10px;border-radius:11px}
  .pxh-logo img{height:19px;max-width:110px}
  .pxh-logo-art{padding:3px}.pxh-logo-art img{width:26px;height:26px;border-radius:8px}
}
.pxh-logo{height:auto !important;min-height:48px}
.pxh-logo img[src*="pubg"],.pxh-logo img[src*="supercell"]{height:40px}
@media (max-width:700px){.pxh-logo{min-height:32px}.pxh-logo img[src*="pubg"],.pxh-logo img[src*="supercell"]{height:26px}}
