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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 60px;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(34, 160, 79, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(200, 168, 75, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0a1810 0%, #0d1f14 50%, #091510 100%);
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

/* Input reset */
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

input::placeholder {
  color: var(--muted);
}

/* Remove input number spinner */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Selection */
::selection {
  background: rgba(46, 204, 113, 0.3);
  color: var(--text);
}
