/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #3b82f6;
  --orange-dark: #2563eb;
  --orange-light: #60a5fa;
  --orange-glow: rgba(59,130,246,0.35);
  --bg: #080808;
  --bg2: #0c0c0c;
  --bg3: #101010;
  --card: #111111;
  --card2: #161616;
  --border: rgba(255,255,255,0.07);
  --border-orange: rgba(59,130,246,0.25);
  --text: #d1d1d1;
  --muted: #555;
  --white: #ffffff;
  --discord: #5865f2;
  --discord-dark: #404eed;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-glow: rgba(59,130,246,0.35);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* scroll suave */
::selection { background: var(--orange); color: #000; }

/* animación de entrada */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 34px; width: auto; filter: drop-shadow(0 0 8px rgba(59,130,246,0.3)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 16px;
  border-radius: 99px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); background: rgba(59,130,246,0.12); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-store:hover {
  background: rgba(59,130,246,0.1);
  border-color: var(--orange);
  box-shadow: 0 0 16px rgba(59,130,246,0.15);
}
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--bg);
}

/* fondo: gradiente naranja desde arriba */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* grid de puntos */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59,130,246,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 740px;
  width: 100%;
  animation: fadeUp 0.9s ease both;
}

/* anillo de pulso debajo del logo */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}
.hero-logo-wrap::before,
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.3);
  animation: pulse-ring 2.4s ease-out infinite;
}
.hero-logo-wrap::after { animation-delay: 1.2s; }
.hero-logo {
  height: 110px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 32px rgba(59,130,246,0.5));
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 .orange {
  color: var(--orange);
  text-shadow: 0 0 40px rgba(59,130,246,0.6);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #000;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 0 0 var(--orange-glow);
  position: relative;
  overflow: hidden;
}
.btn-connect::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.btn-connect:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.45);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.35);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-discord:hover {
  background: rgba(88,101,242,0.25);
  border-color: var(--discord);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(88,101,242,0.25);
}

/* Stats */
.hero-stats {
  display: inline-flex;
  align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.stat-box { display: flex; align-items: center; gap: 12px; padding: 16px 28px; }
.stat-box-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-box-icon.orange { background: rgba(59,130,246,0.15); color: var(--orange); }
.stat-box-icon.purple { background: rgba(88,101,242,0.15); color: var(--discord); }
.stat-box-info { text-align: left; }
.stat-main { display: flex; align-items: baseline; gap: 7px; }
.stat-n { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.stat-slash { font-size: 0.82rem; color: var(--muted); }
.stat-green { font-size: 0.68rem; font-weight: 700; color: #22c55e; letter-spacing: 0.05em; }
.stat-l { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ============================
   SHARED SECTION
   ============================ */
.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 52px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
section h2 .orange { color: var(--orange); }

/* ============================
   FEATURES
   ============================ */
.features {
  padding: 120px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.3), transparent);
}
.features-inner { max-width: 1140px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.1);
}
.feature-card:hover::before,
.feature-card:hover::after { opacity: 1; }

.feat-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: background 0.3s, box-shadow 0.3s;
}
.feature-card:hover .feat-icon-wrap {
  background: rgba(59,130,246,0.18);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p  { font-size: 0.845rem; color: var(--muted); line-height: 1.65; }

/* ============================
   STATS BAND
   ============================ */
.stats-band {
  padding: 60px 24px;
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(59,130,246,0.02) 50%, rgba(59,130,246,0.06) 100%);
  border-top: 1px solid var(--border-orange);
  border-bottom: 1px solid var(--border-orange);
}
.stats-band-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.band-stat {
  text-align: center;
  padding: 20px;
  position: relative;
}
.band-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.band-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(59,130,246,0.4);
}
.band-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================
   FAQ
   ============================ */
.faq-section {
  padding: 120px 24px;
  background: var(--bg2);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.25), transparent);
}
.faq-inner { max-width: 820px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s, border-color 0.2s, color 0.2s, background 0.2s;
  font-style: normal;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(59,130,246,0.1);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 22px; }
.faq-a p  { color: var(--muted); font-size: 0.875rem; line-height: 1.75; margin-bottom: 8px; }
.faq-a ol { color: var(--muted); font-size: 0.875rem; line-height: 1.75; padding-left: 18px; }
.faq-a li { margin-bottom: 4px; }
.faq-a code { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); padding: 2px 7px; border-radius: 4px; font-size: 0.82rem; color: var(--orange); font-family: monospace; }
.faq-a strong { color: var(--text); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: inherit;
  background: none;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(59,130,246,0.05);
}

/* ============================
   KEYBOARD
   ============================ */
