/* Wicion · Nombre principal V30 */
.cover .wicion-main-title{
  margin:0 0 var(--formal-title-gap,18px);
  font-family:var(--wicion-name-font,var(--font-title)) !important;
  font-size:var(--wicion-name-size,62px) !important;
  color:var(--wicion-name-color,#ffffff) !important;
  letter-spacing:var(--wicion-name-spacing,0px) !important;
  font-weight:var(--wicion-name-weight,400) !important;
  line-height:var(--wicion-name-line-height,1) !important;
  text-shadow:var(--wicion-name-shadow,0 2px 14px rgba(0,0,0,.38));
  opacity:1;
  transform:none;
  filter:none;
  white-space:normal;
  overflow-wrap:anywhere;
}

@media(max-width:430px){
  .cover .wicion-main-title{
    font-size:var(--wicion-name-size-mobile,var(--wicion-name-size,56px)) !important;
  }
}

.wicion-main-title.wicion-title-typing::after{
  content:'|';
  display:inline-block;
  margin-left:.05em;
  animation:wicionTitleCursorV30 .72s steps(1,end) infinite;
}
@keyframes wicionTitleCursorV30{0%,48%{opacity:1}49%,100%{opacity:0}}

.wicion-main-title.wicion-title-fade{animation:wicionTitleFadeV30 var(--wicion-title-duration,700ms) ease both}
@keyframes wicionTitleFadeV30{from{opacity:0}to{opacity:1}}

.wicion-main-title.wicion-title-up{animation:wicionTitleUpV30 var(--wicion-title-duration,700ms) cubic-bezier(.2,.8,.2,1) both}
@keyframes wicionTitleUpV30{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}

.wicion-main-title.wicion-title-zoom{animation:wicionTitleZoomV30 var(--wicion-title-duration,700ms) cubic-bezier(.2,.8,.2,1) both}
@keyframes wicionTitleZoomV30{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}

.wicion-main-title.wicion-title-flicker{animation:wicionTitleFlickerV30 var(--wicion-title-duration,800ms) linear both}
@keyframes wicionTitleFlickerV30{0%{opacity:0}15%{opacity:1}25%{opacity:.15}38%{opacity:1}52%{opacity:.25}68%,100%{opacity:1}}

.wicion-main-title.wicion-title-glow{animation:wicionTitleGlowV30 var(--wicion-title-duration,900ms) ease-out both}
@keyframes wicionTitleGlowV30{
  0%{opacity:0;filter:blur(4px);text-shadow:0 0 2px currentColor}
  55%{opacity:1;filter:blur(0);text-shadow:0 0 24px currentColor,0 0 44px currentColor}
  100%{opacity:1;filter:none;text-shadow:var(--wicion-name-shadow,0 2px 14px rgba(0,0,0,.38))}
}

.wicion-title-letter{
  display:inline-block;
  position:relative;
  color:inherit;
  transform-origin:center;
}

/* Trazado: contorno primero, relleno después, letra por letra */
.wicion-letter-trace{
  opacity:0;
  color:transparent;
  -webkit-text-stroke:1px var(--wicion-name-color,#fff);
  animation:wicionLetterTraceV30 760ms cubic-bezier(.2,.75,.2,1) forwards;
  animation-delay:var(--letter-delay,0ms);
}
@keyframes wicionLetterTraceV30{
  0%{opacity:0;color:transparent;-webkit-text-stroke:1px var(--wicion-name-color,#fff);transform:scale(.82)}
  38%{opacity:1;color:transparent;-webkit-text-stroke:1px var(--wicion-name-color,#fff);transform:scale(1.04)}
  100%{opacity:1;color:var(--wicion-name-color,#fff);-webkit-text-stroke:0 transparent;transform:scale(1)}
}

.wicion-letter-cascade{
  opacity:0;
  transform:translateY(30px) rotate(3deg);
  animation:wicionLetterCascadeV30 620ms cubic-bezier(.18,.86,.22,1) forwards;
  animation-delay:var(--letter-delay,0ms);
}
@keyframes wicionLetterCascadeV30{to{opacity:1;transform:none}}

.wicion-letter-flip{
  opacity:0;
  transform:perspective(500px) rotateY(-92deg);
  animation:wicionLetterFlipV30 700ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay:var(--letter-delay,0ms);
  backface-visibility:hidden;
}
@keyframes wicionLetterFlipV30{60%{opacity:1;transform:perspective(500px) rotateY(8deg)}100%{opacity:1;transform:perspective(500px) rotateY(0)}}

.wicion-letter-focus{
  opacity:0;
  filter:blur(10px);
  transform:scale(1.22);
  animation:wicionLetterFocusV30 720ms ease-out forwards;
  animation-delay:var(--letter-delay,0ms);
}
@keyframes wicionLetterFocusV30{to{opacity:1;filter:blur(0);transform:scale(1)}}

.wicion-letter-expand{
  opacity:0;
  transform:scaleX(.25) scaleY(.82);
  animation:wicionLetterExpandV30 680ms cubic-bezier(.2,.9,.25,1) forwards;
  animation-delay:var(--letter-delay,0ms);
}
@keyframes wicionLetterExpandV30{70%{opacity:1;transform:scaleX(1.08) scaleY(1.03)}100%{opacity:1;transform:scale(1)}}
