  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7,17,31,.82);
    backdrop-filter: blur(6px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
  }
  .modal-overlay.is-open { display: flex; }
  .modal-box {
    background: #0e1e33;
    border: 1px solid rgba(37,99,235,.25);
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,.6);
  }
  .modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: rgba(240,246,255,.55);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s;
    z-index: 1;
  }
  .modal-close:hover { color: #F0F6FF; }
  .modal-body {
    overflow-y: auto;
    padding: 40px 44px 40px;
    scrollbar-width: thin;
    scrollbar-color: rgba(37,99,235,.4) transparent;
  }
  .modal-body h2 {
    font-family: var(--f-display);
    font-size: 26px;
    font-weight: 700;
    color: #F0F6FF;
    margin: 0 0 28px;
    padding-right: 32px;
  }
  .modal-body h3 {
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 700;
    color: #22D3EE;
    margin: 28px 0 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .modal-body p, .modal-body li {
    font-family: var(--f-body);
    font-size: 14px;
    color: rgba(240,246,255,.65);
    line-height: 1.78;
    margin: 0 0 10px;
  }
  .modal-body ul {
    padding-left: 20px;
    margin: 0 0 12px;
  }
  .modal-body a { color: #22D3EE; }
  .modal-body a:hover { color: #67e8f9; }
  @media(max-width:600px) {
    .modal-body { padding: 28px 22px 28px; }
    .modal-body h2 { font-size: 20px; }
  }

  /* ── GALERÍA HEADER ── */
  #galeria {
    padding: 84px 0 72px;
    background: linear-gradient(180deg, #0A1626 0%, #0C1C34 48%, #0A1626 100%);
    position: relative;
  }
  #galeria::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,.35), transparent);
  }

  /* ── PUENTE GALERÍA → GAMING ── */
  #gaming-bridge {
    position: relative;
    height: 260vh;
    background: linear-gradient(180deg, #0A1626 0%, #081120 45%, #060D1A 100%);
  }
  /* overflow-x: clip y no hidden — hidden convierte html/body en contenedor de scroll
     y rompe position:sticky en #gaming-bridge */
  .gb-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .gb-glow {
    position: absolute; left: 50%; top: 50%; width: 880px; height: 880px;
    transform: translate(-50%,-50%); pointer-events: none; opacity: 0;
    background: radial-gradient(circle, rgba(34,211,238,.13) 0%, rgba(37,99,235,.09) 38%, transparent 68%);
    will-change: opacity, transform;
  }
  .gb-stage { position: absolute; inset: 0; max-width: 1240px; margin: 0 auto; }
  .gb-card {
    position: absolute; margin: 0; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(140,180,230,.14);
    box-shadow: 0 26px 70px -22px rgba(2,8,22,.85);
    will-change: transform, opacity;
  }
  .gb-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gb-c1 { left: 5%;  top: 11%; width: 27%; aspect-ratio: 16/9; }
  .gb-c2 { left: 69%; top: 13%; width: 25%; aspect-ratio: 16/9; }
  .gb-c3 { left: 8%;  top: 56%; width: 26%; aspect-ratio: 16/9; }
  .gb-c4 { left: 72%; top: 47%; width: 15%; aspect-ratio: 9/16; }
  .gb-hero {
    left: 50%; top: 50%; height: min(58vh, 52vw); aspect-ratio: 9/16;
    transform: translate(-50%,-50%) scale(.9);
    border-color: rgba(34,211,238,.25);
    box-shadow: 0 34px 90px -24px rgba(2,8,22,.9), 0 0 70px -16px rgba(34,211,238,.22);
    z-index: 3; will-change: transform, filter;
  }
  .gb-chip {
    position: absolute; left: 12px; bottom: 12px; padding: 5px 10px;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
    font-size: 10px; letter-spacing: .14em; color: rgba(210,240,255,.9);
    background: rgba(5,14,28,.62); border: 1px solid rgba(34,211,238,.35);
    border-radius: 6px; opacity: 0;
  }
  .gb-copy {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: max(5%, calc(50% - 560px)); width: min(400px, 32%);
    z-index: 4; opacity: 0; will-change: transform, opacity;
  }
  .gb-copy .s-title { font-size: clamp(26px, 3.4vw, 42px); margin: 0 0 14px; }
  .gb-copy p { font-size: 15.5px; line-height: 1.65; color: rgba(205,228,250,.72); margin: 0 0 24px; }
  .gb-hint {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Segoe UI Mono', Consolas, monospace;
    font-size: 10.5px; letter-spacing: .2em; color: rgba(160,196,232,.6);
    z-index: 5; white-space: nowrap;
  }
  .gb-hint-ar { animation: gbHintA 1.6s ease-in-out infinite; }
  @keyframes gbHintA { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(4px); opacity: 1; } }

  @media (max-width: 768px) {
    #gaming-bridge { height: auto !important; padding: 60px 0 68px; }
    .gb-pin { position: static; height: auto; overflow: visible; padding: 0 20px; }
    .gb-glow, .gb-hint { display: none; }
    .gb-stage { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 560px; margin: 0 auto; }
    .gb-card {
      position: static !important; width: 100% !important; aspect-ratio: 16/10;
      transform: none !important; opacity: 1 !important; filter: none !important;
      border-radius: 12px;
    }
    .gb-hero { grid-column: 1 / -1; height: auto !important; aspect-ratio: 4/5; }
    .gb-chip { opacity: 1 !important; }
    .gb-copy {
      position: static; transform: none !important; opacity: 1 !important;
      width: auto; max-width: 560px; margin: 28px auto 0; text-align: center;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .gb-hint { display: none; }
    .gb-hint-ar { animation: none; }
  }

