/* TINEGA REMOTE TUTORIALS — finish.css (additive polish, load LAST).
   Rules: zero-specificity :where() selectors so existing styles always win; no layout properties
   (no width/height/margin/padding/display/position changes on existing elements); never targets
   nav/header; skips the logo orb, support cards, pricing/checkout pay blocks, admin and PayPal.
   Effects needing a free pseudo-element are switched on by finish.js only where that pseudo is unused. */
:root{--fx-gold:#D9B26A;--fx-gold2:#F1D49A;--fx-ease:cubic-bezier(.2,.7,.2,1)}

/* selection + scrollbar */
::selection{background:rgba(217,178,106,.38);color:inherit}
:root{scrollbar-color:rgba(217,178,106,.55) rgba(10,18,34,.85)}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:#0A1222}
::-webkit-scrollbar-thumb{background:linear-gradient(#D9B26A,#B8893A);border-radius:9px;border:3px solid #0A1222}
::-webkit-scrollbar-thumb:hover{background:#F1D49A}

/* page fade-in (content only; navbar untouched; ends fully visible) */
@keyframes fxIn{from{opacity:.01}to{opacity:1}}
:where(main,footer){animation:fxIn .45s var(--fx-ease) both}

/* typography rhythm — never changes line count upward */
:where(main) :where(h1,h2,h3){text-wrap:balance}
:where(main) :where(p,li){text-wrap:pretty}
:where(main,footer){font-kerning:normal;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* refined focus rings */
:where(main,footer) :where(a,button,[role=button],[tabindex],summary,input,select,textarea):focus-visible{outline:2px solid var(--fx-gold);outline-offset:3px;border-radius:inherit}

/* polished form focus */
:where(main) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){transition:border-color .2s,box-shadow .25s var(--fx-ease)}
:where(main) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus{box-shadow:0 0 0 4px rgba(217,178,106,.22)}

/* in-content links: animated gold underline (unclassed links in text only) */
:where(main,footer) :where(p,li,dd,td,figcaption,small) a:not([class]){text-decoration:none;background:linear-gradient(90deg,var(--fx-gold),var(--fx-gold2)) 0 100%/0 1.5px no-repeat,linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .35s var(--fx-ease)}
:where(main,footer) :where(p,li,dd,td,figcaption,small) a:not([class]):hover{background-size:100% 1.5px,100% 1px}

/* buttons: press + shine (shine uses ::after only where free — .fx-shine) */
:where(.btn,button[type=submit]){transition:scale .12s var(--fx-ease),filter .2s}
:where(.btn,button[type=submit]):active{scale:.975}
:where(.btn):hover{filter:brightness(1.06) saturate(1.04)}
.fx-shine::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.38) 50%,transparent 65%) -150% 0/250% 100% no-repeat;transition:background-position .7s var(--fx-ease)}
.fx-shine:hover::after{background-position:150% 0}
.fx-ripple{position:absolute;border-radius:50%;pointer-events:none;background:currentColor;opacity:.22;transform:scale(0);animation:fxRip .55s var(--fx-ease) forwards}
@keyframes fxRip{to{transform:scale(1);opacity:0}}

/* cards: hover lift (translate composes with existing transforms) + gold hairline + sheen */
.fx-lift{transition:translate .35s var(--fx-ease),box-shadow .35s var(--fx-ease)}
.fx-lift:hover{translate:0 -4px}
.fx-line::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:linear-gradient(135deg,rgba(241,212,154,.75),rgba(217,178,106,.12) 40%,rgba(217,178,106,.08) 60%,rgba(241,212,154,.55));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.75;transition:opacity .3s}
.fx-line:hover::before{opacity:1}
.fx-sheen::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.16) 48%,transparent 62%) -200% 0/220% 100% no-repeat;transition:background-position .9s var(--fx-ease)}
.fx-sheen:hover::after{background-position:200% 0}

/* image soft zoom in video/platform cards (only where the frame clips) */
.fx-zoom img,.fx-zoom video{transition:scale .7s var(--fx-ease)}
.fx-zoom:hover img,.fx-zoom:hover video{scale:1.045}

/* grain on dark sections (::after only where free, behind content via low opacity + blend) */
.fx-grain::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* section dividers with gold glow (::before where free, sections already positioned) */
.fx-divide::before{content:"";position:absolute;left:8%;right:8%;top:0;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(217,178,106,.55),transparent);box-shadow:0 0 18px 1px rgba(217,178,106,.35)}

/* footer glow */
.fx-foot::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(217,178,106,.6),transparent);box-shadow:0 0 40px 6px rgba(217,178,106,.18)}

/* footer glow fallback (box-shadow only, no layout) */
.fx-foot2{box-shadow:inset 0 1px 0 rgba(217,178,106,.45),inset 0 24px 40px -30px rgba(217,178,106,.25)}

/* scroll reveal (finish.js only adds .fx-pre to blocks BELOW the fold; removed on view or after 3 s at most) */
.fx-pre{opacity:0;translate:0 10px}
.fx-in{transition:opacity .7s var(--fx-ease),translate .7s var(--fx-ease)}

/* skeleton shimmer (only where no background is set by the app) */
:where(.skel,.skeleton,.sk,[data-skeleton]){background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.18) 50%,rgba(255,255,255,0) 100%);background-size:200% 100%;background-repeat:no-repeat;animation:fxShim 1.3s linear infinite}
@keyframes fxShim{from{background-position:150% 0}to{background-position:-50% 0}}

/* toast + tooltip polish */
:where(.toast,[role=status].toast){backdrop-filter:blur(10px) saturate(1.2);box-shadow:0 18px 40px -18px rgba(4,10,25,.7),0 0 0 1px rgba(217,178,106,.3)}
:where([role=tooltip],.tooltip,.tip){box-shadow:0 12px 28px -12px rgba(4,10,25,.7),0 0 0 1px rgba(217,178,106,.3);backdrop-filter:blur(8px)}

/* count-up numbers stay steady */
.fx-count{font-variant-numeric:tabular-nums}

@media (hover:none){.fx-lift:hover{translate:none}.fx-zoom:hover img,.fx-zoom:hover video{scale:none}}
@media (prefers-reduced-motion:reduce){
  :where(main,footer){animation:none}
  .fx-pre{opacity:1;translate:none}
  .fx-lift,.fx-in,.fx-zoom img,.fx-shine::after,.fx-sheen::after{transition:none}
  .fx-lift:hover{translate:none}.fx-zoom:hover img{scale:none}
  :where(.skel,.skeleton,.sk,[data-skeleton]),.fx-ripple{animation:none}
}
@media print{.fx-grain::after,.fx-line::before,.fx-sheen::after,.fx-divide::before,.fx-foot::before{display:none}.fx-pre{opacity:1;translate:none}}
