@font-face{
  font-family:"Baloo 2";
  src:url("assets/fonts/Baloo2-Variable.ttf") format("truetype");
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Nunito";
  src:url("assets/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html,body{
  min-height:100%;
  -webkit-text-size-adjust:100%;
  background:#2a1378;
  color:#fff;
  font-family:"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
}
body{overflow-x:hidden;}
.page{
  width:100%;
  max-width:520px;
  margin:0 auto;
  background:
    linear-gradient(180deg,
      #5b2bdb 0%,
      #3a63f0 22%,
      #11b3c9 48%,
      #ff7a5c 76%,
      #c445c8 100%);
  padding-bottom:calc(124px + env(safe-area-inset-bottom, 0px));
  min-height:100vh;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px 8px;
  background:linear-gradient(90deg, rgba(58,20,140,.92), rgba(18,90,200,.88));
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(8px);
}
.brand-logo{
  width:clamp(40px,11vw,52px);
  height:auto;
  display:block;
  flex:0 0 auto;
  border-radius:12px;
  pointer-events:none;
  user-select:none;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.brand-text{min-width:0;}
.brand-name{
  font-family:"Baloo 2",system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(17px,4.8vw,23px);
  line-height:1.15;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-domain{
  font-weight:600;
  font-size:clamp(11px,3vw,13px);
  color:#b8f4ff;
  letter-spacing:.02em;
}
.section{position:relative; padding:8px 14px 4px;}
.art{
  display:block;
  width:100%;
  height:auto;
  border:0;
  border-radius:22px;
  box-shadow:0 10px 28px rgba(40,10,80,.28);
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.copy{
  text-align:center;
  padding:14px 8px 18px;
}
.copy h1,.copy h2{
  font-weight:800;
  line-height:1.05;
  letter-spacing:.01em;
  text-wrap:balance;
}
.amount{
  display:block;
  font-weight:900;
  font-size:clamp(42px,13vw,64px);
  line-height:1;
  color:#ffe566;
  text-shadow:0 3px 0 #e14b8c, 0 6px 16px rgba(80,0,80,.28);
  margin:4px 0 6px;
}
.headline{
  font-family:"Baloo 2",system-ui,sans-serif;
  font-size:clamp(26px,7.2vw,36px);
  color:#fff;
  text-shadow:0 2px 0 rgba(90,20,140,.35);
}
.sub{
  margin-top:6px;
  font-weight:800;
  font-size:clamp(14px,4vw,18px);
  color:#fff6b0;
  letter-spacing:.06em;
}
.tagline{
  margin-top:4px;
  font-weight:800;
  font-size:clamp(15px,4.2vw,18px);
  color:#fff;
  letter-spacing:.04em;
}
.icon-wrap{padding:0 8px 8px;}
.icon-grid-art{border-radius:18px;}
.footer-note{
  padding:8px 18px 16px;
  text-align:center;
  font-size:12px;
  line-height:1.45;
  color:rgba(255,255,255,.92);
  font-weight:600;
}
.footer-note strong{color:#ffe566;}

.dl-fixed{
  position:fixed;left:0;right:0;bottom:0;z-index:100;
  display:flex;justify-content:center;pointer-events:none;
}
.dl-safe{
  width:100%;max-width:520px;
  display:flex;justify-content:center;
  padding:8px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background:linear-gradient(180deg, rgba(42,19,120,0), rgba(42,19,120,.72) 28%, rgba(42,19,120,.95));
  pointer-events:none;
}
.dl-pulse{
  pointer-events:auto;
  transform-origin:center center;
  animation:dlPulse 1.4s ease-in-out infinite;
  will-change:transform;
  width:100%;
  display:flex;justify-content:center;
}
@keyframes dlPulse{0%,100%{transform:scale(.96)}50%{transform:scale(1)}}
@keyframes iconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){
  .dl-pulse,.icon-wrap .art{animation:none;transform:none}
}
.icon-wrap .art{animation:iconFloat 3.2s ease-in-out infinite;}
.dl-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:420px;
  min-height:52px;
  height:52px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  background:linear-gradient(180deg,#ff5d8f 0%,#ff7a3d 100%);
  box-shadow:0 8px 0 #c4306c, 0 12px 22px rgba(80,0,60,.28);
  color:#fff;
  font-family:"Baloo 2",system-ui,sans-serif;
  font-weight:800;
  font-size:20px;
  letter-spacing:.04em;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dl-btn span{display:block;white-space:nowrap;}

@media (min-width:560px){
  .page,.dl-safe{max-width:540px}
  .dl-btn{max-width:440px}
}
@media (max-width:479px){
  .page,.dl-safe{max-width:100%}
  .dl-btn{font-size:16px;height:50px;min-height:50px;}
}
@media (max-width:359px){
  .dl-btn{font-size:15px;}
  .amount{font-size:36px;}
}

.dl-inline{
  display:flex;
  justify-content:center;
  width:100%;
  padding:12px 0 10px;
}
.dl-inline .dl-btn{
  pointer-events:auto;
}
