
  /* 🔱 DICCIONARIO MAESTRO DE CAPAS V16 - REGISTRO DE PROTECCIÓN CONTRA COLISIONES 🔱 */
  :root {
      --z-abyssal-bg: 1 !important;
      --z-bento-grid: 100 !important;
      --z-interactive-trigger: 200 !important;
      --z-hud-telemetry: 99998 !important;
      --z-plasma-core: 99999 !important;
  }

    .v16-hero {
        position: relative; width: 100vw; height: 100vh;
        overflow: hidden; display: flex; flex-direction: column;
        justify-content: center; align-items: center; background: transparent;
    }
    .v16-hero::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 250px;
        background: linear-gradient(to top, rgba(8,11,18,1) 0%, transparent 100%); z-index: 5;
    }
    .hero-asset {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover; z-index: 1; filter: contrast(1.1) saturate(1.2);
    }
    
    /* 🔱 MÓDULO DE CRISTAL DINÁMICO V16 (BYPASS S-TIER) 🔱 */
    .brand-container-v16 {
        position: absolute; 
        top: 58vh; /* 🔱 AJUSTE FINAL: Bajado 'un pelin mas' (de 54vh a 58vh) 🔱 */
        left: 50%; transform: translateX(-50%);
        z-index: 10; 
        text-align: center; 
        width: 90%; 
        max-width: 650px; 
        padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 45px); 
        box-sizing: border-box;
        
        background: rgba(10, 15, 25, 0.3); 
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(0, 243, 255, 0.12);
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 0 15px rgba(0, 243, 255, 0.05);
        
        display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    
    .title-main {
        font-family: 'Inter', sans-serif; 
        font-size: clamp(22px, 6.5vw, 42px); 
        font-weight: 900;
        color: rgba(255, 255, 255, 0.95); 
        margin: 0; 
        letter-spacing: clamp(1px, 0.8vw, 4px); 
        text-transform: uppercase;
        text-shadow: 0 0 8px rgba(255,255,255,0.5);
        white-space: nowrap; 
    }
    
    .subtitle-main {
        font-family: 'JetBrains Mono', monospace; 
        font-size: clamp(8px, 2.5vw, 11px); 
        color: rgba(0, 243, 255, 0.9); 
        letter-spacing: clamp(6px, 2.5vw, 12px); 
        font-weight: 800; 
        margin: clamp(10px, 2.5vw, 18px) 0 0 clamp(6px, 2.5vw, 12px); 
        text-transform: uppercase;
        text-shadow: 0 0 6px rgba(0, 243, 255, 0.6);
    }
    
    /* MOTOR WEBGL2 - ABSOLUTAMENTE INALTERADO GUERRA AAA */
    #gl-canvas {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        pointer-events: none; z-index: var(--z-plasma-core); mix-blend-mode: screen;
    }

    /* ANCLAJE DEL BOTÓN - ABSOLUTAMENTE INALTERADO GUERRA AAA */
    #jaw-anchor {
        position: absolute; top: 72vh; left: 50%; transform: translateX(-50%); 
        z-index: 15; width: 100%; display: flex; justify-content: center;
    }


  /* 🔱 DICCIONARIO MAESTRO DE CAPAS V16 - REGISTRO DE PROTECCIÓN CONTRA COLISIONES 🔱 */
  :root {
      --z-abyssal-bg: 1 !important;
      --z-bento-grid: 100 !important;
      --z-interactive-trigger: 200 !important;
      --z-hud-telemetry: 99998 !important;
      --z-plasma-core: 99999 !important;
  }

#nhi-terminal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#nhi-terminal-overlay.active { display: flex; }

#nhi-terminal-box {
    width: min(640px, 94vw);
    background: #012456;
    border: 1px solid rgba(0,140,255,0.25);
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0,120,255,0.08) inset,
        0 40px 120px rgba(0,0,0,0.95),
        0 0 80px rgba(120,80,255,0.12);
    position: relative;
}

/* CRT shader canvas — fondo del terminal */
#nhi-crt-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* Trim superior */
#nhi-terminal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,160,255,0.6), transparent);
    z-index: 10;
}

.nhi-titlebar {
    position: relative;
    z-index: 5;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nhi-titlebar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nhi-dot-svg {
    display: block; overflow: visible; flex-shrink: 0; cursor: default;
}

@keyframes nhi-dot-beat{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(0.82);filter:brightness(0.4)}52%{transform:scale(1.05);filter:brightness(1.3)}56%{transform:scale(0.92);filter:brightness(0.7)}58%{transform:scale(1);filter:brightness(1)}}
.nhi-dot-r{}
.nhi-dot-y{}
.nhi-dot-g{}

.nhi-titlebar-label {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 9px;
    letter-spacing: 4px;
    color: rgba(0,150,255,0.5);
    text-transform: uppercase;
}