.keyboard-section {
  padding: 120px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.keyboard-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.keyboard-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.keyboard-inner p.kb-desc {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: -36px;
  margin-bottom: 52px;
  max-width: 520px;
  line-height: 1.7;
}

.kb-container { position: relative; user-select: none; }

.keyboard-wrap {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
}
.kb-row { display: flex; gap: 5px; align-items: center; }
.kb-row-f { gap: 5px; }
.key-gap { width: 22px; flex-shrink: 0; }

.key {
  position: relative;
  min-width: 40px; height: 40px;
  background: #1a1a1a;
  border: 1px solid #252525;
  border-bottom: 3px solid #0a0a0a;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 600; color: #444;
  cursor: default;
  transition: all 0.15s;
  flex-shrink: 0;
}
.key.key-sm { min-width: 30px; }
.key.wide-15 { min-width: 58px; }
.key.wide-2  { min-width: 76px; }
.key.wide-25 { min-width: 92px; }
.key.wide-3  { min-width: 112px; }
.key.wide-7  { flex: 1; }

.key.active { color: #888; cursor: pointer; }
.key.active::before {
  content: '';
  position: absolute;
  top: 5px; right: 5px;
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--orange);
}
.key.active:hover,
.key.active.kb-selected {
  background: #222;
  border-color: rgba(59,130,246,0.5);
  border-bottom-color: rgba(59,130,246,0.2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.key.active.kb-selected {
  background: rgba(59,130,246,0.1);
  border-color: var(--orange);
  border-bottom-color: rgba(59,130,246,0.3);
  color: var(--orange);
  box-shadow: 0 0 20px rgba(59,130,246,0.25), 0 4px 16px rgba(0,0,0,0.4);
}

/* panel flotante */
.kb-panel {
  position: absolute;
  top: 50%; right: -4px;
  transform: translateY(-50%);
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 20;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.kb-panel.visible { opacity: 1; pointer-events: auto; }
.kb-panel-key {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-size: 0.72rem; font-weight: 800;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.kb-panel-label { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em; }
.kb-panel-action { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.82rem; }
.kb-panel-icon { font-size: 1rem; flex-shrink: 0; }
.kb-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; overflow: visible; }

/* ============================
   COMMUNITY
   ============================ */
.community { padding: 80px 24px; background: var(--bg2); position: relative; overflow: hidden; }
.community-inner { max-width: 1000px; margin: 0 auto; }
.community-card {
  background: linear-gradient(135deg, #0d1035 0%, #141a50 40%, #0c1130 100%);
  border: 1px solid rgba(88,101,242,0.2);
  border-radius: 24px;
  padding: 56px 48px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.community-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88,101,242,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.community-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(88,101,242,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.community-top { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 32px; position: relative; z-index: 1; }
.community-discord-icon {
  width: 60px; height: 60px;
  background: var(--discord);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(88,101,242,0.4);
}
.community-separator { width: 3px; height: 22px; background: var(--discord); border-radius: 2px; margin-bottom: 6px; }
.community-heading h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.community-heading h2 .orange { color: var(--orange); }
.community-heading p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 500px; }

.btn-discord-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--discord); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  padding: 14px 30px; border-radius: 12px;
  margin-bottom: 40px; position: relative; z-index: 1;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(88,101,242,0.3);
}
.btn-discord-big:hover {
  background: var(--discord-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(88,101,242,0.45);
}

.community-perks { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; position: relative; z-index: 1; }
.perk-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 20px 18px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.perk-card:hover { border-color: rgba(88,101,242,0.35); background: rgba(88,101,242,0.06); }
.perk-icon-wrap {
  width: 36px; height: 36px;
  background: rgba(88,101,242,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.perk-text h4 { font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.perk-text p  { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ============================
   MODAL
   ============================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 2000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 40px;
  max-width: 460px; width: 90%; text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  animation: fadeUp 0.3s ease both;
}
.modal h3 { font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.modal p { color: var(--muted); margin-bottom: 16px; font-size: 0.875rem; }
.copy-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px; padding: 12px 14px;
  margin-bottom: 14px; justify-content: space-between;
}
.copy-box code { font-size: 0.875rem; color: var(--orange); font-family: monospace; }
.copy-box button {
  background: var(--orange); border: none; color: #000;
  font-weight: 700; padding: 6px 14px; border-radius: 6px;
  cursor: pointer; font-size: 0.78rem; flex-shrink: 0;
  transition: background 0.2s; font-family: inherit;
}
.copy-box button:hover { background: var(--orange-dark); }
.modal-note { font-size: 0.82rem; color: var(--muted); }
.modal-close {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text); font-size: 0.85rem; font-weight: 600;
  padding: 9px 22px; border-radius: 8px; cursor: pointer;
  margin-top: 18px; transition: background 0.2s; font-family: inherit;
}
.modal-close:hover { background: rgba(255,255,255,0.09); }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(59,130,246,0.25)); }
.footer-brand p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; max-width: 200px; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; color: #444; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; max-width: 1140px; margin: 0 auto; }
.footer-bottom p { font-size: 0.75rem; color: #333; }

/* ============================
   PAGES
   ============================ */
.page-hero {
  padding: 120px 24px 60px; text-align: center;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 70%), var(--bg);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--white); margin-bottom: 10px; letter-spacing: -0.025em; }
.page-hero p { color: var(--muted); font-size: 0.95rem; }
.page-content { max-width: 860px; margin: 0 auto; padding: 56px 24px 100px; }

/* Rules */
.rules-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.rules-nav a { font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); transition: all 0.2s; }
.rules-nav a:hover, .rules-nav a.active { background: var(--orange); color: #000; border-color: var(--orange); }
.rules-article h1 { font-size: 1.7rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.rules-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.rules-article h2 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--border); text-align: left; }
.rules-article h3 { font-size: 0.95rem; font-weight: 700; color: var(--orange); margin: 22px 0 8px; text-align: left; }
.rules-article p { font-size: 0.875rem; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.rules-article ul, .rules-article ol { padding-left: 18px; margin-bottom: 14px; }
.rules-article li { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.rules-article strong { color: var(--text); }
.rules-article code { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); padding: 2px 6px; border-radius: 4px; font-size: 0.82rem; color: var(--orange); }
.next-page { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 22px; color: var(--text); font-weight: 600; font-size: 0.875rem; transition: border-color 0.2s, color 0.2s; }
.next-page:hover { border-color: var(--orange); color: var(--orange); }

/* FAQ page filters */
.faq-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.faq-filter { background: var(--card); border: 1px solid var(--border); color: var(--muted); font-size: 0.82rem; font-weight: 600; padding: 7px 18px; border-radius: 99px; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.faq-filter:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }
.faq-filter.active { background: var(--orange); color: #000; border-color: var(--orange); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; }
.gallery-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; transition: border-color 0.2s, transform 0.2s; }
.gallery-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-4px); }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-inner { grid-template-columns: repeat(2,1fr); }
  .band-stat:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .community-perks { grid-template-columns: 1fr; }
  .community-card { padding: 36px 28px; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8,8,8,0.99);
    border-bottom: 1px solid var(--border);
    border-radius: 0; padding: 12px;
    flex-direction: column; gap: 2px;
    z-index: 999;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a { border-radius: 8px; padding: 12px 16px; width: 100%; }
  .nav-toggle { display: block; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 80%; height: 1px; align-self: center; }
  .stat-box { padding: 14px 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================
   TICKER
   ============================ */
.ticker-section {
  background: var(--bg);
  border-top: 1px solid rgba(59,130,246,0.12);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-section::before,
.ticker-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-section::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-section::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.ticker-track { overflow: hidden; }
.ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerMove 28s linear infinite;
  padding-right: 32px;
}
.ticker-inner span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.ticker-inner span:not(.ticker-dot):hover { color: var(--orange); transition: color 0.2s; }
.ticker-dot { color: rgba(59,130,246,0.4) !important; font-size: 1rem !important; }
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================
   FEATURE BADGE
   ============================ */
.feat-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ============================
   GLOW LINE separadora entre secciones
   ============================ */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.3), transparent);
}

/* ============================
   FEATURES inner h2 margin fix
   ============================ */
.features-inner > .section-tag { display: block; }
.features-inner > h2 { margin-bottom: 40px; }

/* ============================
   FAQ inner
   ============================ */
.faq-inner > .section-tag { display: block; }

/* ============================
   KEYBOARD inner
   ============================ */
.keyboard-inner > .section-tag { display: block; }
.keyboard-inner > h2 { margin-bottom: 12px; }

/* keyboard header en línea */
.kb-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.kb-header h2 { margin-bottom: 0; }
.kb-header .kb-desc {
  margin: 0;
  max-width: 380px;
  text-align: right;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .kb-header { flex-direction: column; align-items: flex-start; }
  .kb-header .kb-desc { text-align: left; max-width: 100%; }
}

/* ============================
   FAQ ANIMACIÓN FLUIDA
   ============================ */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  opacity: 0;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 22px 22px;
  opacity: 1;
}
.faq-q {
  transition: color 0.2s ease, background 0.2s ease;
}
.faq-icon, .faq-chevron {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s ease,
              border-color 0.2s ease,
              background 0.2s ease !important;
}
.faq-item {
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease !important;
}
