/* ==========================================================================
   Caixa de Games — Sistema de Design Futurista & Tema Sci-Fi Hi-Tech
   JimSoft®
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Paleta Futurista Hi-Tech */
  --bg-deep: #06080F;
  --bg-surface: #0c101d;
  --bg-card: rgba(14, 20, 36, 0.75);
  --bg-card-hover: rgba(20, 30, 55, 0.9);
  --bg-glass: rgba(10, 15, 28, 0.85);
  --bg-input: rgba(7, 11, 20, 0.8);
  
  /* Cores Neon & Brilhos */
  --neon-cyan: #00F0FF;
  --neon-cyan-glow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(0, 240, 255, 0.2);
  --neon-purple: #A855F7;
  --neon-purple-glow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2);
  --neon-green: #00FF88;
  --neon-green-glow: 0 0 20px rgba(0, 255, 136, 0.5);
  --neon-amber: #FFB800;
  --neon-amber-glow: 0 0 20px rgba(255, 184, 0, 0.5);
  --neon-red: #FF0055;
  --neon-red-glow: 0 0 20px rgba(255, 0, 85, 0.5);

  /* Gradientes Dinâmicos */
  --grad-cyber: linear-gradient(135deg, #00F0FF 0%, #A855F7 100%);
  --grad-sunset: linear-gradient(135deg, #FFB800 0%, #FF0055 100%);
  --grad-matrix: linear-gradient(135deg, #00FF88 0%, #00F0FF 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(20, 29, 51, 0.6) 0%, rgba(10, 15, 28, 0.9) 100%);
  --grad-holo: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);

  /* Bordas & Sombras */
  --border-subtle: rgba(0, 240, 255, 0.15);
  --border-neon: rgba(0, 240, 255, 0.4);
  --border-hover: rgba(0, 240, 255, 0.8);
  --shadow-box: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  --shadow-cyber: 0 10px 40px -10px rgba(0, 240, 255, 0.3);

  /* Tipografia */
  --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transições & Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: #E2E8F0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background com Partículas e Grid Sci-Fi */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.ambient-glow.top-left {
  top: -150px;
  left: -150px;
  background: var(--neon-cyan);
}
.ambient-glow.bottom-right {
  bottom: -150px;
  right: -150px;
  background: var(--neon-purple);
}

/* Scanlines sutis gamer */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

/* Scrollbar Futurista */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Tipografia Especial */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.text-gradient {
  background: var(--grad-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
.text-neon-green { color: var(--neon-green); text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.text-neon-purple { color: var(--neon-purple); text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.text-neon-amber { color: var(--neon-amber); text-shadow: 0 0 10px rgba(255, 184, 0, 0.5); }
