/* ===========================================
   THEME.CSS - Variáveis e estilos base
   =========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&family=Poppins:wght@600;700&display=swap');

:root {
  /* Cores principais */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-card: #16162a;
  --bg-elevated: #1e1e38;
  
  /* Cores de texto */
  --text-primary: #ffffff;
  --text-secondary: #a0a0b2;
  --text-muted: #6b6b80;
  
  /* Cores de destaque */
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.3);
  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.3);
  --accent-green: #10b981;
  --accent-green-light: #34d399;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  
  /* Gradientes */
  --gradient-purple: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
  --gradient-premium: linear-gradient(135deg, #6366f1, #8b5cf6);
  
  /* Bordas */
  --border-color: rgba(139, 92, 246, 0.2);
  --border-light: rgba(255, 255, 255, 0.1);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-purple: 0 4px 20px rgba(139, 92, 246, 0.3);
  --shadow-gold: 0 4px 20px rgba(251, 191, 36, 0.3);
  
  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Tamanhos */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9d7af8;
}

/* Seleção de texto */
::selection {
  background: var(--accent-purple);
  color: white;
}

/* Links */
a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-purple-glow);
}

/* Botões base */
button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Container principal */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
}

/* Números e odds */
.mono {
  font-family: var(--font-mono);
}
