:root {
  --zjh-hyper-bg: #ffffff;
  --zjh-hyper-text: #202020;
  --zjh-hyper-accent: #7e2a8d;
  --zjh-hyper-accent-2: #b14ec2;
  --zjh-hyper-border: rgba(30, 30, 30, 0.2);
}

.zjh-hyper-section {
  --zjh-track-height: 650vh;
  position: relative;
  height: var(--zjh-track-height);
  background: var(--zjh-hyper-bg);
  overflow: clip;
}

.zjh-hyper-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  cursor: crosshair;
}

.zjh-scanlines,
.zjh-vignette,
.zjh-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zjh-scanlines {
  z-index: 4;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.06) 50%,
    rgba(0, 0, 0, 0.06) 100%
  );
  background-size: 100% 4px;
}

.zjh-vignette {
  z-index: 5;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 45%, #d8d8d8 125%);
}

.zjh-noise {
  z-index: 6;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.zjh-viewport {
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 1000px;
}

.zjh-world {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.zjh-item {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.zjh-card {
  width: min(320px, 82vw);
  height: min(360px, 58vh);
  border: 1px solid var(--zjh-hyper-border);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.zjh-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.zjh-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.62) 0%,
    rgba(12, 12, 12, 0.28) 46%,
    rgba(12, 12, 12, 0.44) 100%
  );
}

.zjh-card-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 92%;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.zjh-big-text {
  transform: translate(-50%, -50%);
  font-size: clamp(48px, 13vw, 230px);
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.zjh-big-text br {
  display: none;
}

.zjh-star {
  width: 2px;
  height: 2px;
  background: #606060;
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  .zjh-big-text {
    white-space: normal;
    text-align: center;
    line-height: 0.9;
  }

  .zjh-big-text br {
    display: block;
  }
}
