* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  background: #1a1a2e;
  color: #eee;
}

.app {
  text-align: center;
  padding: 1.5rem;
}

header h1 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.subtitle {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 120px;
  text-align: left;
}

.stat .label,
.next-box .label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.next-box .label {
  margin-bottom: 0.35rem;
}

#next {
  display: block;
  background: #0f0f1a;
  border: 2px solid #333;
  border-radius: 4px;
}

.stat .value {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#start-btn {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: #4ecca3;
  color: #1a1a2e;
  cursor: pointer;
}

#start-btn:hover {
  background: #3db892;
}

.status {
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.4;
}

#game {
  display: block;
  background: #0f0f1a;
  border: 3px solid #333;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  main {
    flex-direction: column;
    align-items: center;
  }

  .panel {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
