/* ==============================================================================
   IMEGANET - ESTILOS PANEL ADMINISTRATIVO (admid.imeganet.cc)
   PALETA: FONDO CLARO + AZUL (#0066FF) + CELESTE (#00D4FF) + NEGRO (#070B14)
   Optimizado para laptops y computadoras (Desktop First)
   ============================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand-blue: #0066ff;
  --brand-blue-dark: #0052cc;
  --brand-celeste: #00d4ff;
  --brand-sky: #0ea5e9;
  --brand-black: #070b14;
  --brand-glow: rgba(0, 212, 255, 0.35);
  --brand-soft: rgba(0, 102, 255, 0.1);
  --neon-red: #ef4444;
  --neon-amber: #f59e0b;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #0066ff;

  --text-main: #070b14;
  --text-muted: #475569;
  --text-dim: #94a3b8;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
    linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
}

.font-gamer-title {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

.font-tech {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.03em;
}

.neon-text {
  color: var(--brand-blue);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.neon-border {
  border: 1.5px solid var(--brand-celeste);
  box-shadow: 0 0 12px var(--brand-glow);
}

.btn-gamer-neon {
  background: linear-gradient(135deg, #0066ff 0%, #0ea5e9 100%);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #00d4ff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  transition: all 0.2s ease;
  border-radius: 8px;
}

@media (hover: hover) {
  .btn-gamer-neon:hover {
    background: linear-gradient(135deg, #0052cc 0%, #00d4ff 100%);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
  }
}

.btn-gamer-outline {
  background: #ffffff;
  color: #0369a1;
  border: 1.5px solid #0ea5e9;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  border-radius: 8px;
}

@media (hover: hover) {
  .btn-gamer-outline:hover {
    background: #0066ff;
    border-color: #0066ff;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
  }
}

.gamer-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(7, 11, 20, 0.04);
  transition: all 0.25s ease;
}

@media (hover: hover) {
  .gamer-card:hover {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.12);
  }
}

.badge-agotado {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-disponible {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-descuento {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
@media (hover: hover) {
  ::-webkit-scrollbar-thumb:hover {
    background: var(--brand-sky);
  }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brand-celeste);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}

/* Soporte Universal para Iconos SVG y Lucide */
svg, [data-lucide], .lucide {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0;
}

/* Respaldo dvh para modales del panel admin */
.admin-modal-max-h-94 {
  max-height: 94vh;
  max-height: 94dvh;
}
.admin-modal-max-h-92 {
  max-height: 92vh;
  max-height: 92dvh;
}

/* Mínimo 16px en inputs, selects y textarea en móvil (evita zoom automático en iOS) */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
