/* =========================================================
   base.css — resets, design tokens, global responsive rules
   ========================================================= */

:root {
  /* Color tokens */
  --color-bg-black: #0a0714;
  --color-purple: #6c4bff;
  --color-purple-deep: rgba(30, 16, 60, 0.94);
  --color-teal: #2dd4bf;
  --color-pink: #ff6fa5;
  --color-orange: #ff9f45;
  --color-neon-green: #39ff88;
  --color-white: #ffffff;

  /* Type tokens */
  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;

  /* Layout tokens */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* full-bleed app, no page scroll */
  background: var(--color-bg-black);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* The main app root fills the viewport exactly, on every device */
.app {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;  /* universally-supported fallback, pure CSS, no JS involved */
  height: 100dvh; /* modern browsers override with the more accurate value */
  overflow: hidden;
}
