:root {
    --bg: #07060d;
    --bg-alt: #0d0a1a;
    --panel: #120e22;
    --panel-2: #171130;
    --violet: #6c2bd9;
    --magenta: #ff1f8f;
    --cyan: #00e5ff;
    --green: #39ff88;
    --text: #eae6f7;
    --text-dim: #8b85a8;
    --border: rgba(0, 229, 255, 0.22);
    --font-display: 'Orbitron', sans-serif;
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

/* =========================================
   HERO REDESIGN — glitch tipográfico + liveline
   ========================================= */
/* ---------- HERO ---------- */
/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 76px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.12), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 46, 196, 0.12), transparent 45%),
        linear-gradient(180deg, #05060b 0%, #08090f 100%);
}

/* Foto de fondo a pantalla completa del hero */
.hero-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../assets/banner-main.webp');
    background-size: cover;
    background-position: center 30%;
    /* Efecto "respiración": zoom lento y sutil, en loop infinito */
    animation: heroBreathe 14s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroBreathe {

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

    50% {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo-bg {
        animation: none;
    }
}

/* Degradados encima de la foto: oscurece la izquierda para que el
   texto se lea bien, y funde la parte de abajo con el resto del sitio */
.hero-photo-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 6, 11, 0.55) 0%, rgba(5, 6, 11, 0.35) 28%, rgba(5, 6, 11, 0.1) 50%, transparent 68%),
        linear-gradient(180deg, rgba(5, 6, 11, 0.1) 0%, transparent 30%, transparent 72%, #05060b 100%);
}

.hero-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 3px);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0 0;
}

/* ---------- LAYOUT 2 COLUMNAS ---------- */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    text-align: left;
}

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.eyebrow .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulseDot 1.6s ease-in-out infinite;
}

/* Título 2 líneas */
/* ---------- TÍTULO ANIMADO: Sin cables. / Sin límites. ---------- */
.hero h1 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 84px;
    line-height: 0.92;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: block;
    text-align: left;
    margin: 0;
}

/* Línea 1: "Sin cables." — glow neón pulsante */
.hero h1 .line1 {
    display: block;
    color: var(--text);
    position: relative;
    animation: line1Glow 3.2s ease-in-out infinite;
}

@keyframes line1Glow {

    0%,
    100% {
        text-shadow:
            0 0 8px rgba(234, 230, 247, 0.35),
            0 0 24px rgba(234, 230, 247, 0.15);
    }

    50% {
        text-shadow:
            0 0 14px rgba(0, 229, 255, 0.55),
            0 0 40px rgba(0, 229, 255, 0.25),
            0 0 60px rgba(0, 229, 255, 0.12);
    }
}

/* Línea 2: "Sin límites." — gradiente en movimiento + shimmer */
.hero h1 .line2 {
    display: block;
    position: relative;
    background: linear-gradient(90deg,
            var(--cyan) 0%,
            var(--violet) 25%,
            var(--magenta) 50%,
            var(--violet) 75%,
            var(--cyan) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation:
        glitchIn 900ms ease-out 1,
        gradientSlide 6s linear infinite 900ms;
}

/* Shimmer que cruza la línea 2 de vez en cuando */
.hero h1 .line2::after {
    content: "Sin límites.";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(110deg,
            transparent 30%,
            rgba(255, 255, 255, 0.85) 50%,
            transparent 70%);
    background-size: 200% 100%;
    background-position: -150% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerSweep 4.5s ease-in-out infinite 1.5s;
}

/* Entrada del título */
@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: translateX(-6px) skewX(-4deg);
        filter: blur(2px);
    }

    20% {
        opacity: 1;
        transform: translateX(4px) skewX(2deg);
        filter: blur(0);
    }

    35% {
        transform: translateX(-2px) skewX(-1deg);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(0);
    }
}

/* Movimiento del gradiente (loop infinito) */
@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Barrido de brillo tipo "vidrio" */
@keyframes shimmerSweep {
    0% {
        background-position: -150% 0;
    }

    60% {
        background-position: 250% 0;
    }

    100% {
        background-position: 250% 0;
    }
}

