/* Visual effects layer — loads after style.css. Delete this file + effects.js (and their 2 tags in index.html) to remove all effects. */
:root{--fx-gold:var(--gold,#C9A84C)}
html{scroll-behavior:smooth}
::selection{background:rgba(201,168,76,.35);color:#fff}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#0b0b0b}
::-webkit-scrollbar-thumb{background:linear-gradient(#8a6f2a,var(--fx-gold));border-radius:10px}

/* scroll progress bar */
#fxProgress{position:fixed;top:0;left:0;height:3px;width:0;z-index:3000;background:linear-gradient(90deg,#8a6f2a,var(--fx-gold),#f3dc8f);box-shadow:0 0 12px rgba(201,168,76,.7);pointer-events:none}

/* navbar */
nav{transition:box-shadow .35s ease,backdrop-filter .35s ease}
nav.fx-scrolled{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(0,0,0,.5)}
.nav-links a{background:linear-gradient(var(--fx-gold),var(--fx-gold)) 0 100%/0 2px no-repeat;transition:background-size .35s ease,color .25s ease;padding-bottom:4px}
.nav-links a:hover,.nav-links a.fx-active{background-size:100% 2px;color:var(--fx-gold)}

/* hero */
#about-hero{position:relative;overflow:hidden}
#about-hero .hero-inner{position:relative;z-index:1}
.fx-glow{position:absolute;inset:-20% -10% auto auto;width:60vw;height:60vw;max-width:760px;max-height:760px;border-radius:50%;background:radial-gradient(circle,rgba(201,168,76,.22),rgba(201,168,76,0) 65%);filter:blur(10px);pointer-events:none;z-index:0;animation:fxDrift 14s ease-in-out infinite alternate}
.fx-glow.g2{inset:auto auto -25% -15%;width:45vw;height:45vw;background:radial-gradient(circle,rgba(120,150,255,.10),rgba(0,0,0,0) 65%);animation-duration:18s}
@keyframes fxDrift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-40px,30px,0) scale(1.12)}}
.hero-name{background:linear-gradient(100deg,#fff 0%,#fff 38%,#f3dc8f 50%,#fff 62%,#fff 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:fxShine 6s ease-in-out infinite}
@keyframes fxShine{0%,20%{background-position:120% 0}60%,100%{background-position:-120% 0}}
.hero-photo-ring{animation:fxRing 3.6s ease-in-out infinite,fxFloat 7s ease-in-out infinite}
@keyframes fxRing{0%,100%{box-shadow:0 0 0 0 rgba(201,168,76,.45),0 0 40px rgba(201,168,76,.25)}50%{box-shadow:0 0 0 14px rgba(201,168,76,0),0 0 70px rgba(201,168,76,.4)}}
@keyframes fxFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero-badge{animation:fxBadge 2.8s ease-in-out infinite}
@keyframes fxBadge{0%,100%{box-shadow:0 0 0 0 rgba(201,168,76,.35)}50%{box-shadow:0 0 0 8px rgba(201,168,76,0)}}

/* buttons */
.btn-primary,.btn-secondary{transition:transform .25s ease,box-shadow .3s ease,filter .3s ease}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(201,168,76,.4);filter:brightness(1.08)}
.btn-secondary:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(255,255,255,.08)}
.btn-primary:active,.btn-secondary:active{transform:translateY(-1px)}

/* cards */
.hl-card,.svc-card,.info-card,.edu-card,.tr-item,.pf-cat-card,.tl-item .tl-ach{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease}
.hl-card:hover,.svc-card:hover,.edu-card:hover,.pf-cat-card:hover{transform:translateY(-6px);border-color:rgba(201,168,76,.55);box-shadow:0 18px 40px rgba(0,0,0,.5),0 0 0 1px rgba(201,168,76,.25)}
.info-card:hover,.tr-item:hover{transform:translateX(6px);border-color:rgba(201,168,76,.45);box-shadow:0 10px 28px rgba(0,0,0,.4)}
.hl-card:hover,.svc-card:hover,.info-card:hover,.edu-card:hover{background-image:radial-gradient(280px circle at var(--mx,50%) var(--my,50%),rgba(201,168,76,.13),transparent 65%)}
.svc-icon{transition:transform .4s ease}
.svc-card:hover .svc-icon{transform:rotate(-8deg) scale(1.12)}
.hl-big{white-space:nowrap}

/* skill chips */
.sk-chips li{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .25s ease;cursor:default}
.sk-chips li:hover{transform:translateY(-4px) scale(1.04);border-color:var(--fx-gold);background:rgba(201,168,76,.18);box-shadow:0 8px 22px rgba(201,168,76,.22)}

/* portfolio images */
.pf-item img{transition:transform .6s cubic-bezier(.2,.8,.2,1),filter .4s ease}
.pf-item:hover img{transform:scale(1.06)}
.pf-item{transition:box-shadow .35s ease,transform .35s ease}
.pf-item:hover{box-shadow:0 16px 40px rgba(0,0,0,.55),0 0 0 1px rgba(201,168,76,.35)}

/* timeline */
.tl-dot{animation:fxDot 2.8s ease-out infinite}
@keyframes fxDot{0%{box-shadow:0 0 0 0 rgba(201,168,76,.55)}70%,100%{box-shadow:0 0 0 12px rgba(201,168,76,0)}}

/* reveal on scroll (only active when JS adds .fx-js) */
.fx-js .rv{opacity:0;transform:translateY(30px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}
.fx-js .rv.rv-left{transform:translateX(-34px)}
.fx-js .rv.rv-in{opacity:1;transform:none}

/* social + back to top */
.ft-social{transition:transform .3s ease,box-shadow .3s ease}
.ft-social:hover{transform:translateY(-4px) scale(1.08)}
.ft-top{transition:transform .25s ease}
.ft-top:hover{transform:translateY(-3px)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .fx-js .rv{opacity:1;transform:none}
  .hero-name{-webkit-text-fill-color:currentColor;background:none}
}
@media (max-width:700px){.fx-glow{opacity:.7}.info-card:hover,.tr-item:hover{transform:none}}
