/* ═══════════════════════════════════════
   HEXAURON — STYLE SHEET
   Dark Fantasy Game Studio
   Paleta: Amarillo #FFE600 / Negro #0A0A0A
═══════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────── */
:root {
  --yellow:     #FFE600;
  --yellow-dim: #C8B800;
  --yellow-glow: rgba(255,230,0,0.3);
  --yellow-faint: rgba(255,230,0,0.08);
  --black:      #000000;
  --dark:       #0A0A0A;
  --dark-2:     #111111;
  --dark-3:     #1A1A1A;
  --dark-4:     #222222;
  --grey:       #555555;
  --grey-light: #888888;
  --white:      #FFFFFF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }

/* ─── SELECTION ──────────────────────── */
::selection { background: var(--yellow); color: var(--black); }

/* ─── SCROLLBAR ──────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ─── CONTAINER ──────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── ACCENT ─────────────────────────── */
.accent { color: var(--yellow); }

/* ═══════════════════════════════════════
   CURSOR — Mira de francotirador futurista
   Idle:  crosshair abierto + pulso suave
   Hover: zoom-in / lock-on como sniper
   Click: disparo — contracción + expansión
═══════════════════════════════════════ */

/* ── Punto central ─────────────────── */
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--yellow);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease,
              opacity 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 6px rgba(255,230,0,0.8);
  will-change: transform;
}

/* ── Cuerpo principal de la mira ───── */
.cursor-ring {
  width: 52px; height: 52px;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  /* transition solo para width/height/opacity;
     el movimiento x/y lo maneja JS sin transition */
  transition:
    width  0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    filter  0.3s ease;
  opacity: 0.85;
  will-change: transform, width, height;
}

/* Anillo exterior (borde de la mira) */
.cursor-ring::before {
  content: '';
  position: absolute; inset: 0;
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  opacity: 0.6;
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* Las 4 líneas de la cruz con hueco central */
.cursor-ring::after {
  content: '';
  position: absolute; inset: 0;
  /* Las líneas dejan un gap en el centro del 30%
     para el efecto de mira táctica */
  background:
    /* horizontal izq → gap → der */
    linear-gradient(to right,
      var(--yellow) 0%,   var(--yellow) 28%,
      transparent 28%,    transparent 72%,
      var(--yellow) 72%,  var(--yellow) 100%
    ) center / 100% 1.5px no-repeat,
    /* vertical top → gap → bot */
    linear-gradient(to bottom,
      var(--yellow) 0%,   var(--yellow) 28%,
      transparent 28%,    transparent 72%,
      var(--yellow) 72%,  var(--yellow) 100%
    ) center / 1.5px 100% no-repeat;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

/* ── Idle — pulso lento ─────────────── */
@keyframes scopeIdle {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255,230,0,0.3)); }
  50%       { filter: drop-shadow(0 0 6px rgba(255,230,0,0.6)); }
}
.cursor-ring { animation: scopeIdle 3s ease-in-out infinite; }

/* ── HOVER: zoom-in de sniper ───────── */
/*
  La mira se contrae (zoom-in) y el glow
  aumenta, simulando que el scope "enfoca".
  El punto central crece como el retículo.
*/
body.cursor-hover .cursor-ring {
  /* Más pequeño = zoom-in / más cerca del objetivo */
  width: 28px; height: 28px;
  opacity: 1;
  animation: scopeLock 0.55s ease-in-out infinite;
}
body.cursor-hover .cursor-ring::before {
  opacity: 1;
  /* Pequeño scale-up del anillo = pulso de lock */
  transform: scale(1.08);
}
body.cursor-hover .cursor-ring::after {
  opacity: 1;
}

@keyframes scopeLock {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px rgba(255,230,0,0.7))
      drop-shadow(0 0 1px rgba(255,230,0,1));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(255,230,0,0.9))
      drop-shadow(0 0 3px rgba(255,230,0,1))
      drop-shadow(0 0 1px #fff);
  }
}

/* Punto central: crece y brilla al hacer aim */
body.cursor-hover .cursor-dot {
  width: 6px; height: 6px;
  box-shadow:
    0 0 0 1px rgba(255,230,0,0.4),
    0 0 10px rgba(255,230,0,0.9),
    0 0 4px #fff;
}