.sub-wrap {
    margin-top: 22px;
    max-width: 480px;
}

/* Subtítulo */
.hero .sub {
    display: inline;
    font-size: 18px;
    color: #f4f1fb;
    line-height: 1.9;
    font-family: var(--font-body);
    font-weight: 500;
    /* Resaltado tipo "marcador" línea por línea, en tono de marca */
    background: var(--violet);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 3px 8px;
    border-radius: 3px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.hero .sub b {
    color: #ffffff;
    font-weight: 800;
}

/* Botonera */
.hero .ctarow {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--magenta);
    color: #0d0212;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 17px;
    padding: 17px 30px;
    border: none;
    cursor: pointer;
    /*clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);*/
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: none;
    letter-spacing: 0.03em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 24px rgba(255, 31, 143, 0.6);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--cyan);
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 17px;
    padding: 16px 28px;
    border: 1px solid var(--cyan);
    cursor: pointer;
    /*clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);*/
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.2s;
}

.hero .btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-3px);
}

/* Liveline */
.hero .liveline {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.hero .liveline b {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    animation: pulseDot 1.6s ease-in-out infinite;
}

/* ---------- PANEL VISUAL DERECHO ---------- */
/* ---------- PANEL VISUAL DERECHO ---------- */
.hero .visual {
    position: relative;
    height: 480px;

    overflow: hidden;
}

/* Imagen de fondo del panel */
.hero .visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
    filter: saturate(1.15) contrast(1.05);
    transition: transform 6s ease-out;
}

/* Zoom lento al cargar (efecto cinematográfico) */
.hero .visual:hover .visual-img {
    transform: scale(1.06);
}

/* Overlay oscuro para que el badge y el contador se lean bien */
.hero .visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

}

/* El badge y el contador van por encima de la imagen */
.hero .visual-badge,
.hero .visual-counter {
    z-index: 2;
}

/* Badge "Meta Quest 3" */
.hero .visual-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(5, 6, 11, 0.85);
    border: 1px solid var(--cyan);
    padding: 10px 16px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.03em;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
    backdrop-filter: blur(6px);
}

/* Contador "4.9★ / 237 reseñas" */
.hero .visual-counter {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(5, 6, 11, 0.9);
    border: 1px solid var(--cyan);
    padding: 12px 18px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    backdrop-filter: blur(6px);
}

.hero .visual-counter .n {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    color: var(--cyan);
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.hero .visual-counter .l {
    font-size: 11px;
    color: var(--text-dim);
    font-family: var(--font-body);
}

/* ---------- BADGES INFERIORES ---------- */
.badges-wrap {
    position: relative;
    z-index: 2;
    margin-top: 70px;
}

.hero .badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .badge {
    background: var(--bg);
    padding: 26px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero .badge .ic {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.hero .badge:nth-child(1) .ic {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan);
}

.hero .badge:nth-child(2) .ic {
    background: rgba(255, 31, 143, 0.15);
    color: var(--magenta);
}

.hero .badge:nth-child(3) .ic {
    background: rgba(108, 43, 217, 0.20);
    color: var(--violet);
}

.hero .badge:nth-child(4) .ic {
    background: rgba(57, 255, 136, 0.15);
    color: var(--green);
}

.hero .badge .t {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.hero .badge .d {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
    font-family: var(--font-body);
}

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 920px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 10vw, 3.8rem);
    }

    .hero .visual {
        height: 320px;
    }

    .hero .badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-inner {
        padding: 40px 0 0;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero .sub {
        font-size: 16px;
    }

    .hero .badges {
        grid-template-columns: 1fr;
    }

    .hero .ctarow .btn-primary,
    .hero .ctarow .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .badges-wrap {
        margin-top: 50px;
    }
}

/* =========================================
   SPATIAL OPS — EXPERIENCIA DESTACADA
   ========================================= */

.game-card.featured-game {
    position: relative;
    border: 1px solid rgba(0, 229, 255, 0.65);

    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.08),
        0 0 30px rgba(0, 229, 255, 0.12);

    transform: translateY(-4px);
}

