/* ==========================================================================
   XGAMERS DESIGN SYSTEM v2.0 — HARDWARE GPU & ESPORTS HUD (PRY-270)
   Inspiración: NVIDIA GeForce (#76b900) / ROG Tactical (#ff1e42) / VoltAgent (#00d992)
   Cumplimiento estricto: Zero Purple Ban, Modern Web Guidance 2026
   ========================================================================== */

/* 1. RESET & PROGRESSIVE ENHANCEMENT TOKENS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --in-oklab: ;
    --in-oklch: ;
}

@supports (background: linear-gradient(in oklab, white, black)) {
    :root {
        --in-oklab: in oklab;
        --in-oklch: in oklch;
    }
}

/* ==========================================================================
   2. SISTEMA DE 3 TEMAS EN VIVO (OPCIÓN B - CLAUDE-DESIGN TWEAKS)
   Tema 1 (Default): NVIDIA GPU Power (#000000 + #76b900 + #bff230)
   Tema 2: ROG Tactical Crimson (#060608 + #ff1e42 + #ff6b00)
   Tema 3: VoltAgent Glacial Emerald (#050507 + #00d992 + #00f0ff)
   ========================================================================== */
:root,
[data-theme="nvidia"] {
    --theme-name: "NVIDIA GPU POWER";
    --color-bg: #050605;
    --color-bg-void: #000000;
    --color-surface: rgba(15, 18, 15, 0.88);
    --color-surface-elevated: rgba(22, 27, 22, 0.95);
    --color-surface-hover: rgba(28, 36, 26, 0.95);
    --color-border: rgba(118, 185, 0, 0.24);
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(191, 242, 48, 0.65);

    /* Acentos Primarios y Secundarios (Cero Morado) */
    --accent-primary: #76b900;
    --accent-bright: #bff230;
    --accent-secondary: #00e5ff;
    --accent-tertiary: #f59e0b;

    /* Mapeo de compatibilidad semántica (sin morado) */
    --color-cyan: var(--accent-primary);
    --color-cyan-hover: var(--accent-bright);
    --color-green: #10b981;
    --color-orange: #f59e0b;
    --color-red: #ef4444;

    /* Texto de Alto Contraste */
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dark: #64748b;
    --btn-primary-fg: #050800;

    /* Geometría Táctica HUD */
    --radius-card: 4px;
    --radius-btn: 2px;
    --radius-badge: 2px;
    --hud-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    --hud-clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));

    /* Sombras y Resplandores */
    --glow-primary: 0 0 24px rgba(118, 185, 0, 0.42);
    --glow-secondary: 0 0 24px rgba(0, 229, 255, 0.35);
    --glow-green: 0 0 16px rgba(16, 185, 129, 0.45);
    --shadow-layered: 0 4px 12px rgba(0, 0, 0, 0.6), 0 20px 48px rgba(0, 0, 0, 0.85);
}

[data-theme="rog"] {
    --theme-name: "ROG TACTICAL CRIMSON";
    --color-bg: #07070a;
    --color-bg-void: #030305;
    --color-surface: rgba(18, 17, 23, 0.90);
    --color-surface-elevated: rgba(26, 23, 31, 0.96);
    --color-surface-hover: rgba(36, 26, 34, 0.96);
    --color-border: rgba(255, 30, 66, 0.28);
    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-glow: rgba(255, 94, 0, 0.72);

    --accent-primary: #ff1e42;
    --accent-bright: #ff6b00;
    --accent-secondary: #ffb800;
    --accent-tertiary: #00e5ff;

    --color-cyan: var(--accent-primary);
    --color-cyan-hover: var(--accent-bright);
    --btn-primary-fg: #ffffff;

    --radius-card: 2px;
    --radius-btn: 2px;
    --radius-badge: 2px;
    --hud-clip: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    --hud-clip-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));

    --glow-primary: 0 0 26px rgba(255, 30, 66, 0.48);
    --glow-secondary: 0 0 24px rgba(255, 107, 0, 0.38);
}

