/* gubbos.com home page (ADR 0034) — layout on top of gubbos.css. Loud on purpose: K-game promo style. */

.home .g-header { position: fixed; left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: 110px 0 120px; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center;
        background:
          radial-gradient(circle at 72% 46%, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, 0) 32%),
          radial-gradient(circle, rgba(255,255,255,.10) 0 7px, transparent 8px) 0 0 / 46px 46px,
          linear-gradient(180deg, var(--g-world-top), var(--g-world-bottom)); }
.hero .g-rays { left: 20%; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__kicker img { width: 22px; height: 22px; }
.hero__logo { --g-logo-size: clamp(64px, 11vw, 132px); margin: 0 0 4px; align-items: flex-start; }
.hero__logo .g-logo__action { margin-left: .3em; }
.hero__title { display: flex; flex-direction: column; gap: 4px; }
.hero__title .g-title { font-size: clamp(34px, 5.4vw, 64px); }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.7vw, 21px); color: rgba(255,255,255,.95); text-shadow: 0 2px 0 rgba(42, 27, 77, .35); }
.hero__stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 10px 0 0; }

.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.hero__halo { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 66%);
              animation: halo 4s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.08); opacity: .8 } }
.hero__critter { position: absolute; width: 36%; height: auto; filter: drop-shadow(0 18px 18px rgba(30, 12, 80, .35)); }
.hero__critter--c1 { left: -2%; top: 34%; --t: 4.2s; }
.hero__critter--c2 { left: 12%; top: 0%; width: 30%; --t: 5s; }
.hero__critter--c3 { right: 4%; top: 2%; width: 31%; --t: 4.6s; }
.hero__critter--c4 { right: -4%; top: 40%; --t: 3.8s; }
.hero__egg { position: absolute; left: 39%; top: 33%; width: 23%; padding: 0; border: 0; background: none; cursor: pointer; z-index: 3; }
.hero__egg.is-tickled .g-egg { animation: tickle .5s ease-in-out 2; }
@keyframes tickle { 25% { transform: rotate(-14deg) scale(1.06) } 75% { transform: rotate(14deg) scale(1.06) } }
.hero__egg .pop { position: absolute; left: 50%; top: 45%; width: 12px; height: 12px; border-radius: 3px; background: var(--c);
                  animation: pop .9s var(--g-ease) forwards; pointer-events: none; }
@keyframes pop { from { transform: rotate(var(--a)) translateY(0) scale(1) } to { transform: rotate(var(--a)) translateY(-150px) scale(.2) rotate(200deg); opacity: 0 } }
.hero__bubble { position: absolute; left: 30%; top: 16%; z-index: 4; font-size: clamp(15px, 1.6vw, 19px); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg) } }
.hero__burst { position: absolute; right: 6%; bottom: 10%; --size: clamp(84px, 9vw, 120px); --c: var(--g-pink); color: var(--g-white); z-index: 4; }
.hero__legends { position: absolute; left: 6%; right: 6%; bottom: -2%; text-align: center; font-size: var(--g-text-sm); color: rgba(255,255,255,.92);
                 text-shadow: 0 2px 0 rgba(42, 27, 77, .4); }
.hero__confetti i { position: absolute; top: -20px; left: var(--x); width: 10px; height: 16px; border-radius: 3px; background: var(--c); opacity: .85;
                    animation: fall 9s linear infinite; animation-delay: var(--d); transform: rotate(var(--r)); }
@keyframes fall { to { transform: translateY(1100px) rotate(calc(var(--r) + 540deg)); } }
.hero__scroll { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center;
                color: var(--g-white); text-decoration: none; font: 800 var(--g-text-sm)/1.2 var(--g-font-display); }
.hero__scroll b { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 4px; border-radius: 50%; background: var(--g-white); color: var(--g-violet);
                  box-shadow: 0 4px 0 var(--g-lav-lip); animation: bob 1.4s ease-in-out infinite; }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: #FFF6FB; }
