*{box-sizing:border-box}
:root{
  --bg:#07080d;
  --ink:#f6f3eb;
  --muted:#aaa8a2;
  --line:rgba(255,255,255,.16);
  --red:#e23333;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  min-height:100vh;
}
#stars{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  pointer-events:none;
}

.topbar{
  position:relative;
  z-index:3;
  width:100%;
  border-bottom:1px solid rgba(255,255,255,.18);
  background:rgba(7,8,13,.92);
  backdrop-filter:blur(6px);
}
.topbar-inner{
  width:min(1180px,calc(100% - 48px));
  height:86px;
  margin:auto;
  display:flex;
  align-items:center;
}
.wordmark{
  color:var(--ink);
  text-decoration:none;
  font-size:34px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.06em;
  transform:rotate(-2deg);
  display:inline-block;
  position:relative;
}
.wordmark:after{
  content:"";
  position:absolute;
  left:2px;
  right:2px;
  bottom:-7px;
  height:3px;
  background:var(--ink);
  transform:rotate(-1deg);
  border-radius:999px;
}


.moon{
  position:fixed;
  z-index:0;
  width:clamp(180px,22vw,390px);
  aspect-ratio:1;
  border-radius:50%;
  right:-5vw;
  top:18vh;
  pointer-events:none;
  opacity:.30;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.22) 0 3%, transparent 3.5%),
    radial-gradient(circle at 65% 62%, rgba(0,0,0,.22) 0 7%, transparent 7.5%),
    radial-gradient(circle at 42% 72%, rgba(0,0,0,.15) 0 5%, transparent 5.5%),
    radial-gradient(circle at 40% 35%, #d8d8d3 0%, #a6a7a8 47%, #5c6067 76%, #252932 100%);
  box-shadow:
    0 0 45px rgba(225,235,255,.12),
    inset -28px -20px 55px rgba(0,0,0,.42);
  animation:moonFloat 13s ease-in-out infinite;
}
.moon:after{
  content:"";
  position:absolute;
  inset:-12%;
  border-radius:50%;
  box-shadow:0 0 80px rgba(205,220,255,.08);
}
.moon-crater{position:absolute;border-radius:50%;background:rgba(45,48,54,.18);box-shadow:inset 3px 3px 7px rgba(0,0,0,.18)}
.moon .c1{width:17%;height:17%;left:22%;top:51%}
.moon .c2{width:10%;height:10%;left:58%;top:25%}
.moon .c3{width:13%;height:13%;left:61%;top:68%}
@keyframes moonFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(-10px,-8px,0)}
}

