/* ════════════════════════════════════════════════════════════════
   HostPlayers · REDISEÑO 2026 · gaming / cyberpunk moderno
   Tema completo · sobreescribe el look. Cargar al final (gana cascada).
   Paleta: negro profundo + violeta neón + cyan + magenta
   ════════════════════════════════════════════════════════════════ */

:root {
  --hp-bg:        #07080f;
  --hp-bg-2:      #0b0d18;
  --hp-surface:   rgba(18,20,38,.55);
  --hp-violet:    #8b5cf6;
  --hp-violet-2:  #a855f7;
  --hp-cyan:      #22d3ee;
  --hp-magenta:   #ec4899;
  --hp-lime:      #a3e635;
  --hp-ink:       #eef0ff;
  --hp-muted:     #8b93b8;
  --hp-line:      rgba(139,92,246,.18);
  --hp-glow-v:    rgba(139,92,246,.55);
  --hp-glow-c:    rgba(34,211,238,.45);
}

/* ── Base ── */
body {
  background: var(--hp-bg) !important;
  color: var(--hp-ink) !important;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Fondo aurora gaming (reemplaza el del tech-fx con tonos neón) */
.hpfx-aurora { background: var(--hp-bg) !important; }
.hpfx-aurora::before {
  background:
    radial-gradient(ellipse 50% 45% at 18% 12%, rgba(139,92,246,.30), transparent 60%) !important,
    radial-gradient(ellipse 45% 40% at 85% 20%, rgba(34,211,238,.20), transparent 60%) !important,
    radial-gradient(ellipse 55% 50% at 60% 92%, rgba(236,72,153,.16), transparent 65%) !important;
}
.hpfx-grid {
  background-image:
    linear-gradient(to right, rgba(139,92,246,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139,92,246,.06) 1px, transparent 1px) !important;
}

/* ════ NAVBAR ════ */
.navbar {
  background: rgba(7,8,15,.72) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom: 1px solid var(--hp-line) !important;
}
.navbar .nav-link { color: var(--hp-muted) !important; font-weight: 500; transition: color .2s, text-shadow .2s; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--hp-ink) !important; text-shadow: 0 0 12px var(--hp-glow-c); }
.navbar .nav-link.active::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--hp-violet), var(--hp-cyan)); border-radius: 2px;
}

/* ════ HERO ════ */
.hero {
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 120px 0 90px;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important; text-transform: uppercase;
  font-size: clamp(2.8rem, 8vw, 6.5rem) !important; line-height: .95 !important;
  letter-spacing: -.01em; margin-bottom: .35em !important;
  background: linear-gradient(115deg, #fff 10%, var(--hp-cyan) 38%, var(--hp-violet-2) 60%, #fff 90%) !important;
  background-size: 240% auto !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  filter: drop-shadow(0 0 40px rgba(139,92,246,.35));
  animation: hp2026Shine 7s linear infinite;
}
@keyframes hp2026Shine { to { background-position: 240% center; } }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem) !important; color: var(--hp-muted) !important;
  max-width: 640px; margin: 0 auto 2.2rem !important; line-height: 1.6;
}

/* ════ BOTONES gaming (clip angular + glow) ════ */
.btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.05rem; padding: .8rem 2rem !important;
  border-radius: 4px !important; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 94% 100%, 0 100%);
  transition: transform .15s, box-shadow .25s, filter .2s !important;
}
.btn-primary {
  background: linear-gradient(135deg, var(--hp-violet), var(--hp-violet-2)) !important;
  border: none !important; color: #fff !important;
  box-shadow: 0 0 30px -6px var(--hp-glow-v), inset 0 0 0 1px rgba(255,255,255,.15) !important;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 8px 40px -6px var(--hp-glow-v) !important; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn-primary:hover::before { left: 150%; }
.btn-outline-light {
  background: rgba(34,211,238,.04) !important; backdrop-filter: blur(8px);
  border: 1px solid rgba(34,211,238,.4) !important; color: var(--hp-cyan) !important;
}
.btn-outline-light:hover {
  border-color: var(--hp-cyan) !important; color: #fff !important;
  box-shadow: 0 0 30px -6px var(--hp-glow-c) !important; transform: translateY(-2px);
}
.btn-game-card, .btn-sm { clip-path: none; border-radius: 6px !important; }

/* ════ STATS ════ */
.stats-section { padding: 40px 0; }
.stat-box {
  background: var(--hp-surface) !important; backdrop-filter: blur(12px);
  border: 1px solid var(--hp-line) !important; border-radius: 14px !important;
  padding: 28px 18px !important; text-align: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .25s !important;
}
.stat-box:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.45) !important; box-shadow: 0 20px 50px -18px var(--hp-glow-c) !important; }
.stat-value {
  font-family: 'Barlow Condensed', sans-serif !important; font-weight: 800 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  background: linear-gradient(135deg, var(--hp-cyan), var(--hp-violet-2)) !important;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none !important; filter: drop-shadow(0 0 18px var(--hp-glow-c));
}
.stat-label { color: var(--hp-muted) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; margin-top: 6px; }

