:root{ --padX:24px; }

html,body{
  height:100%;
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

.screen{
  height:100svh;
  overflow:hidden;
  background:#000 url("../images/063a5c94a1334040be16d1361704c19a.webp") no-repeat 0 0/100% auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-bottom:max(90px,calc(env(safe-area-inset-bottom) + 68px));
  box-sizing:border-box;
}
@supports not (height:100svh){
  .screen{ height:100vh; }
}

.logo{ width:160px;height:auto;object-fit:contain; }

.banner1{
  width:calc(100% - 32px);
  max-width:420px;
  max-height:calc(100svh - 200px);
  border-radius:16px;
  margin-top:24px;
  display:block;
  object-fit:contain;
}

.invite-text{
  color:#fff;
  padding:24px 32px 13px;
  font-weight:700;
  font-size:16px;
  line-height:125%;
  letter-spacing:.015em;
  text-align:center;
  max-width:520px;
}

.video-wrap{ width:100%;display:flex;justify-content:center; }

.video-card{
  margin:0 auto 48px;
  border-radius:15px;
  overflow:hidden;
  width:calc(100% - 24px);
  max-width:406px;
  min-height:394px;
  aspect-ratio:338/415;
  position:relative;
  background:#000;
}

.poster{
  position:absolute;
  inset:0;
  background:url("../images/36930da0d9444a788e9a12fdd19d3753.webp") center/cover;
}

.player{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:none;
}

.play-center{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.play-btn{
  width:80px;height:80px;border-radius:999px;
  background:rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(6px);
}

.play-btn svg{ width:46px;height:46px;fill:#fff;transform:translateX(2px); }

.video-card.is-playing .poster{display:none;}
.video-card.is-playing .play-center{display:none;}
.video-card.is-playing .player{display:block;}

.bottom-cta{
  position:fixed;
  left:max(var(--padX),calc(50% - 260px));
  right:max(var(--padX),calc(50% - 260px));
  bottom:max(22px,env(safe-area-inset-bottom));
  height:48px;
  border-radius:100px;
  background:#fe2c55;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
  text-decoration:none;
  box-shadow:rgba(0,0,0,0.12) 0 2px 12px;
  animation:pulseBtn 1.2s infinite;
}

@keyframes pulseBtn{
  0%{transform:scale(1);box-shadow:0 2px 12px rgba(0,0,0,.12),0 0 0 0 rgba(254,44,85,.7);}
  50%{transform:scale(1.06);box-shadow:0 8px 24px rgba(0,0,0,.22),0 0 0 18px rgba(254,44,85,0);}
  100%{transform:scale(1);}
}