/* ==============================================================================
   MINESTORE NETWORK - HOJA DE ESTILOS PROFESIONAL
   Paleta y sistema de diseño sin tildes segun especificaciones de usuario
   Tema dominante #993DFF
   ============================================================================== */

:root {
  /* Paleta oficial de reglas de usuario y tema dominante #993DFF */
  --theme-primary: #993DFF;
  --theme-primary-hover: #A855F7;
  --theme-secondary: #B870FF;
  --theme-glow: rgba(153, 61, 255, 0.35);

  --color-error: #D92625;
  --color-action-sec: #0097D8;
  --color-action-pri: #83CA16;
  --color-success: #83CA16;
  --color-warning: #F59E0B;
  --color-info: #38BDF8;
  --color-featured: #FFD43B;
  --color-special: #993DFF;
  --color-progress: #8B5CF6;
  --color-reward: #FACC15;
  --color-active: #22C55E;
  --color-inactive: #6B7280;
  --color-locked: #991B1B;
  --color-lore-sec: #A5ACB8;
  --color-text-muted: #6B7280;
  --color-text-main: #F1F5F9;
  --color-economy: #EAB308;
  --color-discount: #84CC16;
  --color-title-cyan: #06B6D4;
  --color-facepoints: #e370df;

  /* Fondos oscuros modernos con atmosfera violeta #993DFF */
  --bg-deep: #0A0612;
  --bg-card: rgba(22, 14, 38, 0.85);
  --bg-card-hover: rgba(33, 20, 56, 0.95);
  --bg-card-border: rgba(153, 61, 255, 0.18);
  --bg-input: #120A20;
  --shadow-glow-purple: 0 0 25px rgba(153, 61, 255, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-glow-gold: 0 0 25px rgba(234, 179, 8, 0.25);
  --shadow-glow-green: 0 0 25px rgba(131, 202, 22, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--color-text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(153, 61, 255, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(121, 40, 202, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(184, 112, 255, 0.12) 0%, transparent 55%),
    linear-gradient(to bottom, #08040E, #0E071A);
  background-attachment: fixed;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Barra de Anuncio Superior */
.top-announcement {
  background: linear-gradient(90deg, rgba(153, 61, 255, 0.24), rgba(121, 40, 202, 0.38), rgba(153, 61, 255, 0.24));
  border-bottom: 1px solid rgba(153, 61, 255, 0.28);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.85rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-promo {
  background: var(--color-warning);
  color: #000;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.highlight-code {
  color: var(--color-featured);
  background: rgba(255, 212, 59, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed var(--color-featured);
  font-family: var(--font-mono);
}

.announcement-countdown {
  color: var(--color-lore-sec);
  font-size: 0.75rem;
}