/* ════ TÍTULOS DE SECCIÓN ════ */
.games-title, .features-title, .faq-title, .section-title {
  font-family: 'Barlow Condensed', sans-serif !important; font-weight: 800 !important;
  text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem) !important;
  text-align: center; letter-spacing: -.01em;
  background: linear-gradient(115deg, #fff, var(--hp-cyan), var(--hp-violet-2)) !important;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.games-sub, .features-sub { color: var(--hp-muted) !important; text-align: center; max-width: 620px; margin: 8px auto 40px; }

/* ════ GAME CARDS (lo más gaming) ════ */
.games-section, .features-section, .faq-section, .cta-section { padding: 80px 0; position: relative; }
.game-card {
  position: relative; border-radius: 16px !important; overflow: hidden;
  border: 1px solid var(--hp-line) !important; background: var(--hp-bg-2) !important;
  aspect-ratio: 3/4; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s !important;
}
.game-card:hover {
  transform: translateY(-8px); border-color: var(--hp-violet) !important;
  box-shadow: 0 30px 70px -20px var(--hp-glow-v), 0 0 0 1px var(--hp-violet) !important;
}
.game-card-bg, .game-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, filter .4s; filter: saturate(.9) brightness(.7);
}
.game-card:hover .game-card-bg, .game-card:hover .game-img { transform: scale(1.08); filter: saturate(1.2) brightness(.85); }
.game-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,8,15,.96) 8%, rgba(7,8,15,.4) 50%, transparent 100%);
}
.game-card-content, .game-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 2;
}
.game-info h3, .game-card-content h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: 1.5rem; color: #fff; margin-bottom: 6px; letter-spacing: .01em;
}
.game-price {
  display: inline-block; font-family: 'Roboto Mono', monospace; font-weight: 600;
  color: var(--hp-cyan); font-size: 1.1rem; margin: 6px 0 14px; text-shadow: 0 0 14px var(--hp-glow-c);
}
.game-feature { color: var(--hp-muted); font-size: .82rem; display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.game-feature i { color: var(--hp-violet-2); }

/* ════ FEATURE CARDS ════ */
.feature-card {
  background: var(--hp-surface) !important; backdrop-filter: blur(12px);
  border: 1px solid var(--hp-line) !important; border-radius: 16px !important;
  padding: 32px 26px !important; height: 100%;
  transition: transform .25s, border-color .25s, box-shadow .25s !important;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.45) !important; box-shadow: 0 22px 55px -20px var(--hp-glow-c) !important; }
.feature-icon {
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 1.5rem; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--hp-violet), var(--hp-cyan));
  box-shadow: 0 8px 28px -8px var(--hp-glow-v);
}
.feature-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.feature-text { color: var(--hp-muted); line-height: 1.6; font-size: .92rem; }

/* ════ FAQ ════ */
.faq-item {
  background: var(--hp-surface) !important; border: 1px solid var(--hp-line) !important;
  border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(139,92,246,.4) !important; }
.faq-question { padding: 18px 22px !important; font-weight: 600; color: var(--hp-ink) !important; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { color: var(--hp-cyan); transition: transform .3s; }
.faq-answer { padding: 0 22px 18px; color: var(--hp-muted); line-height: 1.6; }

/* ════ CTA section ════ */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(139,92,246,.12), transparent 70%);
}

/* ════ FOOTER ════ */
footer, .footer {
  background: var(--hp-bg-2) !important; border-top: 1px solid var(--hp-line) !important;
  color: var(--hp-muted) !important;
}

/* Beam neón superior en cada sección grande */
.games-section::before, .features-section::before, .faq-section::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(70%, 800px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--hp-violet), var(--hp-cyan), transparent);
  opacity: .6;
}
