/* ==========================================================
   Lucy L3in · Link ufficiali — tema giallo pastello
   ========================================================== */

:root {
  --bg: #fff2f7;
  --card: rgba(255, 255, 255, .8);
  --pink: #ff8fbd;
  --pink-soft: #ffc6dd;
  --pink-pale: #ffe1ee;
  --rose: #e8508c;
  --deep: #a0285c;
  --muted: #b04f7c;
  --shadow: 0 18px 40px -22px rgba(200, 150, 20, .5);

  --round: "Fredoka", "Nunito", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 26px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* lo sfondo resta su html: se lo mettessi su body coprirebbe .ambient e .floaties */
body {
  min-height: 100svh;
  color: var(--deep);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--rose); color: #fff; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
  border-radius: 12px;
}

/* ---------- Sfondo ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  border-radius: 50%;
  animation: drift 20s var(--ease-io) infinite alternate;
}

.ambient span:nth-child(1) {
  width: 70vmax; height: 70vmax;
  left: -30vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(255, 214, 90, .42) 0%, transparent 62%);
}

.ambient span:nth-child(2) {
  width: 60vmax; height: 60vmax;
  right: -28vmax; top: 25vh;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, transparent 62%);
  animation-duration: 24s;
  animation-delay: -8s;
}

.ambient span:nth-child(3) {
  width: 55vmax; height: 55vmax;
  left: 5vw; bottom: -32vmax;
  background: radial-gradient(circle, rgba(255, 190, 150, .3) 0%, transparent 62%);
  animation-duration: 28s;
  animation-delay: -14s;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 8vmax, 0) scale(.94); }
}

/* cuoricini che salgono piano */
.floaties {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floaties i {
  position: absolute;
  bottom: -40px;
  left: var(--x);
  font-style: normal;
  font-size: var(--s);
  line-height: 1;
  color: var(--pink);
  opacity: 0;
  animation: float-up var(--t) linear infinite;
  animation-delay: var(--d);
}

@keyframes float-up {
  0%   { transform: translate3d(0, 0, 0) rotate(-10deg); opacity: 0; }
  10%  { opacity: .55; }
  50%  { transform: translate3d(18px, -55vh, 0) rotate(10deg); }
  90%  { opacity: .35; }
  100% { transform: translate3d(-12px, -110vh, 0) rotate(-8deg); opacity: 0; }
}

.side-word {
  position: fixed;
  top: 50%;
  z-index: -1;
  display: none;
  font-family: var(--round);
  font-weight: 700;
  font-size: 14vh;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(38, 38, 46, .1);
  writing-mode: vertical-rl;
  pointer-events: none;
  will-change: transform;
}

.side-word--left  { left: max(2vw, calc(50% - 560px)); translate: 0 -50%; rotate: 180deg; }
.side-word--right { right: max(2vw, calc(50% - 560px)); translate: 0 -50%; }

@media (min-width: 1000px) {
  .side-word { display: block; }
}

/* ---------- Preloader ---------- */

/* come sul sito ufficiale: il logo sfuma, poi i due pannelli si aprono verso i lati */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  pointer-events: none;
  --expo: cubic-bezier(.87, 0, .13, 1);
}

.js .loader { display: block; }

/* giallo del tema, con il logo L3 argento */
.loader__panel {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  background: #ffe38f;
  transition: transform .7s var(--expo) .5s;
}

.loader__panel--left  { left: 0;  transform-origin: left center; }
.loader__panel--right { right: 0; transform-origin: right center; }

.loader.is-done .loader__panel { transform: scaleX(0); }

.loader__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136px;
  translate: -50% -58%;
  isolation: isolate;
  opacity: 0;
  animation: mark-in 1s var(--ease) .1s forwards;
}

/* alone chiaro dietro il logo */
.loader__mark::before {
  content: "";
  position: absolute;
  inset: -70%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, .6) 0%, transparent 60%);
}

.loader__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(120, 80, 0, .35));
}

/* riflesso che attraversa solo la forma del logo */
.loader__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 160% 0;
  -webkit-mask: url("assets/logo-l3.png") center / contain no-repeat;
          mask: url("assets/logo-l3.png") center / contain no-repeat;
  opacity: .7;
  animation: logo-shine 1.8s var(--ease-io) .6s infinite;
}

.loader__bar {
  position: absolute;
  top: calc(50% + 92px);
  left: 50%;
  width: 64px;
  height: 3px;
  translate: -50% 0;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(38, 38, 46, .12);
  opacity: 0;
  animation: fade-in .6s ease .4s forwards;
}

.loader__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--deep);
  transform-origin: left center;
  animation: load 1.2s var(--ease-io) .4s both;
}

.loader.is-done .loader__mark { animation: mark-out .7s var(--expo) forwards; }
.loader.is-done .loader__bar  { animation: fade-out .3s ease forwards; }