main{position:relative;z-index:1;overflow:hidden}
.section{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
}
.hero{
  min-height:calc(100vh - 86px);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:40px;
}
.hero-copy{position:relative;z-index:2}
h1{
  margin:0;
  max-width:760px;
  font-size:clamp(54px,6.1vw,102px);
  line-height:.94;
  letter-spacing:-.065em;
  font-weight:900;
}
h1 span{color:var(--red)}
.socials{
  margin-top:34px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.social-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  color:var(--ink);
  border:1px solid rgba(255,255,255,.36);
  text-decoration:none;
  font-size:15px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.social-link:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.75);
}
.social-link svg{
  width:19px;
  height:19px;
  fill:currentColor;
}
.hero-art{
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-art img{
  width:min(100%,620px);
  max-height:88vh;
  object-fit:contain;
  display:block;
  animation:idle 4.1s ease-in-out infinite;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
@keyframes idle{
  0%,100%{transform:translateY(0) rotate(0)}
  50%{transform:translateY(-8px) rotate(.35deg)}
}
.compact{
  padding:95px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.eyebrow{
  margin:0 0 18px;
  font-size:14px;
  letter-spacing:.18em;
  font-weight:900;
}
.contract-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.contract-row strong{
  font-size:clamp(40px,6vw,84px);
  letter-spacing:-.045em;
}
button{
  border:1px solid rgba(255,255,255,.45);
  color:var(--ink);
  background:transparent;
  padding:12px 15px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
button svg{width:18px;height:18px;fill:currentColor}
button:hover{background:rgba(255,255,255,.08)}
.meet{
  min-height:85vh;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:70px;
}
.meet-copy h2{
  margin:0;
  font-size:clamp(50px,7vw,108px);
  line-height:.92;
  letter-spacing:-.06em;
}
.meet-copy h2 span{color:var(--red)}
.meet-art img{
  width:min(100%,470px);
  max-height:70vh;
  object-fit:contain;
  display:block;
  margin:auto;
  animation:idle 4.7s ease-in-out infinite;
}
.roadmap{
  min-height:70vh;
  padding:120px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.roadmap-line{
  border-top:1px solid rgba(255,255,255,.35);
  padding-top:34px;
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  align-items:start;
  gap:18px;
}
.step b{
  display:block;
  color:var(--red);
  font-size:15px;
  margin-bottom:12px;
}
.step h3{
  margin:0 0 8px;
  font-size:clamp(24px,2.8vw,40px);
  letter-spacing:-.04em;
}
.step p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.45;
}
.arrow{
  color:rgba(255,255,255,.55);
  font-size:32px;
  padding-top:26px;
}
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease,transform .7s ease;
}
.reveal.visible{opacity:1;transform:none}

@media (max-width:820px){
  .moon{
    width:240px;
    right:-18vw;
    top:26vh;
    opacity:.22;
  }

  .topbar-inner{
    width:calc(100% - 28px);
    height:68px;
  }
  .wordmark{
    font-size:28px;
  }
  .section{width:min(100% - 28px,720px)}
  .hero{
    min-height:100svh;
    grid-template-columns:1fr;
    gap:12px;
    padding:46px 0 30px;
  }
  .hero-copy{order:1}
  .hero-art{order:2}
  h1{font-size:clamp(48px,14vw,76px)}
  .hero-art img{width:min(92vw,500px);max-height:49vh}
  .socials{margin-top:24px}
  .social-link{padding:11px 14px;font-size:14px}
  .compact{padding:72px 0}
  .contract-row{align-items:flex-start}
  .meet{
    min-height:auto;
    padding:90px 0;
    grid-template-columns:1fr;
    gap:38px;
  }
  .meet-copy h2{font-size:clamp(48px,14vw,82px)}
  .meet-art img{width:min(75vw,370px)}
  .roadmap{min-height:auto;padding:90px 0 110px}
  .roadmap-line{
    border-top:none;
    border-left:1px solid rgba(255,255,255,.35);
    padding:0 0 0 24px;
    display:flex;
    flex-direction:column;
    gap:38px;
  }
  .arrow{
    transform:rotate(90deg);
    padding:0;
    margin:-18px 0 -18px 10px;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-art img,.meet-art img,.moon{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
}


html{scroll-behavior:smooth}
section[id]{scroll-margin-top:96px}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.section-kicker{
  font-size:12px;
  letter-spacing:.22em;
  font-weight:800;
  opacity:.72;
  margin-bottom:12px;
}
.contract h2{
  margin:0 0 32px;
  font-size:clamp(34px,4.4vw,64px);
  letter-spacing:-.05em;
}
.buy-steps{
  width:min(980px,100%);
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.08);
}
.buy-steps>div{
  background:rgba(7,8,13,.92);
  padding:24px 20px;
  min-height:130px;
}
.buy-steps span{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  opacity:.5;
  margin-bottom:28px;
}
.buy-steps p{
  margin:0;
  font-size:16px;
  font-weight:700;
}
.contract-box{
  width:min(760px,100%);
  margin:0 auto 18px;
}
.buy-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.14);
  text-decoration:none;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
}
.buy-btn.is-disabled{
  opacity:.45;
  pointer-events:none;
}
#about .meet-art img{
  width:100%;
  height:auto;
  display:block;
  border:0;
  background:transparent;
  object-fit:cover;
}

@media (max-width:820px){
  .topbar-inner{gap:14px}
  .top-nav{gap:13px}
  .top-nav a{font-size:9px;letter-spacing:.10em}
  .buy-steps{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .top-nav{gap:10px}
  .top-nav a{font-size:8px}
  .buy-steps{grid-template-columns:1fr}
}


.topbar-inner{
  justify-content:space-between;
}
.top-nav{
  display:flex;
  align-items:center;
  gap:28px;
  margin-left:auto;
}
.top-nav a{
  color:#f3f3ef;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  opacity:.78;
  white-space:nowrap;
  transition:opacity .2s ease, transform .2s ease;
}
.top-nav a:hover{opacity:1;transform:translateY(-1px)}


@media (max-width:820px){
  .topbar-inner{
    width:calc(100% - 22px);
    gap:10px;
  }
  .wordmark{font-size:24px}
  .top-nav{gap:11px}
  .top-nav a{font-size:8px;letter-spacing:.08em}
}
@media (max-width:430px){
  .wordmark{font-size:22px}
  .top-nav{gap:8px}
  .top-nav a{font-size:7px;letter-spacing:.04em}
}

/* v7 — refined Pump.fun buy section */
.how-buy{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:110px 0 120px;
}
.how-buy-head{max-width:760px;margin-bottom:54px}
.how-buy .eyebrow{
  margin:0 0 14px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.22em;
  opacity:.62;
}
.how-buy h2{
  margin:0;
  font-size:clamp(46px,6vw,84px);
  line-height:.92;
  letter-spacing:-.055em;
}
.how-buy h2 span{color:#ed3035}
.how-buy-sub{
  max-width:650px;
  margin:24px 0 0;
  font-size:16px;
  line-height:1.65;
  opacity:.62;
}
.buy-flow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  align-items:stretch;
  gap:14px;
}
.buy-step{
  min-height:210px;
  padding:26px 25px 24px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.step-no{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.17);
  font-size:11px;font-weight:900;letter-spacing:.08em;opacity:.62;
}
.buy-step h3{margin:0 0 9px;font-size:18px;letter-spacing:-.02em}
.buy-step p{margin:0;font-size:13px;line-height:1.55;opacity:.58}
.flow-arrow{
  display:grid;place-items:center;
  font-size:22px;opacity:.28;
}
.buy-bottom{
  margin-top:22px;
  display:flex;
  align-items:stretch;
  gap:14px;
}
.ca-line{
  flex:1;
  min-width:0;
  min-height:68px;
  padding:0 10px 0 22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  display:flex;
  align-items:center;
  gap:18px;
  background:rgba(255,255,255,.018);
}
.ca-line>span{font-size:10px;font-weight:900;letter-spacing:.15em;opacity:.45;white-space:nowrap}
.ca-line strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:13px;letter-spacing:.05em;
}
.ca-line .copy-btn{
  margin-left:auto;
  min-width:82px;height:46px;border-radius:13px;
}
.pump-button{
  min-width:260px;
  padding:0 24px;
  border-radius:18px;
  border:1px solid rgba(237,48,53,.45);
  display:flex;align-items:center;justify-content:center;gap:10px;
  text-decoration:none;color:#fff;font-size:12px;font-weight:900;letter-spacing:.09em;
  background:rgba(237,48,53,.08);
}
.pump-button span{font-size:9px;opacity:.45}
.pump-button.is-disabled{pointer-events:none;opacity:.62}

@media(max-width:900px){
  .buy-flow{grid-template-columns:1fr 1fr;gap:12px}
  .flow-arrow{display:none}
  .buy-bottom{flex-direction:column}
  .pump-button{min-height:60px}
}
@media(max-width:560px){
  .how-buy{width:min(100% - 28px,1180px);padding:82px 0 92px}
  .how-buy-head{margin-bottom:34px}
  .how-buy h2{font-size:44px}
  .how-buy-sub{font-size:14px}
  .buy-flow{grid-template-columns:1fr}
  .buy-step{min-height:150px;border-radius:18px}
  .ca-line{padding:12px 10px 12px 16px;gap:10px;flex-wrap:wrap}
  .ca-line strong{order:3;width:100%}
}

/* v8 — Meet Selvo artwork only */
#about .meet-art{
  background:transparent;
  overflow:visible;
}
#about .meet-art img{
  width:min(100%,560px);
  max-height:720px;
  margin:0 auto;
  object-fit:contain;
  mix-blend-mode:screen;
  filter:contrast(1.06) brightness(.92);
  -webkit-mask-image:radial-gradient(ellipse 72% 78% at 50% 48%,#000 58%,rgba(0,0,0,.96) 70%,transparent 100%);
  mask-image:radial-gradient(ellipse 72% 78% at 50% 48%,#000 58%,rgba(0,0,0,.96) 70%,transparent 100%);
}

/* v9 — tiny Meet Selvo size adjustment */
#about .meet-art img{
  width:min(94%,525px);
  max-height:680px;
}

