/* ===== Base ===== */
:root{
  --brand:#160120;
  --ink:#160120;
  --muted:#d6cfe0;
  --panel:#faf7fb;
  --ring:#efe7f3;
  --brand-light:#e6d1ec;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#160120;          /* brand purple background */
  color:#fff;
  text-align:center;
}

/* Header - origional */
header h1{margin:24px 0 6px;font-size:clamp(22px,3.2vw,32px)}
.subtitle{margin:0 0 16px;color:var(--muted)}

/* Header -modified */
.brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px}
.mark{width:44px;height:44px;border-radius:12px;background:var(--brand);color:#fff;display:grid;place-items:center}
.hname{font-weight:800;font-size:26px;color:var(--brand-light);padding-top: 30px;}
.hero{text-align:center}
.hero h1{margin:.2rem 0 .4rem;font-size:clamp(22px,3.2vw,30px)}
.tag{margin:0 auto 1rem;max-width:60ch;color:var(--muted)}


/* ===== Launch panel ===== */
.launch-info{
  width:min(1100px,96vw);
  margin:12px auto 6px; padding:20px 16px 24px;
  background:var(--panel);
  border:1px solid var(--ring);
  border-radius:16px;
  box-shadow:0 14px 34px rgba(22,1,32,.18);
  color:var(--ink);
}
.launch-info h3{
  margin:0 0 6px 0; font-size:20px; color:var(--ink)
}
#status-message{margin:0 0 12px 0; color:#5a5063; font-weight:500}

/* Progress bar */
.progress-bar{
  width:min(960px,92%); height:12px; margin:8px auto 6px;
  background:#e8deef; border-radius:999px; overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.progress{
  height:100%;
  width:0%;
  background:linear-gradient(90deg, var(--brand), #7a387f);
  border-radius:999px;
  transition:width .6s ease;
}
#progress-percent{
  margin:6px 0 0; font-weight:800; color:var(--brand)
}

/* Countdown boxes */
.countdown{
  margin:16px auto 0;
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
}
.countdown .t{
  background:#fff; border:1px solid var(--ring);
  border-radius:12px; padding:10px 12px; min-width:78px;
  box-shadow:0 10px 24px rgba(22,1,32,.12);
}
.countdown .t span{
  display:block; font-weight:800; font-size:22px; color:var(--brand)
}
.countdown .t label{
  display:block; font-size:12px; color:#6a5d75; margin-top:2px
}

/* Notify */
.notify{width:min(900px,92vw); margin:18px auto 0}
.notify h3{margin:0 0 8px}
.notify form{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.notify input{
  padding:10px 12px; border:1px solid #e5dbea; border-radius:10px;
  width:min(360px,80vw); font-size:16px
}
.notify button{
  background:#fff; color:var(--brand); font-weight:800; border:0; border-radius:10px;
  padding:10px 14px; cursor:pointer; box-shadow:0 6px 16px rgba(0,0,0,.25)
}




/* --- Polishes ------------------------------------------------------ */

/* Subtle lift on the launch panel to match card elevation */
.launch-info{
  margin-top: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* Make the progress bar a hair thicker, and give the percent a bit more air */
.progress-bar{ height: 14px; }
#progress-percent{ margin-top: 10px; }

/* Slightly stronger hierarchy on the launch heading */
.launch-info h3{
  font-size: 22px;
  letter-spacing: .2px;
}

/* Even spacing around countdown tiles on all widths */
.countdown{ gap: 14px; margin-top: 18px; }
.countdown .t{ min-width: 84px; padding: 12px 14px; }

/* Nudge card titles up a touch for better vertical balance */
.card h2{ margin-top: 12px; }

/* Keep the three-up grid snug on very wide screens */
.card-container{ gap: 24px; width: min(1140px, 96vw); }




/* ===== Card row (unchanged layout) ===== */
.card-container{
  display:flex;justify-content:center;flex-wrap:wrap;gap:28px;
  width:min(1200px,96vw);margin:0 auto 22px;padding:0 12px;
}
.card{
  background:#f9f9f9;color:var(--ink);
  border:1px solid var(--ring);
  border-radius:18px;padding:18px;width:min(360px,30vw);
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex;flex-direction:column;align-items:center;
}
.card:hover{transform:translateY(-4px);box-shadow:0 26px 60px rgba(0,0,0,.35)}
.card img{width:100%;height:auto;border-radius:16px;background:#fff;display:block}
.card h2{margin:14px 0 0;font-size:clamp(18px,2.6vw,26px);font-weight:800}


.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 2s ease-in-out infinite alternate;
}
.fade-slide:nth-child(1) { animation-delay: 0.3s; }
.fade-slide:nth-child(2) { animation-delay: 0.6s; }
.fade-slide:nth-child(3) { animation-delay: 0.9s; }



@keyframes fadeIn {
    from { opacity: 0.5; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}




/* Footer */
/* CTA + Footer */
.foot{ margin-top:18px; display:flex; gap:14px; justify-content:center; align-items:center; flex-wrap:wrap; }
.cta{
  display:inline-block; background:#fff; color:var(--brand); font-weight:800; text-decoration:none;
  padding:10px 16px; border-radius:12px; box-shadow:0 6px 16px rgba(0,0,0,.2);
}