/* Import modern fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Rich Multi-tone Purple & Space Color Palette */
  --bg-primary: #06030c;      /* Extreme deep space black-purple */
  --bg-secondary: #0f071e;    /* Deep space indigo-purple */
  --bg-card: rgba(20, 10, 36, 0.45); /* Burnt purple semi-transparent card */
  --bg-card-hover: rgba(36, 16, 64, 0.55); /* Lighter purple on hover */
  
  /* Borders with mixed purple/indigo tones */
  --border-color: rgba(139, 92, 246, 0.12);      /* Translucent primary purple */
  --border-color-hover: rgba(217, 70, 239, 0.45); /* Glowing fuchsia border */
  
  /* Primary and Accents */
  --primary: #8b5cf6;          /* Vibrant violet */
  --primary-glow: rgba(139, 92, 246, 0.4);
  
  --secondary: #d946ef;        /* Fuchsia / Hot pink */
  --secondary-glow: rgba(217, 70, 239, 0.4);
  
  --accent: #a78bfa;           /* Soft violet */
  --indigo-accent: #6366f1;    /* Deep indigo */
  --indigo-glow: rgba(99, 102, 241, 0.4);
  
  --text-main: #f3f4f6;        /* Light off-white */
  --text-muted: #9ca3af;       /* Cool grey */
  
  /* Fonts */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background Gradients & Canvas Containment */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  /* Deep, multi-layered cosmic radial gradients featuring burnt and deep purple tones */
  background: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(217, 70, 239, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(74, 20, 140, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, var(--bg-primary) 0%, #030107 100%);
  overflow: hidden;
}

.gradient-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.02) 0%, transparent 60%);
  animation: bgPulse 25s infinite alternate linear;
}

/* Container */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Text Highlights */
.purple-gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
