* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: -apple-system, "Helvetica Neue", "Noto Sans JP", sans-serif;
}

body {
  position: relative;
  z-index: 0;
}

/* ── Launch Card ── */
.launch-card {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.launch-card.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.launch-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-desc {
  margin: 0 0 2.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 18rem;
  line-height: 1.6;
}

.launch-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 14rem;
}

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn:active {
  opacity: 0.6;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── HUD ── */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hud.visible {
  opacity: 1;
}

.hud-status {
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.65rem;
  font-family: "SF Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
}

.hud-marker {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.hud-marker:active {
  opacity: 0.6;
}

/* ── Mobile ── */
@media (max-width: 540px) {
  .hud {
    padding: 0.75rem;
  }

  .launch-title {
    font-size: 1rem;
  }
}
