@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Bebas+Neue&family=Inter:wght@400;500;600;700;900&display=swap');

/* ============ PUNK ROCK GLASSMORPHISM THEME ============ */

:root {
  /* Punk Rock Color Palette */
  --neon-pink: #ff006e;
  --cyber-green: #00ff88;
  --electric-purple: #8b00ff;
  --blood-red: #dc143c;
  --punk-black: #0a0a0a;
  --rebel-yellow: #ffdf00;
  --toxic-green: #39ff14;
  
  /* Dark Glassmorphism Base */
  --bg-primary: linear-gradient(135deg, #0a0a0a 0%, #1a0b2e 25%, #2d1650 50%, #0d0d0d 100%);
  --glass-primary: rgba(10, 10, 10, 0.85);
  --glass-secondary: rgba(26, 11, 46, 0.75);
  --glass-light: rgba(255, 255, 255, 0.05);
  --glass-accent: rgba(255, 0, 110, 0.15);
  --glass-punk: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(139, 0, 255, 0.1) 100%);
  
  /* Neon Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 0, 110, 0.5);
  --border-neon: 0 0 10px rgba(255, 0, 110, 0.5), inset 0 0 10px rgba(139, 0, 255, 0.2);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #a0a0a0;
  --text-punk: var(--neon-pink);
  
  /* Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(255, 0, 110, 0.1);
  --shadow-neon: 0 0 40px rgba(255, 0, 110, 0.4);
  --blur-backdrop: blur(20px);
  
  /* Transitions */
  --transition-punk: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============ RESET & BASE ============ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ensure proper layout with fixed header */

.min-h-screen {
  min-height: 100vh;
}

header.fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
}

/* Punk Background Pattern */

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 0, 110, 0.03) 35px, rgba(255, 0, 110, 0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(139, 0, 255, 0.03) 35px, rgba(139, 0, 255, 0.03) 70px);
  pointer-events: none;
  z-index: 1;
}

/* ============ PUNK GLASSMORPHISM COMPONENTS ============ */

.card {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 11, 46, 0.7) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 110, 0.2);
  padding: 1.5rem;
  box-shadow: 
    0 8px 32px rgba(255, 0, 110, 0.1),
    inset 0 0 20px rgba(139, 0, 255, 0.05);
  transition: var(--transition-punk);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--neon-pink), var(--electric-purple), var(--cyber-green), var(--neon-pink));
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(5px);
}

.card:hover::before {
  opacity: 0.3;
  animation: neon-border 3s linear infinite;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neon-pink);
  box-shadow: 
    0 15px 40px rgba(255, 0, 110, 0.3),
    0 0 60px rgba(139, 0, 255, 0.2),
    inset 0 0 30px rgba(0, 255, 136, 0.05);
}

/* Clamp effects inside the Settings modal */

.glass-modal {
  position: relative;
  overflow: hidden;           /* prevent child glows from bleeding out */
  border-radius: inherit;     /* match parent rounding */
  clip-path: inset(0 round 20px); /* hard-clip everything, including shadows */
}

.glass-modal .card {
  overflow: hidden;           /* keep card pseudo-element inside */
  border-radius: 16px;
  box-shadow: none;           /* no outer glow by default inside modal */
}

.glass-modal .card::before {
  /* Constrain highlight to card bounds inside modal */
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  filter: blur(2px);          /* softer to reduce spill */
  opacity: 0.12;              /* lower intensity in modal */
}

.glass-modal .card:hover {
  /* Keep effect inside: only inset shadows, no transform scaling */
  transform: none;
  box-shadow:
    inset 0 0 24px rgba(0, 255, 136, 0.10),
    inset 0 0 36px rgba(139, 0, 255, 0.12),
    inset 0 0 18px rgba(255, 0, 110, 0.12);
}

/* ============ PUNK BUTTONS ============ */

.btn-punk {
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--electric-purple) 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-punk);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
}

.btn-punk::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--cyber-green) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn-punk:hover::before {
  width: 300px;
  height: 300px;
}

