        :root {
            --transition-speed: 1.2s;
            --transition-timing: cubic-bezier(0.76, 0, 0.24, 1);
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: 1px solid rgba(255, 255, 255, 0.08);
            --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
            --glass-blur: blur(24px);
            --glass-radius: 30px;
        }

        /* GLightbox Custom Styles */
        .gslide-title {
            text-align: center !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            right: auto !important;
            max-width: calc(100% - 120px) !important;
            padding: 0 20px !important;
        }

        .gslide-desc {
            text-align: center !important;
        }

        html {
            background-color: #000;
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            padding: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            font-family: 'Barlow Condensed', sans-serif;
            background-color: #000;
            touch-action: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            font-size: 14px;
        }

        #splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: #000;
            opacity: 1;
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
            box-sizing: border-box;
            padding: 20px;
        }

        #splash-screen.hidden {
            opacity: 0;
            transform: scale(1.5);
            pointer-events: none;
            transition: opacity 0.5s ease-out 1s, transform 1.5s ease-out;
        }

        #splash-background-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateX(-50%) translateY(-50%) scale(1.1);
            object-fit: cover;
            filter: blur(17px) brightness(0.5);
            z-index: 1;
        }

        /* Dark vignette overlay for better text readability */
        #splash-screen::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
            z-index: 1;
            pointer-events: none;
        }

        #splash-content {
            position: relative;
            z-index: 2;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #fff;
        }

        #splash-main-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        #splash-main-title,
        #splash-welcome-text,
        #enter-button,
        #visitor-counter-container,
        .support-banner {
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #splash-screen.parallax-start #splash-main-title,
        #splash-screen.parallax-start #splash-welcome-text,
        #splash-screen.parallax-start #enter-button,
        #splash-screen.parallax-start #visitor-counter-container,
        #splash-screen.parallax-start .support-banner,
        #splash-screen.parallax-start #mobile-restriction,
        #splash-screen.parallax-start .title-wrapper {
            opacity: 0;
            pointer-events: none;
        }

        #splash-screen.parallax-start #splash-main-title,
        #splash-screen.parallax-start .title-wrapper {
            transform: scale(1.3) translateY(-20px);
            transition-delay: 0s;
        }

        #splash-screen.parallax-start #splash-welcome-text {
            transform: scale(1.1) translateY(-15px);
            transition-delay: 0.05s;
            animation: none !important;
            opacity: 0 !important;
        }

        #splash-screen.parallax-start #enter-button {
            transform: scale(0.8) translateY(10px);
            transition-delay: 0.1s;
        }

        #splash-screen.parallax-start #visitor-counter-container {
            transform: scale(0.9) translateY(20px);
            transition-delay: 0.15s;
        }

        #splash-screen.parallax-start .support-banner {
            transform: translateY(30px);
            transition-delay: 0.2s;
        }

        #splash-main-title {
            font-family: 'Oxanium', sans-serif;
            font-weight: 800;
            text-transform: uppercase;
            margin: 0;
            color: #fff;
            font-size: clamp(2.8rem, 9vw, 5.5rem);
            position: relative;
            margin-bottom: 8px;
            letter-spacing: 0.05em;
            text-shadow:
                0 0 30px rgba(255, 255, 255, 0.5),
                0 4px 20px rgba(0, 0, 0, 0.8);
        }

        #splash-main-title span {
            display: inline-block;
            animation: subtleFloat 3s ease-in-out infinite;
        }

        @keyframes subtleFloat {

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

            50% {
                transform: translateY(-2px);
            }
        }

        #splash-welcome-text {
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: clamp(0.65rem, 1.5vw, 0.9rem);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            /* Reduced to fit within title width */
            color: rgba(255, 255, 255, 0.85);
            text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
            margin: 0 0 25px 0;
            line-height: 1.4;
            text-align: center;
            opacity: 0;
            animation: welcomeFadeIn 1.5s ease-out forwards 0.8s;
        }

        @keyframes welcomeFadeIn {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }

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

        /* Redesigned Counter - Premium Tech Aspect */
        #visitor-counter-container {
            margin-top: 30px;
            display: flex;
            gap: 15px;
            align-items: center;
            justify-content: center;
            opacity: 0;
            animation: fadeInCounter 1.5s ease-out forwards 1.5s;
        }

        /* Mobile Landscape: Counters on sides */
        @media (max-width: 1024px) and (orientation: landscape) {
            #visitor-counter-container {
                position: fixed;
                top: 50%;
                left: 0;
                right: 0;
                transform: translateY(-50%);
                margin: 0;
                padding: 0 15px;
                justify-content: space-between;
                z-index: 100;
                pointer-events: none;
            }

            .counter-pill {
                pointer-events: auto;
                padding: 8px 12px;
                min-width: 70px;
            }

            .counter-pill .pill-label {
                font-size: 0.45rem;
            }

            .counter-pill .pill-value {
                font-size: 0.9rem;
            }

            .counter-separator {
                display: none;
            }
        }

        /* Audio Player Styling */
        .ar-audio-player {
            margin: 15px 0;
            padding: 12px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .ar-audio-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ar-audio-player audio {
            width: 100%;
            height: 35px;
            border-radius: 8px;
        }

        @media (max-width: 1024px) and (orientation: landscape) {
            .ar-audio-player {
                margin: 8px 0;
                padding: 8px;
            }

            .ar-audio-label {
                font-size: 0.65rem;
                margin-bottom: 5px;
            }

            .ar-audio-player audio {
                height: 28px;
            }
        }

        .counter-pill {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 12px 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 95px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }

        .counter-pill::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: translateX(-100%);
            animation: scanline 3s infinite;
        }

        @keyframes scanline {
            0% {
                transform: translateX(-100%);
            }

            50%,
            100% {
                transform: translateX(100%);
            }
        }

        .counter-pill:hover {
            background: rgba(0, 0, 0, 0.6);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .counter-pill .pill-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
            line-height: 1.3;
            text-align: center;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }

        .counter-pill .pill-value {
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .counter-pill .pill-value i {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .counter-pill.global .pill-value,
        .counter-pill.personal .pill-value {
            color: #fff;
            text-shadow: 0 0 12px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.6);
        }

        .counter-separator {
            width: 1px;
            height: 35px;
            background: rgba(255, 255, 255, 0.15);
        }

        @keyframes fadeInCounter {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        #enter-button {
            font-family: 'Inter', 'Roboto Condensed', sans-serif;
            font-weight: 600;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.95);
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.08) 0%,
                    rgba(255, 255, 255, 0.03) 50%,
                    rgba(255, 255, 255, 0.06) 100%);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            padding: 14px 32px;
            margin-top: 0;
            cursor: pointer;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.1),
                inset 0 -1px 1px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        #enter-button::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.35) 0%,
                    rgba(255, 255, 255, 0.1) 25%,
                    transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        #enter-button:hover::before {
            opacity: 1;
        }

        #enter-button:hover {
            transform: scale(1.05);
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.15) 0%,
                    rgba(255, 255, 255, 0.06) 50%,
                    rgba(255, 255, 255, 0.10) 100%);
            box-shadow:
                0 10px 35px rgba(0, 0, 0, 0.35),
                0 0 40px rgba(255, 255, 255, 0.12),
                inset 0 1px 2px rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.25);
        }

        #enter-button i {
            font-size: 0.9rem;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        #enter-button:hover i {
            transform: scale(1.1) translateX(2px);
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
        }

        /* Sensor permission hint - only visible on mobile */
        .sensor-permission-hint {
            display: none;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 10px;
            text-align: center;
            font-family: 'Barlow Condensed', sans-serif;
        }

        .sensor-permission-hint i {
            margin-right: 5px;
        }

        @media (max-width: 1024px) {
            .sensor-permission-hint {
                display: block;
            }
        }

        .title-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
            transition: opacity 1s cubic-bezier(0.23, 1, 0.320, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .byline {
            display: block;
            text-align: right;
            margin-top: -30px;
            /* Moved up significantly higher */
            margin-bottom: 25px;
            width: 100%;
            padding-right: 2px;
            /* Fine-tune alignment with the 'RO' */
        }

        .byline a {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            font-size: clamp(0.75rem, 2vw, 1rem);
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        .byline a:hover {
            color: #fff;
        }


        /* Mobile restriction section - SHOWN on mobile to block access */
        #mobile-restriction {
            display: none;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
            margin-top: 2rem;
            padding: 2rem;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        #mobile-restriction h4 {
            font-family: 'Teko', sans-serif;
            font-size: 1.5rem;
            color: #fff;
            margin: 0;
        }

        #mobile-restriction p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
            max-width: 280px;
        }

        /* Portrait message - hidden by default */
        .portrait-msg {
            display: block;
        }

        .landscape-msg {
            display: none;
        }

        /* Mobile Portrait: show portrait blocker immediately */
        @media (max-width: 1024px) and (orientation: portrait) {

            /* Show portrait blocker from the start */
            #portrait-blocker {
                display: flex !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            /* Keep splash screen visible but behind portrait blocker for video loading */
            #splash-screen {
                z-index: 9999 !important;
                /* Below portrait blocker's 15000 */
            }

            #mobile-restriction {
                display: none !important;
            }

            #enter-button {
                display: none !important;
            }

            .portrait-msg {
                display: none;
            }

            .landscape-msg {
                display: none;
            }
        }

        /* Mobile Landscape: show enter button, full experience */
        @media (max-width: 1024px) and (orientation: landscape) {
            #mobile-restriction {
                display: none !important;
            }

            #enter-button {
                display: inline-block !important;
            }

            #splash-main-content {
                display: flex !important;
            }

            .portrait-msg {
                display: none;
            }

            .landscape-msg {
                display: none;
            }
        }

        #send-to-desktop-button {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #fff;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            border-radius: 50px;
            padding: 14px 40px;
            cursor: pointer;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
            box-shadow: var(--glass-shadow);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        #send-to-desktop-button::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 20%,
                    transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -50%;
            left: -50%;
        }

        #send-to-desktop-button:hover::before {
            opacity: 1;
        }

        #send-to-desktop-button:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
            border-color: rgba(255, 255, 255, 0.7);
            transform: scale(1.05);
            box-shadow:
                0 0 30px rgba(255, 255, 255, 0.4),
                0 0 60px rgba(255, 255, 255, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1),
                var(--glass-shadow);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        /* Glass button white style for landscape mobile */
        .glass-btn-white {
            font-family: 'Barlow Condensed', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            padding: 12px 30px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .glass-btn-white:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            transform: scale(1.05);
        }

        .support-banner {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            padding: 15px 30px;
            border-radius: 50px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            z-index: 10001;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            box-shadow: var(--glass-shadow);
        }

        .support-banner.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .support-banner span {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.6);
        }

        .credits-title,
        .credits-subtitle,
        .credits-teaser {
            font-family: 'Oxanium', cursive !important;
        }

        .support-banner img {
            height: 40px;
            width: auto;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .support-banner img:hover {
            opacity: 1;
        }

        #experience-wrapper {
            opacity: 0;
            transition: opacity 1s ease 1s;
            visibility: hidden;
        }

        #experience-wrapper.visible {
            opacity: 1;
            visibility: visible;
        }

        body.is-resizing * {
            transition: none !important;
        }

        #initial-title {
            position: fixed;
            z-index: 9999;
            top: 3vh;
            left: 0;
            right: 0;
            margin: 0 auto;
            transition: all 0.5s ease;
            font-family: 'Oxanium', sans-serif;
            font-weight: 700;
            font-size: clamp(1.2rem, 3.5vw, 2.8rem);
            text-transform: uppercase;
            text-align: center;
            width: fit-content;
            max-width: 90%;
            padding: 0.5rem 2rem;
            background-image: url('https://www.transparenttextures.com/patterns/concrete-wall-3.png');
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
            filter: brightness(1.3);
            letter-spacing: 0.1em;
        }

        #canvas-world {
            width: 300vw;
            height: 300vh;
            position: relative;
            transition: transform var(--transition-speed) var(--transition-timing);
            transform: translate(-100vw, -100vh);
            touch-action: none;
        }

        .canvas-section {
            position: absolute;
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-family: 'Roboto Condensed', sans-serif;
            box-sizing: border-box;
            overflow: hidden;
        }

        #section-center {
            top: 100vh;
            left: 100vw;
            background-image: radial-gradient(ellipse at center, #111 0%, #000 70%);
        }

        #section-investigacion {
            top: 0;
            left: 0;
            background-color: #1a1c20;
        }

        #section-archivo {
            top: 0;
            left: 200vw;
            background-color: #201a1a;
        }

        #section-ar {
            top: 200vh;
            left: 0;
        }

        #section-vr {
            top: 200vh;
            left: 200vw;
            background-color: #000;
        }

        .content-box {
            padding: 4vh 3vw 3vh;
            max-width: 1400px;
            width: 94%;
            box-sizing: border-box;
            text-align: left;
            font-family: 'Inter', 'Roboto Condensed', sans-serif;
            display: flex;
            flex-direction: column;
            height: 92%;
            max-height: calc(100vh - 8vh);
            background: linear-gradient(135deg,
                    rgba(15, 17, 22, 0.85) 0%,
                    rgba(15, 17, 22, 0.75) 100%);
            backdrop-filter: blur(24px) saturate(150%);
            -webkit-backdrop-filter: blur(24px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            box-shadow:
                0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
            margin: auto;
            overflow: hidden;
        }

        .investigation-article {
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .investigation-page.active {
            flex: 1 1 auto;
            min-height: 0;
            display: flex;
            flex-direction: column;
        }

        /* === NEW INVESTIGATION MODULE STYLES === */
        :root {
            --brand-red: #ff3b30;
            --brand-blue: #0a84ff;
            --brand-green: #30d158;
            --brand-orange: #ff9f0a;
            --brand-purple: #bf5af2;
            --brand-gold: #ffd60a;
        }

        .inv-split-layout {
            display: grid;
            grid-template-columns: 45% 55%;
            gap: 2px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            width: 100%;
            height: 100%;
            max-width: 1700px;
            overflow: hidden;
            box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
        }

        /* SLIDE 3 (Pasaportes PDF): Panel derecho más ancho para vista previa del documento */
        #inv-page-3 .inv-split-layout {
            grid-template-columns: 35% 65%;
        }

        .inv-text-panel {
            background: rgba(15, 15, 18, 0.98);
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow-y: auto;
        }

        .inv-visual-panel {
            background: rgba(10, 10, 12, 0.5);
            backdrop-filter: blur(20px);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .inv-title {
            font-family: 'Inter', 'Barlow Condensed', sans-serif;
            font-weight: 900;
            letter-spacing: -0.04em;
            line-height: 0.95;
            font-size: clamp(3rem, 5vw, 5rem);
            color: white;
            margin-bottom: 1.5rem;
        }

        .inv-subtitle {
            font-family: 'Inter', 'Barlow Condensed', sans-serif;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.1;
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            color: white;
            margin-bottom: 0.75rem;
        }

        .inv-kicker {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
            display: block;
            color: #71717a;
            border-left: 2px solid currentColor;
            padding-left: 8px;
        }

        .inv-prose {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(0.9rem, 1.1vw, 1.1rem);
            line-height: 1.5;
            color: #d4d4d8;
            margin-bottom: 0.75rem;
            font-weight: 400;
        }

        .inv-prose strong {
            color: white;
            font-weight: 600;
        }

        /* Redacted Interactivity */
        .inv-redacted {
            position: relative;
            cursor: pointer;
            overflow: hidden;
            border-radius: 8px;
            transition: all 0.4s ease;
        }

        .inv-redacted::after {
            content: 'CLICK PARA DESCLASIFICAR';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: clamp(0.4rem, 1.5vw, 0.65rem);
            color: #a1a1aa;
            letter-spacing: 1px;
            transition: all 0.4s ease;
            border: 1px dashed rgba(255, 255, 255, 0.2);
            padding: 0.25rem;
            text-align: center;
        }

        .inv-redacted:hover::after {
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border-color: white;
        }

        .inv-redacted.revealed::after {
            opacity: 0;
            pointer-events: none;
        }

        .inv-scan-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: rgba(255, 255, 255, 0.5);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
            animation: invScan 3s linear infinite;
            display: none;
            pointer-events: none;
        }

        .inv-redacted.revealed .inv-scan-line {
            display: block;
        }

        @keyframes invScan {
            0% {
                top: 0;
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                top: 100%;
                opacity: 0;
            }
        }

        .inv-evidence-placeholder {
            width: 100%;
            height: 100%;
            min-height: 250px;
            background-color: #1a1a1a;
            background-size: cover;
            background-position: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .inv-evidence-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--brand-red);
            color: white;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.6rem;
            padding: 4px 8px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
        }

        .inv-chart-box {
            width: 100%;
            height: 100%;
            min-height: 200px;
            position: relative;
        }

        .inv-glass-panel {
            background: rgba(18, 18, 20, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(20px);
            overflow: hidden;
        }

        /* SLIDE 16: Library - Same width as inv-split-layout to match other slides */
        #inv-page-16 .inv-glass-panel {
            max-width: calc(100% - 20px);
            width: calc(100% - 20px);
            margin: 0 auto;
        }

        /* Elementos con scroll interno - prevenir propagación al canvas */
        .investigation-page [style*="overflow-y: auto"],
        .investigation-page .overflow-y-auto,
        .investigation-page .custom-scrollbar {
            touch-action: pan-y !important;
            overscroll-behavior: contain !important;
            -webkit-overflow-scrolling: touch;
        }

        /* Contenedor de PDF - scroll contenido */
        .inv-visual-panel iframe {
            pointer-events: auto;
            touch-action: pan-y !important;
        }

        /* Investigation Navigation: Bottom Corner Arrows */
        .inv-nav-btn {
            position: absolute;
            bottom: 30px;
            top: auto;
            transform: none;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
            width: 52px;
            height: 52px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 200;
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            font-size: 1.1rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        }

        .inv-nav-btn.inv-nav-prev {
            left: 30px;
        }

        .inv-nav-btn.inv-nav-next {
            right: 30px;
        }

        .inv-nav-btn:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
            border-color: rgba(255, 255, 255, 0.5);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
        }

        .inv-nav-btn:disabled {
            opacity: 0.2;
            cursor: not-allowed;
            transform: none;
        }

        .inv-nav-btn:disabled:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: none;
            box-shadow: none;
        }

        /* Investigation Bottom Indicator Bar */
        .inv-indicator-bar {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            z-index: 100;
        }

        .inv-progress-track {
            width: 120px;
            height: 3px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            overflow: hidden;
        }

        .inv-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e, #3b82f6);
            border-radius: 3px;
            transition: width 0.4s ease;
        }

        /* Responsive for Investigation */
        @media (max-width: 1024px) and (orientation: landscape) {
            .inv-split-layout {
                grid-template-columns: 40% 60%;
            }

            .investigation-page-content {
                padding: 0.5rem 1rem !important;
            }

            .inv-text-panel {
                padding: 1.5rem;
            }

            .inv-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }

            .inv-subtitle {
                font-size: clamp(1.4rem, 2.5vw, 2rem);
            }

            .inv-prose {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 768px) and (orientation: landscape) {
            .inv-split-layout {
                grid-template-columns: 42% 58% !important;
                grid-template-rows: 1fr !important;
                overflow: hidden !important;
                height: 100% !important;
            }

            .inv-text-panel {
                padding: 0.75rem !important;
                height: 100% !important;
                overflow-y: auto !important;
            }

            .inv-visual-panel {
                height: 100% !important;
                min-height: auto !important;
                padding: 0.5rem !important;
            }

            .inv-title {
                font-size: 1.4rem !important;
            }

            .inv-subtitle {
                font-size: 1.1rem !important;
            }
        }

        /* === MOBILE PORTRAIT STYLES FOR INVESTIGATION === */
        @media (max-width: 768px) and (orientation: portrait) {

            /* Consistent title system */
            .investigation-page>div {
                padding-top: 0.5rem !important;
            }

            .inv-kicker {
                font-size: 0.6rem !important;
                margin-bottom: 0.25rem !important;
                padding-left: 8px !important;
            }

            .inv-subtitle {
                font-size: 1.2rem !important;
                margin-bottom: 0.5rem !important;
            }

            .inv-prose {
                font-size: 0.8rem !important;
                margin-bottom: 0.5rem !important;
                line-height: 1.4 !important;
            }

            /* Smaller cards and buttons */
            .inv-redacted {
                padding: 0.5rem !important;
            }

            .inv-redacted .text-2xl,
            .inv-redacted .text-3xl {
                font-size: 1.2rem !important;
            }

            .inv-redacted .text-lg {
                font-size: 0.9rem !important;
            }

            .inv-redacted .text-sm {
                font-size: 0.7rem !important;
            }

            .inv-redacted .text-xs,
            .inv-redacted .text-\[10px\],
            .inv-redacted .text-\[9px\] {
                font-size: 0.6rem !important;
            }

            .inv-redacted p {
                font-size: 0.65rem !important;
                line-height: 1.3 !important;
            }

            .inv-redacted i.text-2xl,
            .inv-redacted i.text-xl {
                font-size: 1rem !important;
            }

            /* Grid adjustments for mobile */
            .grid.grid-cols-2.md\:grid-cols-4 {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.35rem !important;
            }

            .grid.grid-cols-1.md\:grid-cols-2 {
                grid-template-columns: 1fr 1fr !important;
                gap: 0.5rem !important;
            }

            .grid.grid-cols-1.md\:grid-cols-3 {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.35rem !important;
            }

            /* Fix overflow issues */
            .max-w-4xl,
            .max-w-5xl {
                max-width: 100% !important;
                padding-left: 0.5rem !important;
                padding-right: 0.5rem !important;
            }

            /* Data Sheet fixes */
            .inv-glass-panel {
                padding: 0.75rem !important;
                max-height: 90vh !important;
            }

            .inv-glass-panel .grid {
                max-height: calc(85vh - 60px) !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch !important;
            }

            /* Investigation page container */
            .investigation-page {
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch !important;
            }

            /* Split layout for mobile */
            .inv-split-layout {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.5rem !important;
                padding: 0.5rem !important;
            }

            .inv-text-panel,
            .inv-visual-panel {
                width: 100% !important;
                padding: 0.5rem !important;
            }
        }

        /* === END NEW INVESTIGATION MODULE STYLES === */

        .pagination-controls {
            flex-shrink: 0;
            padding-top: 1em;
        }

        .archive-layout-container {
            flex: 1 1 auto;
            min-height: 0;
            max-height: 100%;
            overflow: hidden;
            display: flex;
            flex-direction: row;
            gap: 2rem;
            align-items: stretch;
        }

        /* Hide scrollbars globally for investigation */
        .investigation-text::-webkit-scrollbar,
        .archive-layout-container::-webkit-scrollbar {
            display: none;
        }

        .investigation-text,
        .archive-layout-container {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .share-button,
        .return-button {
            position: fixed;
            top: 30px;
            z-index: 1001;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            color: #fff;
            border: var(--glass-border);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.3rem;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            opacity: 0;
            transform: scale(0.8);
            pointer-events: none;
            box-shadow: var(--glass-shadow);
            overflow: hidden;
        }

        .share-button::before,
        .return-button::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 30%,
                    transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        .share-button:hover::before,
        .return-button:hover::before {
            opacity: 1;
        }

        .share-button:hover,
        .return-button:hover {
            transform: scale(1.1);
            background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Positions for share and return buttons */
        .share-button {
            left: 30px;
        }

        .return-button {
            right: 30px;
        }

        /* Visible state for share and return buttons */
        .share-button.visible,
        .return-button.visible {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            max-width: none;
            aspect-ratio: unset;
            border-radius: 0;
            box-shadow: none;
            border: none;
            /* Force Flex Centering */
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            overflow: hidden !important;
            background-color: #000;
            /* Ensure black bars if ratio mismatch */
        }

        .video-wrapper video {
            /* Simple flexbox centering - video fits within container */
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center center;
        }

        .nav-corner {
            position: fixed;
            z-index: 1000;
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.08) 0%,
                    rgba(255, 255, 255, 0.03) 50%,
                    rgba(255, 255, 255, 0.06) 100%);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            color: rgba(255, 255, 255, 0.9);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            opacity: 1;
            transform: scale(1);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.1),
                inset 0 -1px 1px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }

        /* Dynamic reflection that follows cursor */
        .nav-corner::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.35) 0%,
                    rgba(255, 255, 255, 0.1) 25%,
                    transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        .nav-corner.hidden {
            opacity: 0;
            transform: scale(0.8);
            pointer-events: none;
        }

        .nav-corner:hover {
            transform: scale(1.05);
            background: linear-gradient(135deg,
                    rgba(255, 255, 255, 0.15) 0%,
                    rgba(255, 255, 255, 0.06) 50%,
                    rgba(255, 255, 255, 0.10) 100%);
            box-shadow:
                0 10px 35px rgba(0, 0, 0, 0.35),
                0 0 40px rgba(255, 255, 255, 0.12),
                inset 0 1px 2px rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.25);
        }

        .nav-corner:hover::before {
            opacity: 1;
        }

        .button-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: absolute;
            width: 100%;
            height: 100%;
            gap: 3px;
            top: 0;
            left: 0;
            padding: 10px;
            box-sizing: border-box;
        }

        .button-content i {
            font-size: 1.6rem;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            opacity: 0.9;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
        }

        .nav-corner:hover .button-content i {
            transform: scale(1.1) translateY(-1px);
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
            opacity: 1;
        }

        .button-content span {
            font-family: 'Inter', 'Roboto Condensed', sans-serif;
            text-transform: uppercase;
            font-weight: 600;
            font-size: 0.52rem;
            line-height: 1.15;
            text-align: center;
            opacity: 0.85;
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
            letter-spacing: 0.3px;
            max-width: 95%;
            white-space: nowrap;
        }

        .nav-corner:hover span {
            opacity: 1;
        }

        /* Top-left: Investigación */
        .top-left {
            top: 16px;
            left: 16px;
            border-radius: 16px 16px 40px 16px;
        }

        .top-left .button-content {
            padding-bottom: 12px;
            padding-right: 10px;
        }

        /* Top-right: Archivo */
        .top-right {
            top: 16px;
            right: 16px;
            border-radius: 16px 16px 16px 40px;
        }

        .top-right .button-content {
            padding-bottom: 12px;
            padding-left: 10px;
        }

        /* Bottom-left: AR */
        .bottom-left {
            bottom: 16px;
            left: 16px;
            border-radius: 16px 40px 16px 16px;
        }

        .bottom-left .button-content {
            padding-top: 12px;
            padding-right: 10px;
        }

        /* Bottom-right: VR */
        .bottom-right {
            bottom: 16px;
            right: 16px;
            border-radius: 40px 16px 16px 16px;
        }

        .bottom-right .button-content {
            padding-top: 12px;
            padding-left: 10px;
        }

        .archive-info-panel {
            flex: 0 0 280px;
            max-width: 300px;
            color: rgba(255, 255, 255, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .archive-info-content h3 {
            font-family: 'Inter', 'Teko', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin: 0 0 0.8rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            padding-bottom: 0.5rem;
            letter-spacing: 0.5px;
        }

        .archive-info-content p {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            line-height: 1.5;
            transition: opacity 0.3s ease;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.7);
        }

        .archive-grid-panel-wrapper {
            flex: 1;
            min-width: 0;
            overflow-y: auto;
            overflow-x: hidden;
            display: block;
            max-height: calc(100vh - 200px);
        }

        .archive-grid-panel {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            grid-auto-rows: min-content !important;
            gap: 12px 12px !important;
            width: 100% !important;
            height: auto !important;
            padding: 10px !important;
            align-content: start !important;
        }

        .archive-section-header {
            grid-column: 1 / -1 !important;
            margin-top: 15px !important;
            margin-bottom: 2px !important;
            padding: 0 !important;
            height: auto !important;
            align-self: end !important;
        }

        .archive-section-header h4 {
            margin: 0 !important;
            padding: 0 !important;
            line-height: 1.1 !important;
        }

        .archive-thumbnail a {
            display: block;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
            aspect-ratio: 1 / 1;
            background: rgba(255, 255, 255, 0.03);
        }

        .archive-thumbnail a:hover {
            transform: scale(1.05);
            border-color: rgba(255, 255, 255, 0.35);
            box-shadow:
                0 6px 20px rgba(0, 0, 0, 0.25),
                0 0 15px rgba(255, 255, 255, 0.08);
        }

        .archive-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* PDF Thumbnail Styles for Archive */
        .archive-thumbnail.archive-pdf .pdf-thumb-container {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.25) 100%);
            padding: 15px;
            box-sizing: border-box;
        }

        .archive-thumbnail.archive-pdf .pdf-thumb-container i {
            font-size: 2.5rem;
            color: #ef4444;
            transition: all 0.3s ease;
        }

        .archive-thumbnail.archive-pdf .pdf-thumb-container span {
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            text-align: center;
            line-height: 1.3;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .archive-thumbnail.archive-pdf a:hover .pdf-thumb-container i {
            color: #f87171;
            transform: scale(1.1);
        }

        /* Archive PDF Viewer Panel */
        .archive-pdf-viewer {
            display: none;
            flex-direction: column;
            flex: 1;
            min-width: 0;
            max-width: 50%;
            background: rgba(15, 17, 22, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            overflow: hidden;
        }

        .archive-pdf-viewer.active {
            display: flex;
        }

        .archive-pdf-viewer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background: rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .archive-pdf-viewer-header h4 {
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
            margin: 0;
        }

        .archive-pdf-viewer-close {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .archive-pdf-viewer-close:hover {
            background: rgba(239, 68, 68, 0.5);
        }

        .archive-pdf-viewer-content {
            flex: 1;
            min-height: 0;
        }

        .archive-pdf-viewer-content iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* When PDF viewer is active, shrink the grid */
        .archive-grid-panel-wrapper.with-viewer {
            max-width: 45%;
        }

        .archive-thumbnail.archive-pdf.selected a {
            box-shadow: 0 0 0 3px #ef4444;
        }

        #section-ar {
            background-image: radial-gradient(circle at center, #c0c0c0 0%, #808080 100%);
            display: flex;
            flex-direction: row;
            align-items: stretch;
            padding: 0;
            gap: 0;
        }

        .ar-left-column {
            width: 55%;
            padding: 0;
            box-sizing: border-box;
        }

        .ar-right-column {
            width: 45%;
            box-sizing: border-box;
            padding: 5vh 4vw 5vh 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        #warjiro-viewer {
            width: 100%;
            height: 100%;
            background-color: transparent;
        }

        model-viewer#warjiro-viewer::part(ar-button) {
            display: none !important;
        }

        .ar-video-wrapper {
            aspect-ratio: 16 / 9;
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            margin-bottom: 1.5rem;
            width: 100%;
        }

        #ar-instruction-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .ar-text-content {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            min-height: 0;
            text-align: left;
            color: #333;
            width: 100%;
        }

        .ar-text-content h3 {
            font-family: 'Teko', sans-serif;
            font-size: 2rem;
            margin: 0 0 0.5rem 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .ar-text-content p {
            font-family: 'Merriweather', serif;
            margin: 0;
            color: #555;
            line-height: 1.6;
            font-size: 1rem;
            flex-grow: 1;
        }

        .ar-qr-area {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .ar-qr-area img {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            background-color: white;
            padding: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }

        .ar-qr-area p {
            font-size: 0.9rem;
            margin: 0;
            color: #444;
            line-height: 1.5;
        }

        #custom-ar-button {
            background-color: #333;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 12px 30px;
            font-family: 'Teko', sans-serif;
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            width: 100%;
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-shrink: 0;
        }

        #custom-ar-button:hover {
            background-color: #c0392b;
            color: #fff;
            transform: scale(1.05);
        }

        #ar-alert-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 11000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        #ar-alert-overlay.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .ar-alert-box {
            background: rgba(30, 30, 30, 0.85);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            color: #eee;
            padding: 30px 40px;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            max-width: 450px;
            transform: scale(0.9);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        #ar-alert-overlay.visible .ar-alert-box {
            transform: scale(1);
        }

        .ar-alert-box h4 {
            font-family: 'Teko', sans-serif;
            font-size: 1.8rem;
            margin: 0 0 10px 0;
            color: #c0392b;
        }

        .ar-alert-box p {
            font-family: 'Merriweather', serif;
            font-size: 1.1rem;
            line-height: 1.6;
            margin: 0 0 20px 0;
            color: #555;
        }

        .ar-alert-box img.qr-alert {
            width: 150px;
            height: 150px;
            margin: 0 auto 20px;
            display: block;
            border-radius: 8px;
            background: white;
            padding: 5px;
        }

        .ar-alert-box button {
            background-color: #333;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 10px 25px;
            font-family: 'Teko', sans-serif;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .ar-alert-box button::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 30%,
                    transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        .ar-alert-box button:hover::before {
            opacity: 1;
        }

        #player_360 {
            width: 100%;
            height: 100%;
            position: relative;
            background-color: #000;
        }

        #scene_360 {
            width: 100%;
            height: 100%;
        }

        #controls_360 {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 20px;
            z-index: 10;
        }

        #controls_360 button {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        #controls_360 button::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 30%,
                    transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        #controls_360 button:hover::before {
            opacity: 1;
        }

        #controls_360 button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        #video_360 {
            display: none;
        }

        #vr-hint-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 11;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            color: #fff;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
            text-align: center;
        }

        #vr-hint-overlay.visible {
            opacity: 1;
        }

        .vr-hint-icon {
            width: 40px;
            height: 60px;
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            position: relative;
        }

        .vr-hint-icon::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 10px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 2px;
            animation: vr-hint-scroll 1.5s ease-in-out infinite;
        }

        #vr-hint-overlay span {
            font-family: 'Teko', sans-serif;
            font-size: 1.2rem;
            letter-spacing: 2px;
            text-shadow: 0 0 5px black;
        }

        @keyframes vr-hint-scroll {
            0% {
                top: 10px;
                opacity: 1;
            }

            50% {
                top: 20px;
                opacity: 0;
            }

            100% {
                top: 10px;
                opacity: 1;
            }
        }

        #vr-info-card {
            position: absolute;
            top: 15vh;
            left: 50%;
            transform: translateX(-50%);
            z-index: 12;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            border-radius: var(--glass-radius);
            padding: 25px 30px;
            max-width: 480px;
            width: calc(100% - 60px);
            color: #ccc;
            box-shadow: var(--glass-shadow);
            text-align: center;
            transition: opacity 0.8s ease-in-out;
        }

        #vr-info-card.faded {
            opacity: 0.2;
            pointer-events: none;
        }

        #vr-info-card.hidden {
            display: none;
        }

        #close-vr-card {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            font-size: 1.5rem;
            line-height: 28px;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
            padding: 0;
            pointer-events: auto;
        }

        #close-vr-card:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        #vr-info-card h3 {
            font-family: 'Teko', sans-serif;
            font-size: 2rem;
            color: #fff;
            margin: 0 0 0.8rem 0;
            letter-spacing: 1px;
            padding-bottom: 0;
        }

        #vr-info-card p {
            font-family: 'Merriweather', serif;
            font-size: 1.05rem;
            line-height: 1.6;
            margin: 0;
            color: #e0e0e0;
        }

        /* ============================================
           INVESTIGATION UNIFORM LAYOUT SYSTEM
           ============================================ */

        .investigation-page-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto 1fr auto;
            grid-template-areas:
                "header header"
                "left right"
                "footer footer";
            gap: 1rem;
            flex: 1 1 auto;
            min-height: 0;
            max-height: 100%;
            overflow: hidden;
            padding: 1.5rem 2rem;
            align-content: start;
        }

        /* Optional Footer Area */
        .inv-footer {
            grid-area: footer;
        }

        /* Uniform Header Area - Titles always in same position */
        .inv-header {
            grid-area: header;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .inv-header h2 {
            font-family: 'Teko', sans-serif;
            font-size: 1.75rem;
            font-weight: 600;
            color: #fff;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .inv-header .subtitle {
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            color: rgba(148, 163, 184, 0.8);
            margin: 0;
        }

        /* Uniform Left Content Area */
        .inv-left {
            grid-area: left;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            min-width: 0;
            overflow: hidden;
            align-self: start;
        }

        /* Uniform Right Content Area */
        .inv-right {
            grid-area: right;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            min-width: 0;
            overflow: hidden;
            align-self: start;
            justify-content: flex-start;
        }

        /* Full Width Content (for single-column slides) */
        .inv-full {
            grid-column: 1 / -1;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            overflow: hidden;
        }

        /* Full Width Two Columns (for cards side by side) */
        .inv-full-grid {
            grid-column: 1 / -1;
            grid-row: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            overflow: hidden;
            align-items: stretch;
        }

        /* Legacy support - Text column */
        .investigation-text {
            grid-area: left;
            min-width: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .investigation-text h2 {
            flex-shrink: 0;
        }

        .investigation-text p,
        .investigation-text blockquote {
            font-size: 0.85rem;
            line-height: 1.6;
            margin: 0;
        }

        /* Legacy support - PDF column */
        .investigation-pdf {
            grid-area: right;
            min-width: 0;
            display: flex;
            height: 100%;
            max-height: calc(100vh - 180px);
            overflow: hidden;
        }

        #section-investigacion .investigation-text a {
            color: #60a5fa;
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 1px;
            transition: all 0.3s ease;
        }

        #section-investigacion .investigation-text a:hover {
            color: #93c5fd;
            text-shadow: 0 0 5px rgba(96, 165, 250, 0.5);
        }

        .pdf-embed-container {
            flex: 0 1 auto;
            width: 100%;
            height: auto;
            max-height: 60vh;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.3);
        }

        .pdf-embed-container iframe {
            width: 100%;
            height: 100%;
            min-height: 350px;
            border: none;
        }

        .investigation-article h2 {
            font-family: 'Teko', sans-serif;
            font-size: 2rem;
            color: #fff;
            margin-top: 0;
            margin-bottom: 0.5em;
            letter-spacing: 1px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 0.2em;
        }

        .investigation-article p {
            font-family: 'Merriweather', serif;
            font-size: clamp(0.7rem, 1.2vw, 0.9rem);
            line-height: 1.7;
            color: #ddd;
            margin-bottom: 1.5em;
            font-weight: 300;
        }

        .investigation-article blockquote {
            border-left: 4px solid #c0392b;
            padding-left: 1.5em;
            margin: 2em 0;
            font-size: 1.3rem;
            font-style: italic;
            color: #fff;
        }

        .investigation-page {
            display: none;
            flex-direction: column;
            height: 100%;
        }

        .investigation-page.active {
            display: flex;
            flex-grow: 1;
        }

        /* File tiles for Fuentes/Evidencia slide */
        .file-tile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            transition: all 0.3s ease;
            text-decoration: none !important;
        }

        .file-tile:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .file-icon {
            font-size: 1.25rem;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .file-tile:hover .file-icon {
            transform: scale(1.1);
        }

        .file-tile.pdf .file-icon i {
            color: #ef4444;
        }

        .file-tile.excel .file-icon i {
            color: #10b981;
        }

        .file-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .file-name {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .file-meta {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* Custom scrollbar for slides */
        .custom-scrollbar::-webkit-scrollbar {
            width: 4px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .pagination-controls {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pagination-controls button {
            font-family: 'Teko', sans-serif;
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 10px 30px;
            font-size: 1.1rem;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s;
            border-radius: 30px;
            backdrop-filter: blur(10px);
        }

        .pagination-controls button:hover {
            background-color: #2b7fc0;
        }

        .pagination-controls button:disabled {
            background-color: #222;
            color: #555;
            cursor: not-allowed;
        }

        #trailer-controls {
            position: absolute;
            bottom: 100px;
            left: 50%;
            opacity: 0;
            transform: translate(-50%, 20px);
            z-index: 4;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--glass-border);
            border-radius: 50px;
            padding: 10px 20px;
            display: flex;
            gap: 15px;
            align-items: center;
            justify-content: center;
            transition: opacity 0.3s ease, transform 0.3s ease;
            box-shadow: var(--glass-shadow);
            overflow: hidden;
        }

        #trailer-controls::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(255, 255, 255, 0.25) 0%,
                    rgba(255, 255, 255, 0.08) 20%,
                    transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -50%;
            left: -50%;
        }

        #trailer-controls:hover::before {
            opacity: 1;
        }

        #trailer-controls.visible {
            opacity: 1;
            transform: translate(-50%, 0);
        }

        #trailer-controls button {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 1.1rem;
            cursor: pointer;
            padding: 8px;
            width: 40px;
            height: 40px;
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
            border-radius: 50%;
            position: relative;
            overflow: hidden;
        }

        #trailer-controls button::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle at var(--btn-mouse-x, 50%) var(--btn-mouse-y, 50%),
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 30%,
                    transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            top: -25%;
            left: -25%;
        }

        #trailer-controls button:hover::before {
            opacity: 1;
        }

        #trailer-controls button:hover {
            transform: scale(1.15);
            background: rgba(255, 255, 255, 0.1);
        }

        @media (max-width: 992px) and (orientation: landscape) {
            .investigation-article p {
                font-size: clamp(0.85rem, 1.8vw, 1rem);
            }

            .archive-layout-container {
                flex-direction: row;
            }

            .archive-info-panel {
                flex: 4;
                min-width: 0;
            }

            .archive-grid-panel-wrapper {
                flex: 6;
                min-width: 0;
            }
        }