*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #060606;
}
:root {
  --ff: "Bebas Neue", sans-serif;
  --fs: "Cormorant Garamond", serif;
  --fb: "Barlow", sans-serif;
}

#stage {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
  cursor: none;
  background: #060606;
}
canvas#bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#noise {
  position: absolute;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
#flash {
  position: absolute;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  background: #fff;
  opacity: 0;
}

#scene {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px 0 72px;
}
.slide.on {
  display: flex;
}

.txt {
  flex: 0 0 42%;
  position: relative;
}
.num {
  font-family: var(--fb);
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.15);
  display: block;
  margin-bottom: 12px;
}

.title-wrap {
  margin-bottom: 6px;
}
.title-line {
  overflow: hidden;
  line-height: 0.92;
}
.tc {
  font-family: var(--ff);
  font-size: 90px;
  color: #fff;
  display: inline-block;
  line-height: 0.95;
  will-change: transform, opacity;
  transform: translateY(110%);
  opacity: 0;
}

.cat {
  font-family: var(--fb);
  font-size: 10px;
  letter-spacing: 5px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.22);
  display: block;
  margin-bottom: 28px;
  transform: translateX(-30px);
  opacity: 0;
  will-change: transform, opacity;
}

.rule-outer {
  margin-bottom: 24px;
  overflow: hidden;
}
.rule-inner {
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left;
}

.desc-wrap {
  max-width: 320px;
}
.dw {
  font-family: var(--fs);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.42);
  display: inline-block;
  margin-right: 4px;
  transform: translateY(24px);
  opacity: 0;
  will-change: transform, opacity;
}

.price-area {
  margin-top: 30px;
}
.plabel {
  font-family: var(--fb);
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.15);
  display: block;
  margin-bottom: 4px;
}
.pnum {
  font-family: var(--ff);
  font-size: 48px;
  color: #fff;
  display: inline-block;
  transform: translateY(70px) skewX(14deg);
  opacity: 0;
  will-change: transform, opacity;
}

.img-col {
  flex: 0 0 52%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
}
.iw {
  position: relative;
  width: 400px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transform: scale(0.6) rotateY(40deg);
}
.iw img.main {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.9));
  will-change: transform;
}
.gr,
.gb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.gr img,
.gb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
}
.scanl {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  opacity: 0;
}
.ring-cv {
  position: absolute;
  inset: -50px;
  z-index: 3;
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 28px;
  right: -18px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px 14px;
  font-family: var(--fb);
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  transform: translateZ(60px) translateY(-18px);
  opacity: 0;
}

#cur {
  position: absolute;
  pointer-events: none;
  z-index: 999;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
#cur-ring {
  position: absolute;
  pointer-events: none;
  z-index: 998;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
}

#nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}
.nd {
  height: 3px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition:
    width 0.4s,
    background 0.4s;
}
.nd.on {
  width: 26px;
  background: rgba(255, 255, 255, 0.7);
}
#ctr {
  position: absolute;
  left: 28px;
  bottom: 34px;
  font-family: var(--fb);
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.12);
  z-index: 100;
}

#hint {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 100;
}
.hl {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
}
.ha {
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(45deg);
  animation: bob 1.8s infinite;
}
.ht {
  font-family: var(--fb);
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.1);
  writing-mode: vertical-rl;
}
@keyframes bob {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(5px);
  }
}
