/* Welcome popup styles */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.welcome-popup {
  background: linear-gradient(135deg, #0b1220 0%, #1e293b 50%, #0f172a 100%);
  border: 1px solid #374151;
  border-radius: 20px;
  padding: 32px 32px;
  max-width: 520px;
  width: 90%;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
}

.welcome-popup h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
  /* Fallback color for browsers that don't support background-clip: text */
  color: #60a5fa;
  /* Gradient background for supported browsers */
  background: linear-gradient(
    90deg,
    #60a5fa 0%,
    #a78bfa 25%,
    #f472b6 50%,
    #fb7185 75%,
    #60a5fa 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s linear infinite;
  /* Ensure the element is visible */
  display: inline-block;
}

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

.welcome-popup h2 {
  color: #e5e7eb;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.welcome-popup p {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 20px 0;
}

.welcome-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.welcome-pros, .welcome-cons {
  padding: 20px;
  border-radius: 12px;
  border: 2px solid;
  text-align: left;
}

.welcome-pros {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.welcome-cons {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.welcome-pros h3, .welcome-cons h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-align: center;
}

.welcome-pros h3 {
  color: #10b981;
}

.welcome-cons h3 {
  color: #ef4444;
}

.welcome-pros ul, .welcome-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.welcome-pros li, .welcome-cons li {
  color: #d1d5db;
  font-size: 13px;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.3;
}

.welcome-pros li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.welcome-cons li:before {
  content: "✗";
  color: #ef4444;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.welcome-explore-btn {
  width: 100%;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  display: block;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  margin-top: 24px;
}

.welcome-explore-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.welcome-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.welcome-close:hover {
  color: #e5e7eb;
  background: rgba(55, 65, 81, 0.5);
}