/* ── CLICK: disparo ─────────────────── */
/*
  Contracción rápida → expansión → retorno.
  Como el retroceso de un disparo de sniper.
*/
body.cursor-click .cursor-ring {
  animation: scopeShoot 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
body.cursor-click .cursor-dot {
  animation: dotShoot 0.35s ease-out forwards;
}

@keyframes scopeShoot {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  20%  { transform: translate(-50%, -50%) scale(0.5);  opacity: 1;
         filter: drop-shadow(0 0 16px rgba(255,230,0,1)); }
  60%  { transform: translate(-50%, -50%) scale(1.5);  opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.85; }
}
@keyframes dotShoot {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
  20%  { transform: translate(-50%,-50%) scale(3);   opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
}

/* ── Mobile: cursor nativo ──────────── */
@media (pointer: coarse) or (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
  body   { cursor: auto; }
  button { cursor: pointer; }
  a      { cursor: pointer; }
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,230,0,0.15);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-icon { width: 36px; height: 36px; filter: drop-shadow(0 0 6px var(--yellow-glow)); }
.nav-wordmark { height: 16px; width: auto; opacity: 0.95; }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 8px 16px;
  position: relative;
  color: var(--grey-light);
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--yellow);
  transition: left 0.3s, right 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { left: 16px; right: 16px; }
.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white) !important; }
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--yellow);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  background: rgba(0,0,0,0.96);
  border-bottom: 1px solid rgba(255,230,0,0.15);
}
.nav-mobile.open { display: flex; }
.mob-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-3);
  color: var(--grey-light);
  transition: color 0.2s, padding-left 0.2s;
}
.mob-link:hover { color: var(--yellow); padding-left: 8px; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}
#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hex-grid-bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 30px, rgba(255,230,0,0.02) 30px, rgba(255,230,0,0.02) 31px),
    repeating-linear-gradient(120deg, transparent, transparent 30px, rgba(255,230,0,0.02) 30px, rgba(255,230,0,0.02) 31px);
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* ── Columna de texto ────────────────── */
.hero-text { display: flex; flex-direction: column; }

/* ── Columna visual ──────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-glow {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse at center,
    rgba(200,220,255,0.10) 0%,
    rgba(255,255,255,0.05) 40%,
    transparent 70%);
  border-radius: 50%;
  animation: heroGlow 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlow {
  0%,100% { transform: scale(1);   opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.hero-mask-rotator {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  aspect-ratio: 1;
}
.hero-mask-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.7))
          drop-shadow(0 0 50px rgba(200,220,255,0.4))
          drop-shadow(0 0 90px rgba(180,200,255,0.2));
  will-change: transform, opacity;
  pointer-events: none;
}

/* Primera imagen: entra desde arriba y flota */
.hero-mask-img.active {
  animation: maskDropIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             heroFloat 6s 0.7s ease-in-out infinite;
}

/* Rotaciones siguientes: cae desde arriba */
.hero-mask-img.dropping {
  animation: maskDropIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             heroFloat 6s 0.65s ease-in-out infinite;
}

/* Salida: sube y desaparece */
.hero-mask-img.leaving {
  animation: maskLeave 0.35s ease-in forwards;
}

@keyframes maskDropIn {
  0%   { opacity: 0; transform: translateY(-120px) scale(0.88); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0)     scale(1); }
}

@keyframes maskLeave {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(40px) scale(0.95); }
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.eyebrow-line {
  display: block; height: 1px; width: 60px;
  background: var(--yellow);
  animation: expandLine 1s 0.5s forwards;
  transform-origin: left;
  transform: scaleX(0);
}
.eyebrow-line:last-child { transform-origin: right; }
@keyframes expandLine { to { transform: scaleX(1); } }
.eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 6px;
  color: var(--yellow);
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 24px;
  display: flex; flex-direction: column;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s forwards;
}
.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.6s; text-shadow: 0 0 40px var(--yellow-glow); }
.title-line:nth-child(3) { animation-delay: 0.8s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--grey-light);
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
  letter-spacing: 1px;
}
.hero-actions {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
}
.stat { padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow);
  line-height: 1;
}
.stat-num::after { content: '+'; font-size: 1.5rem; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--grey);
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--dark-4);
  margin-right: 32px;
}
.hero-scroll-hint {
  position: absolute; bottom: 40px; right: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 3px; color: var(--grey);
  animation: fadeIn 1s 2s both;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.scroll-arrow {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  position: relative;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-primary:hover { box-shadow: 0 0 32px var(--yellow-glow); transform: translateY(-2px); }
.btn-primary.sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-faint);
}
.btn-ghost.sm { padding: 10px 20px; font-size: 0.8rem; }

