@import url('https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/style.min.css');

:root {
  --ink: #0f172a;
  --paper: #f8fafc;
  --brand: #0f766e;
  --brand-2: #b45309;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'LXGW WenKai Screen', sans-serif;
}

.bg-wave {
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.12) 0, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.14) 0, transparent 38%),
    radial-gradient(circle at 60% 90%, rgba(14, 116, 144, 0.12) 0, transparent 40%);
}

.glass-panel {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #0e7490);
  color: #fff;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.08);
  color: #1e293b;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.input,
.input-file {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #fff;
  padding: 0.65rem 0.75rem;
  margin-top: 0.35rem;
}

.label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.hint {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #64748b;
}

.preview {
  max-height: 300px;
  overflow: auto;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.75rem;
  font-size: 0.78rem;
}

.draw-bg {
  background:
    linear-gradient(140deg, #fef3c7 0%, #fde68a 30%, #fffbeb 100%);
}

.jump-box {
  width: 9rem;
  height: 9rem;
  margin: 0.75rem auto;
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.2rem;
  font-weight: 900;
  color: #7c2d12;
  background: #fff;
  border: 3px solid #f59e0b;
  box-shadow: 0 16px 35px rgba(124, 45, 18, 0.25);
}

.jump {
  transform: translateY(-8px) scale(1.04);
  transition: transform 0.08s ease;
}

.reveal-final {
  animation: pulseWin 0.7s ease;
}

@keyframes pulseWin {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.5);
  padding: 1rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.85rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 900;
}

.th,
.td {
  text-align: left;
  padding: 0.75rem 0.8rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .jump-box {
    width: 7rem;
    height: 7rem;
    font-size: 2.5rem;
  }
}
