:root {
  --bg-primary: #050b1a;
  --bg-secondary: rgba(11, 22, 51, 0.65);
  --accent-primary: #00d4ff;
  --accent-secondary: #1e6bff;
  --text-primary: #eaf2ff;
  --text-muted: #8fa3c8;
  --border-glow: rgba(0, 212, 255, 0.35);
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #0b1633, #050b1a 70%);
  color: var(--text-primary);
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 32px;
}

header h1 {
  margin: 0;
  font-weight: 600;
}

header span {
  font-size: 14px;
  color: var(--accent-primary);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  background: var(--bg-secondary);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.panel h2 {
  margin-top: 0;
  font-weight: 500;
}

.stats {
  margin-top: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

label {
  font-size: 13px;
  color: var(--text-muted);
}

input {
  width: 100%;
  padding: 12px;
  margin: 8px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-glow);
  background: transparent;
  color: var(--text-primary);
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #001018;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,212,255,0.25);
}

button:active {
  transform: translateY(0);
}

button.secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--border-glow);
}

hr {
  border: none;
  border-top: 1px solid rgba(0,212,255,0.15);
  margin: 16px 0;
}

/* Progress bars */
.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.progress.small {
  height: 6px;
}

.progress div {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: width 0.6s ease;
}

/* Number flash animation */
.flash {
  animation: flash 0.4s ease;
}

@keyframes flash {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
}

