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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0a0a0a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: crosshair;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

/* Subtle brand mark — bottom-left corner */
.brand-mark {
  position: fixed;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: brandFadeIn 1.8s ease-out 0.6s forwards;
}

.brand-logo {
  width: 28px;
  height: 28px;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.brand-name {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s ease;
}

.brand-mark:hover .brand-logo {
  opacity: 0.85;
}

.brand-mark:hover .brand-name {
  color: rgba(255, 255, 255, 0.7);
}

.email-link {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  opacity: 0;
  animation: brandFadeIn 1.8s ease-out 0.6s forwards;
  transition: color 0.4s ease;
}

.email-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

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

/* Mobile adjustments */
@media (max-width: 640px) {
  .brand-mark {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .brand-logo {
    width: 22px;
    height: 22px;
  }

  .brand-name {
    font-size: 0.6rem;
  }

  .email-link {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.6rem;
  }
}
