    :root {
      --bg: #f3f4f6;
      --ink: #1f2937;
      --radius: 12px;
      --brand: #ffa037;
      --shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
        Arial, sans-serif;
      background: var(--bg);
      color: var(--ink);
    }

    /* ====== Visor ====== */
    .viewer-wrapper {
      position: relative;
      width: 100%;
      height: clamp(500px, 70vh, 900px);
      overflow: hidden;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      background: #0b0d12;
      contain: content;
      content-visibility: auto;
    }

    .viewer-wrapper iframe {
      position: absolute;
      inset: 0;
      border: 0;
      width: 100%;
      height: 100%;
      transition: opacity 0.25s ease;
      will-change: opacity;
    }

    .viewer-wrapper iframe.is-loading {
      opacity: 0.25;
      pointer-events: none;
    }

    .loader {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      background: linear-gradient(180deg,
          rgba(11, 13, 18, 0.45),
          rgba(11, 13, 18, 0.65));
      backdrop-filter: blur(2px);
      z-index: 12;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      contain: paint;
    }

    .loader.visible {
      opacity: 1;
      pointer-events: auto;
    }

    .loader .label {
      color: #e5e7eb;
      font-weight: 700;
      letter-spacing: 0.3px;
    }

    .loader .bar {
      width: min(520px, 75vw);
      height: 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.15);
      overflow: hidden;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .loader .bar>i {
      display: block;
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg,
          rgba(37, 99, 235, 1),
          rgba(124, 58, 237, 1));
      transition: width 0.2s ease;
    }

    .loader .percent {
      color: #fff;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }

    .hud {
      position: absolute;
      z-index: 40;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #fff;
      font-size: 0.9rem;
      user-select: none;
      pointer-events: none;
    }

    .desktop-controls {
      display: block;
    }

    #keyboardOverlay {
      left: 25px;
      bottom: 85px;
      flex-direction: column;
      gap: 6px;
      opacity: 0.85;
      contain: paint;
    }

    .keyRow {
      display: flex;
      gap: 6px;
      justify-content: center;
    }

    .key {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.16);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 18px;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
      border: 2px solid rgba(255, 255, 255, 0.16);
    }

    #scrollZoom {
      right: 30px;
      bottom: 85px;
      padding: 0.55rem 0.85rem;
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.45);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      opacity: 0.9;
      backdrop-filter: blur(3px);
      contain: paint;
    }

    #scrollZoom i {
      font-style: normal;
      font-weight: 700;
      font-size: 1.1rem;
      margin-right: 0.4rem;
    }

    .mobile-controls {
      display: none;
    }

    #joystick {
      left: 30px;
      bottom: 85px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 2px solid rgba(255, 255, 255, 0.3);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 45;
      contain: paint;
    }

    #stick {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.85);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

    #joystick::before {
      content: '';
      position: absolute;
      width: 80%;
      height: 80%;
      border: 2px dashed rgba(255, 255, 255, 0.22);
      border-radius: 50%;
    }

    .direction-indicator {
      position: absolute;
      font-size: 16px;
      color: rgba(255, 255, 255, 0.6);
      font-weight: 700;
      opacity: 0.9;
    }

    .dir-up {
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
    }

    .dir-down {
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
    }

    .dir-left {
      left: 8px;
      top: 50%;
      transform: translateY(-50%);
    }

    .dir-right {
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
    }

    .overlay-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 70px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 30px;
      z-index: 10;
      border-top: 2px solid #f0f0f0;
      contain: paint;
    }

    .overlay-content {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .overlay-icon {
      width: 35px;
      height: 35px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 20px;
      background: linear-gradient(135deg, #fbf200 0%, #b3ad16 100%);
    }

    .overlay-bottom h1 {
      margin: 0;
      font-size: 26px;
      color: #2c3e50;
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    .overlay-badge {
      background: #b3ad16;
      color: #fff;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
    }

    /* ====== Nueva Galería de Cards ====== */
    .gallery {
      margin: 40px auto;
      max-width: 1400px;
      padding: 0 20px;
      content-visibility: auto;
      contain: content;
    }

    .gallery-title {
      font-size: clamp(24px, 3vw, 32px);
      font-weight: 800;
      letter-spacing: -0.5px;
      margin-bottom: 50px;
      color: #111827;
      text-align: center;
    }

    .main-cardVS {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      flex-wrap: wrap;
    }

    .cardVS {
      width: 200px;
      height: 200px;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 5px;
      perspective: 2500px;
      cursor: pointer;
      border-radius: 30px;
      transition: transform 0.3s ease;
      margin-bottom: 40px;
    }

    .cardVS:active {
      transform: scale(0.98);
    }

    .cardVS-cover-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .cardVS-wrapper {
      transition: all 0.5s;
      position: absolute;
      width: 100%;
      z-index: -1;
      background: #000;
      border-radius: 30px;
      box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    }

    .cardVS-wrapper img {
      border-radius: 30px;
      box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    }

    .cardVS:hover .cardVS-wrapper {
      transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
      box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    }

    .cardVS-wrapper::before,
    .cardVS-wrapper::after {
      content: "";
      opacity: 0;
      width: 100%;
      height: 80px;
      transition: all 0.5s;
      border-radius: 30px;
      position: absolute;
      left: 0;
      box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    }

    .cardVS-wrapper::before {
      top: 0;
      height: 100%;
      background-image: linear-gradient(to top, transparent 46%, rgba(12, 13, 19, 0.5) 68%, rgba(12, 13, 19, 0.8) 97%);
    }

    .cardVS-wrapper::after {
      bottom: 0;
      opacity: 0;
    }

    .cardVS:hover .cardVS-wrapper::after {
      opacity: 1;
      transition: all 0.5s;
      background-image: linear-gradient(to bottom, transparent 46%, rgba(12, 13, 19, 0.3) 68%, rgba(12, 13, 19, 0.6) 97%);
    }

    .cardVS:hover .cardVS-wrapper::before,
    .cardVS-wrapper::after {
      opacity: 1;
    }

    .cardVS:hover .cardVS-wrapper::after {
      height: 120px;
    }

    .cardVS-title {
      width: 100%;
      transition: transform 0.5s;
      font-size: 16px;
      color: #fff;
      font-weight: bold;
      text-align: center;
    }

    .cardVS-cinta {
      background: #00000059;
      width: 200px;
      border-radius: 5px;
      transition: transform 0.5s;
      padding: 15px 0;
    }

    .cardVS:hover .cardVS-cinta {
      transform: translate3d(0%, -50px, 100px);
    }

    .cardVS-character {
      width: 100%;
      opacity: 0;
      transition: all 0.5s;
      filter: drop-shadow(2px 2px 2px #000);
      position: absolute;
      z-index: -1;
    }

    .cardVS:hover .cardVS-character {
      opacity: 1;
      transform: translate3d(5%, -20%, 670px);
    }

    .cardVS.active {
      outline: 4px solid #b3ad16;
      outline-offset: 3px;
    }

    @media (max-width: 768px) {
      .desktop-controls {
        display: none;
      }

      .mobile-controls {
        display: block;
      }

      #joystick {
        display: flex;
        width: 90px;
        height: 90px;
        bottom: 75px;
        left: 20px;
      }

      #stick {
        width: 45px;
        height: 45px;
      }

      .overlay-bottom {
        height: 70px;
        padding: 0 15px;
      }

      .overlay-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
      }

      .overlay-bottom h1 {
        font-size: 18px;
      }

      .overlay-badge {
        font-size: 15px;
        padding: 4px 10px;
      }

      .cardVS {
        width: 200px;
        height: 200px;
      }

      .main-cardVS {
        gap: 20px;
      }
    }

    @media (max-width: 480px) {
      #joystick {
        width: 80px;
        height: 80px;
        left: 15px;
      }

      #stick {
        width: 40px;
        height: 40px;
      }

      .overlay-bottom h1 {
        font-size: 16px;
      }

      .cardVS {
        width: 150px;
        height: 150px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        transition: none !important;
        animation: none !important;
      }

      .cardVS:hover .cardVS-wrapper,
      .cardVS:hover {
        transform: none;
      }
    }