.nhi-glyph-row {
    font-size: 8px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(255,255,255,0.6), 0 0 20px rgba(180,220,255,0.3);
    flex-shrink: 0;
    margin-right: 6px;
}
.nhi-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.2);
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
    font-family: monospace;
}
.nhi-close-btn:hover { color: rgba(255,80,80,0.8); }

.nhi-body {
    position: relative;
    z-index: 5;
    padding: 28px 28px 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nhi-line {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.9;
    color: rgba(0,155,255,0.55);
    letter-spacing: 1px;
}

.nhi-line.dim { color: rgba(140,170,220,0.4); }
.nhi-line.bright { color: rgba(220,235,255,0.9); }
.nhi-line.success { color: rgba(0,255,180,0.9); }
.nhi-line.error { color: rgba(255,80,80,0.85); }

/* El código NHI */
#nhi-code-display {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #e8f4ff;
    text-align: center;
    padding: 20px 16px;
    margin: 16px 0;
    background: rgba(0,80,180,0.08);
    border: 1px solid rgba(0,130,255,0.2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    user-select: all;
    cursor: text;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nhi-code-display.glitch {
    animation: nhi-glitch 0.12s steps(1) infinite;
}

@keyframes nhi-glitch {
    0%   { transform: translate(0,0); color: #e8f4ff; }
    20%  { transform: translate(-2px,1px); color: #ff4fff; filter: blur(0.5px); }
    40%  { transform: translate(2px,-1px); color: #4fffff; }
    60%  { transform: translate(-1px,0); color: #e8f4ff; filter: none; }
    80%  { transform: translate(1px,1px); color: #fff; }
    100% { transform: translate(0,0); color: #e8f4ff; }
}

/* Timer bar */
#nhi-timer-bar-wrap {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 1px;
    margin: 8px 0 4px;
    overflow: hidden;
}

#nhi-timer-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(0,160,255,0.8), rgba(0,200,255,0.6));
    border-radius: 1px;
    transition: width 1s linear, background 1s linear;
}

#nhi-timer-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.2);
    text-align: right;
    text-transform: uppercase;
}

/* Copy button */
#nhi-copy-btn {
    background: rgba(0,100,200,0.08);
    border: 1px solid rgba(0,130,255,0.2);
    border-radius: 4px;
    color: rgba(0,160,255,0.6);
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 3px;
    padding: 8px 20px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    align-self: center;
    margin-top: 4px;
    display: none;
}
#nhi-copy-btn.visible { display: block; }
#nhi-copy-btn:hover {
    background: rgba(0,130,255,0.15);
    border-color: rgba(0,150,255,0.5);
    color: #fff;
}

/* Input email */
.nhi-input-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

#nhi-email-input {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,130,255,0.2);
    border-radius: 4px;
    padding: 10px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #fff;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.2s;
}
#nhi-email-input::placeholder { color: rgba(255,255,255,0.15); letter-spacing: 1px; }
#nhi-email-input:focus { border-color: rgba(0,150,255,0.5); }

#nhi-send-btn {
    background: rgba(0,120,255,0.08);
    border: 1px solid rgba(180,140,255,0.3);
    border-radius: 4px;
    color: rgba(220,235,255,0.9);
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 3px;
    padding: 10px 18px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}
#nhi-send-btn:hover { background: rgba(0,130,255,0.15); border-color: rgba(0,155,255,0.55); }
#nhi-send-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Prompt cursor */
.nhi-cursor {
    display: inline-block;
    width: 7px; height: 13px;
    background: rgba(0,160,255,0.8);
    animation: nhi-blink 1.1s steps(1) infinite;
    vertical-align: middle;
    margin-left: 3px;
}
@keyframes nhi-blink { 50% { opacity: 0; } }

/* Scanlines sobre todo */
#nhi-terminal-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 3px
    );
    pointer-events: none;
    z-index: 20;
    border-radius: 6px;
}

/* GLITCH OVERLAY */
#nhi-glitch-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999998;
    pointer-events: none;
    opacity: 0;
}
@keyframes nhi-glitch-strong {
    0%   { opacity:0; }
    2%   { opacity:1; transform: translate(-4px, 2px) skewX(-3deg); filter: hue-rotate(90deg) saturate(3); }
    4%   { opacity:0.7; transform: translate(4px,-2px) skewX(2deg); }
    6%   { opacity:1; transform: translate(-2px,0) skewX(-1deg); filter: hue-rotate(0deg); }
    8%   { opacity:0.3; transform: translate(0,0); }
    10%  { opacity:0; transform: translate(0,0); }
    100% { opacity:0; }
}
@keyframes nhi-glitch-soft {
    0%   { opacity:0; }
    2%   { opacity:0.5; transform: translate(-2px,1px) skewX(-1deg); filter: hue-rotate(45deg); }
    5%   { opacity:0.3; transform: translate(2px,0); }
    8%   { opacity:0; }
    100% { opacity:0; }
}
@keyframes nhi-glitch-micro {
    0%   { opacity:0; }
    3%   { opacity:0.25; transform: translate(-1px,0); }
    6%   { opacity:0; }
    100% { opacity:0; }
}



