    /* ═══════════════════════════════════════════════════════════════
       Paleta muestreada de assets/img/newlogo.webp. Los nombres antiguos
       (--azure, --dusk, --ice, --frost) se conservan como ALIAS apuntando
       a los valores nuevos: hay 100+ referencias por el archivo y así se
       retematizan todas de golpe, sin un barrido propenso a erratas.

       --gold queda RESERVADO a señal de descuento activo. Solo puede
       aparecer en: .card__sale, .tab-sale-badge, .global-discount-banner,
       .launch--gold, .cart-btn.gold, .specimen--gold y .glow--gold.
       El acento monetario permanente es --orchid.
       ═══════════════════════════════════════════════════════════════ */
    :root {
      /* Superficies */
      --void: #0B0A16;
      --void-2: #12101F;
      --surface: #1A1730;
      --surface-2: #232043;
      --line: #34305C;
      --line-soft: rgba(52, 48, 92, .55);

      /* Cromáticos del logo */
      --cyan: #81D0FA;
      --cyan-2: #458EE7;
      --indigo: #462DE0;
      --violet: #613CF4;
      --orchid: #EB86F9;
      --orchid-soft: #FEB3FD;
      --chrome: #DCE4EE;
      --chrome-dim: #9EB4C5;

      /* Funcionales */
      --gold: #ffc94a;
      --gold-deep: #e8a520;
      --online: #4BE3B0;
      --text: #EAF0FA;
      --text-dim: #9A96B8;
      --danger: #FF4D6D;

      /* Degradados y movimiento */
      --sig: linear-gradient(100deg, #458EE7, #613CF4, #EB86F9);
      --sig-135: linear-gradient(135deg, #458EE7, #613CF4, #EB86F9);
      --grad-bezel: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.012));
      --e-out: cubic-bezier(.16, 1, .3, 1);
      --e-spring: cubic-bezier(.34, 1.56, .64, 1);
      --inset-top: inset 0 1px 0 rgba(255,255,255,.07);
      --glow-cyan: 0 0 0 1px rgba(129,208,250,.35), 0 0 32px -6px rgba(69,142,231,.55);
      --glow-violet: 0 0 40px -8px rgba(97,60,244,.55);
      --glow-orchid: 0 0 40px -8px rgba(235,134,249,.5);
      --sh-2: 0 8px 24px -8px rgba(21,10,58,.7);
      --sh-3: 0 20px 48px -16px rgba(28,12,74,.75);

      --r-panel: 20px;
      --r-el: 12px;
      --shell-pad: 6px;
      --font-display: "Space Grotesk", "Sora", sans-serif;
      --font-body: "Instrument Sans", sans-serif;
      --font-mono: "JetBrains Mono", ui-monospace, monospace;

      /* ── ALIAS de compatibilidad (borrar tras migrar los call sites) ── */
      --dusk: var(--surface);
      --dusk-2: var(--surface-2);
      --azure: var(--cyan-2);
      --azure-soft: var(--cyan);
      --azure-deep: var(--indigo);
      --ice: var(--cyan);
      --frost: var(--cyan);
      --frost-soft: var(--chrome);
      --frost-deep: var(--chrome-dim);
    }

    html {
      font-size: 16px;
      scroll-behavior: smooth
    }

    @media(min-width:1800px) {
      html {
        font-size: 18px
      }
    }

    @media(min-width:2400px) {
      html {
        font-size: 20px
      }
    }

    @media(min-width:3200px) {
      html {
        font-size: 22px
      }
    }

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

    body {
      background: var(--void);
      color: var(--text);
      font-family: var(--font-body);
      overflow-x: hidden;
      min-height: 100vh
    }

    ::selection {
      background: var(--azure);
      color: #04121c
    }

    img {
      display: block;
      max-width: 100%
    }

    /* ═══ Cielo nocturno: brillos suaves + estrellas tenues, sin rejillas ═══ */
    .blueprint {
      position: fixed;
      inset: 0;
      z-index: -3;
      background:
        radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(3, 7, 12, .5) 100%),
        radial-gradient(1100px 560px at 78% -8%, rgba(0, 178, 255, .10), transparent 62%),
        radial-gradient(900px 520px at -8% 106%, rgba(94, 156, 200, .07), transparent 60%),
        var(--void)
    }

    .blueprint::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .5;
      background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .5), transparent),
        radial-gradient(1px 1px at 34% 8%, rgba(233, 243, 251, .42), transparent),
        radial-gradient(1.5px 1.5px at 57% 31%, rgba(161, 216, 255, .4), transparent),
        radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .38), transparent),
        radial-gradient(1px 1px at 88% 26%, rgba(233, 243, 251, .4), transparent),
        radial-gradient(1.5px 1.5px at 45% 18%, rgba(255, 255, 255, .3), transparent),
        radial-gradient(1px 1px at 21% 40%, rgba(161, 216, 255, .3), transparent),
        radial-gradient(1px 1px at 95% 42%, rgba(255, 255, 255, .28), transparent);
      background-repeat: repeat;
      background-size: 1100px 760px;
      -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 48%, transparent 82%);
      mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 48%, transparent 82%)
    }

    .blueprint::after {
      content: "";
      position: absolute;
      width: 56vw;
      height: 56vw;
      border-radius: 50%;
      filter: blur(130px);
      opacity: .15;
      background: radial-gradient(circle, var(--azure), transparent 65%);
      top: -20%;
      right: -14%;
      animation: orbDrift 26s ease-in-out infinite alternate
    }

    @keyframes orbDrift {
      to {
        transform: translate(-10vw, 11vh) scale(1.2)
      }
    }

    /* Backdrop del hero (3440px, desaturado: imagen cálida vs marca azul) */
    .hero-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      height: 100vh;
      z-index: -1;
      overflow: hidden;
      pointer-events: none
    }

    .hero-backdrop img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 45%;
      opacity: .24;
      filter: saturate(.6)
    }

    .hero-backdrop::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 13, 20, .55) 0%, rgba(7, 13, 20, .3) 45%, var(--void) 97%)
    }

    /* ═══ Utilidades ═══ */
    .container {
      width: min(1280px, 92%);
      margin-inline: auto
    }

    .data {
      font-family: var(--font-body);
      font-weight: 600;
      letter-spacing: .13em;
      text-transform: uppercase
    }

    /* Paneles con gema: marco interior fino + rombo en la corona */
    .tick {
      position: relative
    }

    .tick::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: linear-gradient(180deg, rgba(233, 243, 251, .055), transparent 24%);
      pointer-events: none;
      z-index: 1
    }

    .tick::after {
      content: "";
      position: absolute;
      top: 0;
      left: 16%;
      right: 16%;
      height: 1.5px;
      background: linear-gradient(90deg, transparent, var(--gem-hover, var(--azure)), transparent);
      opacity: .3;
      transition: opacity .35s;
      z-index: 2
    }

    .tick:hover::after {
      opacity: .95
    }

    /* Cabecera de sección: numeral romano + regla con rombo */
    .shead {
      margin-bottom: 2.6rem
    }

    .shead__kicker {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .74rem;
      letter-spacing: .26em;
      color: var(--ice);
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: .85rem
    }

    .shead__kicker::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 3px;
      background: var(--azure);
      box-shadow: 0 0 10px rgba(0, 178, 255, .7)
    }

    .shead__kicker::after {
      content: "";
      height: 1px;
      width: 84px;
      background: linear-gradient(90deg, var(--azure-deep), transparent)
    }

    .shead h2 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(1.45rem, 2.6vw, 2.2rem);
      letter-spacing: -.01em;
      margin-top: .55rem;
      text-wrap: balance
    }

    .shead p {
      color: var(--text-dim);
      max-width: 38rem;
      line-height: 1.65;
      margin-top: .7rem;
      font-size: 1rem
    }

    section {
      padding: 5.5rem 0
    }

    /* ═══ Header ═══ */
    header {
      position: sticky;
      top: 0;
      z-index: 60;
      backdrop-filter: blur(16px) saturate(1.5);
      -webkit-backdrop-filter: blur(16px) saturate(1.5);
      background: rgba(7, 13, 20, .68);
      border-bottom: 1px solid rgba(32, 55, 77, .6)
    }

    .topbar {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: .75rem 0;
      flex-wrap: wrap
    }

    .brand {
      display: flex;
      align-items: center;
      gap: .7rem;
      text-decoration: none;
      color: var(--text);
      flex-shrink: 0
    }

    .brand__mark {
      height: 36px;
      width: auto;
      flex: none
    }

    .brand__name {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.1rem;
      letter-spacing: .02em
    }

    .brand__tag {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .6rem;
      color: var(--azure);
      letter-spacing: .24em;
      margin-left: .2rem;
      padding: .24rem .55rem;
      border: 1px solid var(--line);
      border-radius: 6px;
      text-transform: uppercase
    }

    .hud {
      display: flex;
      align-items: center;
      gap: .55rem;
      margin-left: auto;
      flex-wrap: wrap
    }

    .hud-chip {
      display: flex;
      align-items: center;
      gap: .55rem;
      background: transparent;
      border: 1px solid var(--line);
      padding: .52rem .85rem;
      border-radius: var(--r-el);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .7rem;
      letter-spacing: .12em;
      color: var(--text-dim);
      cursor: pointer;
      transition: border-color .3s, transform .2s;
      user-select: none;
      white-space: nowrap;
      text-transform: uppercase
    }

    .hud-chip:hover {
      border-color: var(--azure);
      transform: translateY(-1px)
    }

    .hud-chip img {
      width: 20px;
      height: 20px;
      image-rendering: pixelated;
      border-radius: 5px
    }

    .hud-dot {
      width: 7px;
      height: 7px;
      flex: none;
      background: var(--online);
      border-radius: 50%;
      animation: pulse 2s infinite
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .3
      }
    }

    .hud-chip strong {
      color: var(--text)
    }

    .cart-btn {
      background: var(--azure);
      color: #04121c;
      border: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .74rem;
      letter-spacing: .05em;
      padding: .6rem 1.1rem;
      border-radius: 999px;
      cursor: pointer;
      display: flex;
      gap: .55rem;
      align-items: center;
      transition: transform .2s, background .25s;
      white-space: nowrap;
      text-transform: uppercase
    }

    .cart-btn:hover {
      transform: translateY(-2px);
      background: var(--azure-soft)
    }

    .cart-btn.gold {
      background: linear-gradient(135deg, #ffc94a, #ff9900);
      color: #000;
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
    }
    .cart-btn.gold:hover {
      background: linear-gradient(135deg, #ffd670, #ffaa00);
      box-shadow: 0 6px 20px rgba(255, 153, 0, 0.6);
    }

    .global-discount-banner {
      background: linear-gradient(90deg, #ff9900, #ffc94a) !important;
      color: #000 !important;
      text-align: center !important;
      padding: 0.8rem 1rem !important;
      font-weight: 700 !important;
      font-size: 0.95rem !important;
      width: 100% !important;
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3) !important;
      display: none;
      font-family: var(--font-display) !important;
      position: relative !important;
      z-index: 9999 !important;
    }

    .cart-count {
      background: #04121c;
      color: var(--orchid);
      min-width: 20px;
      height: 20px;
      padding: 0 .3rem;
      font-size: .64rem;
      border-radius: 999px;
      font-family: var(--font-body);
      display: inline-grid;
      place-items: center;
      line-height: 1
    }

    /* ═══ Hero ═══ */
    .hero {
      position: relative;
      padding: 5rem 0 4rem;
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 3rem;
      align-items: center;
      min-height: min(80vh, 740px)
    }

    .hero__text {
      position: relative;
      z-index: 2
    }

    .hero__meta {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .74rem;
      letter-spacing: .26em;
      color: var(--ice);
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: .9rem
    }

    .hero__meta::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 3px;
      background: var(--azure);
      box-shadow: 0 0 10px rgba(0, 178, 255, .7)
    }

    .hero h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(2rem, 3.7vw, 3.4rem);
      line-height: 1.1;
      letter-spacing: -.015em;
      margin: 1.1rem 0 0;
      text-wrap: balance;
      max-width: 15ch
    }

    .glow {
      background: linear-gradient(100deg, var(--azure-deep) 0%, var(--azure) 35%, var(--ice) 60%, var(--azure) 85%);
      background-size: 250% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shine 6s infinite linear;
      transition: all 0.3s ease;
    }

    .glow--gold {
      background: linear-gradient(100deg, #e8a520 0%, #ffc94a 35%, #ffd670 60%, #ffc94a 85%);
      background-size: 250% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    @keyframes shimmer {
      to {
        background-position: -250% 0
      }
    }

    .hero .lead {
      color: var(--text-dim);
      font-size: 1.06rem;
      max-width: 31rem;
      margin: 1.3rem 0 2rem;
      line-height: 1.68;
      text-wrap: pretty
    }

    .hero-cta {
      display: flex;
      gap: .9rem;
      flex-wrap: wrap;
      align-items: center
    }

    .btn {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .8rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: .92rem 1.6rem;
      border-radius: 999px;
      cursor: pointer;
      border: none;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      transition: transform .3s cubic-bezier(.16, 1, .3, 1), filter .3s;
      color: inherit;
      position: relative;
      overflow: hidden
    }

    .btn:hover {
      transform: translateY(-3px)
    }

    .btn::after {
      content: "";
      position: absolute;
      top: 0;
      left: -90%;
      width: 55%;
      height: 100%;
      background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .3), transparent);
      transform: skewX(-20deg);
      transition: left .6s cubic-bezier(.16, 1, .3, 1)
    }

    .btn:hover::after {
      left: 140%
    }

    /* Antes .btn-gold. Renombrado: el oro quedó reservado a descuento y
       este es el CTA de compra permanente, que ahora va en orquídea. */
    .btn-primary {
      background: linear-gradient(180deg, var(--orchid), #C95FD9);
      color: #12101F
    }

    .btn-primary:hover {
      filter: brightness(1.06);
      box-shadow: var(--glow-orchid)
    }

    .btn-azure {
      background: var(--sig-135);
      color: #0B0A16
    }

    .btn-azure:hover {
      filter: brightness(1.08);
      box-shadow: var(--glow-violet)
    }

    /* CTA del modal de usuario: antes iba con style="" inline y handlers
       onmouseover/onmouseout en el HTML. */
    .modal__cta {
      width: 100%;
      justify-content: center;
      background: linear-gradient(135deg, var(--orchid), #C95FD9);
      color: #12101F;
      font-size: 1.05rem;
      padding: .85rem;
      border-radius: var(--r-el);
      font-weight: 800;
      font-family: var(--font-display);
      text-transform: uppercase;
      letter-spacing: .04em;
      border: none;
      box-shadow: 0 0 20px rgba(235, 134, 249, .35);
      margin-top: .75rem;
      cursor: pointer;
      transition: transform .2s var(--e-spring), box-shadow .2s var(--e-out)
    }

    .modal__cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 28px rgba(235, 134, 249, .55)
    }

    .btn-ghost {
      background: transparent;
      color: var(--text);
      outline: 1px solid var(--line);
      outline-offset: -1px
    }

    .btn-ghost:hover {
      outline-color: var(--azure)
    }

    .btn-ghost::after {
      display: none
    }

    /* Stats: filas de crónica con regla */
    .hero-stats {
      margin-top: 2.1rem;
      max-width: 26rem;
      border-top: 1px solid var(--line)
    }

    .hero-stat {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      padding: .72rem .1rem;
      border-bottom: 1px solid var(--line)
    }

    .hero-stat span:first-child {
      color: var(--text-dim);
      font-size: .92rem
    }

    .hero-stat .data {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.2rem;
      letter-spacing: .04em;
      color: var(--cyan)
    }

    /* Retrato del personaje */
    .hero__visual {
      position: relative;
      z-index: 2
    }

    .specimen {
      background: linear-gradient(180deg, rgba(16, 32, 47, .75), rgba(11, 20, 31, .85));
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      padding: 1.1rem;
      --gem-hover: var(--azure);
      transition: all 0.3s ease;
    }

    .specimen--gold {
      background: linear-gradient(180deg, rgba(30, 25, 10, .8), rgba(16, 12, 5, .9));
      border-color: rgba(255, 201, 74, 0.4);
      box-shadow: 0 0 25px rgba(255, 153, 0, 0.15);
    }

    .specimen__bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .15rem .35rem .85rem;
      border-bottom: 1px solid var(--line)
    }

    .specimen__bar .data {
      font-size: .68rem;
      color: var(--text-dim)
    }

    .specimen__bar .data b {
      color: var(--ice);
      font-weight: 700
    }

    .specimen__stage {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      min-height: 400px;
      overflow: hidden;
      background: radial-gradient(420px 210px at 50% 100%, rgba(0, 178, 255, .13), transparent 70%)
    }

    .specimen__stage::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%);
      width: 200px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(161, 216, 255, .35), transparent)
    }

    #skin-canvas {
      position: relative;
      z-index: 1;
      filter: drop-shadow(0 20px 45px rgba(0, 178, 255, .35));
      cursor: pointer
    }

    .hero-skin-img {
      position: relative;
      z-index: 1;
      height: 300px;
      width: auto;
      image-rendering: pixelated;
      filter: drop-shadow(0 20px 45px rgba(0, 178, 255, .35));
      animation: skinFloat 5s ease-in-out infinite;
      margin-bottom: 1.4rem
    }

    @keyframes skinFloat {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-14px)
      }
    }

    .specimen__foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: .85rem .35rem .15rem;
      border-top: 1px solid var(--line)
    }

    .specimen__foot .data {
      font-size: .68rem;
      color: var(--text-dim)
    }

    .specimen__foot .data strong {
      color: var(--ice);
      font-weight: 700
    }

    .specimen__foot button {
      background: none;
      border: 1px solid var(--line);
      color: var(--text-dim);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .64rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      padding: .42rem .7rem;
      border-radius: 8px;
      cursor: pointer;
      transition: border-color .25s, color .25s
    }

    .specimen__foot button:hover {
      border-color: var(--azure);
      color: var(--text)
    }

    /* ═══ Franja de datos + ticker ═══ */
    .datastrip {
      border-block: 1px solid var(--line);
      background: rgba(11, 20, 31, .7)
    }

    .datastrip__row {
      display: flex;
      align-items: center;
      gap: 0;
      flex-wrap: wrap
    }

    .datastrip__cell {
      flex: 1;
      min-width: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .7rem;
      padding: 1rem 1.2rem;
      border-right: 1px solid var(--line);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .72rem;
      letter-spacing: .16em;
      color: var(--text-dim);
      text-transform: uppercase;
      cursor: default
    }

    .datastrip__cell:last-child {
      border-right: none
    }

    .datastrip__cell strong {
      color: var(--text)
    }

    .datastrip__cell.click {
      cursor: pointer;
      transition: background .25s
    }

    .datastrip__cell.click:hover {
      background: rgba(0, 178, 255, .06)
    }

    @media(max-width:768px) {
      .datastrip__cell {
        min-width: 46%;
        border-bottom: 1px solid var(--line)
      }
    }

    .ticker-zone {
      position: relative;
      border-bottom: 1px solid var(--line);
      background: rgba(11, 20, 31, .5)
    }

    .ticker-label {
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      background: var(--void);
      border-right: 1px solid var(--line);
      padding: .55rem 1.1rem;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .66rem;
      letter-spacing: .16em;
      color: var(--chrome-dim);
      z-index: 6;
      white-space: nowrap;
      text-transform: uppercase;
      height: 100%;
      display: flex;
      align-items: center
    }

    .ticker-wrap {
      padding: .9rem 0 .9rem 185px;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent 175px, #000 235px, #000 94%, transparent);
      mask-image: linear-gradient(90deg, transparent 175px, #000 235px, #000 94%, transparent)
    }

    .ticker {
      display: flex;
      gap: 2.2rem;
      width: max-content;
      animation: marquee var(--ticker-dur, 45s) linear infinite;
      will-change: transform
    }

    .ticker:hover {
      animation-play-state: paused
    }

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

    .slot {
      display: flex;
      align-items: center;
      gap: .7rem;
      white-space: nowrap
    }

    .slot img {
      width: 26px;
      height: 26px;
      image-rendering: pixelated;
      border-radius: 6px;
      flex: none
    }

    .slot__name {
      font-weight: 600;
      font-size: .92rem;
      color: var(--text)
    }

    .slot__pkg {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .7rem;
      letter-spacing: .14em;
      color: var(--azure);
      text-transform: uppercase
    }

    .slot__amt {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .82rem;
      color: var(--orchid)
    }

    .slot__sep {
      color: var(--line)
    }

    /* ═══ Salón de la fama ═══ */
    .fame-grid {
      display: grid;
      grid-template-columns: 1.35fr .95fr;
      gap: 1.4rem;
      align-items: stretch
    }

    .top-donor {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 1.6rem;
      align-items: center;
      background: linear-gradient(160deg, rgba(255, 201, 74, .045), rgba(0, 178, 255, .05)), var(--void-2);
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      padding: 2rem;
      position: relative;
      --gem-hover: var(--orchid)
    }

    .podium {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center
    }

    .podium img.body-render {
      height: 330px;
      width: auto;
      image-rendering: pixelated;
      object-fit: contain;
      filter: drop-shadow(0 20px 40px rgba(255, 201, 74, .28));
      animation: skinFloat 5s ease-in-out infinite
    }

    .top-donor__label {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .72rem;
      letter-spacing: .24em;
      color: var(--orchid);
      text-transform: uppercase
    }

    .top-donor__name {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.5rem, 2.6vw, 2.2rem);
      color: var(--orchid);
      margin-top: .4rem
    }

    .top-donor__amount {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: .05em;
      color: var(--ice);
      margin: .4rem 0 .6rem
    }

    .top-donor__desc {
      color: var(--text-dim);
      margin: .4rem 0 1.2rem;
      line-height: 1.6;
      font-size: .92rem
    }

    .medal-row {
      display: flex;
      gap: .6rem;
      flex-wrap: wrap
    }

    .medal {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .66rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: .46rem .75rem;
      background: var(--dusk);
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--text-dim);
      transition: border-color .3s, transform .3s;
      display: inline-flex;
      align-items: center;
      gap: .45rem
    }

    .medal svg {
      width: 14px;
      height: 14px;
      flex: none;
      color: var(--orchid)
    }

    .medal:hover {
      border-color: var(--orchid);
      transform: translateY(-2px)
    }

    .ranking {
      background: var(--void-2);
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      padding: 1.5rem 1.6rem;
      display: flex;
      flex-direction: column;
      --gem-hover: var(--azure)
    }

    .ranking__head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 1rem;
      padding-bottom: .9rem;
      border-bottom: 1px solid var(--line)
    }

    .ranking__head .data {
      font-size: .7rem;
      color: var(--ice)
    }

    .ranking__sub {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .66rem;
      letter-spacing: .12em;
      color: var(--text-dim);
      text-transform: uppercase
    }

    .ranking__list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: .1rem;
      counter-reset: rank;
      margin: 0;
      padding: 0
    }

    .rank-item {
      display: flex;
      align-items: center;
      gap: .85rem;
      padding: .55rem .6rem;
      border-radius: 8px;
      transition: background .25s;
      counter-increment: rank
    }

    .rank-item:hover {
      background: var(--dusk)
    }

    .rank-item__pos {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .82rem;
      color: var(--text-dim);
      width: 1.7rem;
      text-align: center;
      flex: none
    }

    .rank-item__pos::before {
      content: counter(rank)
    }

    .rank-item__avatar {
      width: 30px;
      height: 30px;
      border-radius: 6px;
      image-rendering: pixelated;
      flex: none;
      border: 1px solid var(--line)
    }

    .rank-item__name {
      font-weight: 500;
      font-size: .92rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1
    }

    .rank-item__amt {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: .8rem;
      color: var(--text-dim);
      flex: none
    }

    .rank-item--1 {
      background: linear-gradient(90deg, rgba(255, 201, 74, .13), transparent);
      border: 1px solid rgba(255, 201, 74, .3)
    }

    .rank-item--1 .rank-item__pos,
    .rank-item--1 .rank-item__amt {
      color: var(--orchid)
    }

    .rank-item--1 .rank-item__name {
      color: var(--orchid);
      font-weight: 700
    }

    .rank-item--1 .rank-item__avatar {
      border-color: var(--orchid);
      box-shadow: 0 0 10px rgba(255, 201, 74, .35)
    }

    .rank-item--2 .rank-item__pos,
    .rank-item--2 .rank-item__name {
      color: #cfd8e0
    }

    .rank-item--2 .rank-item__avatar {
      border-color: #9aacbd
    }

    .rank-item--3 .rank-item__pos,
    .rank-item--3 .rank-item__name {
      color: #e0a06a
    }

    .rank-item--3 .rank-item__avatar {
      border-color: #c67e4a
    }

    @media(max-width:900px) {
      .fame-grid {
        grid-template-columns: 1fr
      }
    }

    /* ═══ Catálogo: rejilla asimétrica, Zaros más ancho ═══ */
    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      align-items: stretch
    }

    /* --lift y --scale se animan: hay que registrarlas o el navegador las
       trata como valores discretos y saltan en vez de interpolar. */
    @property --lift {
      syntax: "<length>";
      inherits: false;
      initial-value: 0px;
    }

    @property --scale {
      syntax: "<number>";
      inherits: false;
      initial-value: 1;
    }

    /* Doble bisel sin tocar la plantilla de renderCards: dos capas de
       background con origen distinto (padding-box para el relleno,
       border-box para el anillo) dan cáscara y núcleo con un solo elemento. */
    .card {
      border: 1px solid transparent;
      border-radius: var(--r-panel);
      background:
        linear-gradient(180deg, var(--surface), var(--void-2)) padding-box,
        linear-gradient(135deg, rgba(69,142,231,.55), rgba(97,60,244,.35), rgba(235,134,249,.5)) border-box;
      padding: 1.7rem;
      display: flex;
      flex-direction: column;
      position: relative;
      --rx: 0deg;
      --ry: 0deg;
      --lift: 0px;
      --scale: 1;
      transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry))
                 translateY(var(--lift)) scale(var(--scale));
      box-shadow: var(--inset-top), var(--sh-2);
      transition: --lift .5s var(--e-spring),
                  --scale .5s var(--e-out),
                  box-shadow .45s var(--e-out);
      will-change: transform;
      --gem-hover: var(--card-accent, var(--cyan-2))
    }

    /* El borde es transparente (lo pinta la capa border-box), así que
       border-color en hover sería un no-op. El acento va como anillo. */
    .card:hover {
      --lift: -10px;
      --scale: 1.012;
      box-shadow:
        var(--inset-top),
        0 0 0 1px var(--card-accent, var(--cyan-2)),
        var(--sh-3);
    }

    .card__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: .4rem;
      min-height: 1.6rem
    }

    .card__idx {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.35rem;
      line-height: 1;
      color: var(--card-accent, var(--azure-deep));
      opacity: .7
    }

    .card__tag {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .62rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--card-accent, var(--azure));
      border: 1px solid currentColor;
      padding: .28rem .6rem;
      border-radius: 7px
    }

    .card__badge {
      height: 200px;
      margin: .2rem auto .9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .45));
      transition: transform .45s cubic-bezier(.34, 1.56, .64, 1)
    }

    .card__badge img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      animation: badgeFloat 5s ease-in-out infinite
    }

    @keyframes badgeFloat {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-6px)
      }
    }

    .card[data-id="arcus"] .card__badge img {
      max-height: 128px
    }

    .card[data-id="khaos"] .card__badge img {
      max-height: 164px
    }

    .card:hover .card__badge {
      transform: scale(1.08) translateY(-3px)
    }

    .card h3 {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.4rem;
      color: var(--card-accent, var(--text));
      text-align: center;
      letter-spacing: .01em
    }

    .card__sub {
      text-align: center;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .62rem;
      color: var(--text-dim);
      margin-top: .4rem;
      letter-spacing: .28em;
      text-transform: uppercase
    }

    /* Viñetas: block + marcador absoluto — nunca flex (las negritas intercaladas
   parten el texto en columnas: gotcha documentado del proyecto) */
    .card ul {
      list-style: none;
      margin: 1.2rem 0 1rem;
      display: grid;
      gap: .05rem;
      flex: 1;
      align-content: start
    }

    .card li {
      color: var(--text-dim);
      font-size: .92rem;
      line-height: 1.5;
      position: relative;
      padding: .55rem .1rem .55rem 1.15rem;
      border-bottom: 1px solid rgba(32, 55, 77, .55)
    }

    .card li:last-child {
      border-bottom: none
    }

    .card li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .58em;
      width: 7px;
      height: 7px;
      border-radius: 2px;
      background: var(--card-accent, var(--azure))
    }

    .card li b {
      color: var(--text);
      font-weight: 600
    }

    .perks-more {
      background: none;
      border: 1px dashed var(--line);
      color: var(--text-dim);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .66rem;
      letter-spacing: .09em;
      text-transform: uppercase;
      padding: .68rem;
      border-radius: var(--r-el);
      cursor: pointer;
      width: 100%;
      transition: border-color .25s, color .25s;
      margin-bottom: 1.1rem
    }

    .perks-more:hover {
      border-color: var(--card-accent, var(--azure));
      color: var(--text)
    }

    .card__foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .8rem;
      padding-top: 1.1rem;
      border-top: 1px solid var(--line);
      margin-top: auto
    }

    .price {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.3rem;
      letter-spacing: .03em;
      color: var(--orchid)
    }

    .price small {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .6rem;
      letter-spacing: .18em;
      color: var(--text-dim);
      display: block;
      margin-top: .15rem;
      text-transform: uppercase
    }

    .add-btn {
      background: var(--void);
      border: 1px solid var(--line);
      color: var(--text);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .72rem;
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: .62rem 1.1rem;
      border-radius: 999px;
      cursor: pointer;
      transition: all .25s;
      white-space: nowrap
    }

    .add-btn:hover {
      background: var(--card-accent, var(--azure));
      color: #04121c;
      border-color: transparent
    }

    .card--popular {
      border-color: color-mix(in srgb, var(--card-accent) 45%, transparent)
    }

     .card--popular .card__idx {
      opacity: 1
    }

    /* === Ítems con límite de compra === */
    .card--limit-reached {
      opacity: 0.65;
      pointer-events: none;
      filter: grayscale(0.4);
    }
    .card--limit-reached .add-btn {
      background: var(--line) !important;
      color: var(--text-dim) !important;
      cursor: not-allowed !important;
      box-shadow: none !important;
    }
    .limit-counter {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-dim);
      margin-top: 5px;
      padding: 3px 8px;
      background: rgba(255,255,255,0.04);
      border-radius: 20px;
      border: 1px solid var(--line);
    }
    .limit-counter .limit-dots {
      display: flex;
      gap: 3px;
    }
    .limit-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--line);
    }
    .limit-dot.used {
      background: var(--card-accent, #4ade80);
      box-shadow: 0 0 4px var(--card-accent, #4ade80);
    }

    /* ═══ ZAROS — tratamiento hielo ═══ */
    .card--supreme {
      border: 1.5px solid transparent;
      background:
        linear-gradient(180deg, var(--dusk), var(--void-2)) padding-box,
        linear-gradient(135deg, var(--frost) 0%, var(--frost-soft) 25%, var(--frost-deep) 50%, var(--frost) 75%, var(--frost-soft) 100%) border-box;
      background-size: 100% 100%, 300% 300%;
      animation: supremeBorder 6s linear infinite;
      overflow: visible;
    }

    @keyframes supremeBorder {
      to {
        background-position: 0 0, 300% 300%
      }
    }

    /* La estrella usa los dos pseudos para halo y brillo: pisa el marco/gema
   con mayor especificidad (.tick) para no heredarlos apagados */
    .card--supreme.tick::after {
      content: "";
      position: absolute;
      inset: -2px;
      transform: none;
      border: none;
      border-radius: inherit;
      z-index: -1;
      background: linear-gradient(135deg, var(--frost), var(--frost-deep), var(--frost));
      background-size: 200% 200%;
      filter: blur(18px);
      opacity: .26;
      animation: supremeGlow 4s ease-in-out infinite;
    }

    @keyframes supremeGlow {

      0%,
      100% {
        opacity: .18;
        background-position: 0 0
      }

      50% {
        opacity: .38;
        background-position: 100% 100%
      }
    }

    .card--supreme.tick::before {
      content: "";
      position: absolute;
      inset: 0;
      border: none;
      border-radius: inherit;
      pointer-events: none;
      overflow: hidden;
      background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .12) 48%, rgba(255, 255, 255, .12) 52%, transparent 60%);
      background-size: 250% 100%;
      animation: supremeShine 4.5s ease-in-out infinite;
    }

    @keyframes supremeShine {
      0% {
        background-position: 150% 0
      }

      55%,
      100% {
        background-position: -150% 0
      }
    }

    .card--supreme:hover {
      transform: translateY(-12px) scale(1.015)
    }

    .card--supreme .card__badge {
      filter: drop-shadow(0 12px 32px rgba(161, 216, 255, .45))
    }

    .card--supreme .card__badge img {
      max-height: 200px;
      animation: supremeIconFloat 3.2s ease-in-out infinite
    }

    @keyframes supremeIconFloat {

      0%,
      100% {
        transform: translateY(0) rotate(0)
      }

      50% {
        transform: translateY(-6px) rotate(2deg)
      }
    }

    .card--supreme:hover .card__badge {
      transform: scale(1.12) translateY(-4px)
    }

    .card--supreme h3 {
      font-size: 1.65rem;
      background: linear-gradient(90deg, var(--frost), var(--frost-soft), var(--frost));
      background-size: 200% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: supremeText 3s linear infinite;
    }

    @keyframes supremeText {
      to {
        background-position: -200% 0
      }
    }

    .card--supreme li::before {
      background: var(--frost);
      box-shadow: 0 0 5px var(--frost)
    }

    .card--supreme .card__idx {
      color: var(--frost)
    }

    .card--supreme .card__tag {
      background: linear-gradient(180deg, var(--frost), var(--frost-deep));
      color: #0a2136;
      border: none;
      animation: supremeTagPulse 2.5s ease-in-out infinite;
    }

    @keyframes supremeTagPulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(161, 216, 255, .5)
      }

      50% {
        box-shadow: 0 0 0 6px rgba(161, 216, 255, 0)
      }
    }

    .card--supreme .add-btn {
      background: linear-gradient(180deg, var(--frost), var(--frost-deep));
      color: #0a2136;
      border: none
    }

    .card--supreme .add-btn:hover {
      filter: brightness(1.08);
      box-shadow: 0 6px 20px rgba(161, 216, 255, .35)
    }

    @media(prefers-reduced-motion:reduce) {

      .card--supreme,
      .card--supreme.tick::before,
      .card--supreme.tick::after,
      .card--supreme h3 {
        animation: none !important
      }
    }

    /* ═══ Modal beneficios ═══ */
    .perks-modal {
      position: fixed;
      inset: 0;
      z-index: 96;
      display: grid;
      place-items: center;
      padding: 1rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s
    }

    .perks-modal.show {
      opacity: 1;
      pointer-events: auto
    }

    .perks-box {
      background: var(--void-2);
      border: 1px solid var(--pm-accent, var(--azure));
      border-radius: var(--r-panel);
      width: min(720px, 95vw);
      max-height: 86vh;
      display: flex;
      flex-direction: column;
      transform: translateY(24px) scale(.97);
      transition: transform .45s cubic-bezier(.16, 1, .3, 1);
      overflow: hidden;
    }

    .perks-box__head {
      display: flex;
      align-items: center;
      width: 100%;
      gap: 1rem;
      padding: 1.4rem 1.7rem;
      border-bottom: 1px solid var(--line)
    }

    .perks-box__head img {
      width: 54px;
      height: 54px;
      flex: none;
      object-fit: contain
    }

    .perks-box__head h3 {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.35rem;
      letter-spacing: .08em;
      color: var(--pm-accent, var(--azure))
    }

    .perks-box__head p {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .62rem;
      letter-spacing: .26em;
      color: var(--text-dim);
      margin-top: .3rem;
      text-transform: uppercase
    }

    .perks-box__close {
      margin-left: auto;
      background: none;
      border: 1px solid var(--line);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .66rem;
      letter-spacing: .12em;
      padding: .5rem .75rem;
      border-radius: 8px;
      cursor: pointer;
      transition: border-color .25s;
      flex: none;
      text-transform: uppercase
    }

    .perks-box__close:hover {
      border-color: var(--pm-accent, var(--azure))
    }

    .perks-box__body {
      overflow-y: auto;
      padding: 1.4rem 1.7rem 1.7rem
    }

    .perks-group {
      margin-bottom: 1.5rem
    }

    .perks-group:last-child {
      margin-bottom: 0
    }

    .perks-group h4 {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .7rem;
      letter-spacing: .22em;
      color: var(--pm-accent, var(--azure));
      text-transform: uppercase;
      margin-bottom: .7rem;
      padding-bottom: .5rem;
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: center;
      gap: .7rem
    }

    .perks-group h4::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 2px;
      background: currentColor;
      opacity: .7
    }

    .perks-group ul {
      list-style: none;
      display: grid;
      gap: .15rem
    }

    .perks-group li {
      color: var(--text-dim);
      font-size: .92rem;
      line-height: 1.55;
      position: relative;
      padding: .3rem 0 .3rem 1.1rem
    }

    .perks-group li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .6em;
      width: 6px;
      height: 6px;
      border-radius: 2px;
      background: var(--pm-accent, var(--azure))
    }

    .perks-group li b {
      color: var(--text);
      font-weight: 600
    }

    .perks-box__foot {
      padding: 1.1rem 1.7rem;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem
    }

    /* ═══ Cómo funciona ═══ */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      overflow: hidden;
      background: var(--void-2)
    }

    .step {
      padding: 2rem 1.8rem;
      position: relative;
      border-right: 1px solid var(--line);
      transition: background .3s
    }

    .step:last-child {
      border-right: none
    }

    .step:hover {
      background: var(--dusk)
    }

    .step__num {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 2.1rem;
      line-height: 1;
      color: var(--azure);
      opacity: .2;
      display: block;
      margin-bottom: 1rem
    }

    .step__ico {
      margin-bottom: .9rem;
      display: block;
      color: var(--azure)
    }

    .step__ico svg {
      width: 28px;
      height: 28px
    }

    .step h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: .03em;
      margin-bottom: .5rem
    }

    .step p {
      color: var(--text-dim);
      font-size: .93rem;
      line-height: 1.6
    }

    @media(max-width:768px) {
      .steps {
        grid-template-columns: 1fr
      }

      .step {
        border-right: none;
        border-bottom: 1px solid var(--line)
      }

      .step:last-child {
        border-bottom: none
      }
    }

    /* ═══ Drawer / Carrito ═══ */
    .drawer {
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      height: 100dvh;
      width: min(400px, 90vw);
      background: var(--void-2);
      border-left: 1px solid var(--line);
      z-index: 90;
      transform: translateX(105%);
      transition: transform .5s cubic-bezier(.16, 1, .3, 1);
      display: flex;
      flex-direction: column;
      padding: 1.5rem
    }

    .drawer.open {
      transform: none
    }

    .drawer h3 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: .04em;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .drawer-user {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .68rem;
      letter-spacing: .1em;
      color: var(--text-dim);
      margin-top: .5rem;
      text-transform: uppercase
    }

    .drawer-user strong {
      color: var(--ice)
    }

    .drawer-close {
      background: none;
      border: 1px solid var(--line);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .64rem;
      letter-spacing: .12em;
      padding: .5rem .7rem;
      border-radius: 8px;
      cursor: pointer;
      transition: border-color .25s;
      text-transform: uppercase
    }

    .drawer-close:hover {
      border-color: var(--azure)
    }

    .drawer-items {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      margin: 1.2rem 0;
      display: flex;
      flex-direction: column;
      gap: .75rem;
    }

    .drawer-empty {
      color: var(--text-dim);
      text-align: center;
      padding: 2.6rem 1rem;
      border: 1px dashed var(--line);
      border-radius: var(--r-panel);
      font-size: .95rem;
      line-height: 1.6
    }

    .d-item {
      display: flex;
      align-items: center;
      gap: .75rem;
      background: var(--dusk);
      border: 1px solid var(--line);
      padding: .75rem;
      border-radius: var(--r-el);
      min-width: 0;
    }

    .d-item img {
      width: 28px;
      height: 28px;
      flex: none;
      object-fit: contain
    }

    .d-item span.d-name {
      flex: 1;
      font-size: .92rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 500;
      min-width: 0;
    }

    .d-item .price {
      font-size: .92rem;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      line-height: 1.2;
    }

    .d-item button {
      background: none;
      border: none;
      color: var(--danger);
      cursor: pointer;
      font-size: .85rem;
      padding: .2rem;
      transition: opacity .2s
    }

    .d-item button:hover {
      opacity: .7
    }

    .drawer-total {
      display: flex;
      justify-content: space-between;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .92rem;
      letter-spacing: .08em;
      padding: 1rem 0;
      border-top: 1px solid var(--line);
      text-transform: uppercase
    }

    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(3, 7, 12, .72);
      backdrop-filter: blur(5px);
      z-index: 80;
      opacity: 0;
      pointer-events: none;
      transition: opacity .45s
    }

    .overlay.show {
      opacity: 1;
      pointer-events: auto
    }

    /* ═══ Modal usuario ═══ */
    .modal {
      position: fixed;
      inset: 0;
      z-index: 95;
      display: grid;
      place-items: center;
      padding: 1rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s
    }

    .modal.show {
      opacity: 1;
      pointer-events: auto
    }

    .modal__box {
      background: var(--void-2);
      border: 1px solid var(--azure);
      border-radius: var(--r-panel);
      padding: 2.2rem;
      width: min(430px, 94vw);
      text-align: center;
      transform: translateY(24px) scale(.97);
      transition: transform .45s cubic-bezier(.16, 1, .3, 1)
    }

    .modal.show .modal__box {
      transform: none
    }

    .modal__box h3 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.2rem;
      letter-spacing: .03em;
      margin-bottom: .5rem
    }

    .modal__box p {
      color: var(--text-dim);
      font-size: .95rem;
      line-height: 1.55;
      margin-bottom: 1.4rem
    }


    .modal__input {
      width: 100%;
      background: var(--dusk);
      border: 1px solid var(--line);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: .08em;
      padding: .85rem 1rem;
      border-radius: var(--r-el);
      text-align: center;
      outline: none;
      transition: border-color .3s;
      margin-bottom: 1.1rem
    }

    .modal__input:focus {
      border-color: var(--azure)
    }

    .modal__input::placeholder {
      color: var(--text-dim);
      opacity: .6
    }

    .modal__hint {
      font-size: .78rem;
      color: var(--danger);
      min-height: 1.1rem;
      margin-bottom: .6rem
    }

    /* ═══ Toast ═══ */
    .toast {
      position: fixed;
      bottom: 1.4rem;
      left: 50%;
      transform: translateX(-50%) translateY(16px);
      background: var(--dusk-2);
      border: 1px solid var(--ice);
      color: var(--text);
      padding: .75rem 1.3rem;
      border-radius: var(--r-el);
      font-size: .92rem;
      z-index: 100;
      opacity: 0;
      transition: all .45s cubic-bezier(.16, 1, .3, 1);
      pointer-events: none;
      white-space: nowrap
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0)
    }

    /* ═══ Contacto ═══ */
    .contact-grid {
      display: grid;
      grid-template-columns: 1.4fr .85fr;
      gap: 1.6rem;
      align-items: start
    }

    .contact-form {
      background: var(--void-2);
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      padding: 2rem;
      --gem-hover: var(--azure)
    }








    .field input,
    .field textarea,

    .field input:focus,
    .field textarea:focus,


    .field input::placeholder,

















    @media(max-width:768px) {
      .contact-grid {
        grid-template-columns: 1fr
      }

    }

    footer {
      border-top: 1px solid var(--line);
      padding: 2.4rem 0;
      color: var(--text-dim);
      font-size: .88rem
    }

    .foot {
      display: flex;
      justify-content: space-between;
      gap: 1.4rem;
      flex-wrap: wrap;
      align-items: center
    }

    .foot a {
      color: var(--azure-soft);
      text-decoration: none;
      transition: color .2s
    }

    .foot a:hover {
      color: var(--azure);
      text-decoration: underline
    }

    .legal {
      margin-top: 1.3rem;
      font-size: .76rem;
      opacity: .55;
      max-width: 52rem;
      line-height: 1.55
    }

    .dev-credit {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      margin-top: 1.6rem;
      padding-top: 1.4rem;
      border-top: 1px solid var(--line);
      font-size: .85rem;
      color: var(--text-dim);
      text-decoration: none;
      transition: color .3s
    }

    .dev-credit:hover {
      color: var(--text)
    }

    .dev-credit strong {
      color: #fff;
      font-weight: 600
    }

    .dev-credit svg {
      flex: none;
      opacity: .85;
      transition: opacity .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1)
    }

    .dev-credit:hover svg {
      opacity: 1;
      transform: scale(1.12) rotate(-8deg)
    }

    .owner-credit {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      margin-top: .8rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
      font-size: .8rem;
      color: var(--text-dim);
      opacity: .7;
    }

    .owner-credit svg {
      color: var(--azure-soft);
      opacity: .6;
      flex-none: 0;
    }

    .owner-credit strong {
      color: var(--azure-soft);
      font-weight: 600;
    }

    /* ═══ Pantalla de carga ═══ */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--void);
      display: grid;
      place-content: center;
      justify-items: center;
      gap: 1.5rem;
      transition: opacity .6s ease, visibility .6s
    }

    .loader img {
      width: 110px;
      height: 110px;
      animation: loaderPop .9s cubic-bezier(.34, 1.56, .64, 1) both, loaderBreath 2.4s ease-in-out .9s infinite;
      filter: drop-shadow(0 0 36px rgba(0, 178, 255, .4))
    }

    @keyframes loaderPop {
      from {
        opacity: 0;
        transform: scale(.55)
      }

      to {
        opacity: 1;
        transform: scale(1)
      }
    }

    @keyframes loaderBreath {

      0%,
      100% {
        transform: scale(1)
      }

      50% {
        transform: scale(1.05)
      }
    }

    .loader__bar {
      width: 150px;
      height: 2px;
      background: var(--dusk-2);
      border-radius: 2px;
      overflow: hidden
    }

    .loader__bar span {
      display: block;
      width: 40%;
      height: 100%;
      background: linear-gradient(90deg, var(--azure-deep), var(--azure));
      border-radius: 2px;
      animation: loaderSweep 1.1s ease-in-out infinite
    }

    @keyframes loaderSweep {
      0% {
        transform: translateX(-110%)
      }

      100% {
        transform: translateX(400%)
      }
    }

    .loader.done {
      opacity: 0;
      visibility: hidden;
      pointer-events: none
    }

    @media(prefers-reduced-motion:reduce) {
      .loader {
        display: none
      }
    }

    /* ═══ Contador de lanzamiento ═══ */
    .launch {
      margin-top: 1.2rem;
      background: linear-gradient(180deg, rgba(16, 32, 47, .8), rgba(11, 20, 31, .9));
      border: 1px solid var(--line);
      border-radius: var(--r-panel);
      padding: 2.1rem 2rem 1.9rem;
      text-align: center;
      --gem-hover: var(--azure);
      transition: all 0.3s ease;
    }

    .launch--gold {
      background: linear-gradient(180deg, rgba(30, 25, 10, .9), rgba(16, 12, 5, .95));
      border-color: rgba(255, 201, 74, 0.4);
      box-shadow: 0 0 25px rgba(255, 153, 0, 0.2);
    }
    .launch--gold .launch__label {
      color: var(--gold);
    }
    .launch--gold .launch__label::before,
    .launch--gold .launch__label::after {
      background: var(--gold);
      box-shadow: 0 0 8px rgba(255, 201, 74, 0.6);
    }
    .launch--gold .launch__num {
      background: linear-gradient(180deg, #fff, #ffc94a);
      -webkit-background-clip: text;
      color: transparent;
      text-shadow: 0 4px 15px rgba(255, 201, 74, 0.3);
    }

    .launch__label {
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .8rem;
      letter-spacing: .24em;
      color: var(--azure);
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: .7rem
    }

    .launch__label::before,
    .launch__label::after {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 3px;
      background: var(--azure);
      box-shadow: 0 0 10px rgba(0, 178, 255, .7)
    }

    .launch__grid {
      display: flex;
      justify-content: center;
      gap: clamp(1.4rem, 4vw, 3rem);
      margin-top: 1.5rem
    }

    .launch__cell {
      min-width: 70px
    }

    .launch__num {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2.2rem, 4.5vw, 3.2rem);
      line-height: 1;
      color: var(--text);
      font-variant-numeric: tabular-nums;
      text-shadow: 0 0 30px rgba(0, 178, 255, .25)
    }

    .launch__lbl {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: .68rem;
      letter-spacing: .22em;
      color: var(--text-dim);
      text-transform: uppercase;
      margin-top: .55rem
    }

    .launch--live .launch__grid {
      display: none
    }

    .launch__live {
      display: none;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--online);
      margin-top: 1.2rem
    }

    .launch--live .launch__live {
      display: block
    }

    @media(max-width:520px) {
      .launch__cell {
        min-width: 56px
      }
    }

    /* ═══ Staff ═══ */

    .staff-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 1rem;
      align-content: start
    }







    @media(max-width:900px) {


    }







    .role {
      display: inline-block;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .6rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      padding: .32rem .7rem;
      border-radius: 999px;
      border: 1px solid transparent
    }





    /* ═══ Responsive ═══ */
    @media(max-width:1400px) {
      .grid {
        grid-template-columns: repeat(3, 1fr)
      }
    }

    @media(max-width:1024px) {
      .grid {
        grid-template-columns: repeat(2, 1fr)
      }
    }

    @media(max-width:580px) {
      .grid {
        grid-template-columns: 1fr
      }
    }

    @media(max-width:880px) {
      .hero {
        grid-template-columns: 1fr;
        padding-top: 2.5rem;
        min-height: auto
      }

      .hero__visual {
        order: -1
      }

      .specimen__stage {
        min-height: 260px
      }

      .hero-skin-img {
        height: 180px
      }

      .hero-stats {
        max-width: none
      }

      .hud-chip.hide-m {
        display: none !important;
      }

      .ticker-label {
        position: static;
        transform: none;
        border-right: none;
        border-bottom: 1px solid var(--line);
        width: 100%;
        justify-content: center;
        padding: .5rem
      }

      .ticker-wrap {
        padding-left: 0;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
      }
    }

    @media(max-width:550px) {
      .topbar {
        gap: 0.5rem;
        justify-content: space-between;
      }

      .brand__name {
        display: none;
      }

      /* Ocultar texto EDERUS para dar espacio */
      .brand__tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
        margin-left: 0.5rem;
      }

      .hud {
        gap: 0.5rem;
      }

      #user-chip-content>span>span {
        display: none !important;
      }

      /* Ocultar nombre de usuario, solo dejar avatar en topbar móvil */
      .hero h1 {
        font-size: 1.8rem;
        text-align: center;
      }

      .hero p {
        text-align: center;
        padding: 0 1rem;
      }

      .hero-actions {
        justify-content: center;
      }

      .container {
        padding: 0 1rem;
      }

      .card {
        padding: 1.2rem;
      }

      .card h3 {
        font-size: 1.3rem;
      }

      .card ul {
        margin-bottom: 1.5rem;
      }

      .shead h2 {
        font-size: 1.8rem;
      }

      /* Footer CTA */
      footer {
        padding: 4rem 1.5rem !important;
      }

      footer .btn-primary {
        width: 100%;
        display: block;
        box-sizing: border-box;
        text-align: center;
      }

      footer h2 {
        font-size: 1.5rem !important;
      }
    }

    /* ═══ Categorías ═══ */
    .category-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.6rem;
      margin-bottom: 2rem;
      padding: 0 1rem;
    }

    .tab-btn {
      min-width: 140px;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: .95rem;
      letter-spacing: .05em;
      color: var(--text-dim);
      background: rgba(16, 32, 47, 0.6);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 1rem 0.8rem;
      transition: all .3s cubic-bezier(0.2, 0.8, 0.2, 1);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      text-align: center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .tab-btn i {
      font-size: 1.6rem;
      color: var(--chrome-dim);
      transition: all .3s;
    }

    .tab-btn:hover {
      background: rgba(22, 41, 60, 0.8);
      border-color: var(--azure-soft);
      color: var(--text);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0, 178, 255, 0.1);
    }

    .tab-btn.active {
      background: linear-gradient(135deg, var(--azure-deep), var(--azure));
      border-color: var(--azure-soft);
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 178, 255, 0.3);
    }

    .tab-btn.active i {
      color: #fff;
    }

    @media(prefers-reduced-motion:reduce) {

      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
      }

      .ticker {
        animation: none
      }
    }

    /* ═══ Sale Badges (Tabs & Cards) ═══ */
    .tab-sale-badge {
      background: #ef4444;
      color: #fff;
      font-size: 0.65rem;
      padding: 0.15rem 0.35rem;
      border-radius: 4px;
      margin-left: 0.4rem;
      vertical-align: middle;
      font-family: var(--font-display);
      font-weight: 800;
      animation: pulseSaleBadge 2s infinite;
    }
    .card__sale {
      background: #ef4444;
      color: #fff;
      font-size: 0.7rem;
      font-family: var(--font-display);
      font-weight: 800;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      margin-left: auto;
      letter-spacing: 0.05em;
      animation: pulseSaleBadge 2s infinite;
    }
    @keyframes pulseSaleBadge {
      0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
      50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
    }

    /* ═══ Sale Banner ═══ */






    @media(max-width: 800px) {
      .shop-sale-banner { top: 61px; }
      .shop-sale-banner__inner { flex-direction: column; text-align: center; justify-content: center; gap: 0.5rem; }
      .shop-sale-banner__content { flex-direction: column; gap: 0.5rem; }
    }

    /* ═══ Geyser / Bedrock Warning ═══ */
    .shop-geyser-warning {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      background: rgba(239, 68, 68, .07);
      border: 1px solid rgba(239, 68, 68, .35);
      border-radius: var(--r-el);
      padding: 1.1rem 1.4rem;
      margin: 1rem 0 1.6rem;
      animation: shopWarnPulse 3.5s ease-in-out infinite;
    }

    @keyframes shopWarnPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0) }
      50%       { box-shadow: 0 0 0 6px rgba(239,68,68,.06) }
    }

    .shop-geyser-warning__icon {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      background: rgba(239, 68, 68, .14);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ef4444;
    }

    .shop-geyser-warning__icon svg {
      width: 18px;
      height: 18px;
    }

    .shop-geyser-warning__body {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: .45rem;
    }

    .shop-geyser-warning__title {
      font-family: var(--font-display);
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .03em;
      color: #fca5a5;
      display: block;
    }

    .shop-geyser-warning__body p {
      color: var(--text-dim);
      font-size: .88rem;
      line-height: 1.6;
      margin: 0;
    }

    .shop-geyser-warning__body code {
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.12);
      padding: .08rem .38rem;
      border-radius: 5px;
      font-family: 'Courier New', monospace;
      font-size: .84rem;
      color: var(--text);
    }

    .shop-geyser-hl {
      background: rgba(239,68,68,.18) !important;
      border-color: rgba(239,68,68,.4) !important;
      color: #fca5a5 !important;
      font-weight: 700;
      letter-spacing: .5px;
    }

    .shop-geyser-warning__note {
      display: flex;
      align-items: center;
      gap: .4rem;
      color: var(--text-dim);
      font-size: .8rem;
      border-top: 1px solid rgba(239,68,68,.12);
      padding-top: .45rem;
      margin-top: .1rem !important;
    }

    .shop-geyser-warning__note svg {
      color: var(--azure-soft);
      flex-shrink: 0;
    }

    @media(max-width:580px) {
      .shop-geyser-warning {
        flex-direction: column;
        gap: .6rem;
        padding: .9rem 1rem;
      }
    }

    @media(max-width:480px) {
      .topbar { gap: 0.2rem; }
      .brand { gap: 0.2rem; }
      .brand__tag { display: none; }
      .hud-chip { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
      .hero { padding: 1.5rem 0 2rem; }
      .hero h1 { font-size: 1.5rem; }
      .hero-stats { grid-template-columns: 1fr; gap: 0.5rem; }
      .card { padding: 1rem; }
      .card h3 { font-size: 1.1rem; }
      .card-price { font-size: 1.1rem; }
      .datastrip { flex-direction: column; }
      .datastrip__cell { min-width: 100%; border-right: none; border-bottom: 1px solid var(--line); padding: 0.5rem; justify-content: space-between; }
      .modal-dialog { width: 95vw; margin: 1rem; padding: 1rem; }
      .perks-modal__dialog { padding: 1.2rem; }
      .perks-modal__header h3 { font-size: 1.2rem; }
      .drawer { width: 100vw; padding: 1rem; }
    }

    /* Switch Custom CSS for Modal */
    .switch {
      position: relative;
      display: inline-block;
      width: 36px;
      height: 20px;
    }
    .switch input { 
      opacity: 0;
      width: 0;
      height: 0;
    }
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #2c2c2c;
      transition: .4s;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 14px;
      width: 14px;
      left: 3px;
      bottom: 3px;
      background-color: #555;
      transition: .4s;
    }
    input:checked + .slider {
      background-color: var(--azure);
      box-shadow: 0 0 12px rgba(0, 178, 255, 0.4);
    }
    input:checked + .slider:before {
      transform: translateX(16px);
      background-color: var(--void);
    }
    .slider.round {
      border-radius: 20px;
    }
    .slider.round:before {
      border-radius: 50%;
    }

    /* ✕ del modal de usuario. Antes llevaba style="" y handlers
       onmouseover/onmouseout en el HTML. El onclick se mantiene: es global
       a propósito (ver shop/README.md). */
    .modal__close {
      position: absolute;
      top: 1.2rem;
      right: 1.2rem;
      cursor: pointer;
      color: var(--text-dim);
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      transition: background-color .2s var(--e-out), color .2s var(--e-out)
    }

    .modal__close:hover,
    .modal__close:focus-visible {
      background: rgba(220, 228, 238, .1);
      color: #fff
    }