.game-card.featured-game::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;

    border-radius: inherit;

    background:
        linear-gradient(135deg,
            rgba(0, 229, 255, 0.08),
            transparent 35%,
            transparent 70%,
            rgba(255, 0, 170, 0.06));
}

.game-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;

    padding: 7px 12px;

    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;

    color: #fff;

    background: var(--magenta);

    border: 1px solid var(--magenta);
    border-radius: 4px;

    box-shadow:
        0 0 14px rgba(255, 0, 170, 0.35);

    backdrop-filter: blur(8px);
}

.game-card.featured-game:hover {
    transform: translateY(-8px);

    border-color: rgba(0, 229, 255, 0.95);

    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.15),
        0 0 40px rgba(0, 229, 255, 0.22);
}

.game-card.featured-game:hover .game-featured-badge {
    box-shadow:
        0 0 20px rgba(255, 0, 170, 0.5);
}

/****------***/

/*------ whatsapp----*/
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    border-radius: 50%;

    background: #25D366;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12);

    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.whatsapp-label {
    position: absolute;
    right: 72px;

    padding: 9px 14px;

    background: rgba(10, 10, 15, 0.94);
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-icon {
        width: 27px;
        height: 27px;
    }

    .whatsapp-label {
        display: none;
    }
}

/* ---------- UBICACION ---------- */
.ubicacion .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-list {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.info-item h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

/* --- MAPA CORREGIDO --- */
/* ---------- UBICACION ---------- */
.ubicacion .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-list {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.info-item h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

/* --- MAPA CORREGIDO (para tu HTML) --- */
.map-frame {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--panel);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* Este es el contenedor que hace que el mapa sea responsivo */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Proporción 1:1 (cuadrado) */
    height: 0;
    overflow: hidden;
}

/* El iframe ocupa todo el espacio del contenedor */
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* --- Responsive del mapa --- */
@media (max-width: 920px) {
    .ubicacion .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        padding-bottom: 75%;
        /* Proporción 4:3 para tablets */
    }
}

@media (max-width: 600px) {
    .map-container {
        padding-bottom: 100%;
        /* Vuelve a 1:1 en móviles */
    }
}

/****FIN MAPA ***/
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.noise-layer {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 3px);
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.noise-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 255, 0.03) 50%, transparent 100%);
    animation: scan 6s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    /*padding: 0 24px;*/
}

/* ---------- NAV ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(7, 6, 13, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.navwrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo span {
    color: var(--cyan);
}

/* Logo como imagen (en vez de texto). Sin esto, la imagen se muestra
   a su tamaño natural (gigante). */
.logo-img {
    display: flex;
    align-items: center;
}

.logo-img::before {
    display: none;
}

.logo-img img {
    height: 68px;
    width: auto;
    display: block;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--magenta);
    box-shadow: 0 0 10px var(--magenta), 0 0 22px var(--magenta);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {

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

    50% {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

.logo span {
    color: var(--cyan);
}

/* Logo como imagen (en vez de texto). Sin esto, la imagen se muestra
   a su tamaño natural (gigante). */
.logo-img {
    display: flex;
    align-items: center;
}

.logo-img::before {
    display: none;
}

.logo-img img {
    height: 68px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 34px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

nav ul li a {
    color: var(--text-dim);
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
}

nav ul li a:hover {
    color: var(--cyan);
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    transition: width 0.25s;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-socials {
    display: flex;
    gap: 10px;
}

.nav-social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.nav-social-icon svg {
    width: 17px;
    height: 17px;
}

.nav-social-icon:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.nav-social-icon:nth-child(2):hover {
    color: var(--magenta);
    border-color: var(--magenta);
    box-shadow: 0 0 14px rgba(255, 31, 143, 0.4);
}

.mobile-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mobile-socials .social-pill {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.mobile-socials .social-pill svg {
    width: 16px;
    height: 16px;
}

.nav-cta {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 22px;
    color: var(--bg);
    background: var(--cyan);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
    letter-spacing: 0.04em;
    transition: transform 0.2s, box-shadow 0.2s;
    clip-path: (10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%)
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.8);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--cyan);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 190;
    background: rgba(7, 6, 13, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}

.mobile-menu .nav-cta {
    align-self: flex-start;
    margin-top: 6px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    overflow: hidden;
    background: #020103;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/umbral-vr-hero.png');
    background-size: cover;
    background-position: center 30%;
    filter: saturate(1.25) contrast(1.08);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 1, 3, 0.55) 0%, rgba(2, 1, 3, 0.35) 30%, rgba(2, 1, 3, 0.55) 68%, rgba(2, 1, 3, 0.96) 100%),
        linear-gradient(90deg, rgba(0, 229, 255, 0.14) 0%, transparent 30%, transparent 70%, rgba(255, 31, 143, 0.14) 100%);
}

.hero-gridlines {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.05) 0px, rgba(0, 229, 255, 0.05) 1px, transparent 1px, transparent 64px);
    opacity: 0.6;
}

