/* ==========================================================================
   DAYLAUNCHER — Web Oficial
   Estética: Minecraft Futurista · Oscuro · Morado Neón · Glassmorphism
   ========================================================================== */

:root {
  --bg-0: #05060b;
  --bg-1: #090c16;
  --bg-2: #0f1424;
  --surface: rgba(16, 20, 36, 0.62);
  --surface-strong: rgba(14, 18, 32, 0.84);
  --surface-hover: rgba(25, 31, 56, 0.78);
  --border: rgba(255, 255, 255, 0.10);
  --border-neon: rgba(168, 85, 247, 0.48);

  --neon-purple: #a855f7;
  --neon-purple-bright: #c084fc;
  --neon-violet: #7c3aed;
  --neon-cyan: #38bdf8;
  --neon-emerald: #34d399;
  --neon-amber: #fbbf24;

  --grad-primary: linear-gradient(135deg, #9333ea 0%, #a855f7 48%, #38bdf8 100%);
  --grad-text: linear-gradient(120deg, #ffffff 0%, #e9d5ff 42%, #c084fc 72%, #7dd3fc 100%);
  --grad-border: linear-gradient(135deg, rgba(192, 132, 252, 0.55), rgba(56, 189, 248, 0.25), rgba(168, 85, 247, 0.12));

  --text-1: #f8fafc;
  --text-2: rgba(226, 232, 240, 0.82);
  --text-3: rgba(165, 180, 207, 0.68);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 32px rgba(168, 85, 247, 0.34), 0 12px 32px rgba(0, 0, 0, 0.45);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --container: 1220px;
  --nav-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.24), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 22%, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 12% 70%, rgba(168, 85, 247, 0.12), transparent 62%),
    var(--bg-0);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--neon-violet);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* Fondo animado de partículas voxel */
#voxel-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 35%, transparent 82%);
}

main, header, footer {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVEGACIÓN FIJA CON GLASSMORPHISM
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(6, 8, 16, 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .25s ease, box-shadow .25s ease;
}

.navbar.scrolled {
  background: rgba(6, 8, 16, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  border-bottom-color: rgba(168, 85, 247, 0.24);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.6px;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.55));
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #e9d5ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color .18s, background .18s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.22);
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.45);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(8, 11, 22, 0.96);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.28);
  padding: 18px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer.open {
  display: flex;
  animation: slideDown .22s ease;
}

.mobile-drawer a {
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.mobile-drawer a.active,
.mobile-drawer a:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BOTONES Y INSIGNIAS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, border-color .2s, background .2s;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left .55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:hover::before { left: 135%; }
.btn:hover { transform: translateY(-2px); border-color: rgba(192, 132, 252, 0.58); background: rgba(255, 255, 255, 0.11); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-primary);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 28px rgba(147, 51, 234, 0.42);
}
.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.58), 0 0 24px rgba(56, 189, 248, 0.32);
  filter: brightness(1.06);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 0.85rem; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.38);
  color: #e9d5ff;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-purple-bright);
  box-shadow: 0 0 10px var(--neon-purple-bright);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-2);
}
.tag.purple { background: rgba(168, 85, 247, 0.18); border-color: rgba(192, 132, 252, 0.42); color: #e9d5ff; }
.tag.cyan { background: rgba(56, 189, 248, 0.16); border-color: rgba(125, 211, 252, 0.40); color: #bae6fd; }
.tag.emerald { background: rgba(52, 211, 153, 0.16); border-color: rgba(110, 231, 183, 0.40); color: #a7f3d0; }
.tag.amber { background: rgba(251, 191, 36, 0.16); border-color: rgba(253, 224, 71, 0.40); color: #fde68a; }

/* ==========================================================================
   HERO SECTION — PRIMER IMPACTO
   ========================================================================== */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 88px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1.5px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Ventana flotante con captura REAL del launcher */
.hero-showcase {
  position: relative;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.36), rgba(56, 189, 248, 0.14) 48%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.06); opacity: 1; }
}

.launcher-frame {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.38);
  background: #0c101d;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 42px rgba(168, 85, 247, 0.24);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .35s ease;
}

