/* ==========================================================================
   KHAOS — SISTEMA DE DISEÑO NEO-ARCADE EDITORIAL (GLITCH AVANZADO)
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600;700&family=Silkscreen:wght@400;700&display=swap');

   :root {
       --bg-main: #08080A;
       --bg-surface: #111116;
       --bg-surface-elevated: #181820;
       --brand-primary: #feb300;
       --brand-primary-hover: #ffc533;
       --brand-primary-dim: rgba(254, 179, 0, 0.14);
       --brand-primary-border: rgba(254, 179, 0, 0.38);
       --brand-primary-glow: rgba(254, 179, 0, 0.4);
       --text-primary: #FFFFFF;
       --text-secondary: #B4B4C2;
       --text-muted: #6E6E80;
       --border-subtle: #23232E;
       --success: #00E676;
       --danger: #FF3B5C;
   
       --font-arcade: 'Silkscreen', monospace;
       --font-hud: 'JetBrains Mono', monospace;
       --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
   
       --container-max: 1280px;
       --header-height: 76px;
   }
   
   *, *::before, *::after {
       box-sizing: border-box;
       margin: 0;
       padding: 0;
   }
   
   html {
       scroll-behavior: smooth;
       background-color: var(--bg-main);
       color: var(--text-primary);
       font-family: var(--font-body);
       font-size: 16px;
       line-height: 1.6;
       overflow-x: hidden;
   }
   
   body {
       background-color: var(--bg-main);
       min-height: 100vh;
       overflow-x: hidden;
       position: relative;
   }
   
   body.intro-locked,
   body.modal-open {
       overflow: hidden;
   }
   
   .crt-overlay {
       position: fixed;
       inset: 0;
       pointer-events: none;
       z-index: 900;
       background: linear-gradient(
           rgba(18, 16, 16, 0) 50%, 
           rgba(0, 0, 0, 0.22) 50%
       );
       background-size: 100% 4px;
       opacity: 0.32;
   }
   
   /* ==========================================================================
      PANTALLA INICIAL ARCADE (PRESS START — CADA 2 HORAS)
      ========================================================================== */
   .arcade-intro {
       position: fixed;
       inset: 0;
       z-index: 2000;
       background:
           radial-gradient(circle at 50% 60%, rgba(254, 179, 0, 0.16) 0%, rgba(8, 8, 10, 0.96) 65%),
           #08080A;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: space-between;
       padding: 1.5rem;
       text-align: center;
       opacity: 1;
       visibility: visible;
       transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
   }
   
   .arcade-intro.is-hidden {
       opacity: 0;
       visibility: hidden;
       transform: scale(1.04);
       pointer-events: none;
   }
   
   .arcade-intro__top {
       width: 100%;
       max-width: var(--container-max);
       display: flex;
       justify-content: space-between;
       align-items: center;
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--brand-primary);
   }
   
   .intro-skip-btn {
       background: rgba(255, 255, 255, 0.05);
       border: 1px solid var(--border-subtle);
       color: var(--text-secondary);
       font-family: var(--font-hud);
       font-size: 0.75rem;
       padding: 0.45rem 0.9rem;
       cursor: pointer;
       transition: border-color 0.2s ease, color 0.2s ease;
   }
   
   .intro-skip-btn:hover {
       border-color: var(--brand-primary);
       color: var(--brand-primary);
   }
   
   .arcade-intro__center {
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       max-width: 780px;
       width: 100%;
       margin: auto;
   }
   
   .arcade-intro__logo {
       max-height: 64px;
       max-width: 240px;
       width: auto;
       height: auto;
       object-fit: contain;
       margin-bottom: 1rem;
       filter: drop-shadow(0 0 18px rgba(254, 179, 0, 0.25));
   }
   
   .arcade-intro__crew-wrap {
       position: relative;
       width: 100%;
       max-width: 560px;
       margin: 0.5rem auto 1.5rem;
       border-bottom: 3px solid var(--brand-primary);
   }
   
   .arcade-intro__crew-img {
       width: 100%;
       max-height: 44vh;
       object-fit: contain;
       object-position: bottom center;
       display: block;
       margin: 0 auto;
       image-rendering: pixelated;
       filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85));
       animation: floatCrew 3.2s ease-in-out infinite;
   }
   
   @keyframes floatCrew {
       0%, 100% { transform: translateY(0); }
       50% { transform: translateY(-6px); }
   }
   
   .press-start-btn {
       background: var(--brand-primary);
       color: #08080A;
       border: none;
       font-family: var(--font-arcade);
       font-size: clamp(1.05rem, 2.5vw, 1.45rem);
       font-weight: 700;
       padding: 1rem 2.4rem;
       cursor: pointer;
       letter-spacing: 0.08em;
       box-shadow: 0 0 28px var(--brand-primary-glow);
       animation: pulseStart 1.3s infinite;
       clip-path: polygon(
           0 8px, 8px 8px, 8px 0,
           calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
           100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
           8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)
       );
       transition: transform 0.15s ease, background-color 0.2s ease;
   }
   
   .press-start-btn:hover {
       background: var(--brand-primary-hover);
       transform: scale(1.05);
       animation: none;
   }
   
   @keyframes pulseStart {
       0%, 100% { opacity: 1; transform: scale(1); }
       50% { opacity: 0.78; transform: scale(0.98); }
   }
   
   .arcade-intro__bottom {
       font-family: var(--font-hud);
       font-size: 0.75rem;
       color: var(--text-muted);
       letter-spacing: 0.12em;
       text-transform: uppercase;
   }
   
   /* ==========================================================================
      CONTENEDOR Y TIPOGRAFÍA
      ========================================================================== */
   .container {
       width: 100%;
       max-width: var(--container-max);
       margin: 0 auto;
       padding: 0 1.5rem;
   }
   
   .font-arcade { font-family: var(--font-arcade); letter-spacing: 0.04em; }
   .font-hud { font-family: var(--font-hud); }
   .text-brand { color: var(--brand-primary); }
   
   /* ==========================================================================
      CABECERA HUD Y NAVEGACIÓN
      ========================================================================== */
   .hud-header {
       position: fixed;
       top: 0;
       left: 0;
       right: 0;
       height: var(--header-height);
       background: rgba(8, 8, 10, 0.92);
       backdrop-filter: blur(12px);
       -webkit-backdrop-filter: blur(12px);
       border-bottom: 1px solid var(--border-subtle);
       z-index: 1000;
   }
   
   .hud-header__inner {
       height: 100%;
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 1rem;
   }
   
   .hud-logo {
       display: flex;
       align-items: center;
   }
   
   .hud-logo img {
       max-height: 44px;
       max-width: 180px;
       width: auto;
       height: auto;
       object-fit: contain;
       display: block;
       transition: transform 0.2s ease;
   }
   
   .hud-logo:hover img {
       transform: scale(1.03);
   }
   
   .hud-nav {
       display: flex;
       align-items: center;
       gap: 1.5rem;
   }
   
   .hud-nav a {
       color: var(--text-secondary);
       text-decoration: none;
       font-family: var(--font-hud);
       font-size: 0.82rem;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 0.05em;
       position: relative;
       padding: 0.4rem 0;
       transition: color 0.2s ease;
   }
   
   .hud-nav a::before {
       content: '>';
       position: absolute;
       left: -13px;
       color: var(--brand-primary);
       opacity: 0;
       transition: opacity 0.2s ease, transform 0.2s ease;
       transform: translateX(-4px);
   }
   
   .hud-nav a:hover,
   .hud-nav a:focus-visible {
       color: var(--brand-primary);
   }
   
   .hud-nav a:hover::before {
       opacity: 1;
       transform: translateX(0);
   }
   
   .hud-actions {
       display: flex;
       align-items: center;
       gap: 0.75rem;
   }
   
   /* ==========================================================================
      BOTONES ESTILO ARCADE
      ========================================================================== */
   .btn-arcade {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       gap: 0.6rem;
       font-family: var(--font-arcade);
       font-size: 0.85rem;
       font-weight: 700;
       text-transform: uppercase;
       text-decoration: none;
       padding: 0.85rem 1.4rem;
       border: 2px solid var(--brand-primary);
       cursor: pointer;
       position: relative;
       transition: transform 0.12s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
       clip-path: polygon(
           0 6px, 6px 6px, 6px 0,
           calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
           100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
           6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px)
       );
   }
   
   .btn-arcade--primary {
       background-color: var(--brand-primary);
       color: #08080A;
   }
   
   .btn-arcade--primary:hover {
       background-color: var(--brand-primary-hover);
       box-shadow: 0 0 20px var(--brand-primary-glow);
       transform: translateY(-2px);
   }
   
   .btn-arcade--outline {
       background-color: transparent;
       color: var(--brand-primary);
   }
   
   .btn-arcade--outline:hover {
       background-color: var(--brand-primary-dim);
       transform: translateY(-2px);
   }
   
   .btn-arcade--sm {
       padding: 0.55rem 1rem;
       font-size: 0.75rem;
   }
   
   .btn-arcade:active {
       transform: translateY(1px);
   }
   
   .mobile-toggle {
       display: none;
       background: var(--bg-surface);
       border: 1px solid var(--brand-primary-border);
       color: var(--brand-primary);
       font-family: var(--font-hud);
       font-size: 0.8rem;
       font-weight: 700;
       padding: 0.5rem 0.8rem;
       cursor: pointer;
   }
   
   /* ==========================================================================
      HERO / PANTALLA PRINCIPAL
      ========================================================================== */
   .hero-stage {
       padding-top: calc(var(--header-height) + 3.5rem);
       padding-bottom: 5rem;
       position: relative;
       border-bottom: 1px solid var(--border-subtle);
       background: 
           radial-gradient(circle at 75% 30%, rgba(254, 179, 0, 0.09), transparent 45%),
           linear-gradient(180deg, #08080A 0%, #0D0D12 100%);
   }
   
   .hero-grid {
       display: grid;
       grid-template-columns: 1.05fr 0.95fr;
       gap: 3rem;
       align-items: center;
   }
   
   .hud-badge {
       display: inline-flex;
       align-items: center;
       gap: 0.6rem;
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--brand-primary);
       background: var(--brand-primary-dim);
       border: 1px solid var(--brand-primary-border);
       padding: 0.35rem 0.85rem;
       margin-bottom: 1.5rem;
       text-transform: uppercase;
   }
   
   .hud-dot {
       width: 8px;
       height: 8px;
       background: var(--brand-primary);
       display: inline-block;
       animation: blinkHud 1.4s infinite;
   }
   
   @keyframes blinkHud {
       0%, 100% { opacity: 1; }
       50% { opacity: 0.2; }
   }
   
   .hero-title {
       font-family: var(--font-arcade);
       font-size: clamp(2rem, 4.2vw, 3.6rem);
       line-height: 1.15;
       margin-bottom: 1.25rem;
       color: var(--text-primary);
   }
   
   .hero-subtitle {
       font-size: 1.1rem;
       color: var(--text-secondary);
       max-width: 56ch;
       margin-bottom: 2.25rem;
   }
   
   .hero-cta-group {
       display: flex;
       flex-wrap: wrap;
       gap: 1rem;
       margin-bottom: 2.5rem;
   }
   
   .hero-hud-bar {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 1rem;
       padding-top: 1.5rem;
       border-top: 1px dashed var(--border-subtle);
       font-family: var(--font-hud);
   }
   
   .hud-stat__label {
       font-size: 0.72rem;
       color: var(--text-muted);
       text-transform: uppercase;
       display: block;
   }
   
   .hud-stat__value {
       font-size: 0.95rem;
       color: var(--text-primary);
       font-weight: 700;
   }
   
   .crew-stage-frame {
       background:
           radial-gradient(circle at 50% 65%, rgba(254, 179, 0, 0.14), transparent 65%),
           var(--bg-surface);
       border: 2px solid var(--border-subtle);
       padding: 1.25rem 1.25rem 0;
       position: relative;
       overflow: hidden;
   }
   
   .crew-stage-frame::before {
       content: 'PLAYER SELECT // 5 ACTIVE UNITS';
       position: absolute;
       top: 12px;
       left: 16px;
       background: rgba(8, 8, 10, 0.85);
       border: 1px solid var(--brand-primary-border);
       padding: 2px 8px;
       font-family: var(--font-hud);
       font-size: 0.68rem;
       color: var(--brand-primary);
       z-index: 2;
   }
   
   .hero-crew-showcase {
       width: 100%;
       height: auto;
       display: block;
       image-rendering: pixelated;
       margin-top: 1.5rem;
   }
   
   /* ==========================================================================
      SECCIONES GENERALES Y TARJETAS ARCADE
      ========================================================================== */
   .section-block {
       padding: 5.5rem 0;
       border-bottom: 1px solid var(--border-subtle);
       position: relative;
   }
   
   .section-block--alt {
       background-color: #0B0B0F;
   }
   
   .section-header {
       margin-bottom: 3rem;
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       align-items: flex-end;
       gap: 1rem;
   }
   
   .section-kicker {
       font-family: var(--font-hud);
       font-size: 0.8rem;
       color: var(--brand-primary);
       text-transform: uppercase;
       letter-spacing: 0.1em;
       display: block;
       margin-bottom: 0.5rem;
   }
   
   .section-title {
       font-family: var(--font-arcade);
       font-size: clamp(1.5rem, 2.8vw, 2.3rem);
       color: var(--text-primary);
   }
   
   .section-lead {
       color: var(--text-secondary);
       max-width: 65ch;
       margin-top: 0.75rem;
       font-size: 1.05rem;
   }
   
   .cards-grid {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
       gap: 1.5rem;
   }
   
   .arcade-card {
       background: var(--bg-surface);
       border: 1px solid var(--border-subtle);
       padding: 1.75rem;
       position: relative;
       transition: border-color 0.2s ease, transform 0.2s ease;
   }
   
   .arcade-card:hover {
       border-color: var(--brand-primary);
       transform: translateY(-3px);
   }
   
   .arcade-card__level {
       font-family: var(--font-hud);
       font-size: 0.75rem;
       color: var(--brand-primary);
       margin-bottom: 0.75rem;
       display: inline-block;
   }
   
   .arcade-card__title {
       font-family: var(--font-arcade);
       font-size: 1.05rem;
       margin-bottom: 0.75rem;
       color: var(--text-primary);
   }
   
   .arcade-card__text {
       color: var(--text-secondary);
       font-size: 0.95rem;
   }
   
   /* ==========================================================================
      THE CREW — AVATARES 8BIT + GLITCH DE FRANJAS REALES + FOTO REAL FLOTANTE
      ========================================================================== */
   .crew-selector-layout {
       display: grid;
       grid-template-columns: 1.05fr 0.95fr;
       gap: 2rem;
       align-items: start;
   }
   
   .crew-roster-grid {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 1rem;
   }
   
   .crew-card-btn {
       background: var(--bg-surface);
       border: 2px solid var(--border-subtle);
       padding: 0.9rem;
       text-align: left;
       cursor: pointer;
       color: var(--text-primary);
       transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
       display: flex;
       flex-direction: column;
       gap: 0.55rem;
       position: relative;
       overflow: hidden;
   }
   
   .crew-card-btn:hover,
   .crew-card-btn.is-active {
       border-color: var(--brand-primary);
       background: var(--bg-surface-elevated);
       transform: translateY(-3px);
   }
   
   .crew-card-btn.is-active {
       box-shadow: 0 0 20px rgba(254, 179, 0, 0.18);
   }
   
   .crew-card__slot-id {
       font-family: var(--font-hud);
       font-size: 0.72rem;
       color: var(--brand-primary);
       display: flex;
       justify-content: space-between;
   }
   
   .crew-card__thumb {
       position: relative;
       width: 100%;
       aspect-ratio: 1 / 1;
       background: repeating-linear-gradient(
           45deg,
           #14141B,
           #14141B 8px,
           #1B1B24 8px,
           #1B1B24 16px
       );
       border: 1px dashed #323242;
       display: flex;
       align-items: center;
       justify-content: center;
       font-family: var(--font-arcade);
       font-size: 0.72rem;
       color: var(--text-muted);
       overflow: hidden;
       padding: 0.25rem;
   }
   
   .crew-card__thumb img {
       width: 100%;
       height: 100%;
       max-width: 100%;
       max-height: 100%;
       object-fit: contain;
       image-rendering: pixelated;
       display: block;
   }
   
   /* ==========================================================================
      GLITCH DE SEÑAL CORRUPTA (SIN CONTORNOS DE COLOR — CORTES HORIZONTALES)
      ========================================================================== */
   .crew-card__thumb--glitch .crew-card__img-main,
   .crew-card__thumb--glitch .crew-card__img-alt {
       position: absolute;
       inset: 0.25rem;
       width: calc(100% - 0.5rem);
       height: calc(100% - 0.5rem);
       object-fit: contain;
       image-rendering: pixelated;
   }
   
   /* Capa de estática/interferencia blanca muy breve durante el corte */
   .crew-card__thumb--glitch::after {
       content: '';
       position: absolute;
       inset: 0;
       pointer-events: none;
       background: repeating-linear-gradient(
           0deg,
           rgba(255, 255, 255, 0.18) 0px,
           rgba(255, 255, 255, 0.18) 2px,
           transparent 2px,
           transparent 6px
       );
       opacity: 0;
       animation: glitchStaticNoise 6s infinite steps(1, end);
   }
   
   .crew-card__thumb--glitch .crew-card__img-main {
       animation: glitchSliceMain 6s infinite steps(1, end);
   }
   
   .crew-card__thumb--glitch .crew-card__img-alt {
       opacity: 0;
       animation: glitchSliceAlt 6s infinite steps(1, end);
   }
   
   /* Al pasar el ratón o seleccionar la tarjeta se muestra el personaje alternativo limpio */
   .crew-card-btn:hover .crew-card__thumb--glitch .crew-card__img-alt,
   .crew-card-btn.is-active .crew-card__thumb--glitch .crew-card__img-alt {
       opacity: 1;
       clip-path: inset(0 0 0 0);
       transform: translate(0, 0);
       animation: glitchHoverReveal 0.35s steps(2, end);
   }
   
   .crew-card-btn:hover .crew-card__thumb--glitch .crew-card__img-main,
   .crew-card-btn.is-active .crew-card__thumb--glitch .crew-card__img-main {
       opacity: 0;
       animation: none;
   }
   
   @keyframes glitchSliceMain {
       0%, 76%, 100% {
           opacity: 1;
           transform: translate(0, 0);
           clip-path: inset(0 0 0 0);
       }
       77% {
           opacity: 1;
           transform: translate(-8px, 0);
           clip-path: inset(12% 0 58% 0);
       }
       79% {
           opacity: 0;
       }
       83% {
           opacity: 1;
           transform: translate(7px, 0);
           clip-path: inset(48% 0 18% 0);
       }
       85% {
           opacity: 0;
       }
       90% {
           opacity: 1;
           transform: translate(-5px, 0);
           clip-path: inset(25% 0 40% 0);
       }
       92% {
           opacity: 0;
       }
   }
   
   @keyframes glitchSliceAlt {
       0%, 76%, 100% {
           opacity: 0;
           transform: translate(0, 0);
           clip-path: inset(0 0 0 0);
       }
       77%, 78% {
           opacity: 1;
           transform: translate(9px, 0);
           clip-path: inset(38% 0 22% 0);
       }
       79%, 82% {
           opacity: 1;
           transform: translate(0, 0);
           clip-path: inset(0 0 0 0);
       }
       83%, 84% {
           opacity: 1;
           transform: translate(-9px, 0);
           clip-path: inset(15% 0 50% 0);
       }
       85%, 89% {
           opacity: 1;
           transform: translate(0, 0);
           clip-path: inset(0 0 0 0);
       }
       90%, 91% {
           opacity: 1;
           transform: translate(6px, 0);
           clip-path: inset(60% 0 10% 0);
       }
       92%, 95% {
           opacity: 1;
           transform: translate(0, 0);
           clip-path: inset(0 0 0 0);
       }
   }
   
   @keyframes glitchStaticNoise {
       0%, 76%, 79%, 82%, 85%, 89%, 92%, 96%, 100% { opacity: 0; }
       77%, 78%, 83%, 84%, 90%, 91% { opacity: 0.85; }
   }
   
   @keyframes glitchHoverReveal {
       0% { transform: translate(-8px, 0); clip-path: inset(20% 0 40% 0); }
       33% { transform: translate(8px, 0); clip-path: inset(50% 0 15% 0); }
       66% { transform: translate(-4px, 0); clip-path: inset(10% 0 60% 0); }
       100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
   }
   
   .crew-card__name {
       font-family: var(--font-arcade);
       font-size: 0.82rem;
   }
   
   .crew-card__role {
       font-family: var(--font-hud);
       font-size: 0.72rem;
       color: var(--text-secondary);
   }
   
   /* Inspector lateral con Foto Real Flotante */
   .crew-inspector {
       background:
           radial-gradient(circle at 50% 35%, rgba(254, 179, 0, 0.12), transparent 65%),
           var(--bg-surface);
       border: 2px solid var(--brand-primary-border);
       padding: 1.75rem;
       position: sticky;
       top: calc(var(--header-height) + 1.5rem);
   }
   
   .crew-inspector__header {
       display: flex;
       justify-content: space-between;
       align-items: center;
       border-bottom: 1px dashed var(--border-subtle);
       padding-bottom: 0.85rem;
       margin-bottom: 1.25rem;
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--brand-primary);
   }
   
   .crew-inspector__stage {
       position: relative;
       width: 100%;
       min-height: 260px;
       max-height: 340px;
       display: flex;
       align-items: flex-end;
       justify-content: center;
       margin-bottom: 1.25rem;
       border-bottom: 2px solid var(--brand-primary);
       background: radial-gradient(ellipse at bottom, rgba(254, 179, 0, 0.22) 0%, transparent 70%);
       overflow: hidden;
   }
   
   .crew-inspector__real-img {
       max-height: 330px;
       max-width: 100%;
       width: auto;
       height: auto;
       object-fit: contain;
       object-position: bottom center;
       display: block;
       filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85));
       animation: floatCrew 3.4s ease-in-out infinite;
       transition: opacity 0.25s ease;
   }
   
   .crew-inspector__placeholder {
       padding: 3rem 1rem;
       text-align: center;
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--text-muted);
   }
   
   .crew-inspector__name {
       font-family: var(--font-arcade);
       font-size: 1.4rem;
       margin-bottom: 0.25rem;
   }
   
   .crew-inspector__role {
       font-family: var(--font-hud);
       font-size: 0.88rem;
       color: var(--brand-primary);
       margin-bottom: 1rem;
   }
   
   .crew-inspector__bio {
       color: var(--text-secondary);
       font-size: 0.95rem;
       margin-bottom: 1.25rem;
   }
   
   .crew-inspector__socials {
       display: flex;
       flex-wrap: wrap;
       gap: 0.6rem;
   }
   
   /* ==========================================================================
      THE SHOW, GALERÍA, EVENTOS, PRESSKIT Y BOOKING
      ========================================================================== */
   .show-list {
       list-style: none;
       margin-top: 1rem;
       display: flex;
       flex-direction: column;
       gap: 0.45rem;
       font-family: var(--font-hud);
       font-size: 0.8rem;
       color: var(--text-secondary);
   }
   
   .show-list li::before {
       content: '[+] ';
       color: var(--brand-primary);
   }
   
   .filter-bar {
       display: flex;
       flex-wrap: wrap;
       gap: 0.6rem;
   }
   
   .filter-btn {
       background: var(--bg-surface);
       border: 1px solid var(--border-subtle);
       color: var(--text-secondary);
       font-family: var(--font-hud);
       font-size: 0.78rem;
       font-weight: 600;
       padding: 0.5rem 1rem;
       cursor: pointer;
       text-transform: uppercase;
       transition: all 0.2s ease;
   }
   
   .filter-btn:hover,
   .filter-btn.is-active {
       border-color: var(--brand-primary);
       color: #08080A;
       background: var(--brand-primary);
   }
   
   .gallery-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
       gap: 1.25rem;
   }
   
   .gallery-item {
       background: var(--bg-surface);
       border: 1px solid var(--border-subtle);
       overflow: hidden;
       display: flex;
       flex-direction: column;
       transition: border-color 0.2s ease, transform 0.2s ease;
   }
   
   .gallery-item.is-hidden {
       display: none;
   }
   
   .gallery-item:hover {
       border-color: var(--brand-primary);
       transform: translateY(-3px);
   }
   
   .gallery-item__media {
       aspect-ratio: 16 / 10;
       background: #15151D;
       display: flex;
       align-items: center;
       justify-content: center;
       position: relative;
       border-bottom: 1px solid var(--border-subtle);
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--text-muted);
       overflow: hidden;
   }
   
   .gallery-item__media img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   .gallery-item__badge {
       position: absolute;
       top: 10px;
       right: 10px;
       background: rgba(8, 8, 10, 0.88);
       border: 1px solid var(--brand-primary-border);
       color: var(--brand-primary);
       font-family: var(--font-hud);
       font-size: 0.65rem;
       padding: 2px 6px;
   }
   
   .gallery-item__body {
       padding: 1rem;
   }
   
   .gallery-item__title {
       font-family: var(--font-arcade);
       font-size: 0.85rem;
       margin-bottom: 0.3rem;
   }
   
   .gallery-item__desc {
       font-size: 0.85rem;
       color: var(--text-secondary);
   }
   
   .events-empty-box {
       background: var(--bg-surface);
       border: 1px dashed var(--brand-primary-border);
       padding: 2.5rem;
       text-align: center;
   }
   
   .events-empty-box__title {
       font-family: var(--font-arcade);
       font-size: 1.1rem;
       margin-bottom: 0.6rem;
       color: var(--brand-primary);
   }
   
   .presskit-box {
       background: var(--bg-surface);
       border: 2px solid var(--border-subtle);
       padding: 2.5rem;
       display: grid;
       grid-template-columns: 1.2fr 0.8fr;
       gap: 2.5rem;
       align-items: center;
   }
   
   .presskit-actions {
       display: flex;
       flex-direction: column;
       gap: 1rem;
       background: var(--bg-surface-elevated);
       padding: 1.75rem;
       border: 1px solid var(--border-subtle);
   }
   
   .booking-layout {
       display: grid;
       grid-template-columns: 0.85fr 1.15fr;
       gap: 3rem;
       align-items: start;
   }
   
   .booking-form {
       background: var(--bg-surface);
       border: 1px solid var(--border-subtle);
       padding: 2.25rem;
   }
   
   .form-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 1.25rem;
   }
   
   .form-group {
       display: flex;
       flex-direction: column;
       gap: 0.45rem;
   }
   
   .form-group--full {
       grid-column: 1 / -1;
   }
   
   .form-label {
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--text-secondary);
       text-transform: uppercase;
   }
   
   .form-control {
       background: #0A0A0E;
       border: 1px solid var(--border-subtle);
       color: var(--text-primary);
       font-family: var(--font-body);
       font-size: 0.95rem;
       padding: 0.8rem 0.95rem;
       width: 100%;
       transition: border-color 0.2s ease;
   }
   
   .form-control:focus {
       outline: none;
       border-color: var(--brand-primary);
   }
   
   .form-checkbox {
       display: flex;
       align-items: flex-start;
       gap: 0.65rem;
       font-size: 0.85rem;
       color: var(--text-secondary);
       cursor: pointer;
   }
   
   .form-checkbox input {
       margin-top: 0.25rem;
       accent-color: var(--brand-primary);
   }
   
   .hp-field {
       position: absolute;
       left: -9999px;
       opacity: 0;
       pointer-events: none;
   }
   
   .form-feedback {
       margin-top: 1rem;
       padding: 0.9rem 1rem;
       font-family: var(--font-hud);
       font-size: 0.82rem;
       display: none;
   }
   
   .form-feedback.is-success {
       display: block;
       background: rgba(0, 230, 118, 0.12);
       border: 1px solid var(--success);
       color: var(--success);
   }
   
   .form-feedback.is-error {
       display: block;
       background: rgba(255, 59, 92, 0.12);
       border: 1px solid var(--danger);
       color: var(--danger);
   }
   
   /* ==========================================================================
      FOOTER Y RESPONSIVE
      ========================================================================== */
   .hud-footer {
       background: #050507;
       padding: 4rem 0 2rem;
       font-size: 0.9rem;
       color: var(--text-secondary);
   }
   
   .footer-grid {
       display: grid;
       grid-template-columns: 1.5fr 1fr 1fr;
       gap: 2.5rem;
       padding-bottom: 3rem;
       border-bottom: 1px solid var(--border-subtle);
   }
   
   .footer-logo {
       max-height: 40px;
       max-width: 170px;
       width: auto;
       height: auto;
       object-fit: contain;
       margin-bottom: 1rem;
       display: block;
   }
   
   .footer-heading {
       font-family: var(--font-hud);
       font-size: 0.8rem;
       color: var(--brand-primary);
       text-transform: uppercase;
       margin-bottom: 1rem;
   }
   
   .footer-links {
       list-style: none;
       display: flex;
       flex-direction: column;
       gap: 0.6rem;
   }
   
   .footer-links a,
   .footer-replay-btn {
       color: var(--text-secondary);
       text-decoration: none;
       background: none;
       border: none;
       font-family: inherit;
       font-size: inherit;
       cursor: pointer;
       padding: 0;
       transition: color 0.2s ease;
   }
   
   .footer-links a:hover,
   .footer-replay-btn:hover {
       color: var(--brand-primary);
   }
   
   .footer-bottom {
       padding-top: 1.5rem;
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       align-items: center;
       gap: 1rem;
       font-family: var(--font-hud);
       font-size: 0.78rem;
       color: var(--text-muted);
   }
   
   :focus-visible {
       outline: 2px solid var(--brand-primary);
       outline-offset: 3px;
   }
   
   @media (prefers-reduced-motion: reduce) {
       *, *::before, *::after {
           animation-duration: 0.01ms !important;
           animation-iteration-count: 1 !important;
           transition-duration: 0.01ms !important;
           scroll-behavior: auto !important;
       }
       .crt-overlay {
           display: none;
       }
   }
   
   @media (max-width: 992px) {
       .hero-grid,
       .crew-selector-layout,
       .presskit-box,
       .booking-layout {
           grid-template-columns: 1fr;
       }
       .crew-inspector {
           position: static;
       }
       .footer-grid {
           grid-template-columns: 1fr 1fr;
       }
   }
   
   @media (max-width: 768px) {
       .mobile-toggle {
           display: inline-flex;
           align-items: center;
       }
   
       .hud-nav {
           position: fixed;
           top: var(--header-height);
           left: 0;
           right: 0;
           background: rgba(8, 8, 10, 0.98);
           border-bottom: 2px solid var(--brand-primary);
           flex-direction: column;
           align-items: stretch;
           padding: 1.5rem;
           gap: 0.5rem;
           display: none;
       }
   
       .hud-nav.is-open {
           display: flex;
       }
   
       .hud-nav a {
           padding: 0.85rem 1rem;
           background: var(--bg-surface);
           border: 1px solid var(--border-subtle);
           font-size: 0.95rem;
       }
   
       .hud-nav a::before {
           display: none;
       }
   
       .crew-roster-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   
       .form-grid {
           grid-template-columns: 1fr;
       }
   
       .hero-hud-bar {
           grid-template-columns: 1fr;
           gap: 0.85rem;
       }
   
       .footer-grid {
           grid-template-columns: 1fr;
       }
   }

   /* ==========================================================================
   BANNER Y PANEL DE CONFIGURACIÓN DE COOKIES (RGPD)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(17, 17, 22, 0.97);
    border: 2px solid var(--brand-primary);
    padding: 1.25rem 1.5rem;
    z-index: 1500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
}

.cookie-banner.is-hidden,
.cookie-modal.is-hidden {
    display: none !important;
}

.cookie-banner__text {
    flex: 1 1 380px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 7, 0.88);
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cookie-modal__box {
    background: var(--bg-surface);
    border: 2px solid var(--brand-primary);
    max-width: 520px;
    width: 100%;
    padding: 2rem;
}