@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --color-bg: #07090e;
  --color-card: rgba(15, 23, 42, 0.65);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-cyan: #00f2fe;
  --color-purple: #9d4edd;
  --color-pink: #f72585;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: #f1f5f9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f2fe;
}

/* Cyber Grid Background */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Ambient Radial Glows */
.radial-glow-cyan {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}
.radial-glow-purple {
  background: radial-gradient(circle, rgba(157, 78, 221, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Glassmorphism Card */
.glass-card {
  background: var(--color-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0, 242, 254, 0.15);
}

/* Gradient Text */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c77dff 0%, #7b2cbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-fire {
  background: linear-gradient(135deg, #ff007f 0%, #7928ca 50%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing Button */
.btn-glow-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  transition: all 0.25s ease;
}
.btn-glow-cyan:hover {
  box-shadow: 0 0 32px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
}

.btn-glow-purple {
  background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.35);
  transition: all 0.25s ease;
}
.btn-glow-purple:hover {
  box-shadow: 0 0 32px rgba(157, 78, 221, 0.6);
  transform: translateY(-2px);
}

/* Badge Pulsing Dot */
.pulse-dot {
  position: relative;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Font Mono helper */
.font-mono-tag {
  font-family: var(--font-mono);
}

/* Tilt & Glow Filter effect */
.hover-glow-purple:hover {
  border-color: rgba(157, 78, 221, 0.45);
  box-shadow: 0 12px 30px -10px rgba(157, 78, 221, 0.2);
}

/* Modal styling */
.modal-overlay {
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(8px);
}