.launcher-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 38px 92px rgba(0, 0, 0, 0.80),
    0 0 56px rgba(168, 85, 247, 0.36);
}

.launcher-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.frame-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(8, 11, 22, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-3);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(12, 16, 30, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(192, 132, 252, 0.38);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  animation: floatY 5.2s ease-in-out infinite;
}

.floating-chip.top-right { top: -16px; right: -12px; animation-delay: -1.4s; }
.floating-chip.bot-left { bottom: 26px; left: -18px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   SECCIONES COMUNES Y ENCABEZADOS
   ========================================================================== */
.section {
  padding: 86px 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 42px;
  max-width: 720px;
}

.section-head.center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.9px;
  line-height: 1.12;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--text-2);
}

/* Glass Card con borde interactivo */
.glass-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1), border-color .25s, background .25s, box-shadow .25s;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neon);
  background: var(--surface-hover);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   PRESENTACIÓN & BENTO DE CARACTERÍSTICAS (VARIADO)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }

.bento-card.accent-purple {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.22), rgba(14, 18, 34, 0.78));
}
.bento-card.accent-cyan {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(14, 18, 34, 0.78));
}
.bento-card.accent-emerald {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.17), rgba(14, 18, 34, 0.78));
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.38);
  color: #e9d5ff;
  flex-shrink: 0;
}
.feat-icon.cyan { background: rgba(56, 189, 248, 0.16); border-color: rgba(125, 211, 252, 0.38); color: #bae6fd; }
.feat-icon.emerald { background: rgba(52, 211, 153, 0.16); border-color: rgba(110, 231, 183, 0.38); color: #a7f3d0; }

.bento-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-2);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.check-list li::before {
  content: "✓";
  color: var(--neon-emerald);
  font-weight: 900;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN TIENDA INTEGRADA
   ========================================================================== */
.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.store-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.store-cat-btn {
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 20, 36, 0.68);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .2s ease;
}

.store-cat-btn:hover {
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateY(-2px);
}

.store-cat-btn.active {
  background: linear-gradient(145deg, rgba(147, 51, 234, 0.28), rgba(56, 189, 248, 0.14));
  border-color: var(--neon-purple-bright);
  box-shadow: 0 10px 26px rgba(147, 51, 234, 0.25);
}

.store-cat-btn strong { font-size: 0.98rem; color: #fff; }
.store-cat-btn span { font-size: 0.78rem; color: var(--text-3); }

.store-detail-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store-preview-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.34);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transition: transform .28s ease, box-shadow .28s ease;
}
.store-preview-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   SECCIÓN SKIN STUDIO (CON VISOR 3D WEBGL REAL INTERACTIVO)
   ========================================================================== */
