/* MUZAN TECH — Neon Futurist Theme */

:root {
  --bg-primary: #070912;
  --bg-secondary: #0e1224;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.14);
  --text-primary: #e8f1ff;
  --text-secondary: #9aa8c7;
  --cyan: #00eaff;
  --magenta: #ff00cc;
  --violet: #7c4dff;
  --green: #00ffb3;
  --warning: #ff2a6d;
  --radius: 16px;
  --shadow-glow: 0 0 24px rgba(0, 234, 255, 0.28);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.35);
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base */
html { scroll-behavior: smooth; }
body.neon-theme {
  background: radial-gradient(1200px 800px at 15% 10%, rgba(0, 234, 255, 0.10), transparent 60%),
              radial-gradient(1000px 700px at 85% 20%, rgba(255, 0, 204, 0.10), transparent 60%),
              linear-gradient(180deg, #060814 0%, #090b18 30%, #0a0f24 100%);
  color: var(--text-primary);
}

/* Fancy scrollbars */
body.neon-theme,
.neon-theme * {
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255,255,255,0.05);
}
.neon-theme ::-webkit-scrollbar { height: 10px; width: 10px; }
.neon-theme ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 20px;
}
.neon-theme ::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }

/* Glass surfaces */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Neon text + borders */
.neon-text { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 234, 255, 0.6); }
.neon-border { box-shadow: inset 0 0 0 1px var(--cyan), 0 0 16px rgba(0,234,255,0.3); }
.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  color: white;
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.35), var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-neon:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(124,77,255,0.5), var(--shadow-glow); }
.btn-outline {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-outline:hover { background: var(--cyan); color: #031222; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 600ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Tilt-ready cards */
.tilt { will-change: transform; transform-style: preserve-3d; transition: transform 200ms ease; }
.tilt:active { transition: none; }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Links */
a.neon-link { color: var(--cyan); text-decoration: none; }
a.neon-link:hover { text-shadow: 0 0 8px rgba(0,234,255,0.6); }

/* Utility */
.maxw { max-width: 1200px; margin: 0 auto; }
.center { display: grid; place-items: center; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 28px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 28px; }

/* Shiny title */
.shiny-title {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #fff, #b8e9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shiny-title::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: shine 5s linear infinite;
}
@keyframes shine { 0% { transform: translateX(-120%);} 100% { transform: translateX(120%);} }

/* Ripple base (used by JS) */
.ripple-container { position: relative; overflow: hidden; }
.ripple-span {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  pointer-events: none; background: rgba(255, 255, 255, 0.35);
  animation: ripple 600ms ease-out forwards;
}
@keyframes ripple { from { width: 0; height: 0; opacity: 0.6; } to { width: 280px; height: 280px; opacity: 0; } }

/* Canvas background positioning (inserted by JS) */
#bgStarsCanvas {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0.9;
}

/* Headers and footers unification (opt-in via class) */
.neo-header {
  background: rgba(10, 14, 32, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.neo-footer {
  background: rgba(10, 14, 32, 0.65);
  border-top: 1px solid var(--border);
}

