.game .section-title {
  padding-bottom: 32px;
}

.game-intro {
  max-width: 680px;
}

.game-shell {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: clamp(320px, 55vw, 480px);
  margin: 0 auto;
  overflow: hidden;
  background: #000000;
  border: 2px solid #242424;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  cursor: default;
}

.game-shell.is-running {
  cursor: crosshair;
}

.game-hud {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 4;
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-score {
  color: #ffffff;
  font-weight: 700;
}

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.42);
}

.game-overlay[hidden] {
  display: none;
}

.game-overlay-content {
  color: #ffffff;
}

.game-overlay h3 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-overlay p {
  margin-bottom: 18px;
}

.game-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 30px;
  color: #ffffff;
  background: var(--accent-color);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.game-button:hover,
.game-button:focus-visible {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

.alien {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 14px currentColor;
  transform: rotate(45deg);
  user-select: none;
}

@media (max-width: 575px) {
  .game-shell {
    height: min(72vw, 420px);
    min-height: 300px;
  }

  .alien {
    width: 20px;
    height: 20px;
  }
}