/* v10 nav scroll */
html{scroll-behavior:auto!important}

/* v11 — animated cinematic space background */
body{
  position:relative;
  background:#030406;
}

body::before{
  content:"";
  position:fixed;
  inset:-4%;
  z-index:-3;
  background:
    linear-gradient(rgba(0,0,0,.14),rgba(0,0,0,.28)),
    url("assets/space-bg.png") center center / cover no-repeat;
  transform:scale(1.045);
  animation:spaceDrift 26s ease-in-out infinite alternate;
  will-change:transform,background-position;
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 20% 30%,rgba(255,255,255,.08) 0 1px,transparent 1.6px),
    radial-gradient(circle at 75% 18%,rgba(255,255,255,.07) 0 1px,transparent 1.5px),
    radial-gradient(circle at 62% 72%,rgba(255,255,255,.06) 0 1px,transparent 1.5px);
  background-size:170px 170px,230px 230px,290px 290px;
  animation:starDrift 34s linear infinite;
  opacity:.42;
  pointer-events:none;
}

@keyframes spaceDrift{
  0%{transform:scale(1.045) translate3d(-.7%,-.35%,0)}
  50%{transform:scale(1.07) translate3d(.45%,.3%,0)}
  100%{transform:scale(1.055) translate3d(.9%,-.15%,0)}
}

