* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #05070a;
  color: #e9e9e6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}

#start-gate {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 10, 0.75);
  text-align: center;
}

#start-gate[hidden] {
  display: none;
}

#start-gate-inner h1 {
  margin: 0;
  font-size: 2.6rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #eceeea;
  text-shadow: 0 0 24px rgba(120, 170, 170, 0.45), 0 2px 10px rgba(0, 0, 0, 0.9);
}

#start-gate-inner .subtitle {
  margin: 4px 0 24px;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: #9fb3b0;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

#start-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #05070a;
  background: #e63946;
  box-shadow: 0 0 32px rgba(230, 57, 70, 0.45);
  cursor: pointer;
}

#ar-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 8;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(2, 4, 6, 0.72);
  color: #eceeea;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  pointer-events: none;
}

#ar-hint[hidden] {
  display: none;
}

#unsupported-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 4, 6, 0.92);
  text-align: center;
}

#unsupported-overlay[hidden] {
  display: none;
}

#unsupported-inner p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #e9e9e6;
  line-height: 1.5;
}

#unsupported-inner .unsupported-hint {
  font-size: 0.85rem;
  color: #9fb3b0;
}

#attribution {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 9;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(2, 4, 6, 0.5);
  color: #cfd6d5;
  font-size: 0.7rem;
  text-decoration: none;
}
