/* Shop cosmetics — name colours + profile-card frames.
   Pure CSS, no art assets. Applied site-wide wherever a name or the
   profile header card renders. Item ids map to these classes in
   js/cosmetics.js; the canonical catalogue lives in bot/src/shop.js. */

/* ===== Name colours ===== */
/* solid */
.nc-crimson{color:#ff3b5c!important}
.nc-toxic  {color:#9dff3c!important}
.nc-gold   {color:#ffcf3c!important}
.nc-violet {color:#b388ff!important}
.nc-sky    {color:#5cc8ff!important}
/* gradient */
.nc-grad-neon,.nc-grad-ice{
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent!important;font-weight:700;
}
.nc-grad-neon{background-image:linear-gradient(90deg,#ff2d7a,#22e7ff)}
.nc-grad-ice {background-image:linear-gradient(90deg,#bff4ff,#3c9bff)}
/* animated */
.nc-grad-fire{
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent!important;font-weight:700;
  background-image:linear-gradient(90deg,#ffd23c,#ff4500,#ff8c00,#ffd23c);
  background-size:300% 100%;animation:nc-slide 4s linear infinite;
}
.nc-anim-rainbow{
  background-image:linear-gradient(90deg,#ff2d7a,#ffb02e,#3ddc84,#22e7ff,#b388ff,#ff2d7a);
  background-size:300% 100%;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent!important;font-weight:700;
  animation:nc-slide 4s linear infinite;
}
@keyframes nc-slide{to{background-position:300% 0}}
.nc-anim-pulse{font-weight:700;animation:nc-pulse 1.8s ease-in-out infinite}
@keyframes nc-pulse{
  0%,100%{color:#22e7ff!important;text-shadow:0 0 4px rgba(34,231,255,.5)}
  50%    {color:#ff2d7a!important;text-shadow:0 0 12px rgba(255,45,122,.9)}
}

/* ===== Profile-card frame ===== */
@property --frame-angle{ syntax:'<angle>'; initial-value:0deg; inherits:false; }

.frame{
  position:relative;padding:5px;border-radius:12px;
  --c1:#ff2d95;--c2:#00e5ff;--glow:rgba(255,45,150,.55);
}
.frame::before{content:'';position:absolute;inset:0;border-radius:inherit;z-index:0}
.frame > *{position:relative;z-index:1}

.frame.frame-fire {--c1:#ff4500;--c2:#ffb000;--glow:rgba(255,90,0,.55)}
.frame.frame-ice  {--c1:#7fdfff;--c2:#ffffff;--glow:rgba(120,220,255,.5)}
.frame.frame-gold {--c1:#b8860b;--c2:#ffd700;--glow:rgba(255,200,40,.5)}
.frame.frame-cyber{--c1:#ff2d95;--c2:#00e5ff;--glow:rgba(255,45,150,.55)}

.frame.frame-plain::before{background:var(--c2)}
.frame.frame-ornate::before{background:linear-gradient(135deg,var(--c1),var(--c2),var(--c1))}
.frame.frame-ornate{box-shadow:0 0 22px var(--glow)}
.frame.frame-animated::before{
  background:conic-gradient(from var(--frame-angle),
    var(--c1),var(--c2),var(--c1),var(--c2),var(--c1));
  animation:frame-spin 5s linear infinite;
}
.frame.frame-animated{animation:frame-glow 2.8s ease-in-out infinite}
@keyframes frame-spin{to{--frame-angle:360deg}}
@keyframes frame-glow{
  0%,100%{box-shadow:0 0 16px var(--glow)}
  50%    {box-shadow:0 0 38px var(--glow)}
}

@media(prefers-reduced-motion:reduce){
  .nc-grad-fire,.nc-anim-rainbow,.nc-anim-pulse,
  .frame.frame-animated,.frame.frame-animated::before{animation:none}
}
