:root{
  --bg:#0f1720;
  --card:#0b1220;
  --accent:#ffb86b;
  --muted:#9aa4b2;
  --glass: rgba(255,255,255,0.03);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body,#app{height:100%}
body{
  background: linear-gradient(180deg,#081026 0%, #07111a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  overflow:hidden;
}

.card{
  width:100%;
  max-width:560px;
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius:16px;
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  min-height:380px;
  justify-content:center;
}

#banner{display:flex;flex-direction:column;align-items:center;gap:6px}
#emoji{font-size:42px; transform: translateY(-4px)}
#headline{letter-spacing:6px;font-weight:700;margin-top:2px}
#headline{font-size:18px;color:var(--accent)}
#subhead{font-size:26px;font-weight:800;color:#ffffff;letter-spacing:2px}

#counter{
  font-weight:900;
  font-size:72px;
  line-height:1;
  -webkit-font-smoothing:antialiased;
  text-align:center;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  width:100%;
}

.controls{
  display:flex;
  gap:10px;
  width:100%;
  justify-content:center;
  margin-top:6px;
}

.btn{
  background:linear-gradient(180deg, #ff9f43, #ff7a18);
  border:none;
  color:#08101a;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  min-width:120px;
  font-size:16px;
  touch-action:manipulation;
  box-shadow: 0 8px 20px rgba(255,125,40,0.18);
}
.btn:active{transform:translateY(1px)}
.btn.outline{
  background:transparent;
  color:var(--muted);
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:none;
  font-weight:600;
  min-width:96px;
}

#confetti-canvas{
  position:fixed;
  inset:0;
  pointer-events:none;
  width:100%;
  height:100%;
  z-index:40;
}
@media (max-height:700px){
  .card{min-height:320px}
  #counter{font-size:56px}
}