/* ============================================================
   NeaTech Games — Señal Centinela
   Sistema: carbón + un solo naranja-señal (#F15A29)
   Tipos: Outfit (humano) · JetBrains Mono (medido)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #0F0E0D;
  --bg2: #161514;
  --bg-card: rgba(32, 30, 28, 0.72);
  --bg-glass: rgba(245, 242, 237, 0.035);
  --border: rgba(245, 242, 237, 0.09);
  --senal: #F15A29;
  --senal-dark: #C8431B;
  --text: #F5F2ED;
  --text2: #9C9790;
  --text3: #6E6962;
  --crema: #DED8CC;
  --glow: 0 0 40px rgba(241, 90, 41, 0.10);
  --r: 14px;
  --rs: 8px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --t: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Retícula de puntos + una sola fuente de calidez */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(245,242,237,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 0; pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 900px 600px at 25% -10%, rgba(241,90,41,0.07) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* NAVBAR */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; backdrop-filter: blur(20px); background: rgba(15,14,13,0.85); border-bottom: 1px solid var(--border); transition: var(--t); }
.nav.scrolled { padding: 8px 0; background: rgba(15,14,13,0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo span { font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.logo span em { font-style: normal; color: var(--senal); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--t); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }
.hamburger svg { width: 24px; height: 24px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: var(--rs); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--t); cursor: pointer; border: none; font-family: inherit; }
.btn-fire { background: var(--senal); color: #FFF; box-shadow: 0 4px 24px rgba(241,90,41,0.25); }
.btn-fire:hover { background: var(--senal-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(241,90,41,0.35); }
.btn-ghost { background: var(--bg-glass); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(245,242,237,0.07); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn-outline { background: transparent; color: var(--senal); border: 1.5px solid var(--senal); }
.btn-outline:hover { background: rgba(241,90,41,0.08); transform: translateY(-2px); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 100px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  background: transparent; border: 1px solid var(--border); color: var(--crema);
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.14em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--senal); animation: pulse 2.4s infinite; box-shadow: 0 0 10px rgba(241,90,41,0.6); }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 700; line-height: 1.08; margin-bottom: 20px; letter-spacing: -0.01em; }
.hero h1 .grad { color: var(--senal); }
.hero p { font-size: 1.12rem; color: var(--text2); max-width: 520px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--text2); font-size: .88rem; }
.hero-perks { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text2); }
.perk .icon { width: 7px; height: 7px; border-radius: 50%; background: var(--senal); flex-shrink: 0; }

/* Monitor de señal — el latido del server */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-sphere {
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(245,242,237,0.10);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-sphere::before { content: ''; position: absolute; inset: 42px; border-radius: 50%; border: 1px solid rgba(245,242,237,0.07); }
.hero-sphere::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(241,90,41,0.06), transparent 65%);
}
.hero-sphere .pulso { width: 62%; position: relative; z-index: 2; }
.hero-sphere .pulso path {
  stroke: var(--senal); stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: latido 3.2s linear infinite;
  filter: drop-shadow(0 0 8px rgba(241,90,41,0.5));
}
@keyframes latido {
  0% { stroke-dashoffset: 320; opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  80% { stroke-dashoffset: 0; opacity: 0.25; }
  100% { stroke-dashoffset: 320; opacity: 0; }
}

.float-tag {
  position: absolute; background: var(--bg-card); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--rs);
  padding: 12px 18px; display: flex; align-items: center; gap: 10px;
  animation: floatTag 5s ease-in-out infinite; box-shadow: var(--glow);
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
}
a.float-tag { text-decoration: none !important; color: var(--text) !important; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s; }
a.float-tag:hover { border-color: rgba(241,90,41,0.4); box-shadow: 0 0 20px rgba(241,90,41,0.22); z-index: 10; }
.float-tag:nth-child(2) { top: 5%; right: -5%; animation-delay: 0s; }
.float-tag:nth-child(3) { bottom: 25%; left: -8%; animation-delay: 0.7s; }
.float-tag:nth-child(4) { bottom: 0; right: 5%; animation-delay: 1.4s; }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ft-dot { width: 8px; height: 8px; border-radius: 50%; }
.ft-dot.on { background: var(--senal); box-shadow: 0 0 8px rgba(241,90,41,0.7); animation: pulse 2.4s infinite; }
.ft-dot.or { background: var(--crema); }
.ft-dot.pk { background: var(--text3); }

/* Trust bar */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(245,242,237,0.02); }
.trust-bar .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; padding: 18px 24px; text-align: center; }
.trust-item { color: var(--text2); font-size: .92rem; }
.trust-item strong { color: var(--text); font-family: var(--mono); font-weight: 700; }
.trust-item strong.senal { color: var(--senal); }

