* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --disc-accent: #38bdf8;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #060913;
  color: #f1f5f9;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.disc-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.stage-orb {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--disc-accent) 34%, transparent) 0%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  transition: background 0.4s ease, transform 0.5s ease;
}

.stage-center {
  position: relative;
  z-index: 10;
  max-width: 480px;
  text-align: center;
}

.stage-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--disc-accent);
  margin-bottom: 10px;
}

.stage-center h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.stage-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
}

kbd {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}

.disc-trigger-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--disc-accent) 60%, transparent);
  background: color-mix(in srgb, var(--disc-accent) 16%, transparent);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.disc-trigger-btn:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--disc-accent) 26%, transparent);
}

/* Radial Disc Overlay */
.k-radial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9550;
  display: grid;
  place-items: center;
  background: rgba(3, 6, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.k-radial-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.k-radial-disc {
  position: relative;
  width: 340px;
  height: 340px;
  display: grid;
  place-items: center;
  transform: scale(0.88);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.k-radial-overlay.is-open .k-radial-disc {
  transform: scale(1);
}

.k-radial-ring {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: radial-gradient(circle, rgba(15, 23, 42, 0.65) 0%, rgba(7, 11, 22, 0.85) 100%);
  pointer-events: none;
}

.k-radial-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 112px;
  background: linear-gradient(to top, transparent, var(--disc-accent));
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(0deg);
  pointer-events: none;
}

.k-radial-hub {
  position: relative;
  z-index: 3;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #0c1222;
  border: 1px solid color-mix(in srgb, var(--disc-accent) 55%, transparent);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.k-radial-hub-label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 0 6px;
}

.k-radial-hub-hint {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #94a3b8;
}

.k-radial-item {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  z-index: 4;
  min-width: 84px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 19, 36, 0.92);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.k-radial-item.is-hovered,
.k-radial-item:hover {
  border-color: var(--disc-accent);
  background: color-mix(in srgb, var(--disc-accent) 24%, #0d1324);
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.08);
}

.k-radial-item.is-active {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--disc-accent) 50%, transparent);
}

.k-radial-item-icon {
  font-size: 16px;
}

.k-radial-item-label {
  font-size: 11px;
  font-weight: 600;
}