@keyframes starDrift{
  from{background-position:0 0,0 0,0 0}
  to{background-position:80px 36px,-55px 72px,38px -64px}
}

@media (prefers-reduced-motion:reduce){
  body::before,body::after{animation:none!important}
}

/* v12 — pull the space background back; preserve image detail */
body::before{
  inset:-1.5%;
  background:
    linear-gradient(rgba(0,0,0,.12),rgba(0,0,0,.24)),
    url("assets/space-bg.png") center top / 100% auto repeat-y;
  transform:scale(1.01);
  animation:spaceDriftWide 30s ease-in-out infinite alternate;
  image-rendering:auto;
}

@keyframes spaceDriftWide{
  0%{transform:scale(1.01) translate3d(-.15%,-.08%,0)}
  50%{transform:scale(1.018) translate3d(.12%,.08%,0)}
  100%{transform:scale(1.012) translate3d(.2%,-.04%,0)}
}

@media (max-width:820px){
  body::before{
    background-size:auto 100vh;
    background-position:62% top;
  }
}

/* v13 — clean layered space: CSS stars + separate moon element */
body{
  background:#030406!important;
  position:relative;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-4;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.85) 0 1px, transparent 1.4px),
    radial-gradient(circle at 72% 14%, rgba(255,255,255,.72) 0 1px, transparent 1.3px),
    radial-gradient(circle at 42% 66%, rgba(255,255,255,.62) 0 1px, transparent 1.2px),
    radial-gradient(circle at 84% 78%, rgba(255,255,255,.55) 0 1px, transparent 1.2px),
    radial-gradient(circle at 31% 87%, rgba(255,255,255,.5) 0 1px, transparent 1.1px),
    radial-gradient(ellipse at 55% 48%, rgba(255,255,255,.035), transparent 52%),
    linear-gradient(#040508,#020304);
  background-size:
    210px 210px,
    270px 270px,
    330px 330px,
    390px 390px,
    460px 460px,
    auto,
    auto;
  animation:selvoStars 44s linear infinite;
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  right:3vw;
  top:7vh;
  width:min(33vw,560px);
  aspect-ratio:1/1;
  z-index:-3;
  background:url("assets/moon-cutout.png") center/contain no-repeat;
  opacity:.94;
  filter:contrast(1.08) brightness(.82);
  animation:selvoMoon 18s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes selvoStars{
  from{background-position:0 0,0 0,0 0,0 0,0 0,center,center}
  to{background-position:55px 32px,-48px 40px,42px -36px,-30px 48px,34px 28px,center,center}
}

@keyframes selvoMoon{
  0%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-8px,5px,0) scale(1.008)}
  100%{transform:translate3d(5px,-4px,0) scale(1.004)}
}

