/* ===== TOKEN LOCK OVERLAY ===== */
#token-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 8, 15, 0.4);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#token-lock-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.token-modal {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px;
  border-radius: 24px;
  text-align: center;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 32px 128px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: tokenFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

@keyframes tokenFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.token-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 100%;
  animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 100% 0%; }
  100% { background-position: -100% 0%; }
}

.token-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.token-icon svg {
  width: 36px;
  height: 36px;
}

.token-modal h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.token-modal p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.token-input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.token-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  border-radius: 14px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  outline: none;
}

.token-input:focus {
  border-color: #3b82f6;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.token-error {
  color: #f87171;
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
  font-weight: 500;
}

.blur-content {
  filter: blur(20px) grayscale(20%);
  pointer-events: none;
  user-select: none;
  transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