@keyframes mark-in    { from { opacity: 0; scale: .85; filter: blur(8px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes mark-out   { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 1.08; } }
@keyframes logo-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes load       { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in    { to { opacity: 1; } }
@keyframes fade-out   { from { opacity: 1; } to { opacity: 0; } }

/* ---------- Layout ---------- */

.page {
  width: min(100% - 32px, 440px);
  margin-inline: auto;
  padding-top: max(16px, env(safe-area-inset-top));
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
  background: #f7e7b0;
  box-shadow: 0 30px 60px -30px rgba(200, 150, 20, .55);
}

.js .hero {
  clip-path: inset(10% 8% 10% 8% round 34px);
  transition: clip-path 1.4s var(--ease-io);
}

.is-ready .hero { clip-path: inset(0 0 0 0 round 34px); }

/* la foto è più alta del riquadro e spostata in su: il viso sale sopra il titolo */
.hero__media {
  position: absolute;
  inset: -12% 0 0 0;
  transform-origin: 50% 0%;
  will-change: transform;
}

/* foto ancorata in alto: anche gli zoom partono dal bordo superiore */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.js .hero__img {
  transform: scale(1.25);
  transform-origin: 50% 0%;
  transition: transform 2.2s var(--ease);
}

.is-ready .hero__img { transform: scale(1); }

/* la foto sfuma nel rosa dello sfondo */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(60, 15, 35, .35) 0%, transparent 22%, transparent 44%, rgba(255, 249, 224, .8) 70%, var(--bg) 93%),
    linear-gradient(160deg, rgba(255, 210, 80, .18), transparent 55%);
}

.hero__logo {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 112px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(60, 15, 35, .45));
}

.js .hero__logo {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .8s var(--ease) .9s, transform .8s var(--ease) .9s;
}

.is-ready .hero__logo { opacity: 1; transform: none; }

/* Badge rotante */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px rgba(60, 15, 35, .4);
  transition: transform .5s var(--bounce), background-color .3s, color .3s;
}

.js .badge {
  opacity: 0;
  scale: .6;
  transition: opacity .8s var(--ease) 1.1s, scale .8s var(--bounce) 1.1s, transform .5s var(--bounce), background-color .3s, color .3s;
}

.is-ready .badge { opacity: 1; scale: 1; }
.badge:hover { background: var(--rose); color: #fff; transform: rotate(-12deg) scale(1.05); }

.badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 14s linear infinite;
}

.badge__ring text {
  font-family: var(--round);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1.1px;
  fill: currentColor;
}

.badge__arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bob 1.8s var(--ease-io) infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob  { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* Testo hero */
.hero__text {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: center;
  padding: 0 20px 20px;
  text-align: center;
  will-change: transform, opacity;
}

.eyebrow {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 6px 18px -10px rgba(200, 150, 20, .6);
  font-family: var(--round);
  font-weight: 500;
  font-size: 13px;
  color: var(--rose);
}

.title {
  display: flex;
  justify-content: center;
  gap: .22em;
  margin: 6px 0 0;
  font-family: var(--round);
  font-weight: 600;
  font-size: clamp(3.3rem, 16vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--deep);
}

/* spazio sopra per il rimbalzo delle lettere */
.title__word {
  display: inline-flex;
  overflow: hidden;
  padding: .14em .02em .06em;
  margin: -.14em 0 -.06em;
}

.title__word--pink { color: var(--rose); }

.char { display: inline-block; }

.js .char {
  transform: translateY(110%);
  transition: transform .9s var(--bounce);
  transition-delay: calc(var(--i) * 60ms + 450ms);
}

.is-ready .char { transform: none; }

.role {
  margin-top: 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.js .eyebrow,
.js .role {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease), transform .9s var(--bounce);
}

.js .eyebrow { transition-delay: .35s; }
.js .role    { transition-delay: .9s; }

.is-ready .eyebrow,
.is-ready .role { opacity: 1; transform: none; }

/* ---------- Social ---------- */

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.social {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--rose);
  box-shadow: 0 10px 24px -14px rgba(200, 150, 20, .7);
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease), color .3s;
}

.social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  transform: scale(0);
  transition: transform .45s var(--bounce);
}

.social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  transition: transform .45s var(--bounce);
}

.social:hover {
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(200, 150, 20, .8);
  transform: translateY(-4px);
}

.social:hover::before { transform: scale(1); }
.social:hover svg { transform: scale(1.12) rotate(-8deg); }
.social:active { transform: scale(.9); }

.js .social {
  opacity: 0;
  translate: 0 16px;
  scale: .6;
  transition: opacity .7s var(--ease), translate .7s var(--bounce), scale .7s var(--bounce),
              transform .45s var(--bounce), box-shadow .45s var(--ease), color .3s;
  transition-delay: calc(var(--i) * 70ms + 1s), calc(var(--i) * 70ms + 1s), calc(var(--i) * 70ms + 1s), 0s, 0s, 0s;
}