.hero-chrom {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 140px 40px rgba(2, 1, 3, 0.9);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 70px;
}

.hero-text {
    text-align: center;
}

.hero-text .hero-ctas {
    justify-content: center;
}

.hero-text .hero-stats {
    justify-content: center;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.3em;
    color: var(--green);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulseDot 1.6s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 9vw, 6.4rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--text);
    text-shadow: 0 0 24px rgba(0, 229, 255, 0.45), 0 0 60px rgba(255, 31, 143, 0.25);
    position: relative;
    display: inline-block;
}

.hero h1 .glitch {
    position: relative;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 .glitch::before,
.hero h1 .glitch::after {
    content: "UMBRAL VR";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    clip-path: inset(0 0 0 0);
}

.hero h1 .glitch::before {
    animation: glitchTop 5s infinite linear;
    transform: translate(-2px, -1px);
}

.hero h1 .glitch::after {
    animation: glitchBot 5s infinite linear;
    transform: translate(2px, 1px);
}

@keyframes glitchTop {

    0%,
    89%,
    100% {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
    }

    90% {
        clip-path: inset(0 0 78% 0);
        opacity: 0.7;
    }

    92% {
        clip-path: inset(40% 0 30% 0);
        opacity: 0.7;
    }

    94% {
        clip-path: inset(10% 0 65% 0);
        opacity: 0.7;
    }

    96% {
        opacity: 0;
    }
}

@keyframes glitchBot {

    0%,
    89%,
    100% {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }

    90% {
        clip-path: inset(70% 0 5% 0);
        opacity: 0.7;
    }

    92% {
        clip-path: inset(20% 0 55% 0);
        opacity: 0.7;
    }

    94% {
        clip-path: inset(60% 0 12% 0);
        opacity: 0.7;
    }

    96% {
        opacity: 0;
    }
}

.hero p.brand-line {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 22px;
    color: var(--text);
    font-style: normal;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.hero p.brand-line .cy {
    color: var(--cyan);
    font-style: normal;
    text-shadow: 0 0 16px rgba(0, 229, 255, 0.7), 0 0 32px rgba(0, 229, 255, 0.4);
}

.hero p.brand-line .mg {
    color: var(--magenta);
    font-style: normal;
    text-shadow: 0 0 16px rgba(255, 31, 143, 0.7), 0 0 32px rgba(255, 31, 143, 0.4);
}

.tech-strip {
    margin-top: 46px;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    border-left: 1px solid var(--border);
    text-align: left;
}

.tech-item:first-child {
    border-left: none;
}

.tech-item svg {
    color: var(--cyan);
    flex-shrink: 0;
}

.tech-item strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.tech-item span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

@media (max-width:700px) {
    .tech-strip {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .tech-item {
        border-left: none;
        padding: 0;
    }
}

.hero p.tagline {
    font-family: var(--font-head);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    color: var(--text);
    max-width: 640px;
    margin: 26px auto 0;
    font-weight: 500;
    letter-spacing: 0.01em;
    background: rgba(2, 1, 3, 0.72);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    padding: 16px 22px;
    backdrop-filter: blur(6px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-ctas {
    margin-top: 44px;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 16px 34px;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--magenta);
    color: #fff;
    border: 1px solid var(--magenta);
    box-shadow: 0 0 24px rgba(255, 31, 143, 0.55);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 34px rgba(255, 31, 143, 0.85);
}

.btn-ghost {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-ghost:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat {
    font-family: var(--font-mono);
    padding: 0 34px;
    border-left: 1px solid var(--border);
    text-align: left;
}

.stat:first-child {
    border-left: none;
}

.stat .num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.stat .label {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ---------- SECTION SHARED ---------- */
section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    margin-bottom: 60px;
    max-width: 640px;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 14px;
    display: block;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    text-shadow: 2px 0 0 rgba(0, 229, 255, 0.4), -2px 0 0 rgba(255, 31, 143, 0.4);
}

.section-head p {
    font-family: var(--font-body);
    color: var(--text-dim);
    margin-top: 16px;
    font-size: 1.05rem;
    max-width: 560px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- EXPERIENCIAS ---------- */
.experiencias {
    background: var(--bg-alt);
    position: relative;
}

.experiencias::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
    pointer-events: none;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.exp-card {
    background: var(--bg-alt);
    padding: 38px 30px;
    transition: background 0.3s;
}

.exp-card:hover {
    background: var(--panel);
}

.exp-icon {
    width: 46px;
    height: 46px;
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--cyan);
}

.exp-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.exp-card p {
    color: var(--text-dim);
    font-size: 0.96rem;
}

/* ---------- PRECIOS ---------- */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.price-card {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 34px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}

.price-card:hover {
    border-color: var(--cyan);
    transform: translateY(-6px);
}

.price-card.featured {
    border-color: var(--magenta);
    background: linear-gradient(180deg, rgba(255, 31, 143, 0.08), var(--panel) 40%);
}

.price-card.featured::before {
    content: "MÁS ELEGIDA";
    position: absolute;
    top: -1px;
    right: -1px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    background: var(--magenta);
    color: #fff;
    padding: 5px 10px;
}

.price-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.price-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--cyan);
    margin: 14px 0 4px;
}

.price-amount sup {
    font-size: 0.9rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

.price-unit {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 22px;
}

.price-features {
    flex: 1;
    margin-bottom: 26px;
}

.price-features li {
    font-size: 0.9rem;
    color: var(--text-dim);
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.price-features li::before {
    content: "▹";
    color: var(--cyan);
    flex-shrink: 0;
}

.price-card .btn {
    text-align: center;
    font-size: 0.92rem;
    padding: 13px;
}

.price-note {
    margin-top: 26px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ---------- GALERIA ---------- */
.galeria {
    background: var(--bg-alt);
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
}

.gal-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gal-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gal-item:nth-child(4) {
    grid-column: span 2;
}

.gal-item .bg {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    transition: transform 0.5s;
}

.gal-item:hover .bg {
    transform: scale(1.08);
}

.gal-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.gal-item span {
    position: relative;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text);
    letter-spacing: 0.05em;
}

.g1 {
    background: radial-gradient(circle at 30% 20%, #ff1f8f 0%, transparent 55%), radial-gradient(circle at 80% 80%, #00e5ff 0%, transparent 50%), #170f2c;
}

.g2 {
    background: radial-gradient(circle at 70% 30%, #6c2bd9 0%, transparent 55%), #0d0a1a;
}

.g3 {
    background: radial-gradient(circle at 20% 70%, #00e5ff 0%, transparent 50%), #140c26;
}

.g4 {
    background: radial-gradient(circle at 50% 40%, #ff1f8f 0%, transparent 60%), radial-gradient(circle at 10% 90%, #39ff88 0%, transparent 40%), #0d0a1a;
}

.g5 {
    background: radial-gradient(circle at 80% 20%, #6c2bd9 0%, transparent 55%), #170f2c;
}

.gal-note {
    margin-top: 22px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.social-row {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    padding: 12px 20px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.social-pill:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.social-pill svg {
    width: 18px;
    height: 18px;
}

/* ---------- UBICACION ---------- */
.ubicacion .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-list {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.info-item h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-dim);
    font-size: 0.94rem;
}

.map-frame {
    border: 1px solid var(--border);
    aspect-ratio: 1/1;
    background:
        linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px) 0 0/28px 28px,
        linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px) 0 0/28px 28px,
        var(--panel);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    text-align: center;
}

.map-pin .dot {
    width: 16px;
    height: 16px;
    background: var(--magenta);
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 0 0 6px rgba(255, 31, 143, 0.15), 0 0 20px var(--magenta);
    animation: pulseDot 1.8s ease-in-out infinite;
}

.map-pin p {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    max-width: 200px;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
    background:
        radial-gradient(ellipse 70% 100% at 50% 50%, rgba(255, 31, 143, 0.14), transparent 70%),
        var(--bg-alt);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-final h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 22px;
}

.cta-final p {
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
footer {
    padding: 50px 0 34px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer .logo {
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 26px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
}

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

.footer-copy {
    margin-top: 30px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    opacity: 0.6;
    text-align: center;
}


/* ---------- JUEGOS ---------- */
.juegos {
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(108, 43, 217, 0.12), transparent 70%),
        var(--bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    cursor: pointer;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: var(--cyan);
    box-shadow: 0 0 28px rgba(0, 229, 255, .16);
}

.game-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s, filter .3s;
    filter: saturate(1.05) contrast(1.05);
}

.game-card:hover .game-cover {
    transform: scale(1.06);
    filter: saturate(1.2) contrast(1.08);
}

.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 6, 13, .04) 20%, rgba(7, 6, 13, .3) 45%, rgba(7, 6, 13, .96) 100%);
    pointer-events: none;
}

.game-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px;
}

.game-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, .45);
    padding: 5px 8px;
    margin-bottom: 10px;
    background: rgba(7, 6, 13, .55);
}

.game-content h3 {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.game-content p {
    color: #b6b0cc;
    font-size: .9rem;
    margin-bottom: 16px;
}

.game-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.game-open::after {
    content: "↗";
    color: var(--magenta);
    font-size: 1rem;
}

/* ---------- SPATIAL OPS FEATURE ---------- */
.spatial-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.spatial-hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 55px;
}

.spatial-copy .section-eyebrow {
    color: var(--cyan);
}

.spatial-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.5vw, 3.8rem);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 0 0 rgba(0, 229, 255, .4), -2px 0 0 rgba(255, 31, 143, .4);
}

.spatial-copy h2 span {
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.spatial-copy p {
    color: var(--text-dim);
    max-width: 570px;
    font-size: 1rem;
}

.spatial-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.spatial-meta span {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 8px 11px;
}

.spatial-feature-media {
    position: relative;
    border: 1px solid var(--border);
    min-height: 380px;
    overflow: hidden;
    background: var(--panel);
}

.spatial-feature-media img,
.spatial-feature-media video {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.media-label {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .12em;
    color: var(--cyan);
    background: rgba(7, 6, 13, .78);
    border: 1px solid var(--border);
    padding: 7px 10px;
}

.spatial-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 14px;
}

.spatial-thumb {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    cursor: pointer;
}

.spatial-thumb:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.spatial-thumb img,
.spatial-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s, filter .3s;
}

.spatial-thumb:hover img,
.spatial-thumb:hover video {
    transform: scale(1.06);
    filter: saturate(1.2);
}

.spatial-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7));
    pointer-events: none;
}

