:root{
  --sage:#9dbfa1;
  --sage-2:#7ea88a;
  --sage-3:#5f886a;
  --cream:#f7fbf5;
  --ink:#0f1a12;
  --rose:#f7b8c8;
  --rose-2:#f39ec0;
  --danger:#e68ca8;
  --shadow:0 20px 55px rgba(0,0,0,.34);
  --radius:22px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  min-height:100%;
  color:var(--cream);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  overflow-x:hidden;
}
body{
  background:
    radial-gradient(1200px 800px at 8% 10%, rgba(157,191,161,.38), transparent 65%),
    radial-gradient(1000px 700px at 86% 18%, rgba(255,255,255,.09), transparent 64%),
    radial-gradient(900px 600px at 50% 110%, rgba(126,168,138,.28), transparent 62%),
    linear-gradient(180deg,#0e1711 0%, #0a110d 60%, #080d09 100%);
  animation: bgShift 18s ease-in-out infinite alternate;
}
@keyframes bgShift{
  0%{ filter:hue-rotate(0deg) saturate(100%); }
  100%{ filter:hue-rotate(-8deg) saturate(108%); }
}
body::before{
  content:"";
  position:fixed; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.10) 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 65% 38%, rgba(255,255,255,.08) 0 1.2px, transparent 2px),
    radial-gradient(circle at 35% 78%, rgba(255,255,255,.06) 0 1.2px, transparent 2.1px);
  background-size:220px 220px, 260px 260px, 300px 300px;
  opacity:.65;
  animation: shimmer 20s linear infinite;
}
@keyframes shimmer{
  from{ transform:translateY(0px); }
  to{ transform:translateY(-40px); }
}

.ambientHearts,.celebrationRain{
  position:fixed; inset:0; pointer-events:none; z-index:2; overflow:hidden;
}
.ambientHeart{
  position:absolute;
  font-size:12px;
  color:rgba(240,255,245,.18);
  animation: floatHeart linear forwards;
  text-shadow:0 0 14px rgba(255,255,255,.05);
}
@keyframes floatHeart{
  from{ transform:translateY(110vh) translateX(0) rotate(0deg); opacity:0; }
  10%{ opacity:.65; }
  90%{ opacity:.35; }
  to{ transform:translateY(-16vh) translateX(var(--drift, 0px)) rotate(24deg); opacity:0; }
}
.rainPiece{
  position:absolute;
  top:-8vh;
  font-size:18px;
  opacity:.95;
  animation: rainDown var(--dur, 3.2s) ease-in forwards;
  filter:drop-shadow(0 4px 12px rgba(255,255,255,.25));
}
@keyframes rainDown{
  0%{ transform:translate3d(0,-10vh,0) rotate(0deg) scale(.9); opacity:0; }
  10%{ opacity:1; }
  100%{ transform:translate3d(var(--dx, 0px),115vh,0) rotate(var(--rot, 180deg)) scale(1.1); opacity:0; }
}

.appShell{
  position:relative;
  min-height:100vh;
  padding-bottom:48px;
  z-index:3;
}
.watermark{
  position:fixed;
  right:10px;
  bottom:8px;
  z-index:22;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(5,9,7,.34);
  backdrop-filter: blur(8px);
  color:rgba(255,255,255,.82);
  font-size:12px;
  letter-spacing:.2px;
}

.tabs{
  position:sticky; top:0; z-index:20;
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
  padding:12px;
  background:rgba(7,10,8,.38);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.tabBtn{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:var(--cream);
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}
.tabBtn:hover{ transform:translateY(-1px); }
.tabBtn.active{
  background:rgba(157,191,161,.24);
  border-color:rgba(157,191,161,.55);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.tabPanel.hidden{ display:none; }

.hero{
  display:grid;
  place-items:center;
  padding:22px 14px 10px;
}
.glass{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.17);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter: blur(11px);
}
.glassInner{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px;
}
.heroCard{
  width:min(1040px,96vw);
  padding:22px 18px 18px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-size:13px;
  font-weight:700;
  color:#e7fbe9;
}
.heroCard h2{
  margin:12px 0 8px;
  font-size:clamp(28px,5vw,46px);
  line-height:1.05;
}
.heroText{
  margin:0 0 14px;
  max-width:72ch;
  color:rgba(246,251,247,.93);
  line-height:1.5;
}
.heroGrid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width: 900px){
  .heroGrid{ grid-template-columns:1fr; }
}

