/* ==========================================================================
   UNITY MULTIPLAYER 2026 - ESTILOS ESPECIALIZADOS
   Diseño de alta tecnología, interactivo, accesible y optimizado para Game Devs
   ========================================================================== */

/* Variables adicionales para Multijugador */
:root {
  --net-cyan: #00f2fe;
  --net-blue: #4facfe;
  --net-purple: #8b5cf6;
  --net-pink: #ec4899;
  --net-green: #10b981;
  --net-yellow: #f59e0b;
  --net-red: #ef4444;
  --net-card-border: rgba(0, 242, 254, 0.15);
  --net-card-bg: rgba(18, 24, 38, 0.88);
  --net-card-hover-bg: rgba(26, 34, 54, 0.96);
  --font-mono: 'JetBrains Mono', monospace;
  --font-heading: 'Outfit', sans-serif;
}

/* Modo Neón */
body.theme-neon {
  --net-card-border: rgba(236, 72, 153, 0.35);
  --net-card-bg: rgba(19, 16, 43, 0.92);
  --net-card-hover-bg: rgba(30, 25, 68, 0.98);
}

/* Modo Claro */
body.theme-light {
  --net-card-border: rgba(2, 132, 199, 0.2);
  --net-card-bg: rgba(255, 255, 255, 0.92);
  --net-card-hover-bg: #ffffff;
}

/* Enlace del logo y badges */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.edition-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #06101e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 2px;
}

.nav-item:hover {
  color: var(--net-cyan);
}

.action-btn.back-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.action-btn.back-btn:hover {
  background: var(--net-cyan);
  color: #06101e;
  border-color: var(--net-cyan);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.mp-hero {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.mp-hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
}

.glow-cyan {
  top: -100px;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #00f2fe, transparent 70%);
}

.glow-purple {
  top: 50px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
}

.mp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.mp-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.mp-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mp-hero-badge.pulse-effect {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--net-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.mp-hero-badge.netcode-badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c084fc;
}

.mp-hero-badge.free-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.mp-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.mp-gradient-title {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mp-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.mp-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 900px;
}

.mp-stat-item {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mp-stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--net-cyan);
}

.mp-stat-item .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--net-cyan);
  margin-bottom: 4px;
}

.mp-stat-item .stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mp-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-accent {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
}

/* ==========================================================================
   BANNER RIP UNET
   ========================================================================== */
.rip-unet-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
  border-top: 1px solid rgba(239, 68, 68, 0.3);
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1rem 1.5rem;
}

.rip-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rip-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.rip-text {
  font-size: 0.95rem;
  color: #fca5a5;
  line-height: 1.5;
}

.rip-text strong {
  color: #ffffff;
}

.rip-text code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fef08a;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.mp-section {
  padding: 5rem 1.5rem;
  position: relative;
}

.mp-section.alt-bg {
  background-color: var(--bg-secondary);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--net-cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-tag.glow {
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.section-tag.fire {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.section-tag.github-tag {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border-color: rgba(192, 132, 252, 0.3);
}

.section-tag.gold {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ==========================================================================
   METÁFORA Y ANALOGÍA
   ========================================================================== */
.mp-analogy-box {
  margin-bottom: 3rem;
}

.analogy-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.analogy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--net-cyan), var(--net-blue));
}

.analogy-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.analogy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.analogy-card p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ==========================================================================
   ARQUITECTURAS INTERACTIVAS
   ========================================================================== */
.architecture-showcase {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
}

.showcase-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.showcase-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.arch-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.arch-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.arch-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: var(--net-cyan);
}