/* ═══════════════════════════════════════
   TICKER
═══════════════════════════════════════ */
.ticker-wrap {
  background: var(--yellow);
  overflow: hidden;
  padding: 14px 0;
}
.ticker {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker span {
  padding: 0 48px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--black);
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════ */
section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--yellow);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--grey-light);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── REVEAL ANIMATION ──────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   GAMES
═══════════════════════════════════════ */
#games { background: var(--dark-2); }
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.game-card.featured { grid-row: 1 / 3; display: flex; flex-direction: column; }
.game-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(255,230,0,0.1);
}
.game-thumb { position: relative; overflow: hidden; }
.game-card.featured .game-thumb { height: 420px; flex: 1; }
.game-card:not(.featured) .game-thumb { height: 200px; }
.game-art {
  width: 100%; height: 100%;
  position: relative;
  background-size: cover; background-position: center;
  transition: transform 0.6s;
}
.game-card:hover .game-art { transform: scale(1.05); }
.game-art-1 {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255,60,0,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,230,0,0.3) 0%, transparent 50%),
    linear-gradient(135deg, #0d0005 0%, #1a0010 50%, #080020 100%);
}
.game-art-2 {
  background:
    radial-gradient(ellipse at 60% 50%, rgba(0,200,255,0.2) 0%, transparent 60%),
    linear-gradient(135deg, #000a1a 0%, #001020 50%, #000508 100%);
}
.game-art-3 {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(255,230,0,0.25) 0%, transparent 60%),
    linear-gradient(135deg, #0a0800 0%, #100c00 50%, #050300 100%);
}
.game-art-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark-3) 0%, transparent 60%);
}
.game-badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  padding: 5px 12px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  border-radius: 2px;
}
.game-badge.wip { background: var(--dark-4); color: var(--grey-light); border: 1px solid var(--grey); }
.game-badge.released { background: #00c96e; color: var(--black); }
.game-info { padding: 28px; }
.game-genre {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--yellow-dim);
  margin-bottom: 10px;
}
.game-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  line-height: 1;
}
.game-card.featured .game-title { font-size: 3rem; }
.game-desc {
  font-size: 0.9rem;
  color: var(--grey-light);
  margin-bottom: 20px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
/* Extracto de ~6 líneas; "MÁS INFO" despliega el resto */
.game-desc.clamp:not(.open) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.game-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin: -8px 0 20px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 3px;
  color: var(--yellow);
}
.game-more[hidden] { display: none; }
.game-more svg {
  width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2;
  transition: transform 0.3s;
}
.game-more.open svg { transform: rotate(180deg); }
.game-more:hover { color: var(--white); }
.game-tags {
  display: flex; gap: 8px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.game-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  padding: 4px 10px;
  border: 1px solid var(--dark-4);
  color: var(--grey-light);
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about { background: var(--dark); position: relative; overflow: hidden; }
.about-hex-deco {
  position: absolute;
  width: 600px; height: 600px;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(255,230,0,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.about-visual {
  display: flex; align-items: center; justify-content: center;
}
.about-hex-frame {
  position: relative;
  width: 420px; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.about-logo-big {
  width: 420px; height: 420px;
  position: relative; z-index: 2;
  animation: floatLogo 5s ease-in-out infinite;
}
.about-logo-static {
  filter:
    drop-shadow(0 0 12px  rgba(255,255,255,0.85))
    drop-shadow(0 0 32px  rgba(200,220,255,0.65))
    drop-shadow(0 0 70px  rgba(180,200,255,0.40))
    drop-shadow(0 0 130px rgba(200,220,255,0.22));
  animation:
    floatLogo  5s ease-in-out infinite,
    aboutGlow  2.5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes aboutGlow {
  0%,100% {
    filter:
      drop-shadow(0 0 10px  rgba(255,255,255,0.80))
      drop-shadow(0 0 28px  rgba(200,220,255,0.60))
      drop-shadow(0 0 60px  rgba(180,200,255,0.38))
      drop-shadow(0 0 110px rgba(200,220,255,0.20));
  }
  50% {
    filter:
      drop-shadow(0 0 18px  rgba(255,255,255,1))
      drop-shadow(0 0 50px  rgba(200,220,255,0.90))
      drop-shadow(0 0 100px rgba(180,200,255,0.60))
      drop-shadow(0 0 180px rgba(200,220,255,0.38))
      drop-shadow(0 0 240px rgba(180,200,255,0.20));
  }
}
.about-hex-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,230,0,0.15);
  animation: ringPulse 3s ease-in-out infinite;
}
.ring-1 { width: 440px; height: 440px; animation-delay: 0s;   border-color: rgba(200,220,255,0.20); }
.ring-2 { width: 530px; height: 530px; animation-delay: 0.6s; border-color: rgba(200,220,255,0.12); }
.ring-3 { width: 620px; height: 620px; animation-delay: 1.2s; border-color: rgba(200,220,255,0.06); }
@keyframes ringPulse {
  0%,100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.03); }
}
.about-text p {
  font-size: 1rem;
  color: var(--grey-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.value-icon {
  font-size: 1.2rem; color: var(--yellow);
  margin-top: 2px; flex-shrink: 0;
}
.value-item h4 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.value-item p { font-size: 0.85rem; color: var(--grey-light); margin: 0; }

/* TEAM */
.team-section { }
.team-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 48px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 36px 20px 28px;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
}
.team-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.avatar-hex {
  position: absolute; inset: 0;
  border-radius: 16px;
  transform: rotate(30deg);
}
.av-1 .avatar-hex { background: linear-gradient(135deg, #1a0010, #3d0030); }
.av-2 .avatar-hex { background: linear-gradient(135deg, #001020, #003050); }
.av-3 .avatar-hex { background: linear-gradient(135deg, #0a0800, #201800); }
.av-4 .avatar-hex { background: linear-gradient(135deg, #0a0010, #1a0020); }
.avatar-initials {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--yellow);
}
.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.team-card p { font-size: 0.8rem; color: var(--grey-light); letter-spacing: 1px; }
.team-socials {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 16px;
}
.team-socials a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-4);
  border-radius: 2px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--grey-light);
  transition: border-color 0.2s, color 0.2s;
}
.team-socials a:hover { border-color: var(--yellow); color: var(--yellow); }

/* ═══════════════════════════════════════
   BLOG
═══════════════════════════════════════ */
#blog { background: var(--dark-2); }
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.blog-card.featured-post { grid-row: 1 / 3; }
.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-card.featured-post .blog-img { height: 300px; flex-shrink: 0; }
/* Textos largos sin espacios no deben romper la tarjeta */
.blog-grid > * { min-width: 0; }
.blog-body h3, .blog-body p { overflow-wrap: anywhere; }
.blog-card:not(.featured-post) .blog-img { height: 160px; }
.blog-img-1 {
  background: linear-gradient(135deg, #1a000d 0%, #0d0020 100%);
}
.blog-img-2 {
  background: linear-gradient(135deg, #001010 0%, #00080a 100%);
}
.blog-img-3 {
  background: linear-gradient(135deg, #0f0c00 0%, #0a0700 100%);
}
/* Decorative art in blog imgs */
.blog-img-1::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(255,60,0,0.3), transparent 70%),
              radial-gradient(ellipse at 80% 30%, rgba(255,230,0,0.2), transparent 50%);
}
.blog-img-2::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,180,255,0.2), transparent 70%);
}
.blog-img-3::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,230,0,0.15), transparent 70%);
}
/* Con foto real no se aplica el tinte decorativo */
.blog-img[style*="background-image"]::after { display: none; }
.blog-date {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,230,0,0.3);
  padding: 8px 12px;
  text-align: center;
  z-index: 2;
}
.blog-day { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--yellow); line-height: 1; }
.blog-month { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 2px; color: var(--grey-light); }
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 10px;
}
.blog-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.blog-card.featured-post .blog-body h3 { font-size: 1.8rem; }
.blog-body p { font-size: 0.85rem; color: var(--grey-light); flex: 1; margin-bottom: 16px; }
.blog-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--yellow);
  transition: gap 0.2s, letter-spacing 0.2s;
  display: inline-block;
}
.blog-link:hover { letter-spacing: 5px; }