.is-ready .social { opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Bio ---------- */

.bio {
  max-width: 34ch;
  margin: 18px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: balance;
}

.js .bio {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease) 1.3s, transform .9s var(--ease) 1.3s;
}

.is-ready .bio { opacity: 1; transform: none; }

/* ---------- Bottoni ---------- */

.links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  scroll-margin-top: 24px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px) scale(.97);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--bounce);
  transition-delay: var(--d, 0ms);
}

.link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .5s var(--bounce), box-shadow .5s var(--ease);
}

/* luce che segue il puntatore */
.link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 200, 60, .28), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
}

.link:hover::after { opacity: 1; }

/* velo rosa a tendina */
.link__fill {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, #fff0bf 0%, #fffbea 100%);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .7s var(--ease-io);
}

.link:hover .link__fill {
  transform: scaleX(1);
  transform-origin: left center;
}

.link:hover {
  box-shadow: 0 24px 44px -22px rgba(200, 150, 20, .65);
  transform: translateY(-3px);
}

.link:active { transform: scale(.97); }

.link__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--pink-pale);
  color: var(--rose);
  transition: background-color .4s, color .4s, transform .6s var(--bounce);
}

.link__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link:hover .link__icon {
  background: var(--rose);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.link__text { display: grid; gap: 1px; min-width: 0; }

.link__label {
  font-family: var(--round);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
}

.link__sub {
  font-size: 13px;
  color: var(--muted);
}

.link__go {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--rose);
  transition: background-color .4s, color .4s, transform .5s var(--bounce);
}

.link__arrow {
  width: 18px;
  height: 18px;
}

.link:hover .link__go {
  background: var(--rose);
  color: #fff;
  transform: rotate(45deg);
}

/* ---------- Bottone in evidenza ---------- */

.link--featured {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 6px;
  min-height: 116px;
  padding: 16px 18px 18px;
  border: 2px solid rgba(255, 255, 255, .9);
  text-align: center;
  color: var(--deep);
  background: linear-gradient(115deg, #ffdf7a 0%, #ffeaa8 25%, #fff7dc 50%, #ffeaa8 75%, #ffdf7a 100%);
  background-size: 250% 100%;
  box-shadow: 0 22px 46px -20px rgba(214, 160, 20, .55), inset 0 1px 0 rgba(255, 255, 255, .8);
  animation: flow 6s linear infinite, beat 4.2s var(--ease) infinite 2.6s;
}

.link--featured:hover {
  transform: translateY(-3px) scale(1.01);
}

.link--featured .link__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link--featured .link__label {
  font-size: 27px;
  font-weight: 700;
}

.link--featured .link__sub {
  color: var(--muted);
  font-weight: 700;
}

.link__of {
  width: 26px;
  height: 26px;
  fill: var(--rose);
}

.chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-family: var(--round);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px -8px rgba(200, 150, 20, .7);
  font-size: 12px;
  font-weight: 700;
}

.status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c86e;
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #34c86e;
  animation: ping 1.6s var(--ease) infinite;
}

.shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 4.2s var(--ease-io) infinite 1.8s;
  pointer-events: none;
}

@keyframes flow  { to { background-position: -250% 0; } }
@keyframes ping  { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

@keyframes beat {
  0%, 30%, 100% { scale: 1;     box-shadow: 0 22px 46px -20px rgba(214, 160, 20, .55), 0 0 0 0 rgba(255, 205, 70, 0); }
  8%, 22%       { scale: 1.035; box-shadow: 0 22px 46px -20px rgba(214, 160, 20, .55), 0 0 0 8px rgba(255, 205, 70, .3); }
  15%           { scale: 1;     box-shadow: 0 22px 46px -20px rgba(214, 160, 20, .55), 0 0 0 3px rgba(255, 205, 70, .18); }
}

/* cuoricini al tocco */
.heart {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  color: var(--rose);
  font-size: 18px;
  line-height: 1;
  animation: float-heart 1.1s var(--ease) forwards;
}

@keyframes float-heart {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)) scale(var(--s)); opacity: 0; }
}

/* ---------- Nastri ---------- */

.bands {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 26px 0;
}

.band {
  width: 112%;
  margin-left: -6%;
  overflow: hidden;
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 3rem);
  line-height: 1.1;
  white-space: nowrap;
}

.band--solid {
  position: relative;
  z-index: 1;
  padding: 12px 0;
  background: #ffe38f;
  color: var(--deep);
  rotate: -3deg;
  box-shadow: 0 20px 44px -22px rgba(200, 150, 20, .8);
}

