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

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

.stage-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(56, 189, 248, 0.16), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(168, 85, 247, 0.18), transparent 48%),
    linear-gradient(180deg, #060913 0%, #0b1122 100%);
  pointer-events: none;
}

.css3d-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.k-css3d-card {
  width: 280px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(13, 19, 36, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.k-css3d-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.card-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #38bdf8;
  margin-bottom: 6px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 14px;
}

.card-action-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.16);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.card-action-btn:hover {
  background: rgba(56, 189, 248, 0.28);
}

.card-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 6, 14, 0.7);
  color: #f8fafc;
  font-size: 13px;
  outline: none;
}

.card-input:focus {
  border-color: #38bdf8;
}

.eq-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eq-row label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #cbd5e1;
}

.eq-row input[type="range"] {
  width: 100%;
  accent-color: #a855f7;
}

.stage-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 20;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 15, 28, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #cbd5e1;
  pointer-events: none;
  text-align: center;
}
