/* Custom Futuristic CSS for Jeff Watch - Platinum Chrome & Cyber Theme */

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

:root {
  --bg-primary: #020202;
  --bg-secondary: #08080c;
  --accent-silver: #f3f4f6; /* pure metallic white */
  --accent-chrome: #9ca3af; /* silver metal */
  --accent-blue: #00f2fe; /* futuristic cyan pointer */
  --accent-blue-glow: rgba(0, 242, 254, 0.15);
  --accent-silver-glow: rgba(255, 255, 255, 0.05);
  --accent-green: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --glass-bg: rgba(255, 255, 255, 0.015);
  --glass-border: rgba(255, 255, 255, 0.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #111118;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-chrome);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'Geist Mono', monospace;
}

.font-title {
  font-family: 'Geist', sans-serif;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.font-sub {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
}

/* Metallic Chrome Gradient Text */
.text-chrome-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #94a3b8 55%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-chrome-shadow {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.text-cyan-glow {
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* Futuristic Grid Background */
.grid-bg {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
}

/* Tech Dot Grid Decor */
.dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Glow Effects */
.silver-glow {
  box-shadow: 0 0 40px 0 var(--accent-silver-glow);
}

.blue-glow {
  box-shadow: 0 0 35px 0 var(--accent-blue-glow);
}

.chrome-glow-hover:hover {
  box-shadow: 0 0 25px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Scanning Line Animation */
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  box-shadow: 0 0 10px var(--accent-blue);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover .scanner-line {
  opacity: 1;
  animation: scan 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Futuristic Reticles (Target markers) */
.reticle {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 242, 254, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reticle-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.reticle-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.reticle-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.reticle-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.glass-card:hover .reticle {
  opacity: 1;
  border-color: rgba(0, 242, 254, 0.5);
}
.glass-card:hover .reticle-tl { transform: translate(-3px, -3px); }
.glass-card:hover .reticle-tr { transform: translate(3px, -3px); }
.glass-card:hover .reticle-bl { transform: translate(-3px, 3px); }
.glass-card:hover .reticle-br { transform: translate(3px, 3px); }

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

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

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
  align-items: center;
}

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

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(6, 6, 8, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(10, 10, 15, 0.9);
  border-color: rgba(0, 242, 254, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.04);
}

/* Futuristic Cyber Borders & Angles */
.cyber-clip-corner {
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.cyber-border-glow {
  position: relative;
}
.cyber-border-glow::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 40%, transparent 60%, rgba(0,242,254,0.1));
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

/* Animated Button with Shimmer Border */
.btn-futuristic {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.btn-futuristic::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.6s;
  z-index: -1;
}

.btn-futuristic:hover::before {
  left: 100%;
}

/* Pulse Glow Keyframes for buttons/indicators */
@keyframes pulse-cyan {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  }
}

.pulse-cyan-glow {
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-silver {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
  }
}

.pulse-silver-glow {
  animation: pulse-silver 2s infinite;
}

/* Cyber Line Decor */
.cyber-line {
  position: relative;
}
.cyber-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.01) 100%);
}

/* Quick Spec Slide Panel */
.spec-panel {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-panel.active {
  transform: translateX(0);
}

/* Radial light glow behind watch cards */
.watch-glow-source {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.glass-card:hover .watch-glow-source {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, transparent 70%);
  width: 320px;
  height: 320px;
}
