/* watermarkremovergemini.com - Custom Design & Interactive Styles */
:root {
  --brand: #4f46e5;
  --brand-light: #6366f1;
  --brand-glow: rgba(99, 102, 241, 0.35);
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #07090e;
  color: #f8fafc;
  overflow-x: hidden;
}

/* Subtle Grid & Radial Glow Background */
.hero-bg-grid {
  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);
}

.radial-spotlight {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.08) 38%, transparent 70%);
}

/* Animated Sparkle Text Highlight */
@keyframes floatSparkle {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: translateY(-4px) scale(1.18) rotate(12deg); opacity: 1; }
}

.sparkle-badge {
  animation: floatSparkle 3s ease-in-out infinite;
}

/* Dropzone Hover & Active States */
.dropzone-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(9, 13, 22, 0.94) 100%);
}

.dropzone-card.drag-over {
  border-color: #818cf8 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 0 25px 50px -12px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

/* Before / After Image Comparison Slider */
.compare-container {
  position: relative;
  user-select: none;
  overflow: hidden;
  border-radius: 0.75rem;
  background-image: 
    linear-gradient(45deg, #111827 25%, transparent 25%), 
    linear-gradient(-45deg, #111827 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #111827 75%), 
    linear-gradient(-45deg, transparent 75%, #111827 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #1f2937;
}

.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.compare-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 20;
}

.compare-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #ffffff;
  color: #4f46e5;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Corner Zoom Loupe */
.corner-loupe {
  image-rendering: pixelated;
}

/* Custom Range Input for Comparison */
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 30;
  margin: 0;
}

/* Glass Cards */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pulse ring on demo watermark marker */
@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.watermark-target-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 2px solid #f43f5e;
  animation: pulseRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

