/* ═══════════════════════════════════════
   AlarmO'Clock — Countdown Hub Styles
   ═══════════════════════════════════════ */

/* ── TIMER CARD ── */
.hub-timer-card {
  background: linear-gradient(135deg, rgba(124,92,191,0.35) 0%, rgba(180,140,220,0.25) 100%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(100,60,180,0.12);
}

.hub-timer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
}

/* ── TIMER UNITS ── */
.hub-timer-units {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
}

.hub-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.hub-timer-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 16px rgba(100,60,180,0.25);
}

.hub-timer-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hub-timer-sep {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  padding-bottom: 18px;
  line-height: 1;
  align-self: flex-start;
  margin-top: 6px;
}

/* ── PROGRESS BAR ── */
.hub-timer-progress {
  width: 100%;
  max-width: 480px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
}

.hub-timer-progress-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #a78bfa, #c084fc, #e879a0);
  transition: width 1s linear;
  min-width: 4px;
}

.hub-timer-progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

/* ── HUB BUTTONS — override grid for hub ── */
.hub-buttons {
  margin: 28px 0;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hub-timer-card { padding: 24px 16px 20px; }
  .hub-timer-num { font-size: clamp(32px, 9vw, 52px); letter-spacing: -1px; }
  .hub-timer-sep { font-size: clamp(18px, 5vw, 28px); padding-bottom: 14px; }
  .hub-timer-unit { min-width: 48px; }
  .hub-timer-label { font-size: 9px; }
}

/* ════════════════════════════════════════════════════════
   Hub countdown timer housed in the soft result card.
   (countdown-hub-page.css only loads on this template, so
   scoping under .ac-result-card is page-safe.)
   ════════════════════════════════════════════════════════ */
.ac-result-card .ac-result-inner          { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ac-result-card .hub-timer-num            { color: var(--text-strong); text-shadow: none; }
.ac-result-card .hub-timer-label          { color: var(--muted); }
.ac-result-card .hub-timer-sep            { color: var(--accent-2); }
.ac-result-card .hub-timer-progress       { background: rgba(124,92,191,0.16); margin: 0 auto; }
.ac-result-card .hub-timer-progress-label { color: var(--muted); }
