:root{
  --bg: #07080b;
  --panel: rgba(10, 12, 18, .62);
  --text: rgba(245, 248, 255, .92);
  --muted: rgba(245, 248, 255, .62);
  --line: rgba(255,255,255,.10);

  --accent: #e6d65c;   /* trench-ish yellow */
  --red: #e23b3b;      /* warning red */
  --cyan: #76b7ff;     /* cold signal */
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: radial-gradient(1200px 700px at 20% 20%, rgba(118,183,255,.10), transparent 60%),
              radial-gradient(900px 600px at 80% 70%, rgba(226,59,59,.08), transparent 55%),
              radial-gradient(900px 700px at 50% 40%, rgba(230,214,92,.06), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow: hidden;
}

.wrap{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
}

.hero{
  width: min(980px, 100%);
  padding: 34px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.tag{
  margin: 0 0 18px 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.headline{
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 10px 50px rgba(0,0,0,.55);
}

.accent{
  color: var(--accent);
  text-shadow:
    0 0 25px rgba(230,214,92,.18),
    0 0 45px rgba(118,183,255,.10);
}

.sub{
  margin: 18px 0 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

.actions{
  margin-top: 26px;
}

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,10,14,.55);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  user-select: none;
}

.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(230,214,92,.35);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.btn:active{
  transform: translateY(0);
}

.btn__glow{
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
  background: radial-gradient(200px 80px at 50% 0%, rgba(230,214,92,.30), transparent 60%),
              radial-gradient(220px 120px at 30% 100%, rgba(118,183,255,.16), transparent 60%);
}

.btn:hover .btn__glow{
  opacity: 1;
}

.footerHint{
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245,248,255,.45);
  font-size: 13px;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(230,214,92,.7);
  box-shadow: 0 0 18px rgba(230,214,92,.22);
}

/* overlays */
.grain{
  position: fixed;
  inset: -40%;
  background-image: url("./assets/grain.png");
  background-size: 260px 260px;
  opacity: .09;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grainMove 10s steps(6) infinite;
}

@keyframes grainMove{
  0% { transform: translate(0,0); }
  20%{ transform: translate(-3%, 2%); }
  40%{ transform: translate(2%, -2%); }
  60%{ transform: translate(-2%, -3%); }
  80%{ transform: translate(3%, 1%); }
  100%{ transform: translate(0,0); }
}

.vignette{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 35%, transparent 0 55%, rgba(0,0,0,.65) 100%);
}

/* jump + red state */
.btn.is-red{
  border-color: rgba(226,59,59,.55);
  background: rgba(226,59,59,.10);
  box-shadow: 0 18px 50px rgba(226,59,59,.16);
}

.btn.is-red .btn__glow{
  opacity: 1;
  background: radial-gradient(260px 110px at 50% 0%, rgba(226,59,59,.35), transparent 60%),
              radial-gradient(220px 120px at 20% 100%, rgba(118,183,255,.10), transparent 60%);
}

/* bounce animation */
@keyframes jump {
  0%   { transform: translateY(0) scale(1); }
  20%  { transform: translateY(-10px) scale(1.02); }
  45%  { transform: translateY(0) scale(0.99); }
  65%  { transform: translateY(-6px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

.btn.jump{
  animation: jump .55s ease;
}

@media (max-width: 520px){
  .hero{ padding: 26px 18px; border-radius: 18px; }
  .sub{ font-size: 15px; }
}
