:root{
  --bg1: #0f3d2a;
  --bg2: #1d6a45;
  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.55);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 70% 40%, rgba(180,255,210,.18), transparent 55%),
    radial-gradient(900px 600px at 20% 30%, rgba(120,255,190,.16), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}

.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding: 28px 16px;
}

.card{
  width:min(860px, 100%);
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  margin-bottom: 18px;
}

.logo{
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

.brand-text .name{
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 18px;
}

.brand-text .tagline{
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.headline{
  margin: 12px 0 8px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.05;
}

.subhead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.countdown{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}

.timebox{
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 14px 14px 12px;
  text-align:center;
}

.num{
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .02em;
}

.lbl{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
}

.divider{
  height:1px;
  background: var(--stroke);
  margin: 18px 0 16px;
}

.form{ margin-top: 4px; }
.label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.row{
  display:flex;
  gap: 10px;
  align-items:center;
}

.input{
  flex:1;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
}

.input::placeholder{ color: rgba(255,255,255,.45); }

.btn{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: var(--text);
  cursor:pointer;
  font-weight: 600;
  transition: transform .08s ease, background .2s ease;
  white-space: nowrap;
}

.btn:hover{ background: rgba(255,255,255,.18); }
.btn:active{ transform: scale(.98); }

.hint{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted2);
}

.hint.warn{ color: rgba(255,210,210,.9); }

.footer{
  display:flex;
  gap: 10px;
  justify-content:center;
  align-items:center;
  margin-top: 18px;
  color: var(--muted2);
  font-size: 12px;
}

.dot{ opacity: .6; }
.link{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.28);
}
.link:hover{ border-bottom-color: rgba(255,255,255,.55); }

@media (max-width: 520px){
  .card{ padding: 18px; }
  .countdown{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row{ flex-direction: column; }
  .btn{ width:100%; }
}