/* effects.css — Premium visual effects */

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Section dividers */
.stats::after,
.about::after,
.quotes::after {
  content: '';
  display: block;
  width: 300px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.35), transparent);
  margin-top: 2rem;
}

/* Glassmorphism card base */
.stat-card,
.quote-card,
.about-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-card:hover,
.quote-card:hover {
  box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.2),
              0 8px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(108, 99, 255, 0.08);
}

/* Gradient mesh blobs */
.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.gradient-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6c63ff, transparent);
  animation: blobDrift1 20s ease-in-out infinite;
}
.gradient-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #a855f7, transparent);
  animation: blobDrift2 25s ease-in-out infinite;
}
.gradient-blob-3 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, #6c63ff, transparent);
  animation: blobDrift3 22s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(100px, -50px); }
  66% { transform: translate(-50px, 80px); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-80px, 60px); }
  66% { transform: translate(60px, -40px); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(50px, 70px); }
  66% { transform: translate(-70px, -30px); }
}

/* Status card pulsing border */
.about-card {
  animation: cardPulse 4s ease-in-out infinite;
  background: rgba(18, 18, 26, 0.7);
}
@keyframes cardPulse {
  0%, 100% { border-color: var(--border); }
  50% { border-color: rgba(108, 99, 255, 0.35); box-shadow: 0 0 20px rgba(108, 99, 255, 0.12); }
}

/* Stat card top gradient always visible */
.stat-card::before {
  opacity: 0.3;
}
.stat-card:hover::before {
  opacity: 1;
}

/* Section header gradient underline */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient);
  margin: 0.75rem auto 0;
  border-radius: 1px;
}

/* Quote mark glow */
.quote-mark {
  text-shadow: 0 0 30px rgba(108, 99, 255, 0.2);
}

/* Splash cursor overlay */
.splash-cursor-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.splash-cursor-canvas {
  width: 100%;
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .splash-cursor-container { display: none; }
}
