:root {
  /* 
   * COLOR PALETTE
   * Detailed breakdown of the 'Electric Future' theme
   */

  /* Primary Brand Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #d946ef 100%
  );
  --gradient-text: linear-gradient(to right, #ffffff, #e0e7ff);
  --gradient-glass: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  --gradient-glass-hover: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );

  /* Base Colors */
  --color-bg-dark: #030712; /* Almost black, rich gray-blue tint */
  --color-bg-dark-900: #0f172a; /* Secondary background */

  /* Text Colors */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #94a3b8;
  --color-accent: #8b5cf6; /* Violet-500 */

  /* Surface Colors (Card Backgrounds) */
  --color-surface-glass: rgba(15, 23, 42, 0.6);
  --color-border-glass: rgba(255, 255, 255, 0.08);

  /* TYPOGRAPHY */
  --font-display: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */

  /* SPACING SYSTEM (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ELEVATION & EFFECTS */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 80px -20px rgba(139, 92, 246, 0.25);

  --backdrop-blur: blur(12px);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* ANIMATION */
  /* ANIMATION */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --color-bg-dark: #f8fafc; /* Light Slate 50 */
  --color-bg-dark-900: #ffffff; /* White */

  --color-text-primary: #0f172a; /* Slate 900 */
  --color-text-secondary: #334155; /* Slate 700 - Darker for better contrast */
  --color-text-muted: #64748b; /* Slate 500 */

  --color-surface-glass: rgba(255, 255, 255, 0.7);
  --color-border-glass: rgba(0, 0, 0, 0.05);

  --gradient-glass: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );

  --gradient-text: linear-gradient(to right, #4f46e5, #9333ea);

  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

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

.glass-card {
  background: var(--color-surface-glass);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
}

/* UTILITIES */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
