/* NFAWorld Custom Design System - Emerald Neon Cyber Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --emerald-primary: #10b981;
  --emerald-glow: #00ff88;
  --emerald-dark: #042f20;
  --emerald-muted: rgba(16, 185, 129, 0.15);
  --bg-deep: #050806;
  --bg-card: rgba(11, 19, 15, 0.75);
  --border-card: rgba(16, 185, 129, 0.18);
  --border-card-hover: rgba(0, 255, 136, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep);
  color: #f3f4f6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050806;
}
::-webkit-scrollbar-thumb {
  background: #0d281e;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* Ambient Background Grid */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
}

/* Radial Vignette */
.radial-mask {
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(12, 20, 16, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 255, 136, 0.15), 0 0 20px 0 rgba(16, 185, 129, 0.1);
}

/* Card Glow Effect */
.card-glow {
  position: relative;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), transparent 60%, rgba(16, 185, 129, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Gradient Text */
.text-gradient-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 45%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-glow {
  background: linear-gradient(135deg, #00ff88 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulsing glow animation */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 5s infinite ease-in-out;
}

/* Shimmer animation */
@keyframes shimmerAnim {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.shimmer-badge {
  position: relative;
  overflow: hidden;
}
.shimmer-badge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmerAnim 3s infinite;
}

/* Button Glows */
.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #042217;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #e5e7eb;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(0, 255, 136, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Discord Brand Gradient Button */
.btn-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: white;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover {
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

/* Toast Notification Animation */
.toast-enter {
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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