[data-theme="voltagent"] {
    --theme-name: "GLACIAL ESPORTS";
    --color-bg: #050608;
    --color-bg-void: #020304;
    --color-surface: rgba(14, 19, 25, 0.86);
    --color-surface-elevated: rgba(19, 26, 35, 0.94);
    --color-surface-hover: rgba(24, 34, 46, 0.95);
    --color-border: rgba(0, 217, 146, 0.26);
    --color-border-subtle: rgba(61, 58, 57, 0.65);
    --color-border-glow: rgba(0, 240, 255, 0.65);

    --accent-primary: #00d992;
    --accent-bright: #00f0ff;
    --accent-secondary: #38bdf8;
    --accent-tertiary: #fbbf24;

    --color-cyan: var(--accent-primary);
    --color-cyan-hover: var(--accent-bright);
    --btn-primary-fg: #020806;

    --radius-card: 8px;
    --radius-btn: 6px;
    --radius-badge: 4px;
    --hud-clip: none;
    --hud-clip-sm: none;

    --glow-primary: 0 0 24px rgba(0, 217, 146, 0.40);
    --glow-secondary: 0 0 24px rgba(0, 240, 255, 0.35);
}

/* Tipografía Gaming Industrial & Telemetría */
:root {
    --font-titles: 'Chakra Petch', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 0.16s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-smooth: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Theming Browser-Generated UI (modern-web-guidance: browser-ui-theming) */
    color-scheme: dark;
    accent-color: var(--accent-primary);
    scrollbar-color: var(--accent-primary) var(--color-bg-void);
    scrollbar-width: thin;
}

::selection {
    background-color: var(--accent-primary);
    color: #000000;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    isolation: isolate;
}

/* Legibilidad y balance tipográfico (modern-web-guidance: improve-text-layout-and-legibility) */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .section-title-large {
    text-wrap: balance;
}

p, li, blockquote,
.hero-subtitle, .section-subtitle, .section-subtitle-large, .feature-item-desc {
    text-wrap: pretty;
}

/* ==========================================================================
   3. ARQUITECTURA DE FONDO TÁCTICO (SIN ORBES MORADOS GENÉRICOS)
   ========================================================================== */
.glow-bg-grid {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 80% 15%, color-mix(in oklch, var(--accent-primary) 14%, transparent) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, color-mix(in oklch, var(--accent-secondary) 10%, transparent) 0%, transparent 45%),
        linear-gradient(color-mix(in oklch, var(--accent-primary) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in oklch, var(--accent-primary) 6%, transparent) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    background-position: center center;
    pointer-events: none;
    z-index: -3;
}

.glow-bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.18) 0px,
            rgba(0, 0, 0, 0.18) 1px,
            transparent 1px,
            transparent 4px
        ),
        radial-gradient(circle at 50% 35%, transparent 25%, var(--color-bg) 92%);
    pointer-events: none;
}

.glow-orb {
    display: none; /* Purgado el cliché de orbes difusos SaaS */
}

/* ==========================================================================
   4. UTILIDADES, TARJETAS HUD Y BOTONES TÁCTICOS
   ========================================================================== */
.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 96px 24px;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    text-transform: uppercase;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.08rem;
}

.gradient-text {
    background: linear-gradient(120deg var(--in-oklch), var(--accent-primary) 0%, var(--accent-bright) 55%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan { color: var(--accent-primary); }
.text-green { color: var(--color-green); }
.text-orange { color: var(--color-orange); }

/* Tarjeta Táctica HUD con Esquinas Biseladas y Sombra Multicapa */
.config-card {
    background: linear-gradient(165deg var(--in-oklab), var(--color-surface-elevated) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip);
    box-shadow: var(--shadow-layered);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.config-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    opacity: 0.65;
    pointer-events: none;
}

.config-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-layered), var(--glow-primary);
}

