@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html, body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
}

#fx {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}

#container {
  display: flex;
  height: 100vh;
}

#cps, #scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cps {
  justify-content: center;
  background: linear-gradient(135deg, #0e0e0e, #1b1b1b);
  color: white;
  cursor: pointer;
}

#scroll {
  background: #f5f5f5;
}

.label {
  margin-top: 24px;
  font-size: 20px;
  opacity: 0.8;
}

.timerControls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
}

.timerControls input {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  font: inherit;
}

#cps .timerControls input {
  color: #111;
}

.timerControls button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.timerControls button:hover {
  background: #1d4ed8;
}

.timer {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.75;
}

#cpsValue, #scrollValue {
  font-size: 42px;
  font-weight: 600;
  margin: 10px 0;
}

#totalClicks {
  font-size: 14px;
  opacity: 0.6;
}

#scrollBox {
  margin-top: 20px;
  width: 70%;
  height: 65vh;
  background: white;
  border-radius: 14px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#scrollContent {
  height: 12000px;
}