.spatial-thumb span {
    position: absolute;
    left: 12px;
    bottom: 11px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: .67rem;
    color: var(--text);
}

/* ---------- GAME MODAL ---------- */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(2, 1, 3, .88);
    backdrop-filter: blur(12px);
}

.game-modal.open {
    display: flex;
}

.modal-box {
    position: relative;
    width: min(980px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 50px rgba(0, 229, 255, .16), 0 0 90px rgba(255, 31, 143, .08);
}

.modal-media {
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
}

.modal-media video,
.modal-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.modal-body {
    padding: 28px 32px 32px;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    margin-bottom: 10px;
}

.modal-body p {
    color: var(--text-dim);
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(7, 6, 13, .8);
    color: var(--text);
    cursor: pointer;
    font-size: 1.4rem;
}

.modal-close:hover {
    border-color: var(--magenta);
    color: var(--magenta);
}

body.modal-open {
    overflow: hidden;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:920px) {
    nav ul {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .burger {
        display: flex;
    }

    .exp-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spatial-hero {
        grid-template-columns: 1fr;
    }

    .spatial-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .precios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gal-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .ubicacion .container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 0 10px;
    }
}

@media (max-width:600px) {
    section {
        padding: 80px 0;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px 0;
        justify-items: center;
    }

    .stat {
        border-left: none;
        padding: 0 16px;
        width: 100%;
        text-align: center;
    }

    .stat:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .stat:nth-child(n+3) {
        padding-top: 22px;
        border-top: 1px solid var(--border);
    }

    .precios-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .spatial-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .spatial-thumb:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .modal-body {
        padding: 22px;
    }

    .stat {
        padding: 0 18px;
    }
}


/* =========================================================
   UMBRAL VR — FIX DEFINITIVO DE MÁRGENES EN MÓVIL
   Este bloque va al FINAL para sobrescribir reglas anteriores.
   ========================================================= */

@media (max-width: 600px) {

    /* Margen lateral REAL para todos los contenedores */
    .container,
    .hero-inner,
    .section-head,
    .section-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Evita que elementos internos vuelvan a tocar los bordes */
    .hero-layout,
    .hero-copy,
    .hero .ctarow,
    .hero-stats,
    .tech-strip {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-copy {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Hero */
    .hero {
        overflow-x: hidden !important;
    }

    .hero-inner {
        padding-top: 38px !important;
        padding-bottom: 50px !important;
    }

    .eyebrow {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(2.35rem, 11.8vw, 3.25rem) !important;
        line-height: .98 !important;
        letter-spacing: -.02em !important;
    }

    .hero h1 .line1,
    .hero h1 .line2 {
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
    }

    .hero .sub {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero .ctarow {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 10px !important;
    }

    .hero .ctarow .btn-primary,
    .hero .ctarow .btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Bloques que aparecían pegados al borde */
    .hero-stats,
    .tech-strip {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Secciones: nunca permitir contenido a ancho completo
       accidentalmente dentro del móvil */
    section>.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Cards/listados */
    .exp-grid,
    .games-grid,
    .precios-grid,
    .gal-grid,
    .spatial-gallery {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* El botón "Nuestros Juegos" de la captura */
    .hero .btn-secondary {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* WhatsApp: separado del borde */
    .whatsapp-float {
        right: 16px !important;
        bottom: 16px !important;
    }
}

/* Teléfonos pequeños */
@media (max-width: 380px) {

    .container,
    .hero-inner,
    section>.container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 11.5vw, 2.8rem) !important;
    }
}


/* =========================================================
   FIX — JUEGOS VISIBLES INMEDIATAMENTE EN MÓVIL
   El HTML aplica .reveal al encabezado y al grid de juegos.
   .reveal empieza con opacity:0 y espera al IntersectionObserver.
   En pantallas pequeñas esto puede dejar un gran espacio vacío
   antes de que el navegador considere visible el bloque.
   ========================================================= */

@media (max-width: 600px) {

    /* No ocultar la biblioteca VR esperando al scroll.
       Los juegos y su encabezado deben estar disponibles
       apenas el usuario entra en la sección. */
    .juegos .reveal {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    /* Evita que la animación de entrada deje espacio extraño */
    .juegos .section-head,
    .juegos .games-grid {
        visibility: visible !important;
    }

    /* El grid de juegos empieza inmediatamente después
       del encabezado, con una separación controlada. */
    .juegos .games-grid {
        margin-top: 28px !important;
    }

    /* En móvil una columna, para que cada juego aparezca
       completo y sea fácil de tocar. */
    .juegos .games-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .juegos .game-card {
        min-height: 390px !important;
        width: 100% !important;
    }
}

/* Para teléfonos muy pequeños */
@media (max-width: 380px) {
    .juegos .game-card {
        min-height: 360px !important;
    }
}