/* ── HERO DOTS ── */
.hero-dots-widget {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #ff3333;
}

/* Scroll Down Arrow */
.hero-scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-scroll-down .hero-scroll-down-arrow {
  color: #000;
  font-family: "TINY5x3", monospace !important;
  font-feature-settings: "ss03" 1;
  font-size: 100px;
  font-weight: 140;
  line-height: 1;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-scroll-down-arrow .word {
  display: inline-block;
}

.hero-scroll-down-arrow .char {
  display: inline-block;
  color: inherit;
  font-family: "TINY5x3", monospace !important;
  font-weight: 80;
  will-change: font-weight;
  transition: transform 0.3s ease;
}

.hero-scroll-down:hover .hero-scroll-down-arrow .char {
  transform: translateY(5px);
}

.hero-dots-widget .hero-dots-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ── CONTENT OVERLAY ── */

/* ── iOS GYRO CTA ── */
.hero-dots-gyro-cta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 10px 20px;
  font-family: "Helvetica Now Display", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.4s ease;
  animation: hero-dots-cta-pulse 2s ease-in-out infinite;
}
.hero-dots-gyro-cta svg {
  flex-shrink: 0;
  animation: hero-dots-cta-tilt 1.5s ease-in-out infinite;
}
@keyframes hero-dots-cta-tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}
@keyframes hero-dots-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.hero-dots-widget .hero-dots-content {
  position: relative;
  z-index: 2;
  width: fit-content;
  height: 100%;
  margin: 0 auto;
  padding: 40px 4vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-dots-inner-content {
  display: flex;
  flex-direction: column;
  justify-content: inherit;
  align-items: center;
  width: 100%;
}

.d-version-mobile {
  display: none !important;
}

/* ── TOP THREE TEXTS ── */
.hero-dots-widget .hero-dots-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin-bottom: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-dots-widget .hero-dots-top-text {
  font-family: "TINY5x3", monospace;
  font-feature-settings: "ss03" 1;
  font-weight: 80;
  font-size: 60px;
  line-height: 0.8;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── TITLE ── */
.hero-dots-widget .hero-dots-title {
  font-family: "TINY5x3", monospace !important;
  font-feature-settings: "ss03" 1;
  font-weight: 80;
  font-size: 300px;
  line-height: 0.7;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 !important;
  white-space: nowrap;
}

/* ── SUBTITLE ── */
.hero-dots-widget .hero-dots-subtitle,
.hero-dots-widget .hero-dots-subtitle .char {
  font-family: "TINY5x3", monospace !important;
  font-feature-settings: "ss03" 1;
  font-weight: 80;
  font-size: 60px;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--black);
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.hero-dots-widget .hero-dots-subtitle {
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-dots-widget .hero-dots-subtitle .word {
  white-space: normal;
}

/* ── Chars (variable font hover) ── */
.hero-dots-widget .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-dots-widget .char {
  display: inline-block;
  color: inherit;
  font-family: "TINY5x3", monospace !important;
  font-feature-settings: "ss03" 1;
  will-change: font-weight;
  cursor: default;
}

.hero-dots-widget,
.hero-dots-widget * {
  cursor: auto;
}

/* ── Pointer events ── */
.hero-dots-widget,
.hero-dots-widget * {
  pointer-events: auto;
}

/* ── TABLET ── */
@media only screen and (max-width: 1024px) {
  .hero-dots-widget .hero-dots-content {
    width: 100%;
    padding: 0 24px;
  }
  .hero-dots-widget .hero-dots-top {
    margin-bottom: -1rem;
  }
  .hero-dots-widget .hero-dots-title {
    font-size: 180px;
    white-space: normal;
  }

  .hero-dots-widget .hero-dots-subtitle,
  .hero-dots-widget .hero-dots-subtitle .char {
    font-size: 60px;
  }

  .hero-dots-widget .hero-dots-top-text {
    font-size: 60px;
  }
}
@media (max-width: 1440px) {
  .hero-dots-widget .hero-dots-title {
    font-size: 260px;
  }
}
/* ── MOBILE ── */
@media only screen and (max-width: 768px) {
  .d-version-desktop {
    display: none !important;
  }
  .d-version-mobile {
    display: flex !important;
  }

  .hero-dots-widget .hero-dots-content {
    width: 100%;
    padding: 24px 16px;
    justify-content: center;
    align-items: center;
  }

  .hero-dots-widget .hero-dots-top {
    margin-bottom: 1rem;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
  }

  .hero-dots-widget .hero-dots-title {
    font-size: 26vw;
    line-height: 0.8;
    white-space: normal;
    text-align: center;
    margin: 0 0 2rem 0 !important;
    word-break: break-word;
  }

  .hero-dots-widget .hero-dots-subtitle,
  .hero-dots-widget .hero-dots-subtitle .char {
    font-size: 8vw !important;
    line-height: 1;
    text-align: center;
    margin-top: 0;
  }

  .hero-dots-widget .hero-dots-top-text {
    font-size: 8vw !important;
    white-space: normal;
    line-height: 1;
    text-align: center;
  }
}
