/* ===================================
   OPTIMUSCLE — Base & Reset
   =================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: #000;
  padding-bottom: 90px;
  position: relative;
}

body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

/* Typography */
.display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.subtitle {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Animations */
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes badgePop {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

.badge-unlock-anim {
  animation: badgePop 1s var(--ease-out);
}