.musicBox{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
}
.musicTitle{
  font-weight:800;
  margin-top:2px;
  margin-bottom:10px;
}
.musicArt{
  width:min(320px,100%);
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
.musicMeta{
  margin-top:10px;
  color:rgba(255,255,255,.82);
  font-weight:600;
}
.musicControls{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  justify-content:center;
}
.musicBtn{ min-width:132px; }
.eqBars{
  height:22px;
  display:flex; align-items:flex-end; gap:4px;
  opacity:.5;
}
.eqBars span{
  width:5px;
  background:linear-gradient(180deg, var(--rose), #b2ffca);
  border-radius:999px;
  height:8px;
  animation:eqIdle 1.2s ease-in-out infinite;
  animation-play-state:paused;
}
.eqBars span:nth-child(2){ animation-delay:.12s; }
.eqBars span:nth-child(3){ animation-delay:.22s; }
.eqBars.playing{ opacity:1; }
.eqBars.playing span{ animation-play-state:running; }
@keyframes eqIdle{
  0%,100%{ height:7px; }
  50%{ height:22px; }
}
.volumeWrap{
  margin-top:10px;
  width:min(360px,100%);
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:8px;
  align-items:center;
}
.volumeWrap label{
  font-size:13px;
  color:rgba(255,255,255,.88);
  font-weight:700;
}
.volumeValue{
  font-size:13px;
  color:rgba(255,255,255,.85);
  min-width:42px;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.volumeRange{
  width:100%;
  appearance:none;
  height:10px;
  border-radius:999px;
  outline:none;
  background:linear-gradient(90deg, rgba(185,255,210,.9) 0 var(--volPct,35%), rgba(255,255,255,.16) var(--volPct,35%) 100%);
  border:1px solid rgba(255,255,255,.14);
}
.volumeRange::-webkit-slider-thumb{
  appearance:none;
  width:18px; height:18px; border-radius:50%;
  background:#fff;
  border:2px solid rgba(157,191,161,.8);
  box-shadow:0 2px 10px rgba(0,0,0,.25);
  cursor:pointer;
}
.volumeRange::-moz-range-thumb{
  width:18px; height:18px; border-radius:50%;
  background:#fff;
  border:2px solid rgba(157,191,161,.8);
  box-shadow:0 2px 10px rgba(0,0,0,.25);
  cursor:pointer;
}
.volumeRange::-moz-range-track{
  height:10px; border-radius:999px; background:transparent;
}

.proposalBox{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
}
.btnRow{
  position:relative;
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:center;
  min-height:60px;
  flex-wrap:wrap;
}
.btn{
  border:none;
  border-radius:999px;
  padding:12px 16px;
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
  cursor:pointer;
  transition:transform .15s ease, filter .2s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-1px); filter:brightness(1.04); }
.yesBtn{
  background:linear-gradient(180deg, #8fd3a0, #5e9f6e);
  box-shadow:0 10px 24px rgba(86,161,106,.35);
}
.noBtn{
  background:linear-gradient(180deg, #ffbfd4, #dd7fa7);
  box-shadow:0 10px 24px rgba(205,92,140,.28);
}
.btn.ghost{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:none;
}
.btn.ghost.danger{ border-color:rgba(230,140,168,.45); color:#ffd9e5; }

.hint,.yesResult{
  text-align:center;
  margin-top:10px;
  min-height:20px;
  color:rgba(255,255,255,.9);
}
.yesResult{
  min-height:26px;
  font-weight:700;
  color:#d7ffd9;
}
.yesResult.pop{ animation: pop .35s ease; }
@keyframes pop{
  0%{ transform:scale(.96); opacity:.5; }
  100%{ transform:scale(1); opacity:1; }
}

.section{
  padding:14px;
  display:grid;
  place-items:center;
}
.panel{
  width:min(1040px,96vw);
  padding:18px 16px;
}
.panel.wide{ padding-top:14px; }
.sectionHead h3{
  margin:2px 0 4px;
  font-size:clamp(20px,3vw,28px);
}
.subtle{
  color:rgba(255,255,255,.78);
}
.tinyNote{
  color:rgba(255,255,255,.8);
  font-size:13px;
  margin:10px 2px;
}

.counter{
  margin-top:6px;
  font-size:clamp(22px,4vw,34px);
  font-weight:800;
  letter-spacing:.4px;
  font-variant-numeric:tabular-nums;
}
.controls{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.hidden{ display:none !important; }

.groupTitle{
  margin:16px 2px 10px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:rgba(255,255,255,.75);
  font-weight:800;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){ .grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .grid{ grid-template-columns:1fr; } }

.card{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  box-shadow:0 10px 24px rgba(0,0,0,.2);
}
.card img{
  width:100%;
  height:260px;
  display:block;
  object-fit:cover;
  cursor:zoom-in;
  background:rgba(0,0,0,.2);
}
.card.tall img{ height:340px; }
.card .caption{
  padding:10px 10px 12px;
  background:linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.30));
}
.card .caption .q{
  margin:0;
  color:rgba(255,255,255,.95);
  line-height:1.35;
  font-size:14px;
}
.card .caption .tag{
  margin-top:6px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(210,255,216,.8);
}
.screenshotsGrid .card img{ height:240px; }

.dropZone{
  margin-top:10px;
  border:1px dashed rgba(255,255,255,.25);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  min-height:170px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  padding:16px;
  text-align:center;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .15s ease;
}
.dropZone:hover{ transform:translateY(-1px); }
.dropZone.dragover{
  border-color:rgba(185,255,210,.85);
  background:rgba(157,191,161,.10);
}
.dropIcon{ font-size:28px; }
.dropZone p{ margin:0; }
.uploadActions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.loveNote{
  margin-top:8px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  line-height:1.7;
  color:rgba(250,253,250,.96);
}
.loveNote p{ margin:0 0 12px; }
.loveNote .signature{
  margin-top:2px;
  font-weight:800;
  color:#d5ffd8;
}

.lightbox{
  position:fixed; inset:0; z-index:60;
  background:rgba(3,6,4,.88);
  backdrop-filter: blur(6px);
  display:grid;
  place-items:center;
  padding:20px;
}
.lightbox.hidden{ display:none; }
.lightbox img{
  max-width:min(1100px,92vw);
  max-height:80vh;
  width:auto; height:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 55px rgba(0,0,0,.45);
}
.lightboxCaption{
  margin-top:10px;
  color:#f0fff2;
  text-align:center;
  max-width:min(900px,90vw);
}
.lightboxClose{
  position:absolute;
  right:12px;
  top:12px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}

.introOverlay{
  position:fixed; inset:0; z-index:70;
  display:grid; place-items:center;
  background:radial-gradient(circle at 50% 30%, rgba(157,191,161,.18), rgba(0,0,0,.84));
  cursor:pointer;
  transition:opacity .38s ease, visibility .38s ease;
}
.introOverlay.hidden{
  opacity:0;
  visibility:hidden;
}
.introCard{
  padding:22px 20px;
  text-align:center;
  width:min(380px,86vw);
}
.introIcon{
  font-size:34px;
  margin-bottom:4px;
}
.introCard h1{
  margin:4px 0;
  font-size:clamp(28px,6vw,38px);
}
.introCard p{
  margin:2px 0 0;
  color:rgba(255,255,255,.82);
}


.bgVideo{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-4;
  opacity:.34;
  filter:saturate(0.95) brightness(0.8);
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(214,255,223,.12), transparent 70%),
    radial-gradient(60% 60% at 80% 15%, rgba(186,255,210,.08), transparent 70%);
  pointer-events:none;
}

.yesBtn,
.noBtn{
  min-width: 260px;
  min-height: 96px;
  font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2rem);
  padding: 22px 34px;
  border-radius: 18px;
  font-weight: 800;
}

.btnRow{
  min-height: 128px;
  gap: 18px;
}

.hide-native-cursor,
  .hide-native-cursor * { cursor: auto !important; }
}

body{cursor:none;}
#heart-cursor{position:fixed;width:18px;height:18px;background:#ffb6c1;border-radius:4px;pointer-events:none;z-index:999999;
  transform:translate(-50%,-50%) rotate(-45deg);animation:heart-bounce .9s infinite ease-in-out;}
#heart-cursor::before,#heart-cursor::after{content:"";position:absolute;width:18px;height:18px;background:#ffb6c1;border-radius:50%;}
#heart-cursor::before{top:-9px;left:0;}
#heart-cursor::after{top:0;left:9px;}
@keyframes heart-bounce{0%,100%{transform:translate(-50%,-50%) rotate(-45deg) scale(1);}50%{transform:translate(-50%,-54%) rotate(-45deg) scale(1.12);}}
@media (max-width:768px){#heart-cursor{display:none;}body{cursor:auto;}}