/* Botones de Precisión Industrial */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-titles);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    clip-path: var(--hud-clip-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    position: relative;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg var(--in-oklch), var(--accent-primary) 0%, var(--accent-bright) 100%);
    color: var(--btn-primary-fg);
    font-weight: 800;
    box-shadow: 0 4px 20px color-mix(in oklch, var(--accent-primary) 35%, transparent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: var(--glow-primary);
    color: var(--btn-primary-fg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background-color: color-mix(in oklch, var(--accent-primary) 14%, transparent);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* ==========================================================================
   5. CABECERA TÁCTICA (NAV BAR) + TELEMETRY TICKER
   ========================================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: color-mix(in oklch, var(--color-bg-void) 86%, transparent);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 2px;
}

.logo-container-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-xcom-svg {
    filter: drop-shadow(0 0 6px var(--accent-primary));
    transition: transform var(--transition-bounce);
}

.logo-brand:hover .logo-xcom-svg {
    transform: rotate(8deg) scale(1.08);
}

.logo-text-gamers {
    font-family: var(--font-titles);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.badge-subdivision {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 3px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-titles);
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
    box-shadow: var(--glow-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-node-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-subtle);
    padding: 7px 12px;
    border-radius: var(--radius-badge);
}

.header-node-badge .dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

/* ==========================================================================
   6. SECCIÓN HERO: ASIMÉTRICA + TELEMETRÍA NODO CONCEPCIÓN EN VIVO
   ========================================================================== */
.hero-section {
    padding-top: 148px;
    padding-bottom: 64px;
    min-height: 94vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 48px;
    align-items: center;
}

.pill-announcement {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: color-mix(in oklch, var(--accent-primary) 10%, transparent);
    border: 1px solid var(--color-border);
    padding: 7px 16px;
    border-radius: var(--radius-badge);
    clip-path: var(--hud-clip-sm);
    margin-bottom: 22px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    animation: beaconPulse 1.8s infinite ease-out;
}

@keyframes beaconPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

.pill-text {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-family: var(--font-titles);
    font-size: clamp(2.6rem, 4.8vw, 4.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.68;
    margin-bottom: 28px;
    max-width: 620px;
}

/* Barra Interactiva de Conexión Directa al Servidor Real (alpha-083) */
.live-server-connect-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--accent-primary);
    padding: 12px 16px;
    border-radius: var(--radius-card);
    margin-bottom: 30px;
    max-width: 620px;
}

.live-connect-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.live-connect-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    font-weight: 700;
}

.live-connect-ip {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-copy-ip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 14px;
    background: color-mix(in oklch, var(--accent-primary) 16%, transparent);
    border: 1px solid var(--accent-primary);
    color: var(--accent-bright);
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy-ip:hover {
    background: var(--accent-primary);
    color: var(--btn-primary-fg);
}

.btn-copy-ip svg {
    width: 14px;
    height: 14px;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-border-subtle);
    border-top: 2px solid var(--accent-primary);
    padding: 16px;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.stat-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrapper.cyan {
    background-color: color-mix(in oklch, var(--accent-primary) 15%, transparent);
    color: var(--accent-primary);
}
.stat-icon-wrapper.purple,
.stat-icon-wrapper.amber {
    background-color: rgba(245, 158, 11, 0.14);
    color: var(--color-orange);
}
.stat-icon-wrapper.green {
    background-color: rgba(16, 185, 129, 0.14);
    color: var(--color-green);
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Rack de Telemetría Hardware 3D (Hero Derecha) */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-server-card {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(160deg, var(--color-surface-elevated) 0%, #050709 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip);
    padding: 26px;
    box-shadow: var(--shadow-layered), var(--glow-primary);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.visual-server-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    animation: borderBeamScan 4s infinite linear;
}

@keyframes borderBeamScan {
    0% { left: -60%; }
    100% { left: 120%; }
}

.visual-server-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-bright);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.online {
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
}

.server-brand {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--btn-primary-fg);
    background-color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: var(--radius-badge);
    letter-spacing: 0.06em;
}

/* Barras de Frecuencia de Hilos Xeon */
.cpu-threads-visual {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    height: 68px;
    align-items: end;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 12px;
    border-radius: var(--radius-badge);
    border: 1px solid var(--color-border-subtle);
    margin-bottom: 20px;
}

.thread-bar {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    width: 100%;
    transition: height 0.4s ease;
}

.thread-bar.active {
    background: linear-gradient(to top, var(--accent-primary) 0%, var(--accent-bright) 100%);
    box-shadow: 0 0 8px color-mix(in oklch, var(--accent-primary) 50%, transparent);
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--color-border);
}

