html,
body {
    width: 100%;
    height: 100%;
    overscroll-behavior: none;
}

body {
    margin: 0;
    overflow: hidden;
    background: #0f0f0f;
    font-family: Arial, sans-serif;
    color: #fff;
}

#canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    touch-action: none;
    z-index: 0;
}

#title {
    position: fixed;
    top: 55%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 40px;
    letter-spacing: 2px;
    opacity: 0.95;
    user-select: none;
    white-space: pre;
    pointer-events: none;
    z-index: 1;
}

.char {
    display: inline-block;
    position: relative;
    will-change: transform, opacity, text-shadow;
}

.alien-btn {
  background: black;
  color: #00ffcc;
  border: 1px solid #00ffcc;
  padding: 12px 24px;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  touch-action: manipulation;
}

.alien-btn:hover {
  color: #ff00ff;
  border-color: #ff00ff;
  text-shadow: 0 0 8px #ff00ff;
}

.alien-btn.active {
  color: #ffff00;
  border-color: #ffff00;
  text-shadow: 0 0 12px #ffff00;
}


.hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: #00ffcc;
  border: 1px solid #00ffcc;
  padding: 10px 20px;
  font-family: monospace;
  opacity: 0;
  transition: 0.3s;
  max-width: calc(100vw - 40px);
  text-align: center;
  white-space: normal;
}

.hint.show {
  opacity: 1;
}

.email-btn {
  position: fixed;   /* наследуется от alien-btn, но можно продублировать */
  bottom: 20px;
  left: 20px;
  top: auto;         /* важно: сбрасываем top, чтобы не конфликтовало */
  text-decoration: none;
  display: inline-block;
}

.email-btn:hover {
  transform: translateY(-6px);
  color: #ffff00;
  border-color: #ffff00;
  text-shadow: 0 0 8px #ffff00;
}
