/* Public countdown pages (/countdown/…), rendered by server/src/pages.js */
:root { --bg: #07070c; --text: #f6f5fb; --muted: #a3a1b6; --line: rgba(255,255,255,.1); color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Bricolage Grotesque', system-ui, sans-serif; }
a { color: inherit; }
.cd-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1100px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 22%; }
.logo { background: linear-gradient(135deg, #ffd34d, #ff4e88); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-all { color: var(--muted); font-weight: 600; text-decoration: none; }
.cd-all:hover { color: var(--text); }
.cd-main { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; }
.cd-hero { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 6vw, 64px); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 90% at 85% 0%, #2a1c48, #110d1f 50%, #07070c); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.cd-hero::before { content: ''; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; transform: scale(1.04); animation: kb 30s ease-in-out infinite alternate; }
.cd-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.45) 60%, rgba(0,0,0,.15)), linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%); }
.cd-hero > * { position: relative; z-index: 1; }
@keyframes kb { to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .cd-hero::before { animation: none; } }
.cd-kicker { margin: 0 0 8px; color: #e9e3f7; font-weight: 600; font-size: 17px; }
.cd-hero h1 { margin: 0; font-size: clamp(32px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 16em; }
.cd-clock { display: flex; gap: clamp(14px, 3vw, 34px); margin: 26px 0 10px; }
.cd-clock div { display: grid; }
.cd-clock b { font-size: clamp(44px, 9vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(#fff, #f3dfae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-clock div + div b { font-family: 'JetBrains Mono', monospace; font-weight: 700; letter-spacing: -.02em; }
.cd-clock span { color: #d9d4e8; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.cd-clock.today { font-size: clamp(36px, 6vw, 64px); font-weight: 800; }
.cd-when { margin: 8px 0 0; font-size: 18px; color: #e9e3f7; }
.cd-when em { font-style: normal; font-size: 13px; padding: 3px 9px; border-radius: 999px; background: rgba(255,211,77,.15); color: #ffd34d; margin-left: 6px; }
.cd-cta { align-self: flex-start; margin-top: 26px; display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 18px; color: #1a1020; text-decoration: none;
  background: linear-gradient(135deg, #ffd34d, #ff8a5c 60%, #ff4e88); box-shadow: 0 10px 30px rgba(255,90,120,.35); }
.cd-cta:hover { filter: brightness(1.05); }
.cd-free { margin: 10px 0 0; color: #cfcadf; font-size: 14px; }
.cd-index-head h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; margin: 20px 0 8px; }
.cd-index-head p { color: var(--muted); font-size: 18px; margin: 0 0 10px; max-width: 40em; }
.cd-more h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -.01em; }
.cd-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cd-more a { display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-decoration: none; }
.cd-more a:hover { background: rgba(255,255,255,.07); }
.cd-more span { color: var(--muted); font-size: 14px; }
.cd-foot { text-align: center; color: var(--muted); font-size: 14px; padding: 30px 16px 40px; }
.cd-foot a { color: var(--muted); }
@media (max-width: 560px) { .cd-top { padding: 14px 16px; } .cd-main { padding: 0 16px 30px; } .cd-hero { min-height: 400px; border-radius: 22px; } .cd-clock span { font-size: 11px; } }
