/* BelegBot Signup Modal Styles */

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.signup-modal.active {
  opacity: 1;
  pointer-events: all;
}

.signup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.signup-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  padding: 48px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-glow);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.signup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--dim);
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  padding: 8px;
}

.signup-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

.signup-step {
  text-align: center;
}

.signup-icon {
  font-size: 56px;
  margin-bottom: 16px;
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.signup-step h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.signup-step p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Contact Input */
#contactInput {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  margin-bottom: 20px;
  transition: all 0.2s;
  outline: none;
}

#contactInput::placeholder {
  color: var(--dim);
}

#contactInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.1);
}

.signup-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  font-family: inherit;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow);
}

.signup-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--dim);
}

/* Platform Grid */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 210, 106, 0.15);
}

.platform-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.platform-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.platform-status {
  font-size: 12px;
  color: var(--muted);
}

/* Confetti Animation */
.signup-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10001;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confettiFall 2s ease-out forwards;
  opacity: 0;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .signup-content {
    padding: 40px 24px;
    width: 95%;
    max-width: none;
  }

  .signup-icon {
    font-size: 48px;
  }

  .signup-step h2 {
    font-size: 24px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    padding: 20px;
  }
}
