/* v9 extras: sparkle cursor, hover life on every card/photo/button, rising glitter, heading sparkles.
   Transform/opacity only; hover effects only where a mouse exists; everything rests under reduced motion. */

/* ---------- custom cursor (mouse only) ---------- */
html.has-cur, html.has-cur a, html.has-cur button, html.has-cur summary, html.has-cur label, html.has-cur .card{cursor:none}
html.has-cur input, html.has-cur textarea{cursor:text}
.cur-ring,.cur-star{position:fixed;left:0;top:0;z-index:500;pointer-events:none;opacity:0;transition:opacity .3s}
html.cur-on .cur-ring,html.cur-on .cur-star{opacity:1}
html.cur-text .cur-ring,html.cur-text .cur-star{opacity:0}
.cur-star{width:0;height:0}
.cur-star svg{position:absolute;width:20px;height:20px;left:-10px;top:-10px;animation:curSpin 2.6s linear infinite;transition:width .25s,height .25s,left .25s,top .25s}
.cur-star path{fill:url(#curGrad)}
@keyframes curSpin{to{transform:rotate(360deg)}}
.cur-ring{width:0;height:0}
.cur-ring::before{content:"";position:absolute;width:38px;height:38px;left:-19px;top:-19px;border-radius:50%;border:1.5px solid rgba(203,17,171,.55);background:rgba(255,95,168,.06);transition:all .3s cubic-bezier(.2,.8,.2,1)}
html.cur-hot .cur-ring::before{width:66px;height:66px;left:-33px;top:-33px;border-color:var(--magenta);background:rgba(255,95,168,.12)}
html.cur-hot .cur-star svg{width:28px;height:28px;left:-14px;top:-14px;animation-duration:1s}
html.cur-card .cur-ring::before{width:54px;height:54px;left:-27px;top:-27px;border-style:dashed;animation:curSpin 7s linear infinite}
html.cur-down .cur-ring::before{width:24px;height:24px;left:-12px;top:-12px;background:rgba(203,17,171,.25)}

/* ---------- rising glitter (background) ---------- */
.rise{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.rise i{position:absolute;bottom:-30px;width:var(--s,10px);height:var(--s,10px);background:var(--c,#E1BD6A);opacity:0;
  clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:rise var(--d,18s) linear infinite;animation-delay:var(--dl,0s)}
@keyframes rise{0%{transform:translate3d(0,0,0) rotate(0);opacity:0}10%{opacity:.85}50%{transform:translate3d(var(--sw,30px),-55vh,0) rotate(180deg);opacity:.6}90%{opacity:.8}100%{transform:translate3d(0,-110vh,0) rotate(360deg);opacity:0}}

/* ---------- heading sparkles ---------- */
.h2{position:relative;display:inline-block}
.h2::before,.h2::after{content:"";position:absolute;pointer-events:none;background:var(--gold);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:hTw 3.2s ease-in-out infinite}
.h2::before{width:18px;height:18px;left:-24px;top:-6px}
.h2::after{width:12px;height:12px;right:-20px;top:2px;background:var(--pink);animation-delay:-1.6s}
.band .h2::before{background:#FFE2A0}.band .h2::after{background:#FFC6E8}
@keyframes hTw{0%,100%{transform:scale(.3) rotate(0);opacity:.3}50%{transform:scale(1) rotate(90deg);opacity:1}}

/* ---------- every card & photo answers the pointer ---------- */
.ph,.lessons li,.facts li,.film-photos img,.tag,.bar,.faq details,.chart-card,.ask,.join-card,.review,.prof,.fmt{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,background .35s}
@media (hover:hover){
  .ph:hover{transform:translateY(-6px);box-shadow:0 0 0 3px #fff,0 26px 50px -22px rgba(142,21,114,.45)}
  .celebrate .ph.print:hover{transform:rotate(0) translateY(-8px) scale(1.02)}
  .lessons li:hover{transform:translateX(8px)}
  .lessons li:hover h3{color:var(--berry)}
  .facts li:hover{transform:translateY(-4px)}
  .facts li:hover b{filter:saturate(1.3)}
  .film-photos img:hover{transform:translateY(-6px) rotate(-2deg) scale(1.04)}
  .tag:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 0 0 1px var(--lav3),0 14px 26px -14px rgba(203,17,171,.5)}
  .bar:hover{transform:translateX(6px)}
  .faq details:hover{transform:translateY(-2px);box-shadow:0 0 0 1.5px var(--lav3),0 16px 30px -20px rgba(42,22,56,.35)}
  .chart-card:hover,.join-card:hover{box-shadow:0 0 0 1px var(--lav3),0 30px 60px -30px rgba(142,21,114,.4)}
  .review:hover{transform:translateY(-6px) rotate(-.6deg)}
  .ask:hover{transform:translateY(-4px)}
  .cert:hover .cert-wb{transform:scale(1.06)}
}
.cert-wb{display:inline-block;transition:transform .3s}

/* card sheen: a light sweep runs across a card when the pointer enters */
.prof,.fmt,.review,.ask,.chart-card,.faq details{overflow:hidden}
.sheen{position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-110%);animation:sheenRun .9s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes sheenRun{to{transform:translateX(110%)}}

/* ---------- buttons & small controls ---------- */
@media (hover:hover){
  .btn:hover{box-shadow:0 14px 30px -12px rgba(203,17,171,.6),0 0 0 5px rgba(255,95,168,.14)}
  .btn:hover .ico{animation:icoWiggle .6s ease-in-out}
  .lang button:hover{transform:translateY(-2px)}
  .seg span:hover{transform:translateY(-3px)}
  .foot-links a:hover{transform:translateY(-4px) rotate(-8deg)}
  .logo:hover .seal{transform:rotate(90deg) scale(1.08)}
  .film-btn:hover svg{transform:scale(1.15)}
}
@keyframes icoWiggle{30%{transform:rotate(-14deg) scale(1.15)}60%{transform:rotate(10deg)}}
.seal,.film-btn svg{transition:transform .5s cubic-bezier(.3,1.5,.5,1)}
.nav-links a{position:relative}
.nav-links a::after{content:"";position:absolute;left:14px;right:14px;bottom:5px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--pink),var(--violet));transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.nav-links a:hover::after,.nav-links a.on::after{transform:scaleX(1)}
.hover-fx{position:fixed;z-index:450;width:10px;height:10px;margin:-5px 0 0 -5px;pointer-events:none;background:var(--c,var(--gold));
  clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:hoverFx .9s ease-out forwards}
@keyframes hoverFx{0%{transform:translate3d(0,0,0) scale(.2);opacity:1}100%{transform:translate3d(var(--dx),var(--dy),0) scale(1) rotate(120deg);opacity:0}}

@media (max-width:640px){ .h2::before{left:-14px;width:14px;height:14px} .h2::after{display:none} }
@media (prefers-reduced-motion:reduce){ .rise,.cur-ring,.cur-star{display:none} .h2::before,.h2::after{animation:none} html.has-cur *{cursor:auto!important} }
