/* Motion Life — Approved iyO 3D Black Particle Homepage (1-screen canvas, BF2 grey-half clock, Shop now stack). */
@font-face { font-family: Magnetik; src: url('/assets/sr/magnetik.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Roobert; src: url('/assets/sr/roobert.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: NBArchitekt; src: url('/assets/sr/nbarchitekt.ttf') format('truetype'); font-display: swap; }

:root {
  --sr-black: #101010;
  --sr-pearl: #dddee3;
  --sr-hair: 1px solid rgba(138, 138, 138, .14);
  --sr-swing: cubic-bezier(.48, .01, 0, 1.08);
  --sr-snap: cubic-bezier(.77, 0, .175, 1);
  --sr-soft: cubic-bezier(.65, 0, .35, 1);
}

/* Lock 1-screen obsidian home canvas & hide any legacy storefront clutter/footer */
html[data-tpl="shop"],
html[data-tpl="shop"] body,
body.is-home {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--sr-black) !important;
  color: var(--sr-pearl);
  font-family: Roobert, 'Inter Tight', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden !important;
}

html[data-tpl="shop"] .flex-wrapper,
body.is-home .flex-wrapper {
  min-height: 100vh;
  min-height: 100svh;
  background: transparent !important;
}

html[data-tpl="shop"] .gk-footer,
html[data-tpl="shop"] footer.ml-ft,
html[data-tpl="shop"] .ml-mq,
html[data-tpl="shop"] .bg-image,
html[data-tpl="shop"] .gk-toast-wrap,
body.is-home .gk-footer,
body.is-home footer.ml-ft,
body.is-home .ml-mq,
body.is-home .bg-image {
  display: none !important;
}

/* Full-bleed WebGL particle canvas */
.gl {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--sr-black);
  pointer-events: none;
}

.gl canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Main 1-screen stage */
.sr-home {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sr-home a,
.sr-home button {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

/* Bottom-left Magnetik display headline */
.sr-home .headline {
  position: fixed;
  z-index: 4;
  left: 3rem;
  bottom: 2rem;
  max-width: 25rem;
  margin: 0;
  color: var(--sr-pearl);
  font-family: Magnetik, 'Inter Tight', Arial, sans-serif;
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 2.3rem;
  letter-spacing: 0;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .85s var(--sr-soft), transform .85s var(--sr-soft);
}

.sr-home .headline.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sr-home .headline .dim {
  opacity: .5;
}

/* Black Friday BF2 grey half: same font, steady tabular digits, zero bouncy motion */
.is-sale .sr-home .headline {
  max-width: 34rem;
}

.sr-home .headline .sale-line {
  display: block;
}

.sr-home .headline .nw {
  white-space: nowrap;
}

.sr-home .sale-clock {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sr-home .sale-clock i {
  font-style: normal;
  display: inline-block;
  text-align: center;
}

.sr-home .sale-clock i.n { width: .62em; }
.sr-home .sale-clock i.k { width: .3em; }
.sr-home .sale-clock i.s { width: .28em; }

/* Bottom-right interactive stacked cards + "Shop now" */
.stack-wrap {
  position: fixed;
  z-index: 4;
  right: 3rem;
  bottom: 2rem;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .8s var(--sr-soft), transform .8s var(--sr-swing);
}

.stack-wrap.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  height: 7.2vw;
  min-height: 5rem;
  position: relative;
}

.stack > div {
  padding: .3vw .5vw;
  position: relative;
  flex: none;
}

.stack > div:nth-last-child(2) {
  transition: transform .64s var(--sr-swing);
  transform: translateY(90%) scale(.93);
}

.stack > div:nth-last-child(3) {
  transition: transform .64s var(--sr-swing);
  transform: translateY(180%) scale(.87);
}

.stack > div:nth-last-child(4) {
  transition: transform .64s var(--sr-swing);
  transform: translateY(270%) scale(.8);
}

.stack > div:nth-last-child(5) {
  transition: transform .64s var(--sr-swing);
  transform: translateY(360%) scale(.74);
}

.stack .card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: .25rem;
  border-radius: .9rem;
  background: rgba(56, 56, 56, .6);
  border: var(--sr-hair);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  margin-left: auto;
  -webkit-user-drag: none;
  user-select: none;
  transition: width .6s var(--sr-snap), height .6s var(--sr-snap), background .3s var(--sr-soft);
}

.stack .card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

.stack .name {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  transform: translateX(-15%);
  pointer-events: none;
  white-space: nowrap;
  font-family: NBArchitekt, 'Inter Tight', Arial, sans-serif;
  font-size: .7rem;
  line-height: 1.1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sr-pearl);
  transition: opacity .5s var(--sr-soft), transform .4s var(--sr-soft);
}

.stack.is-initial {
  height: auto;
}

.stack.is-initial > div {
  transition: transform .8s var(--sr-swing);
  transform: translateY(0) scale(1);
}

@media (hover: hover) {
  .stack:hover {
    height: auto;
  }
  .stack:hover > div {
    transition: transform .8s var(--sr-swing);
    transform: translateY(0) scale(1);
  }
  .stack > div:hover .card {
    background: rgba(85, 85, 85, .69);
    width: 4.5rem;
    height: 4.5rem;
  }
  .stack > div:hover .name {
    opacity: 1;
    transform: translateX(-120%);
  }
}

.shop-now {
  position: absolute;
  right: calc(4rem + .5vw + 1rem);
  bottom: .3vw;
  width: auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--sr-soft);
  font-family: NBArchitekt, 'Inter Tight', Arial, sans-serif;
  font-size: .7rem;
  line-height: 1.1rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sr-pearl);
}

.shop-now.visible {
  opacity: 1;
  pointer-events: auto;
}

.stack-wrap:has(.stack:hover) .shop-now.visible {
  opacity: 0;
  pointer-events: none;
}

/* Visually hidden SEO crawler links */
.sr-home-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .sr-home .headline {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 8.6rem;
    max-width: none;
    font-size: 1.85rem;
    line-height: 2.08rem;
  }
  .sr-home .headline .sale-line {
    display: inline;
  }
  .stack-wrap {
    right: 1rem;
    left: 1rem;
    bottom: 1.25rem;
  }
  .stack {
    flex-direction: row;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: .5rem;
  }
  .stack > div,
  .stack > div:nth-last-child(n) {
    flex: 1;
    min-width: 0;
    transform: none !important;
    padding: 0;
  }
  .stack .card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-left: 0;
  }
  .stack .name {
    position: static;
    opacity: 1;
    transform: none;
    justify-content: center;
    margin-top: .35rem;
    font-size: .65rem;
  }
  .shop-now {
    display: none;
  }
}
