/* Studio Effect — Text Effects (class-activated, CSS-variable driven) */

/* Gradient text. Vars: --se-grad (any CSS gradient). inline-block + padding-bottom avoids
   the classic background-clip:text descender clip on g/p/y. */
.se-text-gradient{
  --se-grad: linear-gradient(90deg,#6d5df6,#a855f7 55%,#ec4899);
  display:inline-block;
  padding-bottom:.08em;
  background:var(--se-grad);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

/* Animated gradient text. Var: --se-grad-speed */
.se-text-gradient-animated{
  --se-grad: linear-gradient(90deg,#6d5df6,#a855f7,#ec4899,#6d5df6);
  --se-grad-speed: 6s;
  display:inline-block;
  padding-bottom:.08em;
  background:var(--se-grad);
  background-size:300% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  animation:se-grad-move var(--se-grad-speed) linear infinite;
}
@keyframes se-grad-move{to{background-position:300% 0}}
@media (prefers-reduced-motion:reduce){.se-text-gradient-animated{animation:none}}

/* Outline / stroke text. Vars: --se-stroke-color, --se-stroke-width */
.se-text-outline{
  --se-stroke-color:#1c1d22;
  --se-stroke-width:1.5px;
  color:transparent;
  -webkit-text-stroke:var(--se-stroke-width) var(--se-stroke-color);
  text-stroke:var(--se-stroke-width) var(--se-stroke-color);
}

/* Highlight / marker behind text. Vars: --se-hl (colour), --se-hl-size (band height) */
.se-text-highlight{
  --se-hl:rgba(109,93,246,.38);
  --se-hl-size:.68em;   /* band height — thicker = more of a highlighter */
  display:inline;       /* hug the text, not the full element width */
  background:linear-gradient(var(--se-hl), var(--se-hl)) no-repeat;
  background-size:100% var(--se-hl-size);
  background-position:0 82%;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
