/* ==========================================================================
   Import Web Fonts & Material Icons
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ==========================================================================
   Design Tokens (Sleek Dark Tarot Glassmorphism)
   ========================================================================== */
:root {
  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-tarot: 'Lora', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 0.75rem;  /* 12px */
  --space-lg: 1rem;     /* 16px */
  --space-xl: 1.5rem;   /* 24px */
  --space-2xl: 2rem;    /* 32px */
  --space-3xl: 3rem;    /* 48px */

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Color Palette (Deep Pitch & Neon Accents) */
  --bg-color: #0B0C10;              /* Pitch black slate */
  --text-color: #F5F7FA;            /* Crisp off-white */
  --text-muted: #8F9CAE;            /* Cool muted gray */

  /* Primary Accent - Cyan/Teal Glow */
  --accent-primary: #66FCF1;
  --accent-primary-hover: #45A29E;
  --accent-primary-rgb: 102, 252, 241;

  /* Secondary Accent - Purple/Indigo */
  --accent-secondary: #9B6CFF;
  --accent-secondary-hover: #7E4BFA;
  --accent-secondary-rgb: 155, 108, 255;

  /* Status Colors */
  --error: #FF8A8A;
  --error-bg: rgba(192, 92, 92, 0.1);
  --error-border: #C05C5C;
  --success: #66FCAB;

  /* Frosted Glass (Glassmorphism) */
  --glass-bg: rgba(22, 27, 34, 0.45);
  --glass-hover: rgba(33, 41, 52, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(102, 252, 241, 0.35);
  --glass-blur: blur(12px);

  /* Glow Shadows */
  --glow-primary: 0 0 15px rgba(102, 252, 241, 0.25);
  --glow-secondary: 0 0 15px rgba(155, 108, 255, 0.25);
  
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 5px 15px -5px rgba(0, 0, 0, 0.5);
  --modal-overlay: rgba(3, 4, 6, 0.85);
}

/* ==========================================================================
   Global Resets & Defaults
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(155, 108, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(102, 252, 241, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary-hover);
}

/* Font Weights Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Selection highlight */
::selection {
  background: rgba(102, 252, 241, 0.3);
  color: #fff;
}