@media (max-width:820px){
  body::after{
    width:min(62vw,420px);
    right:-13vw;
    top:9vh;
    opacity:.62;
  }
}

@media (prefers-reduced-motion:reduce){
  body::before,body::after{animation:none!important}
}

/* v14 — remove right-side moon only */
body::after{
  display:none!important;
}

/* v15 — correction: keep LEFT moon, remove RIGHT moon */
body::after{
  display:block!important;
  content:"";
  position:fixed;
  left:3vw!important;
  right:auto!important;
  top:7vh;
  width:min(33vw,560px);
  aspect-ratio:1/1;
  z-index:-3;
  background:url("assets/moon-cutout.png") center/contain no-repeat;
  opacity:.94;
  filter:contrast(1.08) brightness(.82);
  animation:selvoMoon 18s ease-in-out infinite alternate;
  pointer-events:none;
}

@media (max-width:820px){
  body::after{
    left:-13vw!important;
    right:auto!important;
    width:min(62vw,420px);
    top:9vh;
    opacity:.62;
  }
}

/* v16 — exact correction: viewer-left moon stays, viewer-right moon removed */
.moon{
  display:none!important;
}
body::after{
  display:block!important;
  left:3vw!important;
  right:auto!important;
}
@media (max-width:820px){
  body::after{
    left:-13vw!important;
    right:auto!important;
  }
}

/* v17 — persistent header while scrolling */
.topbar{
  position:fixed!important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9999;
}
body{
  padding-top:var(--topbar-height, 86px);
}

/* v18 — About Selvo standing on asteroid */
#about .meet-art img{
  width:min(94%,525px);
  max-height:720px;
  object-fit:contain;
  object-position:center;
}

/* v19 — transparent About artwork, blended into live site background */
#about .meet-art{
  background:transparent!important;
}
#about .meet-art img{
  mix-blend-mode:normal!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  filter:none!important;
}

/* v20 — final polish + responsive pass */
.topbar{
  background:rgba(5,6,10,.78)!important;
  -webkit-backdrop-filter:blur(12px) saturate(115%);
  backdrop-filter:blur(12px) saturate(115%);
  box-shadow:0 8px 28px rgba(0,0,0,.14);
}

/* About: tiny composition adjustment only */
#about .meet-art{
  transform:translate(-18px,14px);
}

/* Correct fixed-header spacing at each breakpoint */
@media (max-width:820px){
  body{padding-top:68px!important}
  #about .meet-art{transform:translate(-8px,8px)}
  section[id]{scroll-margin-top:78px}
}

@media (max-width:560px){
  .topbar-inner{
    min-width:0;
    width:calc(100% - 20px)!important;
  }
  .wordmark{
    flex:0 0 auto;
    font-size:21px!important;
  }
  .top-nav{
    min-width:0;
    gap:9px!important;
  }
  .top-nav a{
    font-size:7px!important;
    letter-spacing:.035em!important;
  }
  .hero{
    padding-top:34px;
  }
  .meet{
    padding-top:78px;
    padding-bottom:82px;
  }
  #about .meet-art{
    transform:translate(0,4px);
  }
  #about .meet-art img{
    width:min(82vw,390px)!important;
    max-height:62vh!important;
  }
  .roadmap{
    padding-top:82px;
  }
}

@media (max-width:380px){
  .topbar-inner{width:calc(100% - 14px)!important}
  .wordmark{font-size:19px!important}
  .top-nav{gap:6px!important}
  .top-nav a{font-size:6.5px!important}
  h1{font-size:clamp(43px,13vw,62px)}
  .meet-copy h2{font-size:clamp(43px,13vw,68px)}
}


