/* counter.css — briefcase combination dial style */

:root {
  --case-bg: #222;
  --case-edge: #0f0f0f;
  --dial-bg: #111;
  --digit-color: #f2f2f2;
  --accent: #caa768;
}

.counter-wrapper {
  background: linear-gradient(180deg, var(--case-bg) 0%, #1a1a1a 100%);
  border: 2px solid var(--case-edge);
  border-radius: 18px;
  padding: 18px 16px 22px;
  position: relative;
}

.counter-wrapper::before, .counter-wrapper::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6, #000 70%);
  top: 10px;
  box-shadow: 0 0 0 2px #000 inset, 0 1px 2px #0007;
}

.counter-wrapper::before {
  left: 10px;
}

.counter-wrapper::after {
  right: 10px;
}

.counter-title {
  color: var(--accent);
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 700;
  text-align: center;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.briefcase-counter {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(180deg, #0d0d0d, #161616);
  border-radius: 14px;
  border: 1px solid #000;
  box-shadow: inset 0 2px 8px #000, 0 10px 24px #0006;
  max-width: 420px;
  margin: 0 auto;
}

.wheel {
  width: clamp(44px, 8vw, 64px);
  height: clamp(64px, 11vw, 92px);
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border: 1px solid #000;
  box-shadow: inset 0 3px 12px #000, inset 0 -3px 8px #000a;
  position: relative;
}

.wheel .digits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  transition: transform 700ms cubic-bezier(.22,.8,.3,1);
  will-change: transform;
}

.wheel li {
  height: clamp(64px, 11vw, 92px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  color: var(--digit-color);
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  text-shadow: 0 1px 0 #000, 0 4px 10px #000;
}

/* brass rails */

.briefcase-counter::before, .briefcase-counter::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, #8a6a2d, #d8bb79 40%, #8a6a2d);
  border-radius: 2px;
  opacity: .55;
}

.briefcase-counter::before {
  top: 12px;
}

.briefcase-counter::after {
  bottom: 12px;
}

.counter-note {
  color: #c8c8c8;
  font-size: .85rem;
  text-align: center;
  margin-top: 10px;
  opacity: .85;
}