.wave--top { top: -1px; bottom: auto; }

/* ---------- Gene tapes ---------- */
.tapes { position: relative; z-index: 5; margin: -54px 0 0; padding: 24px 0 10px; overflow: hidden; }
.tapes .g-marquee + .g-marquee { margin-top: -14px; }
.tape--pink { background: var(--g-pink); border-color: var(--g-white); }
.tape--pink .g-marquee__item::after { color: var(--g-white); }

/* ---------- Light sections ---------- */
.stats, .point:not(.g-world), .privacy { background:
  radial-gradient(circle, rgba(123, 77, 255, .07) 0 6px, transparent 7px) 0 0 / 40px 40px, #FFF6FB; }
.stats { padding: 40px 0 10px; }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px 16px; border-radius: var(--g-radius-lg);
        background: var(--g-white); box-shadow: 0 8px 0 var(--c), 0 16px 30px rgba(42, 27, 77, .12); border: 3px solid var(--c); transform: rotate(var(--rot)); }
.g-js .stat.g-reveal.is-in { transform: rotate(var(--rot)); }
.stat b { font: 800 clamp(40px, 6vw, 64px)/1 var(--g-font-display); color: var(--c); -webkit-text-stroke: 5px var(--g-ink); paint-order: stroke fill;
          text-shadow: 0 5px 0 var(--g-ink); }
.stat span { margin-top: 8px; font-weight: 900; color: var(--g-ink-soft); }

/* ---------- POINT sections ---------- */
.point { position: relative; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.point__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.point__grid--flip .point__copy { order: 2; }
.point__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.point__copy .g-title { margin-top: 2px; }
.point:not(.g-world) .g-eyebrow { color: var(--g-violet); text-shadow: none; }
.point__text { font-size: var(--g-text-lg); color: var(--g-ink-soft); max-width: 540px; }
.g-world .point__text { color: rgba(255,255,255,.9); }
.point__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.point__visual .g-sticker { position: absolute; z-index: 4; }

/* big outlined section numbers in the background */
.point--swap::after, .point--genes::after, .point--play::after, .point--ar::after, .point--dna::after {
  position: absolute; z-index: 0; top: 24px; font: 800 clamp(160px, 26vw, 340px)/1 "Baloo 2", sans-serif; color: transparent;
  -webkit-text-stroke: 3px rgba(123, 77, 255, .12); pointer-events: none; }
.point--swap::after { content: "01"; right: 2%; } .point--genes::after { content: "02"; left: 2%; }
.point--play::after { content: "03"; right: 2%; -webkit-text-stroke-color: rgba(255,255,255,.08); }
.point--ar::after { content: "04"; left: 2%; } .point--dna::after { content: "05"; right: 2%; }
.point .g-container { position: relative; z-index: 1; }

.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; width: 100%; max-width: 480px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: var(--g-radius-pill); background: var(--g-white);
            box-shadow: 0 5px 0 var(--g-lav-lip); font: 800 var(--g-text-lg)/1.2 var(--g-font-display); transition-delay: var(--delay, 0s); }
.steps li:last-child { background: var(--g-sun); box-shadow: 0 5px 0 var(--g-sun-lip); color: var(--g-sun-ink); }
.steps li:last-child .g-step { background: var(--g-white); box-shadow: 0 4px 0 var(--g-sun-lip); }

/* swap visual: two critters trading places around a phone */
.swapviz__phone { z-index: 2; transform: rotate(4deg); }
.swapviz__a, .swapviz__b { position: absolute; z-index: 3; width: 42%; filter: drop-shadow(0 16px 14px rgba(42, 27, 77, .3)); }
.swapviz__a { left: -4%; bottom: 4%; } .swapviz__b { right: -4%; top: 6%; width: 36%; }
.swapviz__arrows { position: absolute; z-index: 3; left: 4%; top: 18%; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
                   background: var(--g-orange); color: var(--g-white); font: 800 52px/1 var(--g-font-display); border: 5px solid var(--g-white);
                   box-shadow: 0 7px 0 var(--g-orange-lip), 0 14px 26px rgba(42, 27, 77, .3); animation: g-spin-wobble 2.6s ease-in-out infinite; }
