/* ===================================================
   Yasir Khan – Full-Stack Mobile & Cloud Architect
   Executive Dark & Glassmorphism Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-primary: #070B14;
  --bg-secondary: #0D1527;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);

  --accent-cyan: #38BDF8;
  --accent-blue: #2563EB;
  --accent-emerald: #10B981;
  --accent-purple: #8B5CF6;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
.ambient-glow-1 {
  position: fixed;
  top: -150px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-2 {
  position: fixed;
  top: 40%;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(244, 63, 94, 0.04) 50%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-3 {
  position: fixed;
  bottom: -100px;
  left: 20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 36px -10px rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

/* Neon Text Gradient */
.gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34D399 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-amber {
  background: linear-gradient(135deg, #FBBF24 0%, #F87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow Badge */
.glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  color: #7DD3FC;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

/* Project Tab Active State */
.project-tab {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tab.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.18) 100%) !important;
  border-color: #38BDF8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

/* Device Mockup */
.device-frame {
  position: relative;
  background: #020617;
  border-radius: 2.25rem;
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.2);
}

.device-frame video {
  border-radius: 1.75rem;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
  display: block;
}

/* Screenshot Mockup Card */
.mockup-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.mockup-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 45px -10px rgba(56, 189, 248, 0.3);
}

.mockup-card:hover img {
  transform: scale(1.03);
}

.mockup-card img {
  transition: transform 0.4s ease;
}

/* Architecture Node */
.arch-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.arch-card:hover {
  border-color: #38BDF8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 7, 14, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070B14;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38BDF8;
}



/* Anti-Copy and Anti-Drag Security Shield */
img, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
}



/* ===================================================
   🔴 Red Animated Ticker Strip (Left-to-Right / Seamless)
   =================================================== */
.red-ticker-banner {
  background: linear-gradient(90deg, #7F1D1D 0%, #DC2626 50%, #991B1B 100%);
  border-top: 1px solid rgba(248, 113, 113, 0.4);
  border-bottom: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 0.65rem 0;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
  animation: ticker-slide 28s linear infinite;
}

.ticker-wrapper:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  margin: 0 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-green 1.5s infinite;
}

/* Experience Metric Card */
.exp-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.exp-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(56, 189, 248, 0.25);
}

.exp-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.exp-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #38BDF8 0%, #10B981 100%);
}



/* ===================================================
   🔒 Anti-Download Shield for HTML5 Video Player
   =================================================== */
video::-internal-media-controls-download-button {
  display: none !important;
}

video::-webkit-media-controls-download-button {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

video::-webkit-media-controls-panel {
  width: 100%;
}

video::-webkit-media-controls-overflow-button {
  display: none !important;
}