.band--outline {
  margin-top: -6px;
  padding: 10px 0;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--rose);
  rotate: 2deg;
}

.band__track {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding-right: .45em;
  animation: marquee 22s linear infinite;
}

.band--outline .band__track {
  animation-direction: reverse;
  animation-duration: 28s;
}

.band__track i {
  font-style: normal;
  font-size: .6em;
}

.band--solid .band__track i { color: #fff; }
.band--outline .band__track i { color: var(--pink); -webkit-text-stroke: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */

.footer {
  display: grid;
  gap: 6px;
  width: min(100% - 32px, 440px);
  margin: 26px auto 0;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s;
}

.footer a:hover { color: var(--rose); }

/* ---------- Cursore (solo desktop) ---------- */

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  width: 34px;
  height: 34px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .35s var(--bounce), height .35s var(--bounce), background-color .35s, border-color .35s, opacity .35s;
}

.cursor.is-on { opacity: 1; }

.cursor.is-hover {
  width: 64px;
  height: 64px;
  border-color: transparent;
  background: rgba(255, 205, 70, .35);
}

/* ---------- Movimento ridotto ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .js .loader { display: none; }
  .shine, .floaties { display: none; }
}

/* ==========================================================
   Tema giallo: scritte scure, giallo solo per fondi e riempimenti
   ========================================================== */

:root {
  --bg: #fff9e0;
  --card: rgba(255, 255, 255, .85);
  --pink: #ffd84d;       /* giallo sole */
  --pink-soft: #ffe9a3;
  --pink-pale: #fff0c2;  /* riquadri delle icone */
  --rose: #ffcf33;       /* accento giallo (solo riempimenti) */
  --deep: #26262e;       /* scritte e icone */
  --muted: #5d5d68;
}

::selection { background: var(--rose); color: var(--deep); }
:focus-visible { outline-color: var(--deep); }


.badge:hover { background: var(--deep); color: var(--rose); }

.eyebrow { color: var(--deep); }

/* "L3in" scuro con un fulmine disegnato accanto */
.title__word--pink { color: var(--deep); }

.title__mark {
  position: relative;
  display: inline-flex;
}

.title__bolt {
  position: absolute;
  top: -.26em;
  right: -.36em;
  width: .42em;
  height: auto;
  overflow: visible;
  rotate: 14deg;
  pointer-events: none;
}

.title__bolt path {
  fill: var(--pink);
  stroke: var(--deep);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* prima si disegna il contorno, poi si riempie */
.js .title__bolt path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  fill-opacity: 0;
  transition: stroke-dashoffset .7s var(--ease) 1.1s, fill-opacity .4s ease 1.7s;
}

.is-ready .title__bolt path { stroke-dashoffset: 0; fill-opacity: 1; }
.is-ready .title__bolt { animation: zap 4s ease-in-out 2.6s infinite; }

@keyframes zap {
  0%, 86%, 100% { transform: none; }
  89% { transform: scale(1.2) rotate(-8deg); }
  93% { transform: scale(.94) rotate(5deg); }
  96% { transform: scale(1.06); }
}

.social { color: var(--deep); }
.social:hover { color: var(--deep); }

.link__icon { color: var(--deep); }
.link:hover .link__icon { background: var(--rose); color: var(--deep); }

.link__go { color: var(--deep); }
.link:hover .link__go { background: var(--deep); color: var(--rose); }

.link__of { fill: var(--deep); }
.chip { background: var(--deep); color: var(--rose); }

.heart svg { width: 22px; height: 30px; filter: drop-shadow(0 3px 8px rgba(255, 160, 0, .45)); }

.band--solid .band__track i { color: var(--deep); }
.band--outline { -webkit-text-stroke-color: rgba(38, 38, 46, .55); }
.band--outline .band__track i { color: var(--deep); }

.footer a:hover { color: var(--deep); }
.cursor { border-color: var(--deep); }

/* fulmini che salgono e ogni tanto lampeggiano */
.floaties svg {
  width: var(--s);
  height: calc(var(--s) * 1.33);
  overflow: visible;
  filter: drop-shadow(0 4px 10px rgba(255, 160, 0, .35));
  animation: zap-flicker 2.6s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes zap-flicker {
  0%, 44%, 100% { opacity: 1; scale: 1; }
  48% { opacity: .3; scale: .88; }
  52% { opacity: 1; scale: 1.18; }
  56% { opacity: .6; }
  60% { opacity: 1; scale: 1; }
}

@keyframes float-up {
  0%   { transform: translate3d(0, 0, 0) rotate(-12deg); opacity: 0; }
  10%  { opacity: .7; }
  50%  { transform: translate3d(8px, -55vh, 0) rotate(12deg); }
  90%  { opacity: .55; }
  100% { transform: translate3d(-6px, -110vh, 0) rotate(-10deg); opacity: 0; }
}
