:root{
  --bg:#0b1220;            /* darker bluish base for Aero feel */
  --panel: rgba(255,255,255,0.06);
  --muted:#aeb6bf;
  --accent:#e34b3b;
  --glass: rgba(255,255,255,0.06);
  --card-radius:18px;
  --gap:16px;
  color-scheme: dark;
  --text:#e9eef3;
  --aero-glow: 0 8px 30px rgba(0,0,0,0.6), 0 2px 10px rgba(227,75,59,0.06);
}

.light{
  --bg:linear-gradient(180deg,#f7f9fc,#eef3f8);
  --panel: rgba(255,255,255,0.7);
  --muted:#4b4b4b;
  --accent:#b22222;
  --glass: rgba(255,255,255,0.6);
  color-scheme: light;
  --text:#141820;
  --aero-glow: 0 8px 30px rgba(0,0,0,0.08);
}

/* base reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(800px 400px at 12% 12%, rgba(227,75,59,0.05), transparent), var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  transition:background .45s cubic-bezier(.2,.9,.2,1), color .25s ease;
  -webkit-font-smoothing:antialiased;
}

/* central glass card: pronounced blur, glossy edges */
.card{
  width:100%;
  max-width:980px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:var(--card-radius);
  padding:22px;
  box-shadow: var(--aero-glow);
  display:grid;
  gap:14px;
  grid-template-rows:auto 1fr auto;
  min-height:460px;
  max-height:calc(100vh - 40px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  position:relative;
}

/* floating bubble effect for each major region */
.card > *{
  transform-origin:center;
  will-change:transform,opacity;
  animation:slideFadeUp .6s cubic-bezier(.2,.9,.25,1) both;
}

/* stagger children for subtle cascade */
.header{ animation-delay:.05s }
.hero{ animation-delay:.12s }
.foot{ animation-delay:.18s }

/* header - polished bubble */
.header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:4px;
}
.logo{
  width:68px;
  height:68px;
  border-radius:14px;
  flex:0 0 68px;
  object-fit:cover;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding:8px;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.brand-block h1{
  margin:0;
  font-size:20px;
  letter-spacing:0.6px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.tag{ margin:0; color:var(--muted); font-size:13px; }

/* theme toggle - glossy pill */
.theme-toggle{
  margin-left:auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  min-width:44px;
  min-height:44px;
  display:inline-grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.theme-toggle:active{ transform: translateY(1px) scale(.997); box-shadow: 0 4px 10px rgba(0,0,0,0.28); }

/* hero - inner glass bubble with soft edges */
.hero{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:8px 2px;
  overflow:auto;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.big{ margin:0; font-size:22px; font-weight:600; letter-spacing:-0.2px; color:var(--text) }
.lead{ margin:0; color:var(--muted); max-width:66ch; line-height:1.45; }

/* features rendered as translucent mini-bubbles */
.features{
  display:flex;
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
  flex-wrap:wrap;
}
.features li{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border:1px solid rgba(255,255,255,0.06);
  padding:8px 14px;
  border-radius:14px;
  font-size:13px;
  color:var(--muted);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  transform: translateZ(0);
  transition: transform .22s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease;
}
.features li:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* CTAs - buttons like floating glass chips */
.ctas{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.notify{
  display:flex;
  gap:8px;
}
.notify input{
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  min-width:220px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  transition: box-shadow .18s ease, transform .12s ease;
}
.notify input:focus{
  box-shadow: 0 8px 22px rgba(227,75,59,0.08);
  transform: translateY(-2px);
  outline: none;
}
.btn{
  border-radius:12px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color:var(--text);
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transition: transform .14s ease, box-shadow .14s ease, background .18s ease;
}
.btn:active{ transform: translateY(1px); box-shadow: 0 6px 14px rgba(0,0,0,0.34); }
.btn.primary{
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 75%, black 8%));
  border: none;
  color:white;
  box-shadow: 0 10px 30px rgba(227,75,59,0.12);
}
.btn.ghost{
  border:1px dashed rgba(255,255,255,0.06);
  background:transparent;
  color:var(--muted);
}

/* footer - subtle floating strip */
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,0.04);
}
.countdown{ color:var(--muted); font-size:14px; display:flex; gap:8px; align-items:center;}
.links{ display:flex; gap:12px; align-items:center; }
.links a{ color:var(--muted); font-size:13px; text-decoration:none; }

/* little note style */
.note{ color:var(--muted); font-size:13px; }

/* animation: slide+fade up used as "bubble entrance" */
@keyframes slideFadeUp{
  from{ transform: translateY(10px) scale(.995); opacity:0; filter:blur(4px); }
  to{ transform: translateY(0) scale(1); opacity:1; filter:blur(0); }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .card > *, .features li, .btn, .notify input { animation: none !important; transition: none !important; transform: none !important; }
}

/* responsive / mobile friendly */
@media (max-width:520px){
  .card{ padding:16px; border-radius:14px; min-height:420px; }
  .logo{ width:56px; height:56px; border-radius:12px; }
  .brand-block h1{ font-size:18px }
  .big{ font-size:18px }
  .notify input{ min-width:140px; }
  .features{ gap:8px; }
  .theme-toggle{ min-width:40px; min-height:40px; padding:6px; }
}