.spec-name {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.spec-value {
    color: #ffffff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
}

.card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 16px;
}

.footer-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.metric-val {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   7. CONFIGURADOR INTERACTIVO CON TARJETAS 3D TILT Y ARTE DE JUEGOS
   ========================================================================== */
.config-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 32px;
    align-items: stretch;
}

.configurator-controls {
    padding: 36px;
}

.config-step {
    margin-bottom: 40px;
}

.config-step:last-child {
    margin-bottom: 0;
}

.step-title {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-num {
    background: var(--accent-primary);
    color: var(--btn-primary-fg);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-badge);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Grilla de Juegos con Key Art y 3D Tilt */
.games-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.game-btn {
    position: relative;
    overflow: hidden;
    background-color: #090c10;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip-sm);
    padding: 20px 18px;
    min-height: 128px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    isolation: isolate;
    transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform 0.12s ease-out;
}

/* Fondo de arte de cada juego con fallback de gradiente táctico */
.game-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    z-index: -2;
    transition: transform 0.45s ease, opacity 0.3s ease;
}

.game-btn[data-game="minecraft"]::before {
    background-image: url('../assets/game-minecraft.png'), radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.45), #06120c 70%);
}
.game-btn[data-game="cs2"]::before {
    background-image: url('../assets/game-cs2.png'), radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.45), #140d05 70%);
}
.game-btn[data-game="rust"]::before {
    background-image: url('../assets/game-rust.png'), radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.45), #160707 70%);
}
.game-btn[data-game="palworld"]::before {
    background-image: url('../assets/game-palworld.png'), radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.45), #051318 70%);
}

/* Viñeta oscura + Spotlight interactivo de puntero */
.game-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(240px circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.12), transparent 60%),
        linear-gradient(to top, rgba(4, 6, 8, 0.95) 12%, rgba(4, 6, 8, 0.35) 100%);
    z-index: -1;
}

.game-btn:hover::before,
.game-btn.active::before {
    transform: scale(1.07);
    opacity: 0.62;
}

.game-btn:hover {
    border-color: var(--accent-primary);
}

.game-btn.active {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.game-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: auto;
}

.game-engine-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid var(--color-border);
    color: var(--accent-bright);
    letter-spacing: 0.05em;
}

.game-icon-avatar {
    width: 34px;
    height: 34px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-badge);
}

.game-icon-avatar.minecraft { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23bff230" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>'); }
.game-icon-avatar.cs2 { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f59e0b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line></svg>'); }
.game-icon-avatar.rust { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ef4444" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"></path><path d="M2 17l10 5 10-5"></path><path d="M2 12l10 5 10-5"></path></svg>'); }
.game-icon-avatar.palworld { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300e5ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path><path d="M2 12h20"></path></svg>'); }

.game-name {
    font-family: var(--font-titles);
    font-weight: 800;
    color: #ffffff;
    font-size: 1.08rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.game-desc {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    color: var(--color-text-muted);
}

/* Sliders de Hardware */
.slider-group {
    margin-bottom: 26px;
}

.slider-group:last-of-type {
    margin-bottom: 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.slider-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.slider-value {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-bright);
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-subtle);
    padding: 2px 10px;
    border-radius: var(--radius-badge);
}

.slider-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: var(--accent-primary);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    background: var(--accent-bright);
}

.range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: var(--accent-primary);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: transform var(--transition-fast);
}

/* Tarjeta Resumen de Compra Dinámico */
.config-summary-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid var(--accent-primary);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
}

.summary-title {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
}

.summary-game-badge {
    font-family: var(--font-mono);
    background-color: color-mix(in oklch, var(--accent-primary) 16%, transparent);
    border: 1px solid var(--accent-primary);
    color: var(--accent-bright);
    padding: 5px 12px;
    border-radius: var(--radius-badge);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-specs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.summary-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.spec-lbl {
    color: var(--color-text-muted);
}

.spec-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #ffffff;
    font-size: 0.84rem;
}

.summary-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    margin: 24px 0;
}

