.intel-live-watch {
  --watch-rotate-x: 0deg;
  --watch-rotate-y: 0deg;
  --watch-glint-x: 50%;
  --watch-glint-y: 50%;
  --watch-glint-opacity: 0.18;
  --watch-shadow-x: 0px;
  --watch-shadow-y: 16px;
  --watch-width: clamp(136px, 16vw, 230px);

  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: var(--watch-width);
  max-width: 100%;
  color: #dffff1;
  isolation: isolate;
}

.intel-hero--with-clock {
  display: block;
}

.intel-hero-copy {
  min-width: 0;
}

.intel-live-watch--intel-corner {
  --watch-width: clamp(180px, 15vw, 320px);

  position: absolute;
  top: clamp(12px, 2vw, 32px);
  right: clamp(12px, 2.4vw, 44px);
  z-index: 2;
  max-width: none;
}

.intel-live-watch--intel-corner .intel-live-watch__readout {
  display: none;
}

.intel-live-watch__tilt {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.intel-live-watch__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 862 / 1534;
  transform:
    rotateZ(-10deg)
    rotateX(var(--watch-rotate-x))
    rotateY(var(--watch-rotate-y))
    translateZ(0);
  transform-style: preserve-3d;
  transform-origin: 50% 44%;
  will-change: transform;
  touch-action: pan-y;
  user-select: none;
}

.intel-live-watch__art,
.intel-live-watch__picture {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.intel-live-watch__art {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intel-live-watch__base {
  inset: 0;
  z-index: 1;
  filter:
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 18px rgba(190, 210, 214, 0.12));
}

.intel-live-watch__bezel {
  inset: 0;
  z-index: 42;
}

.intel-live-watch__hand {
  z-index: 18;
  transform: rotate(var(--hand-angle, 0deg));
  will-change: transform;
  transform-box: border-box;
}

.intel-live-watch__hand--hour {
  left: 42.75%;
  top: 31.55%;
  width: 8.7%;
  height: 14.08%;
  transform-origin: 50% 87.5%;
  z-index: 16;
}

.intel-live-watch__hand--minute {
  left: 44.49%;
  top: 27.12%;
  width: 5.22%;
  height: 18.19%;
  transform-origin: 50% 92.11%;
  z-index: 17;
}

.intel-live-watch__hand--second {
  left: 45.01%;
  top: 26.6%;
  width: 4.18%;
  height: 24.18%;
  transform-origin: 50% 71.43%;
  z-index: 19;
}

.intel-live-watch__glint {
  position: absolute;
  inset: 0;
  z-index: 52;
  pointer-events: none;
  opacity: var(--watch-glint-opacity);
  background:
    radial-gradient(
      circle at var(--watch-glint-x) var(--watch-glint-y),
      rgba(255, 255, 255, 0.78) 0 3%,
      rgba(180, 228, 232, 0.28) 8%,
      rgba(255, 255, 255, 0.12) 18%,
      transparent 42%
    ),
    linear-gradient(
      115deg,
      transparent 0 36%,
      rgba(255, 255, 255, 0.24) 43%,
      transparent 51% 100%
    );
  mix-blend-mode: screen;
}

.intel-live-watch__shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2%;
  height: 15%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62), transparent 72%);
  filter: blur(12px);
  transform: translate(var(--watch-shadow-x), var(--watch-shadow-y));
  will-change: transform;
}

.intel-live-watch__readout {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin-top: -10px;
  padding: 7px 10px 8px;
  min-width: min(100%, 148px);
  border: 1px solid rgba(216, 179, 95, 0.62);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(14, 23, 19, 0.94), rgba(1, 8, 7, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 136, 0.12),
    0 10px 18px rgba(0, 0, 0, 0.34);
  color: #d8b35f;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  text-transform: uppercase;
}

.intel-live-watch__label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.intel-live-watch__time {
  color: #dffff1;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.intel-clock-preview-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(35, 75, 70, 0.35), transparent 38%),
    linear-gradient(180deg, #071310, #010504);
}

.intel-clock-preview-page .intel-live-watch {
  --watch-width: min(360px, 30vw, 48vh);
}

.intel-clock-preview-page .intel-live-watch__readout {
  min-width: 180px;
}

@media screen and (max-width: 900px) {
  .intel-hero--with-clock {
    display: block;
  }

  .intel-live-watch--intel-corner {
    --watch-width: clamp(118px, 24vw, 210px);
    top: 8px;
    right: 8px;
  }
}

@media screen and (max-width: 520px) {
  .intel-live-watch--intel-corner {
    --watch-width: clamp(92px, 26vw, 136px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intel-live-watch__stage,
  .intel-live-watch__hand {
    transition: none;
  }
}
