/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0a12;
  /* Prevent pull-to-refresh and overscroll on mobile */
  overscroll-behavior: none;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  cursor: none;
  touch-action: none;
}

/* ─── Hero Card DOM Overlay ────────────────────────────── */
.hero-card {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  width: 320px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid #00e5ff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25), inset 0 0 10px rgba(0, 229, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  color: #c8c8dc;
  
  /* Initial State */
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.hero-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  align-self: flex-start;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
  margin-bottom: -10px;
  float: right;
  position: absolute;
  top: 15px;
  right: 15px;
}

.hero-card-content {
  width: 100%;
}

.hero-card-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #00e5ff;
  margin-bottom: 6px;
  text-transform: uppercase;
  max-width: 200px;
}

.hero-card-content p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-right: 50px; /* leave room for image */
}

.hero-skills h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  color: #ff3366;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-skills li {
  font-size: 11px;
  color: #ffffff;
  position: relative;
  padding-left: 14px;
  line-height: 1.3;
}

.hero-skills li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00e5ff;
}

.hero-skills li:nth-child(3)::before {
  content: '★';
  color: #ffea00;
  font-size: 10px;
  left: 1px;
}

.hero-skills li:nth-child(3) {
  color: #ffea00;
}
