:root{
  --bg0:#07070b;
  --bg1:#0b0b12;
  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --hot:#ff4d6d;
  --hot2:#ff8fab;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --r:22px;
}

[data-theme="light"]{
  --bg0:#fff7fb;
  --bg1:#f6f7ff;
  --card:rgba(0,0,0,.05);
  --stroke:rgba(0,0,0,.10);
  --text:rgba(20,20,30,.92);
  --muted:rgba(20,20,30,.62);
  --shadow:0 18px 55px rgba(20,20,30,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background: radial-gradient(1200px 800px at 18% 10%, rgba(255,77,109,.20), transparent 55%),
              radial-gradient(900px 700px at 90% 20%, rgba(255,143,171,.16), transparent 55%),
              radial-gradient(900px 900px at 50% 110%, rgba(255,77,109,.14), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  overflow-x:hidden;
}

.bg{position:fixed; inset:0; pointer-events:none; z-index:0;}
.glow{
  position:absolute; filter: blur(50px); opacity:.55; border-radius:999px;
  background: linear-gradient(135deg, rgba(255,77,109,.45), rgba(255,143,171,.25));
}
.g1{width:520px; height:520px; left:-160px; top:-180px}
.g2{width:560px; height:560px; right:-220px; top:-140px; opacity:.42}
.g3{width:680px; height:680px; left:25%; bottom:-360px; opacity:.35}

.grain{
  position:absolute; inset:-80px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  opacity:.22; mix-blend-mode: overlay;
  animation: grainMove 10s steps(10) infinite;
}
@keyframes grainMove{
  0%{transform:translate(0,0)}
  20%{transform:translate(-20px,10px)}
  40%{transform:translate(10px,-20px)}
  60%{transform:translate(-10px,-10px)}
  80%{transform:translate(20px,15px)}
  100%{transform:translate(0,0)}
}

#fxCanvas{
  position:fixed; inset:0;
  width:100%; height:100%;
  pointer-events:none;
  z-index:1;
}

.topbar{
  position:sticky; top:0; z-index:5;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  border-bottom:1px solid var(--stroke);
  background: rgba(8,8,12,.35);
  backdrop-filter: blur(14px);
}
[data-theme="light"] .topbar{background: rgba(255,255,255,.55);}

.brand{display:flex; align-items:center; gap:12px;}
.mark{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--hot), var(--hot2));
  box-shadow: 0 0 0 7px rgba(255,77,109,.12);
}
.brandTitle{font-weight:800; letter-spacing:.6px; text-transform: lowercase;}
.brandSub{font-size:12px; color:var(--muted); margin-top:2px;}

.topActions{display:flex; gap:10px;}

.wrap{
  position:relative; z-index:2;
  max-width:1100px;
  margin:0 auto;
  padding:22px 16px 52px;
}

.card{
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.lock{max-width:720px; margin:42px auto 0;}
.lockInner{padding:26px 22px; text-align:center;}

.h1{font-size: clamp(34px, 4.4vw, 54px); margin:0;}
.heart{display:inline-block; transform: translateY(-2px);}

.h2{font-size: clamp(28px, 3.4vw, 44px); margin:0 0 10px;}
.h3{font-size: 18px; letter-spacing:.2px; margin:0 0 10px;}

.kicker{
  font-size:12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.lead{color:var(--muted); line-height:1.6; font-size:16px; margin: 8px 0 16px;}
.muted{color:var(--muted)}
.tiny{font-size:12px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;}

.lockRow{
  display:flex; gap:10px;
  justify-content:center;
  margin:18px 0 10px;
  flex-wrap:wrap;
}

input{
  width:min(360px, 78vw);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
[data-theme="light"] input{background: rgba(255,255,255,.70);}
input:focus{
  border-color: rgba(255,77,109,.55);
  box-shadow: 0 0 0 7px rgba(255,77,109,.14);
}

.btn{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 16px;
  cursor:pointer;
  transition: transform .08s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{transform: scale(.98);}
.btn:hover{border-color: rgba(255,255,255,.22);}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--hot), var(--hot2));
  color:#13060a;
  font-weight:800;
}
.btn.primary:hover{filter: brightness(1.05);}
.btn.ghost:hover{background: rgba(255,255,255,.10);}
.btn.icon{width:44px; height:44px; padding:0; border-radius: 16px;}

.hidden{display:none !important;}

.hero{
  margin-top:18px;
  padding:18px;
  display:flex;
  gap:16px;
  align-items:stretch;
}
.heroLeft{flex:1.2; min-width: 280px; padding: 18px 18px;}
.heroRight{flex:.8; display:flex; align-items:center; justify-content:center; padding:18px;}

.heroStats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin: 14px 0 12px;
}
.stat{
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.statLabel{font-size:12px; color:var(--muted)}
.statVal{font-size:14px; font-weight:900; margin-top:3px}

.heroBtns{display:flex; gap:10px; flex-wrap:wrap; margin: 12px 0 0;}

.meterWrap{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}
.meterTop{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px;}
.meter{
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  overflow:hidden;
}
.meterFill{
  height:100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,77,109,.95), rgba(255,143,171,.9));
  box-shadow: 0 0 22px rgba(255,77,109,.28);
  transition: width 900ms cubic-bezier(.2,.9,.2,1);
}

