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

:root {
  --ocean-void: #040b1a;
  --ocean-deep: #0a1628;
  --ocean-mid: #0f2847;
  --ocean-surface: #143560;
  --neon-teal: #00e5cc;
  --neon-teal-dim: #00b8a3;
  --neon-teal-glow: rgba(0, 229, 204, 0.45);
  --white-pure: #f0f8ff;
  --white-muted: rgba(240, 248, 255, 0.65);
  --glass-bg: rgba(10, 22, 40, 0.82);
  --glass-border: rgba(0, 229, 204, 0.22);
  --danger-red: #ff4466;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-height: clamp(3.5rem, 10vw, 4.5rem);
  --top-height: clamp(3rem, 8vw, 3.75rem);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

html {
  font-size: clamp(14px, 2.8vw, 18px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--ocean-void);
  color: var(--white-pure);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  text-decoration-skip-ink: none;
}

body {
  overscroll-behavior: none;
  touch-action: manipulation;
}

h1, h2, h3, h4, p, span, button, li, label {
  text-decoration: none;
  -webkit-text-decoration-skip: none;
  text-decoration-skip: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.app-root {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-void) 100%);
}

@media (min-width: 521px) {
  .app-root {
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    box-shadow: 0 0 60px rgba(0, 229, 204, 0.08);
  }
}