.skin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.skin-stage-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.16), rgba(10, 14, 26, 0.88));
  border: 1px solid rgba(192, 132, 252, 0.38);
  box-shadow: var(--shadow-neon);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skin-canvas-box {
  position: relative;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(ellipse 75% 60% at 50% 42%, rgba(168, 85, 247, 0.22), rgba(56, 189, 248, 0.08) 48%, rgba(6, 9, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: grab;
}
.skin-canvas-box:active { cursor: grabbing; }
.skin-canvas-box canvas { width: 100%; height: 100%; display: block; }

.skin-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pill-switch button {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .16s;
}
.pill-switch button:hover { color: #fff; }
.pill-switch button.active {
  background: var(--grad-primary);
  color: #fff;
}

.skin-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-feature {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s, transform .2s;
}
.mini-feature:hover {
  border-color: rgba(192, 132, 252, 0.48);
  transform: translateY(-2px);
}
.mini-feature strong { font-size: 0.96rem; }
.mini-feature span { font-size: 0.84rem; color: var(--text-3); }

/* ==========================================================================
   GALERÍA INTERACTIVA CON CARRUSEL Y LIGHTBOX
   ========================================================================== */
.gallery-shell {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-stage {
  position: relative;
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: #070a13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity .28s ease, transform .3s ease;
}

.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 24, 0.78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  z-index: 3;
}
.gal-arrow:hover { background: var(--neon-violet); border-color: #e9d5ff; }
.gal-arrow.prev { left: 14px; }
.gal-arrow.next { right: 14px; }

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gal-thumb-btn {
  padding: 6px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .18s;
  text-align: left;
}
.gal-thumb-btn img {
  width: 68px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}
.gal-thumb-btn span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
  padding-right: 8px;
}
.gal-thumb-btn.active {
  border-color: var(--neon-purple-bright);
  background: rgba(168, 85, 247, 0.16);
}
.gal-thumb-btn.active span { color: #fff; }

/* ==========================================================================
   SECCIÓN DE DESCARGA HONESTA Y CLARA
   ========================================================================== */
.download-box {
  border-radius: var(--radius-lg);
  padding: 36px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(168, 85, 247, 0.24), transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(56, 189, 248, 0.14), transparent 65%),
    var(--surface-strong);
  border: 1px solid rgba(192, 132, 252, 0.36);
  box-shadow: var(--shadow-neon);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.code-block {
  position: relative;
  border-radius: 16px;
  background: rgba(4, 6, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #e9d5ff;
  overflow-x: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: rgba(168, 85, 247, 0.18);
  color: #f3e8ff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.copy-btn:hover { background: var(--neon-violet); color: #fff; }

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.req-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.req-item small { display: block; font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.req-item strong { font-size: 0.9rem; color: #fff; }

/* ==========================================================================
   PREGUNTAS FRECUENTES (ACORDEÓN)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--border-neon); }

.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--neon-purple-bright);
  transition: transform .22s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-a-inner {
  padding: 0 22px 18px;
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ==========================================================================
   LIGHTBOX Y FOOTER
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 6, 14, 0.94);
  backdrop-filter: blur(18px);
  display: none;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
}
.lightbox.open { display: flex; animation: fadeIn .2s ease; }

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 92%;
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 42px 0;
  background: rgba(5, 7, 14, 0.85);
}

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

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-3);
  max-width: 640px;
  line-height: 1.5;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(0.22, 1, 0.36, 1), transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Laptop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .store-layout,
  .skin-layout,
  .download-box {
    grid-template-columns: 1fr;
  }
  .launcher-frame { transform: none; }
  .floating-chip.top-right { right: 8px; top: -12px; }
  .floating-chip.bot-left { left: 8px; bottom: 12px; }
  .bento-span-7, .bento-span-5, .bento-span-8, .bento-span-4, .bento-span-6 {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .nav-links, .nav-actions .btn-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .bento-span-7, .bento-span-5, .bento-span-8, .bento-span-4, .bento-span-6 {
    grid-column: span 12;
  }
  .store-cats, .skin-features-grid, .req-grid {
    grid-template-columns: 1fr;
  }
  .gallery-stage { height: 300px; }
  .download-box { padding: 24px 20px; }
  .section { padding: 62px 0; }
  .floating-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   VERSIONES PUBLICADAS (GitHub Releases en vivo)
   ========================================================================== */
.release-list { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.release-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.release-item.is-latest { border-color: var(--border-neon); background: rgba(168, 85, 247, 0.10); }
.release-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.release-head strong { font-size: 0.98rem; color: #fff; }
.release-head small { color: var(--text-3); font-size: 0.74rem; }
.release-notes { color: var(--text-2); font-size: 0.82rem; line-height: 1.45; white-space: pre-line; margin: 0; }
.release-assets { display: flex; flex-wrap: wrap; gap: 8px; }
.release-assets a {
  font-size: 0.78rem; font-weight: 700; color: var(--neon-purple-bright);
  padding: 5px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-neon); text-decoration: none;
}
.release-assets a:hover { background: rgba(168, 85, 247, 0.18); }
.release-empty { color: var(--text-3); font-size: 0.85rem; margin: 0; }

.install-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }
.install-steps strong { color: #fff; }
