*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  width:100%;
  height:100vh;
  height:100dvh;        /* corrige a barra do navegador no celular */
  overflow:hidden;
  background:#050505;
  font-family:'Inter',sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

/* BACKGROUND GLOW */
.bg-glow{
  position:absolute;
  width:700px;
  height:700px;
  background:radial-gradient(circle, rgba(0,140,255,.18) 0%, rgba(0,140,255,0) 70%);
  filter:blur(70px);
  animation:pulseGlow 6s infinite ease-in-out;
}

@keyframes pulseGlow{
  0%{ transform:scale(1); opacity:.7; }
  50%{ transform:scale(1.1); opacity:1; }
  100%{ transform:scale(1); opacity:.7; }
}

/* MAIN CARD */
.card{
  width:360px;
  height:640px;
  position:relative;
  border-radius:32px;
  overflow:hidden;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 0 40px rgba(0,140,255,.22),
    inset 0 0 40px rgba(255,255,255,.02);
}

/* VIDEO */
.card video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:blur(35px) brightness(.45);
  transform:scale(1.08);
  transition:all 1s ease;
}

.card.revealed video{
  filter:none;
  transform:scale(1);
}

/* OVERLAY */
.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.15));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding:40px 25px;
  transition:.5s ease;
  opacity:1;
}

/* STATUS */
.status{
  position:absolute;
  top:22px;
  left:22px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size:13px;
  font-weight:500;
  opacity:.85;
  letter-spacing:.4px;
  z-index:5;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#3da7ff;
  box-shadow:0 0 12px #3da7ff;
  animation:blink 1.2s infinite;
}

@keyframes blink{
  0%,100%{ opacity:1; }
  50%{ opacity:.3; }
}

/* TEXTOS */
.title{
  color:#fff;
  font-size:28px;
  font-weight:700;
  text-align:center;
  margin-bottom:12px;
  line-height:1.1;
  text-shadow:0 0 20px rgba(0,0,0,.5);
}

.subtitle{
  color:rgba(255,255,255,.72);
  font-size:14px;
  text-align:center;
  margin-bottom:28px;
  line-height:1.5;
}

/* BUTTON */
.reveal-btn{
  width:100%;
  height:58px;
  border:none;
  border-radius:18px;
  background:linear-gradient(135deg, #1d7dff, #0057d8);
  color:#fff;
  font-size:17px;
  font-weight:700;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:
    0 10px 30px rgba(0,140,255,.35),
    inset 0 1px 1px rgba(255,255,255,.2);
  animation:buttonPulse 2s infinite;
}

.reveal-btn:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 15px 35px rgba(0,140,255,.45);
}

@keyframes buttonPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.015); }
}

/* REDIRECT */
.redirecting{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:.5s ease;
}

.card.loading .redirecting{
  opacity:1;
  pointer-events:auto;
}

.redirect-text{
  color:#fff;
  font-size:22px;
  font-weight:600;
  margin-bottom:22px;
  letter-spacing:.4px;
  text-shadow:
    0 5px 25px rgba(0,0,0,.9),
    0 2px 10px rgba(0,0,0,.7);
}

/* LOADING BAR */
.loading-bar{
  width:190px;
  height:5px;
  background:rgba(255,255,255,.08);
  border-radius:999px;
  overflow:hidden;
  position:relative;
}

.loading-fill{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:0%;
  background:linear-gradient(to right, #1d7dff, #45b0ff);
  border-radius:999px;
  animation:loadBar 2.3s forwards ease;
  box-shadow:0 0 18px rgba(0,140,255,.75);
}

@keyframes loadBar{
  from{ width:0%; }
  to{ width:100%; }
}

/* FOOTER */
.footer-text{
  position:absolute;
  bottom:18px;
  width:100%;
  text-align:center;
  color:rgba(255,255,255,.38);
  font-size:11px;
  letter-spacing:.6px;
}

/* MOBILE */
@media(max-width:480px){
  .card{ width:92%; height:88vh; height:88dvh; }
  .title{ font-size:25px; }
}

.card.revealed .overlay{
  opacity:0;
  pointer-events:none;
  transition:opacity .45s ease;
}