/* Final add-on: subtle random shooting stars only */
#shootingStars{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

#shootingStars .shooting-star{
  position:absolute;
  width:2px;
  height:2px;
  border-radius:50%;
  background:#fff;
  opacity:0;
  filter:drop-shadow(0 0 5px rgba(255,255,255,.95));
  will-change:transform,opacity;
}

#shootingStars .shooting-star::after{
  content:"";
  position:absolute;
  top:50%;
  right:1px;
  width:var(--trail,110px);
  height:1px;
  transform:translateY(-50%);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.14),rgba(255,255,255,.95));
  transform-origin:right center;
}

@keyframes selvoShootStar{
  0%{
    opacity:0;
    transform:translate3d(0,0,0) rotate(var(--angle));
  }
  8%{opacity:.9}
  78%{opacity:.95}
  100%{
    opacity:0;
    transform:translate3d(var(--dx),var(--dy),0) rotate(var(--angle));
  }
}

#shootingStars .shooting-star.run{
  animation:selvoShootStar var(--duration,900ms) cubic-bezier(.18,.62,.26,1) forwards;
}

@media (max-width:820px){
  #shootingStars .shooting-star::after{
    width:var(--trail-mobile,78px);
  }
}

@media (prefers-reduced-motion:reduce){
  #shootingStars{display:none}
}

/* FINAL shooting-star tuning only: soft gold, more visible, still subtle */
#shootingStars .shooting-star{
  width:3px;
  height:3px;
  background:#ffd86a;
  box-shadow:
    0 0 6px rgba(255,216,106,.92),
    0 0 14px rgba(255,191,71,.38);
  filter:none;
}

#shootingStars .shooting-star::after{
  width:var(--trail,125px);
  height:1.5px;
  background:linear-gradient(
    90deg,
    rgba(255,191,71,0),
    rgba(255,205,92,.16) 28%,
    rgba(255,220,120,.5) 72%,
    rgba(255,239,180,.98)
  );
  box-shadow:0 0 5px rgba(255,207,86,.18);
}

@media (max-width:820px){
  #shootingStars .shooting-star{
    width:2.5px;
    height:2.5px;
  }
  #shootingStars .shooting-star::after{
    height:1.25px;
  }
}


/* v21 — mobile background polish: canvas supplies the motion, CSS star texture stays seamless. */
@media (max-width:820px){
  body::before{
    animation:none!important;
    background-position:0 0,0 0,0 0,0 0,0 0,center,center!important;
  }
  body::after{
    animation-duration:24s!important;
  }
}

/* v22 — device-independent section landing + stable mobile viewport polish. */
section[id] { scroll-margin-top: 0 !important; }

/* Use modern viewport units where available without hard-coding device models. */
@supports (min-height: 100svh) {
  .hero { min-height: calc(100svh - var(--topbar-height, 86px)); }
}

@media (max-width: 820px) {
  /* Stable viewport height avoids address-bar show/hide reflow on phones. */
  #stars, #shootingStars { height: 100svh; min-height: 100svh; }
  body::before { height: 100svh; min-height: 100svh; }
}

/* Tiny/narrow phones and unusually short laptop windows stay fluid. */
@media (max-width: 380px) {
  .section, .how-buy { width: calc(100% - 22px); }
}

@media (max-height: 650px) and (min-width: 700px) {
  .hero { min-height: auto; padding-top: clamp(32px, 7vh, 56px); padding-bottom: clamp(42px, 8vh, 72px); }
}

/* v24 — ABOUT universal viewport fit.
   Keep the full Selvo artwork inside the visible area below the fixed header,
   regardless of phone/laptop/desktop viewport height. */
#about{
  min-height:calc(100svh - var(--actual-header-height, 86px));
  box-sizing:border-box;
}
#about .meet-art img{
  max-height:min(720px, calc(100svh - var(--actual-header-height, 86px) - 40px))!important;
  width:min(94%, 525px);
  object-fit:contain;
}
@media (max-width:820px){
  #about{
    min-height:auto;
  }
  #about .meet-art img{
    max-height:min(58svh, calc(100svh - var(--actual-header-height, 68px) - 220px))!important;
  }
}
