/* MATHBHOOT Villa Globe — Shell Layout Stylesheet */

:root {
  --bg-primary: #030108;
  --bg-secondary: #0a071b;
  --bg-panel: rgba(10, 7, 27, 0.85);
  --color-purple: #a855f7;
  --color-purple-bright: #c45cff;
  --color-gold: #f59e0b;
  --color-gold-bright: #fbbf24;
  --color-cyan: #38bdf8;
  --color-red: #ef4444;
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --font-display: "Cinzel", Georgia, serif;
  --font-mono: "Courier New", Courier, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.page-villa-network {
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.globe-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

#cesium-container {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

#cesium-container .cesium-widget,
#cesium-container canvas {
  width: 100%;
  height: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.globe-error {
  position: fixed;
  z-index: 10001;
  inset: 50% auto auto 50%;
  width: min(90vw, 32rem);
  padding: 1.5rem;
  transform: translate(-50%, -50%);
  border: 1px solid var(--color-purple);
  border-radius: 0.75rem;
  background: rgba(3, 1, 8, 0.96);
  text-align: center;
}

.globe-error[hidden] {
  display: none;
}