.price-container {
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--color-border-subtle);
    padding: 18px 20px;
    border-radius: var(--radius-card);
}

.price-row {
    display: flex;
    align-items: baseline;
}

.main-clp {
    gap: 8px;
    margin-bottom: 6px;
}

.price-currency {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.price-amount {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.price-period {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.secondary-usd {
    gap: 8px;
}

.price-usd-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.price-usd-val {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-bright);
}

.deployment-speed-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    margin-top: 14px;
}

.deployment-speed-note svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

/* ==========================================================================
   8. SECCIONES HOW-IT-WORKS Y FEATURES-GRID (ESTÉTICA TÁCTICA)
   ========================================================================== */
.how-it-works-section, .features-grid-section {
    padding: 96px 0;
    position: relative;
}

.section-header-centered {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pill-announcement-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-badge);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
    display: inline-block;
}

.section-title-large {
    font-family: var(--font-titles);
    font-size: clamp(1.9rem, 3.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    color: #ffffff;
}

.section-subtitle-large {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    margin-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--accent-primary) 0%,
        var(--accent-bright) 50%,
        var(--accent-secondary) 100%
    );
    opacity: 0.35;
    z-index: 0;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(12, 16, 20, 0.72);
    border: 1px solid var(--color-border-subtle);
    padding: 28px 20px;
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip-sm);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.step-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.step-icon-glow-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #070a0d;
    border: 1px solid var(--color-border);
    margin-bottom: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-icon-inner {
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-inner svg {
    width: 22px;
    height: 22px;
}

.step-card:hover .step-icon-glow-wrapper {
    border-color: var(--accent-bright);
    box-shadow: var(--glow-primary);
    transform: scale(1.08);
}

.step-number-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.step-card-title {
    font-family: var(--font-titles);
    font-size: 1.12rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-card-desc {
    color: var(--color-text-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.step-card-desc code {
    font-family: var(--font-mono);
    color: var(--accent-bright);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Grilla de 6 Características con Spotlight */
.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-item-card {
    position: relative;
    padding: 32px;
    overflow: hidden;
}

.feature-index {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.06);
    user-select: none;
    transition: color 0.3s ease;
}

.feature-item-card:hover .feature-index {
    color: var(--accent-primary);
}

.feature-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in oklch, var(--accent-primary) 10%, transparent);
    border: 1px solid var(--color-border);
    margin-bottom: 22px;
    color: var(--accent-bright);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon-wrapper svg {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.feature-item-card:hover .feature-icon-wrapper {
    border-color: var(--accent-bright);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.feature-item-title {
    font-family: var(--font-titles);
    font-size: 1.18rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-item-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   9. SIMULADOR DE PANEL DE CONTROL GAMER (CONSOLA RCON / TELEMETRÍA)
   ========================================================================== */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip);
    background-color: rgba(6, 8, 10, 0.92);
    overflow: hidden;
    box-shadow: var(--shadow-layered);
}

.dashboard-sidebar {
    background-color: rgba(4, 6, 8, 0.96);
    border-right: 1px solid var(--color-border-subtle);
    padding: 24px 16px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: 20px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-badge);
    background-color: color-mix(in oklch, var(--accent-primary) 16%, transparent);
    border: 1px solid var(--accent-primary);
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar svg {
    width: 18px;
    height: 18px;
}

.user-name {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.user-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.sidebar-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-badge);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.menu-item svg {
    width: 16px;
    height: 16px;
}

.menu-item:hover, .menu-item.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

.menu-item.active {
    background-color: color-mix(in oklch, var(--accent-primary) 14%, transparent);
    color: var(--accent-bright);
    border-left: 3px solid var(--accent-primary);
}

.dashboard-main-content {
    padding: 26px;
}

.dashboard-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: 24px;
}

.server-display-name {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

.server-node {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.server-node svg {
    width: 13px;
    height: 13px;
    color: var(--accent-primary);
}

.server-controls {
    display: flex;
    gap: 10px;
}

.btn-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-main);
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.btn-ctrl svg {
    width: 14px;
    height: 14px;
}

.btn-ctrl-start:hover {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: var(--color-green);
    color: var(--color-green);
}

.btn-ctrl-restart:hover {
    background-color: color-mix(in oklch, var(--accent-primary) 16%, transparent);
    border-color: var(--accent-primary);
    color: var(--accent-bright);
}

.btn-ctrl-stop:hover {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: var(--color-red);
    color: var(--color-red);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-progress-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-card);
    padding: 16px;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-title {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.metric-title svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

.metric-pct {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
}

.progress-bar-container {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.45s ease;
}

.fill-cyan {
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-bright) 100%);
}

.fill-purple,
.fill-amber {
    background: linear-gradient(90deg, var(--color-orange) 0%, #fbbf24 100%);
}

.fill-green {
    background: var(--color-green);
}

.metric-extra {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

/* Consola RCON */
.console-wrapper {
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-card);
    background-color: #020304;
    overflow: hidden;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.console-title {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.console-title svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

.status-pill {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.06em;
}

.status-pill.offline {
    background-color: rgba(239, 68, 68, 0.14);
    color: var(--color-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-pill.online {
    background-color: rgba(16, 185, 129, 0.14);
    color: var(--color-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.loading {
    background-color: rgba(245, 158, 11, 0.14);
    color: var(--color-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.console-screen {
    height: 210px;
    padding: 16px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-bright);
    background-color: #020304;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.console-line {
    word-break: break-word;
    line-height: 1.45;
}

.console-line.system { color: var(--color-text-muted); }
.console-line.error { color: var(--color-red); }
.console-line.info { color: var(--accent-secondary); }

.console-input-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border-subtle);
    padding: 10px 16px;
}

.console-prompt {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    margin-right: 10px;
    font-weight: 700;
}

.console-input-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    padding: 4px 0;
}

.console-input-field:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.console-send-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.console-send-btn svg {
    width: 16px;
    height: 16px;
}

.console-send-btn:hover:not(:disabled) {
    color: var(--accent-primary);
}

/* ==========================================================================
   10. SECCIÓN RED LATAM Y BENCHMARK DE LATENCIAS CHILE
   ========================================================================== */
.network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.list-latencies-card, .hardware-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.network-title {
    font-family: var(--font-titles);
    font-size: 1.28rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-title svg {
    color: var(--accent-primary);
}

.network-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.latency-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.latency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-radius: var(--radius-card);
    background-color: rgba(8, 11, 15, 0.75);
    border: 1px solid var(--color-border-subtle);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.latency-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--city-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.latency-row:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.latency-row:hover::before {
    opacity: 0.18;
}

.latency-node {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.city-logo-svg {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2px;
}

.city-logo-svg.neon-yellow { color: #ffd60a; }
.city-logo-svg.neon-orange { color: #ff9f0a; }
.city-logo-svg.neon-cyan { color: var(--accent-secondary); }
.city-logo-svg.neon-purple,
.city-logo-svg.neon-emerald {
    color: var(--accent-bright);
    filter: drop-shadow(0 0 6px var(--accent-primary));
}
.city-logo-svg.neon-blue { color: #38bdf8; }
.city-logo-svg.neon-green { color: #10b981; }

.text-glow-purple,
.text-glow-primary {
    color: #ffffff;
    font-weight: 700;
}

.text-purple-glow,
.text-primary-glow {
    color: var(--accent-bright);
    font-weight: 800;
}

.latency-speed {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.92rem;
    z-index: 1;
    position: relative;
}

.hardware-specs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hw-item {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-subtle);
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--radius-card);
}

.hw-icon {
    width: 46px;
    height: 46px;
    background-color: color-mix(in oklch, var(--accent-primary) 14%, transparent);
    color: var(--accent-bright);
    border-radius: var(--radius-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hw-icon svg {
    width: 20px;
    height: 20px;
}

.hw-info h4 {
    font-family: var(--font-titles);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
}

.hw-info p {
    color: var(--color-text-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* ==========================================================================
   11. FORMULARIO DE SOPORTE (CON :USER-VALID / :USER-INVALID)
   ========================================================================== */
.contact-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.contact-form {
    padding: 36px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-btn);
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--color-text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
    background-color: rgba(0, 0, 0, 0.7);
}

/* Validación amigable post-interacción (modern-web-guidance: browser-ui-theming) */
.form-input:user-valid {
    border-color: var(--color-green);
}

.form-input:user-invalid {
    border-color: var(--color-red);
}

.form-textarea {
    min-height: 120px;
    field-sizing: content;
    resize: vertical;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.form-status-msg {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
}

.form-status-msg.success { color: var(--color-green); }
.form-status-msg.error { color: var(--color-red); }

/* ==========================================================================
   12. FOOTER CORPORATIVO
   ========================================================================== */
.app-footer {
    background-color: var(--color-bg-void);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 0 0;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 44px 24px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin: 16px 0 24px 0;
    max-width: 300px;
    line-height: 1.6;
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-badge);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--btn-primary-fg);
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
}

.footer-col h4 {
    font-family: var(--font-titles);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--accent-bright);
}

.footer-bottom {
    background-color: #010202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 22px 0;
}

.footer-bottom-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--color-text-dark);
}

/* ==========================================================================
   13. PANEL FLOTANTE DE TEMAS EN VIVO (OPCIÓN B - TWEAKS DOCK)
   ========================================================================== */
.theme-switcher-dock {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: rgba(6, 8, 10, 0.94);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    clip-path: var(--hud-clip-sm);
    padding: 10px 12px;
    box-shadow: var(--shadow-layered), var(--glow-primary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-dock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.theme-dock-buttons {
    display: flex;
    gap: 6px;
}

.theme-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-muted);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-pill-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.theme-pill-btn.active {
    background: color-mix(in oklch, var(--accent-primary) 18%, transparent);
    border-color: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 0 12px color-mix(in oklch, var(--accent-primary) 35%, transparent);
}

.swatch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.swatch-dot.nvidia { background: #76b900; box-shadow: 0 0 6px #76b900; }
.swatch-dot.rog { background: #ff1e42; box-shadow: 0 0 6px #ff1e42; }
.swatch-dot.voltagent { background: #00d992; box-shadow: 0 0 6px #00d992; }

/* ==========================================================================
   14. RESPONSIVIDAD
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container,
    .config-grid,
    .dashboard-wrapper,
    .network-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .header-node-badge {
        display: none;
    }

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

    .timeline-line {
        display: none;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .games-selector-grid,
    .metrics-grid,
    .form-row-2,
    .steps-timeline,
    .features-grid-6,
    .footer-links-grid,
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .live-server-connect-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .theme-switcher-dock {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .theme-dock-buttons {
        justify-content: space-between;
    }

    .theme-pill-btn {
        flex: 1;
        justify-content: center;
    }
}
