/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #1a1a2e;
  --color-surface: #16213e;
  --color-primary: #e94560;
  --color-primary-hover: #ff6b81;
  --color-success: #2ecc71;
  --color-skip: #f39c12;
  --color-text: #eee;
  --color-text-muted: #aaa;
  --color-overlay: rgba(0, 0, 0, 0.6);

  --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3.5rem;

  --radius: 12px;
  --spacing: 1rem;
  --transition: 200ms ease;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== Buttons ===== */
button {
  font-family: inherit;
  font-size: var(--font-size-md);
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  padding: 0.75em 1.5em;
  transition: background var(--transition), transform var(--transition);
}

button:active {
  transform: scale(0.96);
}

/* ===== Animations ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