.swapviz__sticker { right: 0; bottom: 8%; }

/* gene wall */
.genewall { flex-direction: column; }
.genewall__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 540px; position: relative; z-index: 2; }
.gene { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border-radius: var(--g-radius-md); background: var(--g-white);
        box-shadow: 0 6px 0 var(--g-lav-lip), 0 10px 20px rgba(42, 27, 77, .1); transform: rotate(var(--rot)); transition: transform .3s var(--g-spring); }
.gene:hover { transform: rotate(0) scale(1.12); z-index: 2; }
.gene img { width: 100%; max-width: 76px; height: auto; animation: g-float 3.6s ease-in-out infinite; animation-delay: var(--d); }
.gene span { font: 800 13px/1.1 var(--g-font-display); text-align: center; color: var(--g-ink); }
.genewall__phone { position: absolute !important; right: -6%; bottom: -12%; z-index: 1; transform: rotate(9deg); opacity: .95; }
.genewall__sticker { left: -2%; top: -6%; }
.rarity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-radius: var(--g-radius-md); background: var(--g-white);
          box-shadow: 0 5px 0 var(--g-lav-lip); }
.rarity p { width: 100%; font-weight: 900; }

/* games */
.point--play { padding-top: clamp(100px, 12vw, 160px); padding-bottom: clamp(110px, 12vw, 170px); }
.point--play .wave { fill: #FFF6FB; }
.games { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.game { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: var(--g-radius-md); text-align: center;
        background: rgba(255,255,255,.1); border: 3px solid var(--c); box-shadow: 0 6px 0 var(--c); transition-delay: var(--delay, 0s); }
.game img { width: 56px; height: 56px; transition: transform .3s var(--g-spring); }
.game:hover img { transform: scale(1.2) rotate(-8deg); }
.game span { font: 800 14px/1.15 var(--g-font-display); color: var(--g-white); }
.fan { min-height: 560px; }
.fan__back { position: absolute !important; left: 8%; top: 4%; transform: rotate(-10deg); }
.fan__front { position: absolute !important; right: 6%; bottom: 0; transform: rotate(7deg); }
.fan__sticker { left: 34%; top: -2%; }

/* AR viewfinder */
.arcam { position: relative; }
.arcam__scene { position: relative; height: 100%; overflow: hidden; border-radius: 31px;
                background: linear-gradient(180deg, #F7E9D7 0 52%, #D9B48C 52% 100%); }
.arcam__scene::before { content: ""; position: absolute; left: 12%; top: 12%; width: 34%; height: 26%; border-radius: 8px; background: linear-gradient(160deg, #9FD8FF, #E8F6FF);
                        border: 6px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.arcam__scene::after { content: ""; position: absolute; right: 10%; top: 18%; width: 18%; height: 30%; border-radius: 40% 40% 8px 8px; background: #7BD389;
                       box-shadow: inset -8px -8px 0 rgba(0,0,0,.1); }
.arcam__desk { position: absolute; left: 0; right: 0; top: 52%; height: 6%; background: #C1966B; }
.arcam__ring { position: absolute; left: 50%; top: 70%; width: 60%; height: 14%; transform: translate(-50%, -50%); border-radius: 50%;
               border: 5px solid var(--g-mint); box-shadow: 0 0 0 6px rgba(31, 211, 138, .3); animation: halo 2s ease-in-out infinite; }
.arcam__critter { position: absolute; left: 50%; top: 66%; width: 62%; transform: translate(-50%, -88%); filter: drop-shadow(0 12px 8px rgba(0,0,0,.25));
                  animation: hop 1.6s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translate(-50%, -88%) } 40% { transform: translate(-50%, -100%) scaleY(1.04) } 60% { transform: translate(-50%, -86%) scaleY(.96) } }
.arcam__corner { position: absolute; width: 26px; height: 26px; border: 4px solid #fff; }
.arcam__corner--tl { left: 16px; top: 46px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.arcam__corner--tr { right: 16px; top: 46px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.arcam__corner--bl { left: 16px; bottom: 120px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.arcam__corner--br { right: 16px; bottom: 120px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.arcam__rec { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); padding: 3px 12px; border-radius: var(--g-radius-pill); background: var(--g-red);
              color: #fff; font: 800 13px/1.4 var(--g-font-display); letter-spacing: .08em; animation: blink 1.2s steps(2) infinite; z-index: 1; }
@keyframes blink { 50% { opacity: .4 } }
.arcam__tip { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font-size: 15px; white-space: nowrap; }
.arcam__modes { position: absolute; left: 0; right: 0; bottom: 88px; display: flex; justify-content: center; gap: 14px; font: 800 14px/1 var(--g-font-display); color: rgba(42,27,77,.7); }
.arcam__modes b { padding: 5px 12px; border-radius: var(--g-radius-pill); background: var(--g-sun); color: var(--g-sun-ink); font-weight: 800; }
.arcam__modes span { padding: 5px 0; }
.arcam__shutter { position: absolute; left: 50%; bottom: 18px; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; background: #fff;
                  box-shadow: 0 0 0 6px rgba(255,255,255,.5), 0 4px 0 6px rgba(42,27,77,.15); }
.arcam__sticker { right: -10%; top: 4%; }
.arcam__camera, .arcam__photo { position: absolute; width: 96px; height: 96px; filter: drop-shadow(0 10px 10px rgba(42, 27, 77, .25)); }
.arcam__camera { left: -22%; top: 18%; } .arcam__photo { right: -20%; bottom: 14%; --t: 4.6s; }

/* DNA */
.perks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.perks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--g-radius-md); background: var(--g-white); box-shadow: 0 5px 0 var(--g-lav-lip);
            font: 800 15px/1.2 var(--g-font-display); }
.perks img { width: 40px; height: 40px; flex: none; }
.helix__dna { position: absolute; left: 4%; top: 2%; width: 120px; z-index: 3; --t: 5s; }
.helix__critter { position: absolute; right: -2%; bottom: -2%; width: 40%; z-index: 3; filter: drop-shadow(0 16px 14px rgba(42, 27, 77, .3)); }
.helix__sticker { right: 2%; top: 4%; }

/* ---------- Gallery ---------- */
.gallery { padding: 90px 0 70px; overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gallery__nav { display: flex; gap: 10px; }
.gallery__nav .g-btn { width: 56px; padding: 0; font-size: 24px; }
.gallery__track { list-style: none; margin: 36px 0 0; padding: 10px max(var(--g-gutter), calc((100vw - var(--g-max)) / 2 + var(--g-gutter))) 30px;
                  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.shot:nth-child(odd) .g-phone { transform: rotate(-2deg); } .shot:nth-child(even) .g-phone { transform: rotate(2deg) translateY(16px); }
.shot p { display: flex; align-items: center; gap: 10px; max-width: 250px; font: 800 var(--g-text-md)/1.2 var(--g-font-display); color: var(--g-white);
          text-shadow: 0 2px 0 rgba(42, 27, 77, .4); margin-top: 8px; }
.shot .g-step { width: 36px; height: 36px; font-size: 18px; text-shadow: none; }

/* ---------- Privacy ---------- */
.privacy { padding: 90px 0; }
.privacy__card { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); padding-right: clamp(28px, 22vw, 230px);
                 border: 4px solid var(--g-ink); box-shadow: 10px 12px 0 var(--g-ink); }
.privacy__card .g-eyebrow { color: var(--g-violet); text-shadow: none; }
.privacy__card h2 { font-size: var(--g-text-xl); margin: 6px 0 16px; }
.privacy__card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.privacy__card li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--g-text-lg); }
.privacy__card li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--g-mint);
                            color: #fff; font-weight: 900; box-shadow: 0 3px 0 var(--g-mint-lip); }
.privacy__critter { position: absolute; right: 4%; bottom: 10%; width: 20%; max-width: 190px; animation: g-float 4s ease-in-out infinite; }

/* ---------- Final CTA ---------- */
.cta { overflow: hidden; padding: 110px 0 120px; text-align: center; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta__egg { --w: 120px; margin-bottom: 8px; }
.cta .g-title { max-width: 900px; }
.cta__text { font-size: var(--g-text-lg); max-width: 560px; }
.cta__stores { justify-content: center; }
.cta__note { max-width: 640px; font-size: var(--g-text-sm); color: rgba(255,255,255,.8); }
.cta__critter { position: absolute; width: clamp(130px, 20vw, 260px); filter: drop-shadow(0 18px 16px rgba(30, 12, 80, .35)); }
.cta__critter--l { left: 0; top: 10%; } .cta__critter--r { right: 0; top: 0; }

/* ---------- Quick menu (desktop side, mobile bottom bar) ---------- */
.quick { position: fixed; z-index: 60; right: 18px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 12px;
         border-radius: var(--g-radius-lg); background: var(--g-white); box-shadow: 0 8px 0 var(--g-lav-lip), 0 18px 40px rgba(30, 12, 80, .3);
         transform: translate(140%, -50%); transition: transform .5s var(--g-spring); }
.quick.is-on { transform: translate(0, -50%); }
.quick img { width: 76px; height: auto; animation: g-float 3s ease-in-out infinite; }
.quick .g-btn { max-width: 140px; white-space: normal; line-height: 1.1; }
.quick__top { font: 800 var(--g-text-sm)/1 var(--g-font-display); color: var(--g-ink-soft); text-decoration: none; padding: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 96px; min-height: 0; }
  .hero__grid, .point__grid { grid-template-columns: 1fr; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__logo { align-items: center; }
  .hero__stores, .hero__badges { justify-content: center; }
  .hero__stage { max-width: 480px; margin-top: 10px; }
  .point__grid--flip .point__copy { order: 0; }
  .point__visual { min-height: 0; padding: 30px 0; }
  .fan { min-height: 520px; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .genewall__phone { display: none; }
  .arcam__camera { left: -14%; } .arcam__photo { right: -12%; }
}
@media (max-width: 640px) {
  :root { --g-gutter: 16px; }
  .hero__scroll { display: none; }
  .hero { padding-bottom: 90px; }
  .hero__critter--c2 { top: 2%; }
  .g-store { width: 100%; }
  .genewall__grid { grid-template-columns: repeat(3, 1fr); }
  .games { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .game span { font-size: 12px; }
  .perks { grid-template-columns: 1fr; }
  .swapviz__arrows { width: 70px; height: 70px; font-size: 40px; }
  .fan { min-height: 430px; }
  .fan__back { left: 0; } .fan__front { right: 0; }
  .arcam__camera, .arcam__photo { width: 64px; height: 64px; }
  .arcam__camera { left: -8%; } .arcam__photo { right: -6%; }
  .privacy__card { padding-right: clamp(28px, 5vw, 48px); }
  .privacy__card { padding-bottom: 160px; }
  .privacy__critter { width: 84px; right: 50%; margin-right: -42px; bottom: 14px; }
  .cta__critter { width: 92px; }
  .cta__critter--l { left: -6px; top: -30px; } .cta__critter--r { right: -6px; top: -40px; }
  .quick { top: auto; bottom: 0; left: 0; right: 0; flex-direction: row; justify-content: center; border-radius: var(--g-radius-lg) var(--g-radius-lg) 0 0;
           padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(130%); }
  .quick.is-on { transform: translateY(0); }
  .quick img { width: 48px; }
  .quick .g-btn { max-width: none; flex: 1; }
  .g-footer { padding-bottom: 110px; }
}
