/* Euphorie Beauty Labo - Custom Luxury Laboratory Styling & Animations */

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

:root {
  --color-ivory: #FDFBF7;
  --color-champagne: #D4AF37;
  --color-emerald-lab: #10B981;
  --color-emerald-deep: #064E3B;
  --color-obsidian: #090D16;
  --color-slate-card: #131B2E;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-obsidian);
  color: #F1F5F9;
  overflow-x: hidden;
}

[dir="ltr"] body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(19, 27, 46, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-gold {
  background: linear-gradient(135deg, rgba(30, 27, 20, 0.85), rgba(19, 27, 46, 0.9));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

/* Scanner Laser Sweep Animation */
@keyframes laserSweep {
  0% {
    top: 0%;
    opacity: 0.8;
  }
  50% {
    top: 96%;
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0.8;
  }
}

.animate-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10B981, #34D399, #10B981, transparent);
  box-shadow: 0 0 15px #10B981, 0 0 30px #34D399;
  animation: laserSweep 2.8s ease-in-out infinite;
  z-index: 25;
}

/* Scanner HUD Reticle & Grid */
.hud-grid {
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hud-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #10B981;
  border-style: solid;
}

.hud-corner-tl {
  top: 16px;
  left: 16px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 6px;
}

.hud-corner-tr {
  top: 16px;
  right: 16px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 6px;
}

.hud-corner-bl {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 6px;
}

.hud-corner-br {
  bottom: 16px;
  right: 16px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 6px;
}

/* Radar Pulse */
@keyframes radarPing {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.animate-radar {
  animation: radarPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #090D16;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #10B981;
}

/* Interactive SVG Hotspots */
.layer-clickable {
  transition: all 0.25s ease;
}

.layer-clickable:hover {
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.8));
}

/* Subtle Shimmer for Starred Products */
@keyframes goldShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.gold-shimmer-badge {
  background: linear-gradient(90deg, #D4AF37 0%, #FFF4D2 50%, #D4AF37 100%);
  background-size: 200% 100%;
  animation: goldShimmer 3s infinite linear;
}

/* Deep Scan Animations */
@keyframes particle-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}
.animate-particle {
  animation: particle-rise 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes laser-scan-vertical {
  0% { transform: translateY(0); }
  50% { transform: translateY(400px); }
  100% { transform: translateY(0); }
}
.animate-laser-scan {
  animation: laser-scan-vertical 3s ease-in-out infinite;
}
@keyframes dermis-pulse-inflammation {
  0% { background-color: rgba(255, 182, 193, 0.1); }
  50% { background-color: rgba(239, 68, 68, 0.3); box-shadow: inset 0 0 30px rgba(239, 68, 68, 0.4); }
  100% { background-color: rgba(255, 182, 193, 0.1); }
}
.animate-inflammation {
  animation: dermis-pulse-inflammation 2s ease-in-out infinite;
}


@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.glass-effect {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}


@keyframes pan-3d {
  0% { transform: perspective(800px) rotateX(5deg) rotateY(-5deg) scale(1.1); }
  50% { transform: perspective(800px) rotateX(-5deg) rotateY(5deg) scale(1.3); }
  100% { transform: perspective(800px) rotateX(5deg) rotateY(-5deg) scale(1.1); }
}
.animate-3d-pan {
  animation: pan-3d 10s infinite ease-in-out;
}

