/* ─────────────────────────────────────────
   CSS Merger — Global Stylesheet
   Dark Glassmorphism • Inter Font
───────────────────────────────────────── */

:root {
  /* Colors */
  --bg-dark:         #0a0b0f;
  --bg-surface:      #111318;
  --bg-elevated:     #181b24;
  --glass-bg:        rgba(20, 22, 30, 0.75);
  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.04);

  --accent:          #ee8820;
  --accent-light:    #ffae58;
  --accent-dark:     #d47313;
  --success:         #22c55e;
  --danger:          #ef4444;
  --warning:         #f59e0b;

  --text-primary:    #f1f5f9;
  --text-secondary:  #94a3b8;
  --text-muted:      #475569;

  --input-bg:        rgba(15, 17, 25, 0.7);
  --input-focus-bg:  rgba(99, 102, 241, 0.06);
  --input-border:    rgba(255, 255, 255, 0.09);

  --gradient-primary: linear-gradient(135deg, #ee8820, #ffae58);
  --gradient-bg:      linear-gradient(135deg, #0a0b0f 0%, #0f1117 40%, #0d0f16 100%);
  --gradient-orb1:    radial-gradient(600px circle at 20% 20%, rgba(238,136,32,0.12), transparent 70%);
  --gradient-orb2:    radial-gradient(600px circle at 80% 80%, rgba(255,174,88,0.1), transparent 70%);
  --gradient-orb3:    radial-gradient(400px circle at 60% 10%, rgba(238,136,32,0.07), transparent 70%);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 24px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(238,136,32,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    var(--gradient-orb1),
    var(--gradient-orb2),
    var(--gradient-orb3),
    var(--gradient-bg);
  z-index: -1;
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(15deg); }
}

/* Floating particles */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(238,136,32,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,174,88,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 70%, rgba(238,136,32,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(238,136,32,0.15) 0%, transparent 100%);
  z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(238,136,32,0.3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(238,136,32,0.5); }

/* Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(238,136,32,0.4); }
  50%       { box-shadow: 0 8px 48px rgba(255,174,88,0.6); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Utility */
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-light); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