.btn-punk:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 0 50px rgba(255, 0, 110, 0.5),
    0 10px 40px rgba(139, 0, 255, 0.3);
  border-color: var(--cyber-green);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-punk:active {
  transform: scale(0.98);
}

.btn-primary {
  /* Inherits btn-punk styles */
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--electric-purple) 100%);
  border: 2px solid var(--neon-pink);
  color: white;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-punk);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-pink);
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid var(--neon-pink);
  cursor: pointer;
  transition: var(--transition-punk);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: rgba(255, 0, 110, 0.1);
  box-shadow: 
    0 0 30px rgba(255, 0, 110, 0.4),
    inset 0 0 20px rgba(255, 0, 110, 0.1);
  transform: translateY(-2px);
  text-shadow: 0 0 10px var(--neon-pink);
}

/* ============ PUNK TYPOGRAPHY ============ */

.punk-title {
  font-family: 'Black Ops One', cursive;
  background: linear-gradient(45deg, var(--neon-pink), var(--electric-purple), var(--cyber-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
  animation: glitch 3s infinite;
}

.rebel-text {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============ GLITCH EFFECTS ============ */

@keyframes glitch {
  0%, 100% {
    text-shadow: 
      0 0 30px rgba(255, 0, 110, 0.5),
      -2px 0 var(--cyber-green),
      2px 0 var(--electric-purple);
  }
  33% {
    text-shadow: 
      0 0 30px rgba(255, 0, 110, 0.5),
      -2px 0 var(--electric-purple),
      2px 0 var(--cyber-green);
  }
  66% {
    text-shadow: 
      0 0 30px rgba(255, 0, 110, 0.5),
      2px 0 var(--cyber-green),
      -2px 0 var(--electric-purple);
  }
}

@keyframes neon-border {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes punk-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.8), 0 0 60px rgba(139, 0, 255, 0.4);
  }
}

@keyframes punk-pending-pulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 213, 0, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 213, 0, 0.9), 0 0 60px rgba(255, 213, 0, 0.4);
    transform: scale(1.05);
  }
}

@keyframes punk-pending-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

@keyframes punk-critical-flash {
  0% {
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 50px rgba(255, 0, 110, 1), 0 0 80px rgba(220, 20, 60, 0.5);
    opacity: 0.8;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px var(--rebel-yellow));
  }
  50% {
    filter: drop-shadow(0 0 20px var(--rebel-yellow)) drop-shadow(0 0 30px rgba(255, 213, 0, 0.5));
  }
}

@keyframes rebel-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(-2deg);
  }
  75% {
    transform: translateY(5px) rotate(2deg);
  }
}

/* ============ STATUS INDICATORS ============ */

