/* =====================================================================
   GiftMintr V22.0 — homepage hero, feature strip and the feedback block.
   Loaded on the homepage only. The factory (assets/js/giftmintr-hero.js)
   draws into .gm-stage; all text and both buttons are ordinary HTML.
   ===================================================================== */

/* ---------- hero shell: one continuous dark studio that runs under the navigation ---------- */
.gm-hero{position:relative;isolation:isolate;margin-top:-84px;padding-top:84px;overflow:hidden;color:#F7FAFF;
  background:
    radial-gradient(46% 60% at 66% 58%,rgba(22,139,255,.30) 0%,rgba(22,139,255,.08) 46%,rgba(3,7,28,0) 74%),
    radial-gradient(40% 56% at 96% 40%,rgba(139,61,255,.42) 0%,rgba(139,61,255,.10) 50%,rgba(3,7,28,0) 76%),
    radial-gradient(50% 50% at 0% 0%,rgba(22,60,160,.28) 0%,rgba(3,7,28,0) 70%),
    linear-gradient(180deg,#03071C 0%,#050B28 55%,#04081F 100%)}
.gm-hero-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.gm-hero-bg i{position:absolute;display:block}
.gm-hero-bg .r1,.gm-hero-bg .r2{top:-20%;width:26%;height:150%;background:linear-gradient(180deg,rgba(60,140,255,.16),rgba(60,140,255,0) 70%);filter:blur(22px);transform-origin:50% 0;animation:gmRay 14s ease-in-out infinite alternate}
.gm-hero-bg .r1{left:48%;transform:rotate(14deg)}
.gm-hero-bg .r2{left:74%;transform:rotate(-10deg);background:linear-gradient(180deg,rgba(150,80,255,.18),rgba(150,80,255,0) 70%);animation-delay:-6s}
.gm-hero-bg .r3{left:0;right:0;bottom:0;height:34%;background:linear-gradient(180deg,rgba(3,7,28,0),rgba(3,7,28,.85))}
@keyframes gmRay{from{opacity:.55}to{opacity:1}}
.gm-hero-in{position:relative;z-index:2;max-width:1700px;margin:0 auto;padding:0 clamp(18px,4.6vw,84px);min-height:clamp(540px,calc(100vh - 260px),700px);display:flex;align-items:center;pointer-events:none}
.gm-copy{width:39%;min-width:0;padding:clamp(26px,4.2vh,52px) 0 clamp(26px,4vh,46px);pointer-events:auto}

/* ---------- pill ---------- */
.gm-pill{position:relative;display:inline-flex;align-items:center;gap:11px;max-width:100%;height:52px;padding:0 24px 0 18px;border-radius:999px;background:rgba(8,14,44,.72);color:#F7FAFF;font:700 1.08rem/1 var(--gp-body);letter-spacing:-.01em;text-decoration:none;white-space:nowrap;isolation:isolate}
.gm-pill::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:linear-gradient(100deg,#00E5FF,#168BFF 40%,#8B3DFF 75%,#D946EF);background-size:220% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:gmEdge 9s linear infinite;z-index:-1}
.gm-pill::after{content:"";position:absolute;inset:-6px;border-radius:inherit;background:linear-gradient(100deg,rgba(0,229,255,.35),rgba(139,61,255,.35));filter:blur(14px);opacity:.5;z-index:-2}
@keyframes gmEdge{to{background-position:220% 0}}
.gm-pill>svg:first-child{width:21px;height:21px;fill:#fff;flex:none}
.gm-pill b{font-weight:750}
.gm-pill span{font-weight:550;color:#D5DDF0;overflow:hidden;text-overflow:ellipsis}
.gm-arr{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:transform .22s ease}
a.gm-pill:hover .gm-arr{transform:translateX(3px)}

/* ---------- headline ---------- */
.gm-h1{margin:clamp(18px,2.8vh,32px) 0 0;font:800 clamp(2.5rem,4.72vw,4.75rem)/1.03 var(--gp-display);letter-spacing:-.042em;color:#F7FAFF;text-shadow:0 2px 24px rgba(120,160,255,.18)}
.gm-h1 span{display:block}
.gm-h1 .l2{position:relative;width:max-content;max-width:100%;padding:0 .12em .2em 0;font-style:italic;font-weight:800;background:linear-gradient(96deg,#00E5FF 0%,#2FB1FF 34%,#6F6BFF 64%,#B25CFF 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#00CFFF;filter:drop-shadow(0 6px 18px rgba(0,180,255,.28))}
.gm-swoosh{position:absolute;left:44%;bottom:-.02em;width:66%;height:.3em;overflow:visible}
.gm-sub{margin:clamp(12px,1.8vh,20px) 0 0;max-width:31em;font:450 clamp(1rem,1.3vw,1.34rem)/1.5 var(--gp-body);letter-spacing:-.008em;color:#E3E9F8}

/* ---------- benefits ---------- */
.gm-benefits{list-style:none;margin:clamp(16px,2.4vh,26px) 0 0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:10px 0}
.gm-benefits li{display:inline-flex;align-items:center;gap:8px;padding:0 clamp(8px,.9vw,16px);font:600 clamp(.84rem,.96vw,1rem)/1.2 var(--gp-body);color:#F7FAFF;white-space:nowrap;border-left:1.5px solid rgba(160,180,255,.22)}
.gm-benefits li:first-child{padding-left:0;border-left:0}
.gm-benefits svg{width:23px;height:23px;flex:none;fill:none;stroke:#00E5FF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gm-benefits .k1 svg{fill:#FFAA22;stroke:none}
.gm-benefits .k2 svg{stroke:#A78BFA}

/* ---------- the two buttons: cyan buys, purple sells ---------- */
.gm-cta{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:clamp(22px,3.4vh,38px)}
.gm-btn{display:inline-flex;align-items:center;justify-content:center;gap:13px;height:66px;min-width:min(270px,100%);padding:0 28px;border-radius:999px;font:750 1.22rem/1 var(--gp-body);letter-spacing:-.018em;text-decoration:none;white-space:nowrap;transition:transform .22s ease,box-shadow .22s ease,background .22s ease}
.gm-btn>svg:first-child{width:27px;height:27px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gm-btn .gm-arr{width:24px;height:24px}
.gm-btn:hover{transform:translateY(-2px) scale(1.02)}
.gm-btn:hover .gm-arr{transform:translateX(4px)}
.gm-btn-buy{background:linear-gradient(100deg,#00E5FF 0%,#00D3FF 55%,#22B8FF 100%);color:#03071C;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 1px rgba(160,245,255,.5),0 16px 40px -14px rgba(0,229,255,.95)}
.gm-btn-buy:hover{color:#03071C;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 1px rgba(160,245,255,.7),0 20px 50px -12px rgba(0,229,255,1)}
.gm-btn-sell{background:rgba(60,24,140,.34);color:#F7FAFF;box-shadow:inset 0 0 0 2px #9A5CFF,0 14px 36px -16px rgba(139,61,255,.95)}
.gm-btn-sell>svg:first-child{stroke:#D7A6FF}
.gm-btn-sell:hover{color:#fff;background:rgba(80,34,170,.5);box-shadow:inset 0 0 0 2px #B78BFF,0 18px 46px -14px rgba(139,61,255,1)}

/* ---------- the scene ---------- */
.gm-scene{position:absolute;inset:0;z-index:1}
.gm-stage{position:absolute;inset:0}
.gm-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .8s ease}
.gm-scene.is-live .gm-canvas{opacity:1}
.gm-poster{position:absolute;right:3.3%;bottom:116px;width:min(58.9%,1040px);height:auto;opacity:0;animation:gmFade .6s ease .05s forwards;pointer-events:none}
@keyframes gmFade{to{opacity:1}}
.gm-tip{position:absolute;left:0;top:0;z-index:3;display:inline-flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border-radius:999px;background:#07132F;color:#F7FAFF;font:700 .86rem/1 var(--gp-body);text-decoration:none;white-space:nowrap;box-shadow:0 0 0 1px rgba(0,229,255,.45),0 14px 30px -12px rgba(0,0,0,.8);pointer-events:auto;will-change:transform}
.gm-tip[hidden]{display:none}
.gm-tip span{padding:7px 12px;border-radius:999px;background:var(--gm-buy);color:#03071C;font-weight:750}

/* ---------- feature strip ---------- */
.gm-wrap{position:relative;z-index:2;max-width:1760px;margin:0 auto;padding:0 clamp(12px,2.6vw,46px) clamp(18px,2.4vw,32px)}
.gm-ctl{position:absolute;right:clamp(14px,3vw,56px);bottom:calc(100% + 10px);z-index:3;display:flex;align-items:center;gap:8px}
.gm-demo,.gm-pause{height:30px;padding:0 12px;border-radius:999px;font:650 .74rem/30px var(--gp-body);letter-spacing:.02em;color:#C9D3EC;background:rgba(7,19,47,.72);border:0;box-shadow:0 0 0 1px rgba(96,130,220,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.gm-pause{cursor:pointer}.gm-pause:hover{color:#fff;box-shadow:0 0 0 1px #00CFFF}
.gm-pause[hidden]{display:none}
.gm-strip{position:relative;list-style:none;margin:0;padding:0 clamp(6px,1vw,18px);display:grid;grid-template-columns:repeat(5,1fr);border-radius:30px;background:linear-gradient(180deg,rgba(10,20,60,.86),rgba(6,12,40,.9));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.gm-strip::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(100deg,rgba(0,229,255,.9),rgba(22,139,255,.55) 34%,rgba(139,61,255,.6) 70%,rgba(217,70,239,.8));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.gm-strip::after{content:"";position:absolute;left:8%;right:8%;bottom:-10px;height:18px;border-radius:50%;background:linear-gradient(90deg,rgba(0,229,255,.5),rgba(139,61,255,.5));filter:blur(16px);opacity:.6;pointer-events:none;z-index:-1}
.gm-strip li{position:relative;min-width:0}
.gm-strip li+li::before{content:"";position:absolute;left:0;top:28%;bottom:28%;width:1.5px;background:rgba(150,175,255,.2)}
.gm-strip a{display:flex;align-items:center;justify-content:center;gap:16px;min-height:104px;padding:14px clamp(8px,1vw,18px);color:#F7FAFF;text-decoration:none;font:500 clamp(.84rem,1.04vw,1.1rem)/1.32 var(--gp-body);letter-spacing:-.012em}
.gm-strip a span{min-width:0}
.gm-strip a b{display:block;font-weight:650;white-space:nowrap}
.gm-strip i{flex:none;display:grid;place-items:center;width:clamp(48px,4.2vw,68px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 34% 28%,#3A2FA8 0%,#1B1A66 52%,#0E1244 100%);box-shadow:inset 0 0 0 1.5px rgba(150,120,255,.5),0 0 22px -4px rgba(139,61,255,.7);transition:transform .25s ease}
.gm-strip a:hover i{transform:translateY(-2px) scale(1.05)}
.gm-strip a:hover b{color:#5EEBFF}
.gm-strip svg{width:52%;height:52%;fill:none;stroke:#D9C4FF;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.gm-strip li:nth-child(2) svg{fill:#C79BFF;stroke:none}

/* ---------- feedback block ---------- */
.gm-trust{background:linear-gradient(180deg,#04081F 0%,var(--gp-bg) 100%);padding:clamp(14px,1.6vw,24px) 0 clamp(10px,1.4vw,20px)}
.gm-trust-in{max-width:1400px;margin:0 auto;padding:0 clamp(14px,2.4vw,28px);display:grid;grid-template-columns:minmax(260px,330px) 1fr;gap:18px}
.gm-rate{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:22px;background:var(--gp-surface);box-shadow:inset 0 0 0 1px var(--gp-line);color:var(--gp-ink);text-decoration:none}
.gm-rate:hover{color:var(--gp-ink);box-shadow:inset 0 0 0 1px rgba(0,207,255,.5)}
.gm-rate .ttl{font:800 1.5rem/1.1 var(--gp-display);letter-spacing:-.02em}
.gm-rate .stars{display:flex;align-items:center;gap:5px}
.gm-rate .stars i{position:relative;width:30px;height:30px;border-radius:5px;background:linear-gradient(90deg,#00B67A var(--f),#2A3764 var(--f));display:grid;place-items:center}
.gm-rate .stars svg{width:20px;height:20px;fill:#fff}
.gm-rate .stars em{margin-left:8px;font:800 1.5rem/1 var(--gp-display);font-style:normal;color:#FFAA22}.gm-rate .stars em small{font-size:.8em;opacity:.8}
.gm-rate>small{color:var(--gp-mute);font-size:.9rem;line-height:1.45}
.gm-rate .foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px;border-top:1px solid var(--gp-line);font-size:.86rem;font-weight:650}
.gm-rate .vr{display:inline-flex;align-items:center;gap:7px;color:var(--gp-ink2)}.gm-rate .vr .gp-ico{width:17px;height:17px;color:#22C98A}
.gm-rate .more{color:#5EEBFF;white-space:nowrap}
.gm-reviews{min-width:0;padding:20px 22px;border-radius:22px;background:var(--gp-surface);box-shadow:inset 0 0 0 1px var(--gp-line)}
.gm-reviews .hd{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.gm-reviews .hd b{font:750 1.06rem/1.2 var(--gp-display);color:var(--gp-ink)}
.gm-reviews .hd>span{color:var(--gp-mute);font-size:.88rem}
.gm-reviews .nav{margin-left:auto;display:flex;gap:8px}
.gm-reviews .nav button{width:34px;height:34px;border-radius:50%;border:1px solid var(--gp-line2);background:transparent;color:var(--gp-ink);font-size:1.1rem;line-height:1;cursor:pointer}
.gm-reviews .nav button:hover{border-color:#00CFFF;color:#5EEBFF}
.gm-reviews .track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,31%);gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:2px}
.gm-reviews .track::-webkit-scrollbar{display:none}
.gm-reviews .rv{scroll-snap-align:start;display:flex;flex-direction:column;gap:9px;padding:14px;border-radius:16px;background:var(--gp-surface2);min-width:0}
.gm-reviews .rv header{display:flex;align-items:center;gap:10px;min-width:0}
.gm-reviews .av{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#168BFF,#8B3DFF);color:#fff;font-weight:800}
.gm-reviews .who{min-width:0;display:flex;flex-direction:column;gap:2px}.gm-reviews .who b{font-size:.92rem;color:var(--gp-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-reviews .vf{font-style:normal;font-size:.72rem;font-weight:650;color:#22C98A}
.gm-reviews .st{margin-left:auto;white-space:nowrap}.gm-reviews .st i{font-style:normal;color:#2A3764;font-size:.95rem}.gm-reviews .st i.on{color:#00B67A}
.gm-reviews .rv p{margin:0;color:var(--gp-ink2);font-size:.92rem;line-height:1.5}
.gm-reviews .rv footer{margin-top:auto;color:var(--gp-mute2);font-size:.78rem}
.gm-reviews .empty{margin:6px 0 0;color:var(--gp-mute)}
html[data-theme=light] .gm-trust{background:var(--gp-bg)}
html[data-theme=light] .gm-rate .stars i{background:linear-gradient(90deg,#00B67A var(--f),#D5DCEF var(--f))}
html[data-theme=light] .gm-reviews .st i{color:#C9D2E8}

/* ---------- laptops ---------- */
@media (max-width:1500px){
  .gm-copy{width:41%}
  .gm-btn{height:60px;min-width:0;padding:0 22px;font-size:1.08rem;gap:10px}
  .gm-btn>svg:first-child{width:24px;height:24px}
  .gm-cta{gap:12px 14px}
  .gm-pill{height:46px;font-size:.96rem;padding:0 18px 0 14px}
  .gm-strip a{gap:11px;min-height:92px}
}
@media (max-width:1240px){.gm-copy{width:44%}.gm-benefits li{padding:0 9px;font-size:.84rem;gap:6px}.gm-benefits svg{width:20px;height:20px}}
/* ---------- phones and small tablets: copy, then the factory, then the strip ---------- */
@media (max-width:1023px){
  .gm-hero{margin-top:-64px;padding-top:64px;background:
    radial-gradient(90% 40% at 50% 74%,rgba(22,139,255,.30) 0%,rgba(22,139,255,.06) 55%,rgba(3,7,28,0) 80%),
    radial-gradient(70% 36% at 100% 66%,rgba(139,61,255,.36) 0%,rgba(3,7,28,0) 74%),
    linear-gradient(180deg,#03071C 0%,#050B28 60%,#04081F 100%)}
  .gm-hero-bg .r1{left:20%}.gm-hero-bg .r2{left:60%}
  .gm-hero-in{display:block;min-height:0;padding:0 clamp(16px,5vw,40px)}
  .gm-copy{width:auto;padding:22px 0 4px}
  .gm-h1{font-size:clamp(2.2rem,10.2vw,3.3rem);margin-top:18px}
  .gm-sub{font-size:1rem;max-width:36em}
  .gm-benefits{gap:8px 0}.gm-benefits li{padding:0 10px;font-size:.84rem;gap:6px}.gm-benefits svg{width:20px;height:20px}
  .gm-cta{gap:10px;margin-top:20px}
  .gm-btn{flex:1 1 0;height:54px;padding:0 12px;font-size:.98rem;gap:8px}
  .gm-btn>svg:first-child{width:21px;height:21px}.gm-btn .gm-arr{width:18px;height:18px}
  .gm-pill{height:42px;font-size:.84rem;gap:8px;padding:0 14px 0 12px}.gm-pill>svg:first-child{width:17px;height:17px}.gm-pill .gm-arr{width:16px;height:16px}
  .gm-scene{position:relative;inset:auto;height:clamp(330px,84vw,430px);margin-top:2px}
  .gm-poster{position:absolute;left:50%;right:auto;bottom:auto;top:50%;width:min(108%,640px);transform:translate(-50%,-50%)}
  .gm-ctl{right:14px;bottom:calc(100% + 6px)}
  .gm-wrap{padding:6px 12px 18px}
  .gm-strip{grid-template-columns:repeat(5,minmax(128px,1fr));overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:22px;padding:0 4px}
  .gm-strip::-webkit-scrollbar{display:none}
  .gm-strip::after{display:none}
  .gm-strip li{scroll-snap-align:start}
  .gm-strip a{flex-direction:column;text-align:center;gap:8px;min-height:0;padding:14px 8px;font-size:.8rem}
  .gm-strip a b{white-space:normal}
  .gm-strip i{width:44px}
  .gm-trust-in{grid-template-columns:1fr}
  .gm-reviews .track{grid-auto-columns:minmax(240px,82%)}
}
@media (max-width:420px){.gm-benefits li{padding:0 8px;font-size:.78rem}.gm-pill{font-size:.76rem;padding:0 11px 0 10px;gap:6px}.gm-pill span{display:none}}
@media (max-width:350px){.gm-cta{flex-direction:column}.gm-btn{flex:none;width:100%}.gm-h1{font-size:2rem}}
@media (prefers-reduced-motion:reduce){.gm-pill::before,.gm-hero-bg i{animation:none}.gm-btn,.gm-strip i,.gm-arr{transition:none}}