/* SECTIONS */
section { padding: 100px 0; position: relative; z-index: 1; }
.slabel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--senal); margin-bottom: 16px; }
.slabel .line { width: 28px; height: 1px; background: var(--senal); }
.stitle { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
.ssub { font-size: 1.05rem; color: var(--text2); max-width: 600px; }
.sheader { text-align: center; margin-bottom: 64px; }
.sheader .ssub { margin: 0 auto; }

/* GAME CARDS */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.game-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; transition: var(--t); position: relative; overflow: hidden; cursor: pointer; text-decoration: none; color: var(--text); display: block;
}
.game-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--senal); opacity: 0; transition: var(--t); }
.game-card:hover { transform: translateY(-6px); border-color: rgba(241,90,41,0.25); box-shadow: var(--glow); }
.game-card:hover::before { opacity: 1; }
.game-card .emoji { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.game-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.game-card .meta { font-family: var(--mono); font-size: 0.7rem; color: var(--text3); letter-spacing: 0.02em; }
.game-card .price { display: block; margin: 10px 0 2px; font-family: var(--mono); font-weight: 700; color: var(--senal); font-size: .88rem; }
.game-card .go { display: inline-flex; align-items: center; gap: 4px; color: var(--senal); font-weight: 600; font-size: 0.85rem; margin-top: 10px; transition: var(--t); }
.game-card:hover .go { gap: 8px; }

/* CATEGORY CARDS */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 36px; transition: var(--t); position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--senal); opacity: 0; transition: var(--t); }
.cat-card:hover { transform: translateY(-5px); border-color: rgba(241,90,41,0.2); box-shadow: var(--glow); }
.cat-card:hover::before { opacity: 1; }
.cat-card .icon {
  width: 52px; height: 52px; border-radius: var(--rs);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 16px; border: 1px solid var(--border); color: var(--senal);
  background: rgba(241,90,41,0.05);
}
.cat-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.cat-card p { color: var(--text2); font-size: 0.93rem; line-height: 1.6; margin-bottom: 16px; }
.cat-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { padding: 3px 10px; border-radius: 5px; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; background: rgba(245,242,237,0.04); color: var(--text3); border: 1px solid rgba(245,242,237,0.07); }
a.tag { text-decoration: none !important; color: var(--text3) !important; cursor: pointer; transition: var(--t); display: inline-block; }
a.tag:hover { background: rgba(241,90,41,0.10); color: var(--senal) !important; border-color: rgba(241,90,41,0.3); }
.cat-link { display: inline-flex; align-items: center; gap: 6px; color: var(--senal); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--t); margin-top: auto; }
.cat-link:hover { gap: 10px; }

/* FEATURES */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; text-align: center; transition: var(--t);
}
.feat:hover { background: rgba(245,242,237,0.05); transform: translateY(-3px); border-color: rgba(241,90,41,0.25); }
.feat .fi { font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: var(--crema); margin-bottom: 12px; display: block; letter-spacing: 0.06em; }
.feat .fi::after { content: '.'; color: var(--senal); }
.feat h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 0.82rem; color: var(--text2); }

/* HIGHLIGHT BOX */
.highlight {
  background: linear-gradient(135deg, rgba(241,90,41,0.06), rgba(245,242,237,0.02));
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.highlight h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.highlight p { color: var(--text2); font-size: 1rem; margin-bottom: 24px; line-height: 1.7; }
.highlight ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.highlight li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--text2); }
.highlight li .ch { color: var(--senal); flex-shrink: 0; font-family: var(--mono); }

/* CTA */
.cta { text-align: center; padding: 72px 48px; border-radius: var(--r); background: linear-gradient(180deg, rgba(241,90,41,0.07), rgba(245,242,237,0.02)); border: 1px solid var(--border); position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,242,237,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 14px; position: relative; }
.cta p { color: var(--text2); font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; }
.cta-btns { display: flex; gap: 16px; justify-content: center; position: relative; }

/* FOOTER */
footer { padding: 56px 0 28px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand p { color: var(--text2); font-size: 0.88rem; margin-top: 14px; max-width: 260px; line-height: 1.6; }
footer h5 { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; color: var(--text3); }
.flinks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.flinks a { color: var(--text2); text-decoration: none; font-size: 0.88rem; transition: var(--t); }
.flinks a:hover { color: var(--senal); }
.foot-bottom { padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.foot-bottom p { color: var(--text3); font-size: 0.78rem; }
.foot-bottom a { color: var(--senal); text-decoration: none; }

/* RESPONSIVE */
@media (max-width:1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions,.hero-perks { justify-content: center; }
  .hero-visual { display: none; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .highlight { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px) {
  .nav-links { display: none; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,14,13,0.98); backdrop-filter: blur(20px); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .hamburger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .highlight { padding: 28px 20px; }
  .cta { padding: 40px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width:480px) { .games-grid { grid-template-columns: 1fr; } }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
