/* Base Styles */
:root {
  --accent: #8b5cf6;
  --emerald: #10b981;
  --bg: #050505;
  --card-bg: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
}

.mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Bento Cards */
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.aura {
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

#cursor {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.sticky-header {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glow-text {
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Mobile Menu */
#mobile-menu {
  display: none;
  opacity: 0;
  transform: translateX(100%);
}

#mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* Reveal Animation State (handled by JS) */
.reveal {
  visibility: hidden;
}

/* Dark Mode Toggle */
.screenshot-grid div {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