#nhi-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-plasma-core); display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
}
#nhi-overlay.open { display: flex; opacity: 1; }
#nhi-term {
    width: min(500px, 90vw); min-height: 350px;
    background: #0c0c0c; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px; position: relative; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 30px 80px rgba(0,0,0,0.98), 0 0 40px rgba(0,243,255,0.15);
    font-family: 'JetBrains Mono', monospace; display: flex; flex-direction: column;
}
#nhi-term::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,243,255,0.03) 2px, rgba(0,243,255,0.03) 3px);
    pointer-events: none; z-index: 100;
}
#nhi-titlebar {
    display: flex; justify-content: space-between; align-items: center;
    background: #0c0c0c; border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 15px; color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 2px;
}
#nhi-body { flex: 1; position: relative; padding: 20px; }
#nhi-rain { position: absolute; top: 0; left: 0; opacity: 0.8; z-index: 1; pointer-events: none; }
#nhi-content { position: relative; z-index: 10; }
.nhi-l { font-size: 11px; margin-bottom: 6px; letter-spacing: 1px; }
.nhi-l.dim { color: rgba(255,255,255,0.4); }
.nhi-l.hi { color: #00f3ff; font-weight: bold; }
.nhi-l.ok { color: #00ff88; }
.nhi-l.err { color: #ff3366; }
#nhi-irow { display: flex; margin-top: 15px; gap: 10px; }
#nhi-inp {
    flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(0,243,255,0.3);
    color: #00f3ff; padding: 8px 12px; font-family: inherit; font-size: 11px; outline: none;
}
#nhi-sbtn {
    background: #00f3ff; color: #000; border: none; padding: 0 20px;
    font-weight: bold; cursor: pointer; font-family: inherit; font-size: 11px;
}
#nhi-sbtn:disabled { opacity: 0.3; cursor: not-allowed; }
#nhi-tbar-wrap { width: 100%; height: 2px; background: #1a1a1a; margin: 15px 0 5px; display: none; }
#nhi-tbar { height: 100%; width: 100%; background: #00f3ff; transition: width 1s linear; }
#nhi-tlbl { font-size: 10px; color: #aaa; text-align: right; display: none; }


  /* 🔱 DICCIONARIO MAESTRO DE CAPAS V16 - REGISTRO DE PROTECCIÓN CONTRA COLISIONES 🔱 */
  :root {
      --z-abyssal-bg: 1 !important;
      --z-bento-grid: 100 !important;
      --z-interactive-trigger: 200 !important;
      --z-hud-telemetry: 99998 !important;
      --z-plasma-core: 99999 !important;
  }

#gl-canvas {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        pointer-events: none; z-index: var(--z-plasma-core); mix-blend-mode: screen;
    }


  /* 🔱 DICCIONARIO MAESTRO DE CAPAS V16 - REGISTRO DE PROTECCIÓN CONTRA COLISIONES 🔱 */
  :root {
      --z-abyssal-bg: 1 !important;
      --z-bento-grid: 100 !important;
      --z-interactive-trigger: 200 !important;
      --z-hud-telemetry: 99998 !important;
      --z-plasma-core: 99999 !important;
  }

#init-trigger {
    position: relative !important;
    top: 65px !important; 
    z-index: var(--z-interactive-trigger) !important;
}


img, .v16-pack-card, .v16-white-core, canvas {
    -webkit-touch-callout: none !important;    /* Capa el menú flotante en iOS/Android/Samsung */
    -webkit-user-select: none !important;      /* Evita selección */
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    user-drag: none !important;                /* Evita que la imagen sea arrastrada para guardarla */
    -webkit-user-drag: none !important;
}


/* 1. FULMINAMOS EL BLOQUE OSCURO QUE CREABA LA LÍNEA DE CORTE */
.v16-hero::after {
    display: none !important;
    opacity: 0 !important;
}

/* 2. MÁSCARA DE DESVANECIMIENTO PURO PARA EL ALIEN */
.hero-asset {
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 65%,
        rgba(0,0,0,0) 95%,
        rgba(0,0,0,0) 100%
    ) !important;
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 65%,
        rgba(0,0,0,0) 95%,
        rgba(0,0,0,0) 100%
    ) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
}

/* 3. SUBIMOS LIGERAMENTE LA SECCIÓN DE ABAJO PARA QUE NO QUEDE VACÍO */
.v16-hero + section, 
.v16-hero + div, 
.v16-bento-grid {
    margin-top: -10vh !important;
    padding-top: 10vh !important;
    position: relative !important;
    z-index: 2 !important;
}

