/* =========================
   KITTYVERSE WEBGL SCENE
========================= */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  font-family: "Inter", sans-serif;
}

body {
  position: relative;
  color: #ffffff;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Canvas WebGL */

#mars-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

/* =========================
   OPTIONAL UI LAYER
========================= */

.kittyverse-ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* zone label */

.zone-label {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(20, 24, 40, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #ffffff;
  opacity: 0.92;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* portal glow hint */

.portal-hint {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0.7;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .zone-label {
    top: max(14px, env(safe-area-inset-top));
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 15px;
  }
}

@media (max-width: 600px) {
  .zone-label {
    top: max(12px, env(safe-area-inset-top));
    max-width: calc(100vw - 120px);
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .portal-hint {
    font-size: 12px;
  }
}
#warp-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#warp-transition.active {
  opacity: 1;
  pointer-events: auto;
}

#warp-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
