/* Enhanced Futuristic Cyberpunk Theme */
:root {
  --neon-color: #00ff88;        /* Bright neon green */
  --neon-cyan: #00f2ff;          /* Cyan glow */
  --neon-pink: #ff00ff;          /* Magenta/pink */
  --primary-blue: #0066ff;
  --primary-purple: #7700ff;     /* Deep purple */
  --dark-bg: #0a0a15;
  --darker-bg: #000000;
}

body {
  box-sizing: border-box;
  background: linear-gradient(135deg, #0a0a15 0%, #1a0a2e 100%);
}

.app-wrapper {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.03em;
}

h1, h2, h3, h4, h5, h6, .font-bold, button {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
}

.gradient-bg {
  background: radial-gradient(circle at center, #0a0a15 0%, #000000 100%);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--neon-cyan);
  border-bottom: 2px solid var(--neon-pink);
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    linear-gradient(rgba(0, 255, 136, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

#canvas-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-cyan) 50%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(135deg, rgba(10, 10, 30, 0.9) 0%, rgba(26, 10, 46, 0.9) 100%);
  border: 2px solid rgba(0, 255, 136, 0.3);
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
  color: #e0e0e0;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), inset 0 0 20px rgba(255, 0, 255, 0.2);
  border-color: var(--neon-color);
  background: linear-gradient(135deg, rgba(10, 10, 30, 1) 0%, rgba(26, 10, 46, 1) 100%);
}

.nav-link { transition: color 0.3s ease, text-shadow 0.3s ease; }
.nav-link:hover { color: var(--neon-color); text-shadow: 0 0 15px var(--neon-color), 0 0 30px rgba(0, 255, 136, 0.5); }
.section-fade-in { animation: fadeIn 0.6s ease-in; position: relative; z-index: 10; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu { transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-menu.active { transform: translateX(0); }

.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

.modal-overlay { background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); }
.dashboard-section { display: none; min-height: 100vh; padding-top: 80px; }
.dashboard-section.active { display: block; }
.dashboard-card { background: rgba(255, 255, 255, 0.95); border-radius: 0.25rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%); padding: 1.5rem; }
.db-table { width: 100%; border-collapse: collapse; }
.db-table th, .db-table td { text-align: left; padding: 1rem; border-bottom: 1px solid #e5e7eb; }
.db-table th { background-color: #f9fafb; font-weight: 600; color: #374151; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }

button, a.px-6, a.px-8 { 
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); 
  letter-spacing: 1px; 
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--neon-color) 0%, var(--primary-purple) 100%);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  border: none;
}

button:hover, a.px-6:hover, a.px-8:hover {
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(255, 0, 255, 0.4);
  transform: translateY(-2px);
}

#chat-window.active { display: flex; transform: scale(1); opacity: 1; }
.chat-msg-user { background-color: #3b82f6; color: white; padding: 0.75rem; border-radius: 0.5rem; border-top-right-radius: 0; max-width: 80%; margin-left: auto; font-size: 0.875rem; }
@media (max-width: 768px) { #canvas-container canvas { opacity: 0.6; } }

#theme-customizer { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 100; display: flex; }
#theme-panel { background: rgba(10, 15, 30, 0.95); backdrop-filter: blur(10px); border: 1px solid var(--neon-color); border-left: none; padding: 1rem; border-radius: 0 0.5rem 0.5rem 0; transform: translateX(-100%); transition: transform 0.3s ease; }
#theme-panel.active { transform: translateX(0); }
.color-btn { width: 30px; height: 30px; border-radius: 50%; border: 2px solid white; cursor: pointer; transition: transform 0.2s; }
.color-btn:hover { transform: scale(1.2); }

#back-to-top { opacity: 0; visibility: hidden; transition: all 0.3s ease; }
#back-to-top.visible { opacity: 1; visibility: visible; }
