:root{
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.56);

  --pink:#ff4fd8;
  --violet:#8b5cff;
  --cyan:#2ee6ff;

  --shadow: 0 18px 60px rgba(0,0,0,.42);
  --glow: 0 0 28px rgba(139,92,255,.25), 0 0 60px rgba(46,230,255,.16);

  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #050611;
  overflow-x:hidden;
}

/* Video background */
.bg{
  position: fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(1000px 700px at 20% 0%, rgba(139,92,255,.22), transparent 55%),
    radial-gradient(900px 650px at 90% 10%, rgba(46,230,255,.18), transparent 55%),
    radial-gradient(900px 650px at 50% 110%, rgba(255,79,216,.16), transparent 60%),
    linear-gradient(180deg, #060714, #050611);
}

#bgVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.12) brightness(.74);
  opacity: .95;
}

.overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 700px at 50% 15%, rgba(0,0,0,.10), rgba(0,0,0,.65)),
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.72));
}

.grain{
  position:absolute;
  inset:0;
  opacity:.10;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Foreground stage (no cards/boxes) */
.stage{
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 18px 0 70px;
  min-height: 100vh;
  display:flex;
  flex-direction: column;
  gap: 18px;
}

.top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  position: sticky;
  top:0;
  z-index: 10;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.heart{
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(255,79,216,.22)) drop-shadow(0 0 28px rgba(46,230,255,.14));
}
.brandTitle{ font-weight: 700; letter-spacing: .2px; }
.brandSub{ font-size: 12.5px; color: var(--muted2); margin-top: 2px; }

.chip{
  cursor:pointer;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.86);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  transition: .2s;
}
.chip:hover{ transform: translateY(-1px); }

.screen{
  display:none;
  padding: 10px 2px;
  animation: fade .35s ease;
}
.screen.is-active{ display:block; }
@keyframes fade{ from{opacity:0; transform: translateY(8px);} to{opacity:1; transform: translateY(0);} }

.kicker{
  margin: 14px 0 10px;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2px;
}

h1{
  margin: 6px 0 12px;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
h2{
  margin: 6px 0 10px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.grad{
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.78), rgba(46,230,255,.90));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15.5px;
  max-width: 75ch;
}

.actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn{
  cursor:pointer;
  border: none;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
  transition: .2s;
  user-select: none;
}
.btnPrimary{
  color: #0a0c18;
  background: linear-gradient(135deg, rgba(255,79,216,.95), rgba(139,92,255,.90), rgba(46,230,255,.75));
  box-shadow: var(--glow);
}
.btnPrimary:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btnPrimary:disabled{
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.2);
}

.btnGhost{
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
}
.btnGhost:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }

.noZone{
  position: relative;
  height: 64px;
  width: 100%;
}

.hint{
  margin: 14px 0 0;
  color: rgba(255,255,255,.52);
  font-size: 13px;
}

/* Text big */
.scrollText{
  margin-top: 14px;
  max-width: 80ch;
  line-height: 1.95;
  font-size: 15.5px;
  color: rgba(255,255,255,.84);
}
.scrollText p{ margin: 0 0 14px; }
.scrollText b{ color: rgba(255,255,255,.95); }
.finalAsk{ margin-top: 18px; }

.scrollText{
  max-height: 56vh;
  overflow: auto;
  padding-right: 10px;
}
.scrollText::-webkit-scrollbar{ width: 10px; }
.scrollText::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.16);
  border-radius: 999px;
}

/* Promises */
.promises{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  max-width: 70ch;
}
.promise{
  cursor:pointer;
  text-align:left;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.55;
  transition: .2s;
}
.promise:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.promise.is-picked{
  border-color: rgba(46,230,255,.35);
  box-shadow: 0 0 0 1px rgba(46,230,255,.15), var(--glow);
}

.reveal{
  margin: 14px 0 0;
  color: rgba(255,255,255,.74);
  max-width: 75ch;
  line-height: 1.75;
}

.bottom{
  margin-top: auto;
  padding: 18px 2px 0;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.tag{
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.70);
}

/* Mobile tweaks */
@media (max-width: 720px){
  .top{ position: relative; }
  .noZone{ width: 90vw; height: 74px; }
  .scrollText{ max-height: 52vh; }
}


/* Gallery (screen 5) */
.gallery{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(900px, 92vw);
}
.ph{
  margin:0;
}
.phBox{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(120px 120px at 30% 25%, rgba(255,79,216,.16), transparent 60%),
    radial-gradient(140px 140px at 70% 70%, rgba(46,230,255,.14), transparent 60%),
    rgba(255,255,255,.05);
  aspect-ratio: 9/16;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.70);
  font-weight: 700;
  letter-spacing: .2px;
}
.ph figcaption{
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 30ch;
}
@media (max-width: 860px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .gallery{ grid-template-columns: 1fr; }
}
