/* ============================================================
   ShopGsap.css
   Project 06 — Shop Inventory & POS System
   Retail operating-system motion language:
   terminal power-on -> live transaction video -> system settle
   ============================================================ */

#shop-section.shop-root {
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

#shop-section .shop-chrome {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 4vw;
  padding-left: 2vw;
  padding-right: 2vw;
}

#shop-section .shop-chrome-top {
  justify-content: space-between;
}

#shop-section .shop-num {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

#shop-section .shop-eyebrow-desc {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------------- FILM / STAGE / CAMERA / WORLD ---------------- */

#shop-section .shop-film {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}

#shop-section .shop-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#shop-section .shop-camera {
  position: relative;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  flex: none;
}

#shop-section .shop-world {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}

#shop-section .shop-beat {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
}

/* corner registration marks — quiet system chrome */
#shop-section .shop-corner-marks {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
#shop-section .shop-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0.18;
}
#shop-section .shop-corner path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.5;
}
#shop-section .shop-corner.tl {
  top: 40px;
  left: 40px;
}
#shop-section .shop-corner.tr {
  top: 40px;
  right: 40px;
  transform: scaleX(-1);
}
#shop-section .shop-corner.bl {
  bottom: 40px;
  left: 40px;
  transform: scaleY(-1);
}
#shop-section .shop-corner.br {
  bottom: 40px;
  right: 40px;
  transform: scale(-1, -1);
}

/* ---------------- STATUS BAR (persistent, power-on -> settle) ---------------- */

#shop-section .shop-statusbar {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 720px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(20, 20, 20, 0.6);
  z-index: 6;
  font-family: "Poppins", sans-serif;
}

#shop-section .shop-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex: none;
}
#shop-section .shop-status-dot.is-live {
  background: #8fa876;
}

#shop-section .shop-status-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  flex: 1;
}

#shop-section .shop-status-clock {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
}

/* ---------------- BEAT 01: ENTRY / POWER-ON ---------------- */

#shop-section .shop-terminal-frame {
  position: absolute;
  inset: 0;
}
#shop-section .shop-terminal-svg {
  width: 100%;
  height: 100%;
}
#shop-section #shopTerminalRect {
  stroke-dasharray: 4880;
  stroke-dashoffset: 4880;
}

#shop-section .shop-label-rail {
  position: absolute;
  left: 50%;
  top: 500px;
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

#shop-section .shop-sys-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(14px);
}

#shop-section .shop-sys-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
  opacity: 0;
}

#shop-section .shop-title-block {
  position: absolute;
  left: 50%;
  top: 610px;
  transform: translate(-50%, 0);
  text-align: center;
  width: 100%;
}

#shop-section .shop-big-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 9.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  color: #ffffff;
}
#shop-section .shop-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

#shop-section .shop-subtitle {
  margin: 18px 0 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}
#shop-section .shop-word {
  display: inline-block;
  margin: 0 6px;
  opacity: 0;
  transform: translateY(10px);
}

#shop-section .shop-idx {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.25);
  opacity: 0;
}

/* ---------------- BEAT 02: VIDEO CORE ---------------- */

#shop-section .shop-video-wrap {
  position: absolute;
  left: 260px;
  top: 130px;
  width: 1400px;
  height: 820px;
  opacity: 0;
  clip-path: inset(6% 6% 6% 6% round 4px);
}

#shop-section .shop-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  overflow: hidden;
  background: #141414;
}

#shop-section .shop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#shop-section .shop-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 0) 82%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

#shop-section .shop-video-noscript {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
  background: #141414;
  opacity: 0;
  pointer-events: none;
}

#shop-section .shop-video-chrome-top {
  position: absolute;
  top: -46px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

#shop-section .shop-rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c96a4a;
}

#shop-section .shop-video-chrome-bottom {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
}

#shop-section .shop-progress-track {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
#shop-section .shop-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.55);
}

#shop-section .shop-stage-tags {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

#shop-section .shop-stage-tag {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  opacity: 0.3;
}
#shop-section .shop-stage-tag.is-active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

/* ---------------- BEAT 03: EXIT / SYSTEM SETTLES ---------------- */

#shop-section .shop-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 1000px;
  opacity: 0;
}

#shop-section .shop-lockup-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  margin: 0 0 18px;
  color: #ffffff;
}

#shop-section .shop-lockup-desc {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 26px;
  max-width: 760px;
}

#shop-section .shop-lockup-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#shop-section .shop-lockup-tags span {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
}

/* ---------------- BOTTOM CHROME / STATIC FALLBACK CONTENT ---------------- */

#shop-section .shop-chrome-bottom {
  flex-direction: column;
  align-items: flex-start;
  padding-top: 60px;
  padding-bottom: 80px;
}

#shop-section .shop-cta-wrap {
  max-width: 760px;
}

#shop-section .shop-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0 0 18px;
  color: #ffffff;
}

#shop-section .shop-project-summary {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 24px;
}

#shop-section .shop-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#shop-section .shop-tags span {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  #shop-section .shop-camera {
    width: 1920px;
    height: 1080px;
  }
  #shop-section .shop-big-title {
    font-size: 7rem;
  }
  #shop-section .shop-label-rail {
    gap: 10px;
  }
  #shop-section .shop-sys-label {
    font-size: 16px;
  }
  #shop-section .shop-video-wrap {
    left: 140px;
    width: 1640px;
  }
  #shop-section .shop-lockup {
    width: 1300px;
  }
}

/* ---------------- REDUCED MOTION FALLBACK ---------------- */

@media (prefers-reduced-motion: reduce) {
  #shop-section .shop-film {
    height: auto;
    min-height: 100vh;
  }
  #shop-section .shop-camera {
    position: relative;
    transform: none !important;
  }
  #shop-section .shop-beat {
    position: relative;
    height: auto;
    min-height: 500px;
  }
  #shop-section .shop-char,
  #shop-section .shop-word,
  #shop-section .shop-sys-label,
  #shop-section .shop-sys-sep,
  #shop-section .shop-idx,
  #shop-section .shop-video-wrap,
  #shop-section .shop-lockup,
  #shop-section .shop-statusbar {
    opacity: 1 !important;
    transform: none !important;
  }
}