.arch-tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--net-cyan);
  color: var(--net-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.tab-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

.tab-badge.free {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.tab-badge.pro {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
}

.tab-badge.new {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.arch-content-card {
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   LOS 4 PILARES DE NGO
   ========================================================================== */
.pillars-container {
  margin-bottom: 4rem;
}

.pillars-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pillars-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--net-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dim);
}

.pillar-badge {
  background: rgba(0, 242, 254, 0.1);
  color: var(--net-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.pillar-card h4 {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.code-preview-mini {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   CODE SHOWCASE BOX
   ========================================================================== */
.code-showcase-box {
  background: #0b1120;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.code-box-header {
  background: #070c18;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.copy-code-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.copy-code-btn:hover {
  background: var(--net-cyan);
  color: #06101e;
  border-color: var(--net-cyan);
}

.code-content {
  padding: 1.5rem 1.8rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* Colores de resaltado de sintaxis */
.c-keyword { color: #f43f5e; font-weight: 600; }
.c-class { color: #38bdf8; font-weight: 600; }
.c-comment { color: #64748b; font-style: italic; }
.c-string { color: #a3e635; }
.c-annotation { color: #fbbf24; }
.c-method { color: #818cf8; }

.code-box-footer {
  background: #080d1a;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-tip strong {
  color: var(--net-cyan);
}

/* ==========================================================================
   SIMULADOR DE RED EN VIVO
   ========================================================================== */
.network-sim-box {
  background: #090e1a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.15);
}

.sim-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.sim-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  transition: all 0.3s ease;
}

.sim-status-dot.online {
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
}

.sim-status-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.sim-buttons-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.btn-danger:hover {
  background: #ef4444;
  color: #ffffff;
}

.sim-params-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.param-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.param-item label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.highlight-val {
  color: var(--net-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
}

.checkbox-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-stage {
  background: radial-gradient(circle at center, #111a2f 0%, #060a14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.sim-node {
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sim-node.opacity-dim {
  opacity: 0.35;
}

.sim-actions-panel {
  margin-bottom: 1.5rem;
}

.actions-panel-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.action-trigger-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-trigger-btn:not(:disabled):hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--net-cyan);
  transform: translateY(-2px);
}

.action-trigger-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-rpc-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.server-rpc { background: rgba(236, 72, 153, 0.2); color: #f472b6; }
.client-rpc { background: rgba(0, 242, 254, 0.2); color: #38bdf8; }
.netvar { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.chat { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

.action-trigger-btn strong {
  font-size: 0.88rem;
  color: var(--text-main);
}

.action-trigger-btn small {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Consola de red */
.sim-console {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.console-header {
  background: #090e1c;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.clear-console-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  cursor: pointer;
}

.clear-console-btn:hover {
  color: var(--net-cyan);
}

.console-log-body {
  height: 140px;
  overflow-y: auto;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-entry.system { color: #64748b; }
.log-entry.sent { color: #38bdf8; }
.log-entry.received { color: #34d399; }
.log-entry.rpc { color: #f472b6; }
.log-entry.loss { color: #ef4444; }

/* ==========================================================================
   RELAY & LOBBY WORKFLOW
   ========================================================================== */
.relay-workflow-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.workflow-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.wf-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.wf-step:hover {
  transform: translateY(-4px);
  border-color: var(--net-cyan);
}

.wf-step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: var(--net-cyan);
  color: #06101e;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.wf-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.wf-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.wf-step code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--net-cyan);
  font-family: var(--font-mono);
}

.wf-arrow {
  font-size: 1.4rem;
  color: var(--text-dim);
  text-align: center;
}

.ugs-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.ugs-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ugs-card:hover {
  transform: translateY(-4px);
  border-color: var(--net-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.12);
}

.ugs-card-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.ugs-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--net-cyan);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ugs-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ugs-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.ugs-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* ==========================================================================
   UNITY 6 NOVEDADES & MPPM
   ========================================================================== */
.unity6-feature-hero {
  background: linear-gradient(135deg, #131c31 0%, #0c1222 100%);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 40px rgba(249, 115, 22, 0.12);
  position: relative;
  overflow: hidden;
}

.feat-badge-top {
  display: inline-block;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fb923c;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feat-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.feat-hero-text h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feat-hero-text p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feat-stats-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 9999px;
  display: inline-block;
  font-size: 0.88rem;
  color: #fdba74;
}

/* Mockup Editor MPPM */
.mppm-mockup {
  background: #1e222d;
  border: 1px solid #363c4e;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mppm-header {
  background: #141720;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #363c4e;
  overflow-x: auto;
}

.mppm-tab {
  font-size: 0.74rem;
  color: #8c96a8;
  padding: 4px 10px;
  border-radius: 4px;
  background: #1e222d;
  white-space: nowrap;
}

.mppm-tab.active {
  background: #2d3345;
  color: #ffffff;
  font-weight: 700;
  border-top: 2px solid var(--net-cyan);
}

.mppm-screens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #0f1118;
  padding: 6px;
}

.mppm-screen {
  background: #181d28;
  border-radius: 4px;
  padding: 10px;
  height: 170px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mppm-player-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  align-self: flex-start;
  z-index: 2;
}

.mppm-screen.p1 .mppm-player-tag { background: rgba(0, 242, 254, 0.25); color: #38bdf8; }
.mppm-screen.p2 .mppm-player-tag { background: rgba(236, 72, 153, 0.25); color: #f472b6; }

.mppm-scene-preview {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 2.2rem;
  position: relative;
}

.mppm-footer {
  background: #141720;
  padding: 6px 12px;
  font-size: 0.72rem;
  color: #4ade80;
  font-family: var(--font-mono);
  border-top: 1px solid #2d3345;
}

.unity6-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.u6-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.u6-card:hover {
  transform: translateY(-4px);
  border-color: #fb923c;
}

.u6-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.u6-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.u6-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   GITHUB REPOSITORIOS
   ========================================================================== */
.repo-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.repo-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.repo-filter-btn.active, .repo-filter-btn:hover {
  background: rgba(192, 132, 252, 0.15);
  border-color: #c084fc;
  color: #c084fc;
}

.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.repo-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.repo-card:hover {
  transform: translateY(-5px);
  border-color: #c084fc;
  box-shadow: 0 10px 30px rgba(192, 132, 252, 0.15);
}

.repo-card-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(192, 132, 252, 0.18);
  color: #d8b4fe;
  margin-bottom: 1rem;
}

.repo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.repo-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.repo-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.rtag {
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.repo-actions {
  display: flex;
  gap: 10px;
}

.btn-repo {
  flex: 1;
  text-align: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-repo.primary {
  background: #c084fc;
  color: #1e1035;
}

.btn-repo.primary:hover {
  background: #d8b4fe;
}

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

.btn-repo.secondary:hover {
  border-color: #c084fc;
}

/* Guía de clonado */
.how-to-clone-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.how-to-clone-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.clone-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.c-step {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: relative;
}

.c-step-num {
  position: absolute;
  top: -10px;
  left: 12px;
  width: 22px;
  height: 22px;
  background: #c084fc;
  color: #1a082b;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.c-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.c-step code {
  display: block;
  background: #060911;
  padding: 6px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #a3e635;
  overflow-x: auto;
}

/* ==========================================================================
   ACTIVOS GRATIS ASSET STORE
   ========================================================================== */
.asset-category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.asset-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.asset-tab.active, .asset-tab:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
  color: #fbbf24;
}

.mp-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mp-asset-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mp-asset-card:hover {
  transform: translateY(-5px);
  border-color: #fbbf24;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15);
}

.asset-img-container {
  height: 160px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.asset-img-svg {
  width: 100%;
  height: 100%;
}

.asset-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.asset-publisher {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.asset-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.asset-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.asset-net-tip {
  background: rgba(0, 242, 254, 0.08);
  border-left: 3px solid var(--net-cyan);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
  color: #bae6fd;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.asset-net-tip strong {
  color: var(--net-cyan);
}

.btn-store {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-store:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* Pro tip box */
.pro-tip-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 95, 70, 0.18));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 20px;
}

.pro-tip-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.pro-tip-content h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #6ee7b7;
  margin-bottom: 0.5rem;
}

.pro-tip-content p {
  color: #d1fae5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pro-tip-content code {
  display: block;
  background: #032015;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #6ee7b7;
  overflow-x: auto;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   JARGON BUSTER / DICCIONARIO
   ========================================================================== */
.jargon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.jargon-card {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.jargon-card:hover {
  transform: translateY(-3px);
  border-color: var(--net-cyan);
}

.jargon-term {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--net-cyan);
  margin-bottom: 0.4rem;
}

.jargon-meaning {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.jargon-analogy {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #fbbf24;
  font-style: italic;
}

/* ==========================================================================
   QUIZ DE ARQUITECTURA
   ========================================================================== */
.quiz-container-box {
  background: var(--net-card-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.quiz-hero-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.quiz-start-screen h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.quiz-start-screen p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.quiz-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--net-cyan), var(--net-purple));
  width: 33%;
  transition: width 0.3s ease;
}

.quiz-q-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.quiz-step-count {
  font-size: 0.8rem;
  color: var(--net-cyan);
  font-weight: 700;
  text-transform: uppercase;
}

.quiz-q-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-top: 4px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-option-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--net-cyan);
  transform: translateX(4px);
}

.quiz-result-card {
  text-align: left;
  animation: fadeIn 0.4s ease;
}

.result-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.result-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.result-stack-pill {
  background: #090e1a;
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--net-cyan);
}

.result-why {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--net-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--net-cyan);
}

.faq-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--net-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 16px 20px 22px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.faq-answer strong {
  color: #ffffff;
}

/* ==========================================================================
   ANIMACIONES & RESPONSIVIDAD
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wf-arrow {
    transform: rotate(90deg);
  }
  .feat-hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Ocultar menú largo en pantallas medianas */
  }
}

@media (max-width: 640px) {
  .mp-hero {
    padding: 4.5rem 1rem 3rem;
  }
  .mp-section {
    padding: 3.5rem 1rem;
  }
  .sim-stage {
    height: 300px;
  }
  .mppm-screens-grid {
    grid-template-columns: 1fr;
  }
  .pro-tip-box {
    flex-direction: column;
  }
  .actions-grid {
    grid-template-columns: 1fr;
  }
}
