/* Hitung mundur submission (js/countdown.js): beranda dan /submit, selalu di atas latar gelap */
.countdown{margin-top:1rem;padding:.9rem 1rem 1rem;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.85)}
.countdown:not(.live):not(.closed){display:flex;align-items:center;justify-self:start;padding:.5rem 1rem .5rem .8rem;border-radius:99px}
.cd-head[hidden]{display:none}

/* Ditutup: tulisan PENDAFTARAN + stempel karet DITUTUP, miring, efek dicap sekali */
.countdown.closed{padding:1.1rem 1rem}
.cd-closed{position:relative;display:flex;align-items:center;min-height:6.2rem;padding-left:.3rem}
.cd-closed[hidden]{display:none}
.cd-word{display:block;font-family:var(--f-h);font-weight:700;font-size:clamp(1.25rem,2.4vw,1.6rem);line-height:1.1;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.9)}
.cd-stamp{position:absolute;right:-.4rem;top:50%;width:clamp(168px,52%,215px);height:auto;color:#ff4a3d;
  transform:translateY(-50%) rotate(-11deg);filter:drop-shadow(0 4px 10px rgba(0,0,0,.35));
  animation:stampIn .45s cubic-bezier(.2,1.5,.4,1) .9s both}
@keyframes stampIn{0%{opacity:0;transform:translateY(-50%) rotate(-11deg) scale(2.1)}70%{opacity:1}100%{opacity:.95;transform:translateY(-50%) rotate(-11deg) scale(1)}}
@media(prefers-reduced-motion:reduce){.cd-stamp{animation:none}}
.cd-head{display:flex;align-items:center;gap:.55rem;font-size:.8rem;font-weight:700;letter-spacing:.04em}
.countdown .dot{width:8px;height:8px;border-radius:50%;flex:none;background:#f7b55a;box-shadow:0 0 0 3px rgba(247,181,90,.25)}
.countdown.open .dot{background:#4ADE80;box-shadow:0 0 0 3px rgba(74,222,128,.25)}
.cd-units{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:.75rem}
.cd-units[hidden]{display:none}
.cd-units>div{display:flex;flex-direction:column;align-items:center;padding:.55rem .3rem .45rem;border-radius:10px;background:rgba(255,255,255,.07)}
.cd-units b{font-family:var(--f-h);font-weight:700;font-size:clamp(1.7rem,3.2vw,2.3rem);line-height:1;color:#fff;font-variant-numeric:tabular-nums}
.cd-units span{margin-top:.3rem;font-size:.6rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.55)}
/* /submit: di bawah lead hero */
.hero .countdown{margin-top:1.4rem;max-width:440px}
