/* Cantor8 Interactive String Circle Styles */
.section--cantor {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 22;
}

.cantor-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.strings-viewport {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
  position: relative;
  --strings-scale: clamp(0.72, 0.62 + 0.45vw, 0.9);
}

@media (min-width: 991px) {
  .strings-viewport {
    --strings-scale: 0.64;
    height: 100vh;
    height: 100dvh;
  }
}

#strings-wrap {
  width: calc(100% / var(--strings-scale));
  height: calc(100vh / var(--strings-scale));
  height: calc(100dvh / var(--strings-scale));
  min-height: calc(100vh / var(--strings-scale));
  transform: scale(var(--strings-scale));
  transform-origin: center center;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

#strings-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.cantor-badge-tag {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: none;
}

.cantor-badge-tag .badge-dot {
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e5ff;
  animation: pulseDot 2s infinite ease-in-out;
}

.cantor-badge-tag .badge-text {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}