/* ═══════════════════════════════════════
   CAREERS
═══════════════════════════════════════ */
#careers { background: var(--dark); position: relative; overflow: hidden; }
.careers-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,230,0,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,230,0,0.04) 0%, transparent 50%);
}
.jobs-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--dark-4);
  border-radius: 4px;
  overflow: hidden;
}
.job-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--dark-4);
  transition: background 0.3s;
  gap: 24px;
}
.job-item:last-child { border-bottom: none; }
.job-item:hover { background: var(--dark-2); }
.job-dept {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 6px;
}
.job-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.job-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.job-meta span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  padding: 3px 10px;
  border: 1px solid var(--dark-4);
  color: var(--grey-light);
  border-radius: 2px;
}
.job-salary {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--yellow);
  letter-spacing: 1px;
}
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--grey);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact { background: var(--dark-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--yellow);
  margin-bottom: 8px;
}
.contact-item a {
  font-size: 1rem;
  color: var(--grey-light);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--yellow); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-4);
  color: var(--grey-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--yellow); color: var(--yellow); background: var(--yellow-faint); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--yellow);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-faint);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey); }
.form-group select option { background: var(--dark-3); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-align: center;
  padding: 12px;
  border-radius: 2px;
  display: none;
}
.form-status.success { display: block; background: rgba(0,200,110,0.1); color: #00c96e; border: 1px solid rgba(0,200,110,0.3); }
.form-status.error { display: block; background: rgba(255,60,0,0.1); color: #ff3c00; border: 1px solid rgba(255,60,0,0.3); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#footer { background: var(--black); }
.footer-top { padding: 72px 0 48px; border-bottom: 1px solid var(--dark-3); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 16px;
  line-height: 1.8;
  max-width: 240px;
}
.footer-icon { width: 36px; height: 36px; margin-bottom: 10px; }
.footer-wordmark { height: 14px; width: auto; opacity: 0.7; }
.footer-links-col { display: flex; flex-direction: column; gap: 12px; }
.footer-links-col h5 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--yellow);
  margin-bottom: 8px;
}
.footer-links-col a {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--grey);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr; }
  .game-card.featured { grid-row: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { transform: scale(0.7); transform-origin: center; margin: -60px 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured-post { grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual  { order: -1; }
  .hero-mask-img{ max-width: 340px; }
  .hero-visual-glow { width: 340px; height: 340px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 80px 0; }
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
  .hero-stats { gap: 0; }
  .stat { padding: 0 20px 0 0; }
  .stat-divider { margin-right: 20px; }
  .stat-num { font-size: 2rem; }
  .games-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
  .hero-scroll-hint { right: 20px; }
  .hero-mask-img { max-width: 260px; }
}
@media (max-width: 480px) {
  .hero-visual { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .ticker span { padding: 0 24px; }
}

/* ═══════════════════════════════════════
   FAQ SECTION (SEO visible, styled clean)
═══════════════════════════════════════ */
.faq-section {
  background: var(--dark-3);
  border-top: 1px solid var(--dark-4);
  border-bottom: 1px solid var(--dark-4);
}
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--dark-4);
  padding: 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--white);
  padding: 24px 0 8px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item dt::after {
  content: '⬡';
  font-size: 0.9rem;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open dt::after { transform: rotate(90deg); }
.faq-item dd {
  font-size: 0.95rem;
  color: var(--grey-light);
  line-height: 1.8;
  padding: 0 0 24px;
  display: none;
}
.faq-item.open dd { display: block; }

/* ═══════════════════════════════════════
   WORD CYCLE — Hero animación de palabras
═══════════════════════════════════════ */
.cycle-line {
  display: block;
  line-height: 1.05;
}

#wordCycle {
  display: inline-flex;
  gap: 0.01em;
  position: relative;
  flex-wrap: nowrap;
}

/* Letras individuales del efecto matrix */
.matrix-letter {
  display: inline-block;
  font-family: var(--font-display);
  will-change: opacity, color;
  font-feature-settings: 'tnum'; /* ancho fijo para no saltar */
}

/* ═══════════════════════════════════════
   POKEMON FLIP CARDS — EL TEAM
   Fix clave: backface-visibility + fondo
   opaco para que no se vea el dorso
═══════════════════════════════════════ */

.team-section { }
.team-title {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 56px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ─── WRAP & PERSPECTIVE ─── */
.poke-card-wrap {
  perspective: 1000px;
  height: 420px;
  cursor: none;
}
.poke-card {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 16px;
}
.poke-card-wrap:hover .poke-card,
.poke-card-wrap:focus-within .poke-card,
.poke-card-wrap.flipped .poke-card {
  transform: rotateY(180deg);
}

/* ─── CARAS: regla crítica de opacidad ─── */
.poke-front,
.poke-back {
  position: absolute; inset: 0;
  border-radius: 16px;
  /* CRÍTICO: ambas reglas juntas evitan que se
     vea la cara trasera mientras gira */
  backface-visibility:          hidden;
  -webkit-backface-visibility:  hidden;
  overflow: hidden;
  /* Fondo sólido — sin alpha en el root para
     que el browser no composite en modo transparente */
  isolation: isolate;
}

/* ─── FRENTE ─── */
.poke-front {
  display: flex;
  flex-direction: column;
  border: 2px solid rgba(255,230,0,0.25);
}
.poke-front-1 { background: #110010; border-color: rgba(220,60,120,0.45); }
.poke-front-2 { background: #001018; border-color: rgba(0,180,255,0.35); }
.poke-front-3 { background: #0a0800; border-color: rgba(255,200,0,0.4); }
.poke-front-4 { background: #080010; border-color: rgba(140,80,255,0.45); }
.poke-front-5 { background: #001508; border-color: rgba(0,220,100,0.4); }
.poke-front-6 { background: #0d0800; border-color: rgba(255,140,0,0.4); }
.poke-front-7 { background: #001018; border-color: rgba(0,140,255,0.4); }
.poke-front-8 { background: #0d0010; border-color: rgba(180,0,255,0.4); }

/* Gradiente decorativo encima del fondo sólido */
.poke-front-1::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(60,0,30,0.8) 0%, rgba(20,0,40,0.6) 50%, rgba(50,0,20,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-2::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(0,20,40,0.8) 0%, rgba(0,10,20,0.6) 50%, rgba(0,18,30,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-3::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(25,18,0,0.8) 0%, rgba(15,12,0,0.6) 50%, rgba(10,8,0,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-4::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(20,0,40,0.8) 0%, rgba(12,0,30,0.6) 50%, rgba(15,0,35,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-5::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(0,30,12,0.8) 0%, rgba(0,18,6,0.6) 50%, rgba(0,25,8,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-6::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(30,15,0,0.8) 0%, rgba(20,10,0,0.6) 50%, rgba(15,6,0,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-7::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(0,18,35,0.8) 0%, rgba(0,12,22,0.6) 50%, rgba(0,10,20,0.7) 100%); pointer-events:none; z-index:0; }
.poke-front-8::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(22,0,35,0.8) 0%, rgba(14,0,22,0.6) 50%, rgba(18,0,28,0.7) 100%); pointer-events:none; z-index:0; }

/* Scanlines */
.poke-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px);
  pointer-events: none; z-index: 1;
}
/* Holo shimmer */
.poke-holo {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,230,0,0.05) 35%, rgba(255,255,255,0.07) 45%, rgba(255,230,0,0.04) 55%, transparent 65%);
  background-size: 200% 200%;
  animation: holoShimmer 4s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
@keyframes holoShimmer {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Corner brackets */
.poke-corner { position:absolute; width:14px; height:14px; z-index:3; pointer-events:none; }
.poke-corner-tl { top:10px; left:10px;  border-top:2px solid var(--yellow); border-left:2px solid var(--yellow); }
.poke-corner-tr { top:10px; right:10px; border-top:2px solid var(--yellow); border-right:2px solid var(--yellow); }
.poke-corner-bl { bottom:10px; left:10px;  border-bottom:2px solid var(--yellow); border-left:2px solid var(--yellow); }
.poke-corner-br { bottom:10px; right:10px; border-bottom:2px solid var(--yellow); border-right:2px solid var(--yellow); }

/* Level badge — esquina superior derecha */
.poke-level-badge {
  position: absolute; top:12px; right:14px;
  font-family: var(--font-mono); font-size:0.65rem; letter-spacing:1px;
  color: var(--yellow); text-shadow: 0 0 8px rgba(255,230,0,0.6);
  z-index: 4;
}
/* Front icon — esquina superior izquierda */
.poke-front-icon {
  position: absolute; top:10px; left:14px;
  font-size: 1rem; z-index: 4;
  text-shadow: 0 0 8px rgba(255,230,0,0.5);
}
/* Type badge */
.poke-type-badge {
  position: absolute; top:30px; right:14px;
  font-family: var(--font-mono); font-size:0.5rem; letter-spacing:2px;
  padding: 3px 8px; background: var(--yellow); color: var(--black);
  font-weight: 700; border-radius: 2px; z-index: 4;
}
.poke-type-badge.type-art    { background:#00b4ff; color:#000; }
.poke-type-badge.type-code   { background:#00e676; color:#000; }
.poke-type-badge.type-lore   { background:#b87cff; color:#000; }
.poke-type-badge.type-design { background:#00dc64; color:#000; }
.poke-type-badge.type-prod   { background:#ff8c00; color:#000; }
.poke-type-badge.type-sound  { background:#008cff; color:#000; }
.poke-type-badge.type-qa     { background:#b400ff; color:#fff; }

/* Photo frame */
.poke-photo-frame {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 52px 20px 12px; position: relative; z-index: 3;
}
.poke-photo {
  width: 160px; height: 160px; border-radius: 50%;
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.1);
}
.av-photo-1 { background: #1a0010; box-shadow: 0 0 32px rgba(220,60,120,0.4); }
.av-photo-2 { background: #001528; box-shadow: 0 0 32px rgba(0,180,255,0.35); }
.av-photo-3 { background: #0f0c00; box-shadow: 0 0 32px rgba(255,200,0,0.4); }
.av-photo-4 { background: #0e0018; box-shadow: 0 0 32px rgba(140,80,255,0.4); }
.poke-photo-fx {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.55) 100%),
              repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 3px);
  z-index: 1; pointer-events: none;
}
.poke-initials {
  font-family: var(--font-display); font-size: 3.5rem;
  color: rgba(255,255,255,0.9); position: relative; z-index: 2;
  text-shadow: 0 0 20px rgba(255,230,0,0.4); letter-spacing: 4px;
}
.poke-photo-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  position: relative; z-index: 2;
}
/* Footer frente */
.poke-front-footer {
  background: rgba(0,0,0,0.85);
  border-top: 1px solid rgba(255,230,0,0.2);
  padding: 14px 16px 14px 24px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; z-index: 3;
}
.poke-name {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 3px; color: var(--white);
  text-shadow: 0 0 12px rgba(255,230,0,0.3);
}
.poke-role {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 2px; color: var(--yellow-dim);
}

/* ─── DORSO ─── */
.poke-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column;
}
/* Fondos sólidos en el dorso */
.poke-back-1 { background: #0d0018; border: 2px solid rgba(220,60,120,0.5); }
.poke-back-2 { background: #000d1a; border: 2px solid rgba(0,180,255,0.4); }
.poke-back-3 { background: #0d0a00; border: 2px solid rgba(255,200,0,0.45); }
.poke-back-4 { background: #0d0018; border: 2px solid rgba(140,80,255,0.5); }
.poke-back-5 { background: #001a0a; border: 2px solid rgba(0,220,100,0.4); }
.poke-back-6 { background: #1a0d00; border: 2px solid rgba(255,140,0,0.4); }
.poke-back-7 { background: #001018; border: 2px solid rgba(0,140,255,0.4); }
.poke-back-8 { background: #100010; border: 2px solid rgba(180,0,255,0.45); }

/* Gradiente decorativo en dorso */
.poke-back-1::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(30,0,60,0.7) 0%, rgba(20,0,45,0.5) 50%, rgba(25,0,50,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-2::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(0,25,50,0.7) 0%, rgba(0,18,38,0.5) 50%, rgba(0,20,42,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-3::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(30,22,0,0.7) 0%, rgba(22,16,0,0.5) 50%, rgba(25,18,0,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-4::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(30,0,60,0.7) 0%, rgba(22,0,50,0.5) 50%, rgba(26,0,55,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-5::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(0,40,18,0.7) 0%, rgba(0,30,12,0.5) 50%, rgba(0,35,14,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-6::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(40,18,0,0.7) 0%, rgba(30,12,0,0.5) 50%, rgba(35,15,0,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-7::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(0,28,50,0.7) 0%, rgba(0,20,38,0.5) 50%, rgba(0,22,42,0.6) 100%); pointer-events:none; z-index:0; }
.poke-back-8::before { content:''; position:absolute; inset:0; background: linear-gradient(145deg, rgba(30,0,45,0.7) 0%, rgba(22,0,35,0.5) 50%, rgba(26,0,40,0.6) 100%); pointer-events:none; z-index:0; }

/* Patrón geométrico del dorso */
.poke-back-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    repeating-linear-gradient(60deg,  transparent, transparent 20px, rgba(255,230,0,0.015) 20px, rgba(255,230,0,0.015) 21px),
    repeating-linear-gradient(120deg, transparent, transparent 20px, rgba(255,230,0,0.015) 20px, rgba(255,230,0,0.015) 21px),
    radial-gradient(ellipse at 50% 0%,   rgba(255,230,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(255,230,0,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.poke-back-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%; padding: 16px; gap: 10px;
}
/* Header dorso */
.poke-back-header {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,230,0,0.2); padding-bottom: 8px;
}
.poke-nick { font-family: var(--font-mono); font-size:0.75rem; letter-spacing:3px; color:var(--yellow); }
.poke-hp   { font-family: var(--font-mono); font-size:0.65rem; color:var(--grey-light); letter-spacing:1px; }
.poke-hp strong { font-family: var(--font-display); font-size:1.1rem; color:var(--yellow); margin-left:4px; }
/* Mini foto dorso */
.poke-back-photo {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  border: 1px solid rgba(255,230,0,0.3); flex-shrink: 0;
}
.av-photo-1-sm { background: radial-gradient(circle, #3d0030 0%, #1a0010 100%); box-shadow: 0 0 12px rgba(220,60,120,0.5); }
.av-photo-2-sm { background: radial-gradient(circle, #003050 0%, #001020 100%); box-shadow: 0 0 12px rgba(0,180,255,0.4); }
.av-photo-3-sm { background: radial-gradient(circle, #201800 0%, #100c00 100%); box-shadow: 0 0 12px rgba(255,200,0,0.4); }
.av-photo-4-sm { background: radial-gradient(circle, #200030 0%, #0a0018 100%); box-shadow: 0 0 12px rgba(140,80,255,0.4); }
/* Stats */
.poke-stats-grid { display:flex; flex-direction:column; gap:7px; flex:1; }
.poke-stat { display:grid; grid-template-columns:80px 1fr 28px; align-items:center; gap:8px; }
.stat-name { font-family:var(--font-mono); font-size:0.5rem; letter-spacing:2px; color:var(--grey-light); text-transform:uppercase; }
.stat-bar  { height:5px; background:rgba(255,255,255,0.06); border-radius:3px; overflow:hidden; border:1px solid rgba(255,255,255,0.04); }
.stat-fill { height:100%; background:linear-gradient(90deg, var(--yellow-dim), var(--yellow)); border-radius:3px; box-shadow:0 0 6px rgba(255,230,0,0.4); }
.stat-val  { font-family:var(--font-display); font-size:0.85rem; color:var(--yellow); text-align:right; }
/* Weakness */
.poke-weakness { display:flex; align-items:center; gap:8px; background:rgba(255,40,40,0.08); border:1px solid rgba(255,40,40,0.2); border-radius:3px; padding:5px 8px; margin-top:2px; }
.weakness-icon { font-size:0.65rem; color:#ff4444; flex-shrink:0; }
.poke-weakness span:last-child { font-family:var(--font-mono); font-size:0.55rem; letter-spacing:1px; color:var(--grey-light); }
/* Footer dorso */
.poke-back-footer { display:flex; align-items:center; gap:8px; border-top:1px solid rgba(255,230,0,0.15); padding-top:10px; margin-top:auto; }
.poke-social { width:28px; height:28px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,230,0,0.25); border-radius:2px; font-family:var(--font-mono); font-size:0.6rem; color:var(--grey-light); transition:border-color .2s, color .2s, background .2s; cursor:pointer; text-decoration:none; }
.poke-social:hover { border-color:var(--yellow); color:var(--yellow); background:rgba(255,230,0,0.06); }
.poke-serial { font-family:var(--font-mono); font-size:0.5rem; letter-spacing:2px; color:rgba(255,255,255,0.15); margin-left:auto; }

/* Responsive */
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2,1fr); } .poke-card-wrap { height:400px; } }
@media (max-width: 768px)  { .team-grid { grid-template-columns: repeat(2,1fr); } .poke-card-wrap { height:380px; } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } .poke-card-wrap { height:420px; } }


/* ═══════════════════════════════════════
   SEO: texto accesible + sección QUÉ HACEMOS
═══════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-sub strong { color: var(--white); font-weight: 600; }

#services { padding: 120px 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.service-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 40px 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: rgba(255,230,0,0.45); transform: translateY(-4px); }
.service-icon { font-size: 1.6rem; color: var(--yellow); margin-bottom: 18px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: 2px;
  line-height: 1.1; margin-bottom: 14px;
}
.service-card p { color: var(--grey-light); line-height: 1.7; margin-bottom: 20px; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.service-card li {
  position: relative; padding-left: 22px;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 1px; color: #cfcfcf;
}
.service-card li::before { content: "⬡"; position: absolute; left: 0; color: var(--yellow); }
.service-card .btn-ghost, .service-card .btn-primary { margin-top: auto; }
@media (max-width: 860px) {
  #services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }
}
