:root{
  --bg: #fff;
  --panel: rgba(255,255,255,0.86);
  --stroke: rgba(20,20,20,0.12);

  --text: #141414;
  --muted: rgba(20,20,20,0.65);

  --green: #00c853;
  --gold: #ffbf2f;
}

*{ box-sizing: border-box; }
html,body{ height:100%; width:100%; margin:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

.screen{
  height: 100vh;
  width: 100vw;
  position: relative;
  display: grid;
  place-items: center;
}

/* FUNDO */
.bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* TRILHOS */
.track{
  position: absolute;
  left: 0;
  display:flex;
  align-items:center;
  gap: 34px;
  width: max-content;

  opacity: 0.9;
  filter: blur(10px);
}

.track img{
  width: 220px;
  height: auto;
  object-fit: contain;
  transform: translateZ(0);
}

/* 4 faixas em alturas diferentes */
.track-a{
  top: 22%;
  animation: runA 120s linear infinite;
  opacity: 0.9;
}
.track-b{
  top: 40%;
  animation: runB 150s linear infinite;
  opacity: 0.9;
}
.track-c{
  top: 58%;
  animation: runC 180s linear infinite;
  opacity: 0.9;
}
.track-d{
  top: 76%;
  animation: runD 210s linear infinite;
  opacity: 0.9;
}

/* animações com deslocamentos diferentes pra não ficar “clonado” */
@keyframes runA{
  0%{ transform: translate3d(0, -50%, 0); }
  100%{ transform: translate3d(-50%, -50%, 0); }
}
@keyframes runB{
  0%{ transform: translate3d(-10%, -50%, 0); }
  100%{ transform: translate3d(-60%, -50%, 0); }
}
@keyframes runC{
  0%{ transform: translate3d(-25%, -50%, 0); }
  100%{ transform: translate3d(-75%, -50%, 0); }
}
@keyframes runD{
  0%{ transform: translate3d(-5%, -50%, 0); }
  100%{ transform: translate3d(-55%, -50%, 0); }
}

/* CARD CENTRAL */
.center{
  position: relative;
  z-index: 2;
  width: min(420px, 92vw);
  text-align: center;
  padding: 28px 20px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.logo{
  width: 190px;
  max-width: 60vw;
  margin-bottom: 14px;
}

h1{
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.sub{
  margin: 10px 0 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* FORM */
.form{
  display: grid;
  gap: 12px;
}

.form input{
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(20,20,20,0.12);
  background: #fff;
  font-size: 14px;
  outline: none;
}

.form input:focus{
  border-color: var(--green);
}

.btn{
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--green), #1cff77);
  color: #04110b;
  font-weight: 900;
  cursor: pointer;
  transition: transform .08s ease;
}

.btn:active{ transform: scale(.98); }

/* SUCESSO */
.done{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.ok{
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,191,47,0.12);
  border: 1px solid rgba(255,191,47,0.25);
  font-size: 14px;
}

.fine{
  font-size: 12px;
  color: rgba(20,20,20,0.6);
}

.hidden{ display: none; }

.foot a{
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .2s ease, color .2s ease;
}

.foot a:hover{
  color: var(--gold);
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce){
  .track-a, .track-b, .track-c, .track-d{ animation: none; }
}