.polaroid{
  width: min(360px, 86vw);
  padding: 12px 12px 14px;
  border-radius: 22px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
  position:relative;
}
.polaroid img{
  width:100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  border:1px solid var(--stroke);
  display:block;
}
.polaroidCap{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}
.polaroidFallback{
  display:none;
  height: 420px;
  border-radius: 16px;
  border:1px dashed rgba(255,143,171,.55);
  background: rgba(255,77,109,.10);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap: 6px;
}
.polaroid.missing .polaroidFallback{display:flex;}
.polaroidFallbackTitle{font-weight:900}
.polaroidFallbackSub{font-size:12px; color:var(--muted)}

.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 940px){
  .grid{grid-template-columns: 1fr 1fr;}
}

.card.reveal{padding:18px;}
.letter{line-height:1.75; color:var(--text); margin: 10px 0 8px;}

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

.list{
  list-style:none;
  padding:0; margin: 10px 0 0;
  display:grid; gap:10px;
}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.list .dot{
  width:10px; height:10px; border-radius:999px; margin-top:6px;
  background: linear-gradient(135deg, var(--hot), var(--hot2));
  box-shadow: 0 0 0 6px rgba(255,77,109,.10);
}

.pillRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px;}
.pill{
  font-size:12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
}

.sectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.sectionActions{display:flex; gap:10px; flex-wrap:wrap;}

.reasons{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 940px){
  .reasons{grid-template-columns: 1fr 1fr;}
}
.reason{
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  display:flex; gap:12px;
}
.reasonBadge{
  width: 34px; height: 34px;
  border-radius: 14px;
  border:1px solid rgba(255,77,109,.30);
  background: rgba(255,77,109,.14);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.reasonTitle{font-weight:900; margin:0}
.reasonText{margin:6px 0 0; color:var(--muted); line-height:1.55}

.timeline{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}
.moment{
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.momentTop{display:flex; justify-content:space-between; gap:10px; align-items:center;}
.momentTitle{font-weight:900}
.momentDate{font-size:12px; color:var(--muted)}
.momentDesc{margin:8px 0 0; color:var(--muted); line-height:1.55}

.coupons{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .coupons{grid-template-columns: 1fr 1fr;}
}
.coupon{
  padding: 14px;
  border-radius: 20px;
  border:1px dashed rgba(255,143,171,.55);
  background: rgba(255,77,109,.10);
}
.coupon h4{margin:0 0 6px}
.coupon p{margin:0; color:var(--muted); line-height:1.55}

.gallery{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (min-width: 940px){
  .gallery{grid-template-columns: repeat(3, minmax(0,1fr));}
}
.shot{
  border:none;
  padding:0;
  background: transparent;
  cursor:pointer;
  border-radius: 18px;
  overflow:hidden;
  outline:none;
  box-shadow: 0 0 0 1px var(--stroke);
  transition: transform .16s ease, box-shadow .16s ease;
}
.shot:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 18px 40px rgba(0,0,0,.30);
}
.shot img{
  width:100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display:block;
}
.shot img[alt]{}

.footer{
  margin-top: 18px;
  text-align:center;
  padding: 12px 0 0;
}

.modal{
  position: fixed; inset:0; z-index: 20;
  background: rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center;
  padding: 16px;
}
.modalCard{
  width:min(620px, 92vw);
  border-radius: 22px;
  border:1px solid var(--stroke);
  background: rgba(20,20,28,.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 16px;
}
[data-theme="light"] .modalCard{background: rgba(255,255,255,.78);}
.modalHead{display:flex; justify-content:space-between; align-items:center; gap:10px;}
.modalText{color:var(--muted); line-height:1.65; margin: 10px 0 0;}

.lightbox{
  position:fixed; inset:0; z-index: 30;
  background: rgba(0,0,0,.82);
  display:flex; align-items:center; justify-content:center;
  padding: 18px;
}
.lightbox img{
  width:min(980px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.lightboxClose{
  position:fixed; top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}

.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px){
  .hero{flex-direction:column;}
  .heroStats{grid-template-columns: 1fr; }
}