.status-punk-active {
  background: linear-gradient(135deg, var(--cyber-green) 0%, rgba(0, 255, 136, 0.3) 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  animation: punk-pulse 2s infinite;
}

.status-punk-error {
  background: linear-gradient(135deg, var(--blood-red) 0%, rgba(220, 20, 60, 0.3) 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

.status-punk-pending {
  background: linear-gradient(135deg, var(--rebel-yellow) 0%, rgba(255, 213, 0, 0.3) 100%);
  color: var(--punk-black);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 25px rgba(255, 213, 0, 0.6);
  animation: punk-pending-pulse 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.status-punk-pending::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: punk-pending-sweep 2s linear infinite;
}

.status-punk-critical {
  background: linear-gradient(135deg, var(--neon-pink) 0%, var(--blood-red) 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.7);
  animation: punk-critical-flash 0.5s ease-in-out infinite alternate;
}

.status-punk-warning {
  background: linear-gradient(135deg, var(--rebel-yellow) 0%, rgba(255, 223, 0, 0.3) 100%);
  color: var(--punk-black);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.5);
}

/* ============ NEON INPUTS ============ */

.input-punk {
  background: rgba(10, 10, 10, 0.8);
  border: 2px solid rgba(255, 0, 110, 0.3);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: var(--transition-punk);
  outline: none;
}

.input-punk:focus {
  border-color: var(--neon-pink);
  box-shadow: 
    0 0 30px rgba(255, 0, 110, 0.3),
    inset 0 0 10px rgba(255, 0, 110, 0.1);
}

.input-punk::-moz-placeholder {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
}

.input-punk::placeholder {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.75rem;
}

/* ============ RESPONSIVE GRID SYSTEM ============ */

.punk-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
  .punk-grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .punk-grid-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .punk-grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .punk-grid-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============ MOBILE RESPONSIVENESS ============ */

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  
  .card {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .btn-punk, .btn-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  
  .punk-title {
    font-size: 1.5rem;
  }
  
  .rebel-text {
    font-size: 1rem;
  }
  
  .punk-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Ensure proper header positioning on mobile */
  header.fixed {
    position: fixed !important;
    top: 0 !important;
    z-index: 50 !important;
  }

  /* MetricsCard mobile optimizations */
  .card {
    min-height: auto;
  }
  
  .card .text-2xl {
    font-size: 1.5rem;
    line-height: 1.2;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }
  
  body {
    padding-top: 60px;
  }
  
  .card {
    margin: 0.5rem;
    padding: 0.75rem;
  }

  .card .text-2xl {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .card .text-xs {
    font-size: 0.625rem;
  }
}

/* ============ UTILITY CLASSES ============ */

.flex { display: flex; }

.flex-col { flex-direction: column; }

.items-center { align-items: center; }

.justify-between { justify-content: space-between; }

.justify-center { justify-content: center; }

.gap-1 { gap: 0.25rem; }

.gap-2 { gap: 0.5rem; }

.gap-3 { gap: 0.75rem; }

.gap-4 { gap: 1rem; }

.gap-6 { gap: 1.5rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }

.flex-1 { flex: 1; }

.flex-shrink-0 { flex-shrink: 0; }

.leading-tight { line-height: 1.25; }

.pr-4 { padding-right: 1rem; }

.w-0 { width: 0; }

.w-64 { width: 16rem; }

.w-72 { width: 18rem; }

.md\:w-64 { width: 16rem; }

.overflow-hidden { overflow: hidden; }

.overflow-y-auto { overflow-y: auto; }

.overflow-x-hidden { overflow-x: hidden; }

.max-h-screen { max-height: 100vh; }

.md\:overflow-y-visible { overflow-y: visible; }

.md\:max-h-\[calc\(100vh-4rem\)\] { max-height: calc(100vh - 4rem); }

.lg\:max-h-\[calc\(100vh-5rem\)\] { max-height: calc(100vh - 5rem); }

.z-\[200\] { z-index: 200; }

.hover\:scale-110:hover { transform: scale(1.1); }

.p-2 { padding: 0.5rem; }

.p-3 { padding: 0.75rem; }

.p-4 { padding: 1rem; }

.p-6 { padding: 1.5rem; }

.pt-16 { padding-top: 4rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }

.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.mt-2 { margin-top: 0.5rem; }

.mt-4 { margin-top: 1rem; }

.mt-6 { margin-top: 1.5rem; }

.mt-8 { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }

.mb-4 { margin-bottom: 1rem; }

.mb-6 { margin-bottom: 1.5rem; }

.ml-2 { margin-left: 0.5rem; }

.mr-2 { margin-right: 0.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.text-xs { font-size: 0.75rem; }

.text-sm { font-size: 0.875rem; }

.text-base { font-size: 1rem; }

.text-lg { font-size: 1.125rem; }

.text-xl { font-size: 1.25rem; }

.text-2xl { font-size: 1.5rem; }

.text-3xl { font-size: 1.875rem; }

.font-medium { font-weight: 500; }

.font-semibold { font-weight: 600; }

.font-bold { font-weight: 700; }

.font-black { font-weight: 900; }

.text-center { text-align: center; }

.text-right { text-align: right; }

.uppercase { text-transform: uppercase; }

.rounded { border-radius: 0.25rem; }

.rounded-lg { border-radius: 0.5rem; }

.rounded-xl { border-radius: 0.75rem; }

.rounded-2xl { border-radius: 1rem; }

.rounded-full { border-radius: 999px; }

.w-full { width: 100%; }

.h-full { height: 100%; }

.min-h-screen { min-height: 100vh; }

.max-w-7xl { max-width: 1280px; }

.relative { position: relative; }

.absolute { position: absolute; }

.fixed { position: fixed; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }

.z-20 { z-index: 20; }

.z-30 { z-index: 30; }

.z-40 { z-index: 40; }

.z-50 { z-index: 50; }

.z-\[98\] { z-index: 98; }

.z-\[99\] { z-index: 99; }

.z-\[100\] { z-index: 100; }

.z-\[101\] { z-index: 101; }

.mt-12 { margin-top: 3rem; }

.transition-all { transition: all 0.3s ease; }

.cursor-pointer { cursor: pointer; }

.pointer-events-none { pointer-events: none; }

.opacity-0 { opacity: 0; }

.opacity-50 { opacity: 0.5; }

.opacity-100 { opacity: 1; }

.scale-95 { transform: scale(0.95); }

.scale-100 { transform: scale(1); }

.scale-105 { transform: scale(1.05); }

.hidden { display: none; }

.block { display: block; }

.inline-block { display: inline-block; }

.space-x-2 > * + * { margin-left: 0.5rem; }

.space-x-3 > * + * { margin-left: 0.75rem; }

.space-x-4 > * + * { margin-left: 1rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }

.space-y-3 > * + * { margin-top: 0.75rem; }

.space-y-4 > * + * { margin-top: 1rem; }

.space-y-6 > * + * { margin-top: 1.5rem; }

/* Transform utilities required by Sidebar */

.translate-x-0 { transform: translateX(0); }

.-translate-x-full { transform: translateX(-100%); }

/* Timing utilities for smooth slide animations */

.duration-500 { transition-duration: 0.5s; }

.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* Hide scrollbar but keep functionality */

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Responsive utilities */

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:w-64 { width: 16rem; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:ml-64 { margin-left: 16rem; }
  .md\:translate-x-0 { transform: translateX(0); }
  .md\:w-64 { width: 16rem; }
  .md\:pt-20 { padding-top: 5rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:z-30 { z-index: 30; }
  .md\:top-16 { top: 4rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .md\:overflow-y-visible { overflow-y: visible; }
  .md\:max-h-\[calc\(100vh-4rem\)\] { max-height: calc(100vh - 4rem); }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:top-20 { top: 5rem; }
  .lg\:max-h-\[calc\(100vh-5rem\)\] { max-height: calc(100vh - 5rem); }
}

/* Webkit scrollbar styling */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--neon-pink), var(--electric-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--electric-purple), var(--neon-pink));
}

/* Animation classes */

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fade animations */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Slide animations */

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Custom punk sticker effect */

.punk-sticker {
  position: absolute;
  transform: rotate(-15deg);
  font-family: 'Black Ops One', cursive;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: rgba(10, 10, 10, 0.9);
  border: 2px solid var(--neon-pink);
  border-radius: 4px;
  font-size: 0.625rem;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
  z-index: 10;
  pointer-events: none;
}

/* Gradient text utilities */

.text-gradient-punk {
  background: linear-gradient(45deg, var(--neon-pink), var(--electric-purple), var(--cyber-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Success/Error states with punk style */

.metric-positive {
  color: var(--cyber-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.metric-negative {
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

/* Loading states */

.loading-punk {
  position: relative;
  overflow: hidden;
}

.loading-punk::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.3), transparent);
  animation: loading-sweep 1.5s infinite;
}

@keyframes loading-sweep {
  to { left: 100%; }
}

/* Hover states for interactive elements */

.hover-punk:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  transition: var(--transition-punk);
}

/* Focus states for accessibility */

.focus-punk:focus {
  outline: 2px solid var(--neon-pink);
  outline-offset: 2px;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

/* Print styles */

@media print {
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}