/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* === PROFESSIONAL BRAND COLORS === */
  /* Primary Colors - Deep Ocean Blue with Royal Purple */
  --primary-color: #1e40af; /* Professional Deep Blue */
  --primary-dark: #1e3a8a; /* Deeper Blue for hover states */
  --primary-light: #3b82f6; /* Lighter Blue for accents */
  --primary-gradient: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);

  /* Secondary Colors - Elegant Purple to Violet */
  --secondary-color: #7c3aed; /* Professional Purple */
  --secondary-dark: #6d28d9; /* Deeper Purple */
  --secondary-light: #a855f7; /* Lighter Purple */

  /* Accent Colors - Premium Gold & Emerald */
  --accent-color: #059669; /* Professional Emerald */
  --accent-gold: #f59e0b; /* Premium Gold accent */
  --accent-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  /* Header Title Gradient - Orange Theme */
  --header-gradient: linear-gradient(135deg, #f1c40f, #e67e22);

  /* Status Colors - Modern & Professional */
  --success-color: #059669; /* Deep Emerald */
  --success-light: #10b981; /* Light Emerald */
  --success-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);

  --warning-color: #d97706; /* Professional Amber */
  --warning-light: #f59e0b; /* Light Amber */
  --warning-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);

  --error-color: #dc2626; /* Professional Red */
  --error-light: #ef4444; /* Light Red */

  /* Text Colors - Dark Theme Typography */
  --text-primary: #ffffff; /* Pure white for main text */
  --text-secondary: #e2e8f0; /* Light gray for secondary text */
  --text-muted: #94a3b8; /* Medium gray for descriptions */
  --text-light: #64748b; /* Darker gray for subtle text */
  --text-white: #ffffff; /* Pure white for dark backgrounds */

  /* Background Colors - Dark Gaming Theme */
  --bg-primary: #0a0b1e; /* Deep Dark Navy background */
  --bg-secondary: #1a1b3a; /* Dark Purple background */
  --bg-tertiary: #2d1b69; /* Medium Purple background */
  --bg-dark: #0a0b1e; /* Deep Dark for dark sections */
  --bg-card: rgba(26, 27, 58, 0.8); /* Semi-transparent Purple cards */
  --bg-glass: rgba(26, 27, 58, 0.85); /* Glass effect dark */
  --bg-glass-strong: rgba(45, 27, 105, 0.95); /* Strong glass effect */
  --bg-overlay: rgba(10, 11, 30, 0.7); /* Dark overlay */

  /* Border Colors - Dark Gaming Theme */
  --border-color: rgba(147, 51, 234, 0.3); /* Purple border */
  --border-light: rgba(124, 58, 237, 0.2); /* Light purple border */
  --border-dark: rgba(168, 85, 247, 0.4); /* Medium purple border */
  --border-accent: #a855f7; /* Purple accent border for focus */

  /* Enhanced Shadow System - Professional Depth */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(15, 23, 42, 0.1),
    0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(15, 23, 42, 0.1),
    0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Colored Shadows for Premium Effects */
  --shadow-primary:
    0 10px 25px -5px rgba(30, 64, 175, 0.25),
    0 8px 16px -8px rgba(30, 64, 175, 0.3);
  --shadow-primary-hover:
    0 20px 40px -10px rgba(30, 64, 175, 0.35),
    0 15px 25px -5px rgba(30, 64, 175, 0.25);
  --shadow-success:
    0 10px 25px -5px rgba(5, 150, 105, 0.25),
    0 8px 16px -8px rgba(5, 150, 105, 0.3);
  --shadow-gold:
    0 10px 25px -5px rgba(245, 158, 11, 0.25),
    0 8px 16px -8px rgba(245, 158, 11, 0.3);

  /* Premium Gradient System */
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-accent: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-warning: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);

  /* Premium Background Gradients - Dark Gaming */
  --gradient-bg: linear-gradient(135deg, #0a0b1e 0%, #1a1b3a 50%, #2d1b69 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.1) 0%,
    rgba(124, 58, 237, 0.08) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(26, 27, 58, 0.9) 0%,
    rgba(45, 27, 105, 0.8) 100%
  );

  /* Mesh Gradient for Premium Background */
  --gradient-mesh:
    radial-gradient(at 40% 20%, rgba(30, 64, 175, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(5, 150, 105, 0.04) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(245, 158, 11, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(30, 64, 175, 0.05) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(124, 58, 237, 0.07) 0px, transparent 50%),
    radial-gradient(at 0% 0%, rgba(5, 150, 105, 0.03) 0px, transparent 50%);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;

  --font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-white);
  background:
    linear-gradient(
      135deg,
      #0a0b1e 0%,
      #1a1b3a 25%,
      #2d1b69 50%,
      #1a1b3a 75%,
      #0a0b1e 100%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(124, 58, 237, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 50%
    );
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 15% 85%,
      rgba(147, 51, 234, 0.6) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 58, 237, 0.5) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(59, 130, 246, 0.3) 0%,
      transparent 80%
    ),
    conic-gradient(
      from 0deg at 30% 70%,
      transparent 0deg,
      rgba(147, 51, 234, 0.4) 60deg,
      transparent 120deg
    ),
    conic-gradient(
      from 180deg at 70% 30%,
      transparent 0deg,
      rgba(124, 58, 237, 0.3) 60deg,
      transparent 120deg
    );
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    /* Gaming-style floating orbs with purple/blue */
    radial-gradient(
      circle at 20% 80%,
      rgba(147, 51, 234, 0.5) 0%,
      rgba(124, 58, 237, 0.3) 30%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.4) 0%,
      rgba(99, 102, 241, 0.2) 30%,
      transparent 60%
    ),
    radial-gradient(
      circle at 60% 60%,
      rgba(168, 85, 247, 0.3) 0%,
      rgba(147, 51, 234, 0.15) 30%,
      transparent 70%
    ),
    /* Purple mesh pattern overlay */
      linear-gradient(90deg, rgba(147, 51, 234, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    50px 50px,
    50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* Keyframes Animations */
@keyframes backgroundFlow {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: scale(1.02) rotate(1deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.01) rotate(-0.5deg);
    opacity: 0.85;
  }
  75% {
    transform: scale(1.03) rotate(0.8deg);
    opacity: 0.9;
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0px, 0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translate(20px, -15px) rotate(90deg) scale(1.05);
    opacity: 1;
  }
  50% {
    transform: translate(-15px, 20px) rotate(180deg) scale(0.95);
    opacity: 0.9;
  }
  75% {
    transform: translate(15px, -10px) rotate(270deg) scale(1.02);
    opacity: 1;
  }
}

@keyframes premiumBackgroundFloat {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
    opacity: 0.7;
  }
  33% {
    transform: translate(12px, -8px) rotate(0.5deg);
    opacity: 0.9;
  }
  66% {
    transform: translate(-8px, 12px) rotate(-0.5deg);
    opacity: 0.8;
  }
  100% {
    transform: translate(5px, -5px) rotate(0.3deg);
    opacity: 0.7;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== NOTIFICATION ANIMATIONS ===== */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(30, 64, 175, 0.1));
}

/* Fallback notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease;
}

.notification-success {
  background: #10b981;
}

.notification-error {
  background: #ef4444;
}

.notification-warning {
  background: #f59e0b;
}

.notification-info {
  background: #3b82f6;
}
