@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Playfair+Display:ital,wght@1,400;1,600;1,700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --color-bg-dark: #07070d;
  --color-bg-card: #0d0c18;
  --color-purple: #7c3aed;
  --color-purple-light: #a855f7;
  --color-cyan: #06b6d4;
  --color-cyan-glow: #22d3ee;
  --cursor-size: 8px;
  --cursor-follower-size: 38px;
}

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

body {
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  color: #e2e8f0;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090912;
}
::-webkit-scrollbar-thumb {
  background: #252440;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7c3aed;
}

/* Custom Animated Magnetic Cursor */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, select, textarea, [role="button"], .clickable {
    cursor: none !important;
  }
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  background-color: #22d3ee;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.08s ease-out;
  box-shadow: 0 0 12px #22d3ee, 0 0 24px rgba(34, 211, 238, 0.4);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-follower-size);
  height: var(--cursor-follower-size);
  border: 1.5px solid rgba(168, 85, 247, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease,
              transform 0.15s ease-out;
  backdrop-filter: blur(1px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(34, 211, 238, 0.03) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
}

.custom-cursor-follower.cursor-hover {
  width: 64px;
  height: 64px;
  background-color: rgba(124, 58, 237, 0.18);
  border-color: rgba(34, 211, 238, 0.9);
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.4);
}

.custom-cursor-follower.cursor-active {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: #f43f5e;
}

/* Background Gradients & Glows (Inspired by zebracatindia.com) */
.hero-glow {
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.18) 0%, rgba(34, 211, 238, 0.08) 40%, transparent 70%);
}

.ambient-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-orb-2 {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

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

/* Modern Card Glassmorphism */
.glass-card {
  background: rgba(15, 14, 27, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.25);
}

/* Glowing Border Effect */
.glow-border {
  position: relative;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(34, 211, 238, 0.3), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Marquee / Infinite Ticker Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee 30s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Gradient Text Shimmer */
.text-gradient {
  background: linear-gradient(135deg, #a855f7 0%, #38bdf8 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulsing Badge Dot */
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
  50% { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
}

.badge-pulse {
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Button Glowing Styles */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.6), 0 0 15px rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
}

/* Font Serif italic highlight for headlines */
.font-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

/* Hide scrollbar for category tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
