/* Welcome Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(2px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Modal Content */
.welcome-modal {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  position: relative;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.modal-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 30px;
}

.site-intro {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #555;
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: #e8f4fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #007bff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-content strong {
  display: block;
  margin-bottom: 3px;
  color: #333;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.modal-btn-primary {
  background: #007bff;
  color: white;
}

.modal-btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.modal-btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
}

.modal-btn-secondary:hover {
  background: #e9ecef;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .welcome-modal {
    width: 95%;
    margin: 5px;
    max-height: 95vh;
    overflow-y: auto;
  }
  
  .modal-header {
    padding: 15px;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  
  .modal-header p {
    font-size: 0.9rem;
  }
  
  .modal-body {
    padding: 15px;
    overflow-y: auto;
  }
  
  .site-intro {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .stats-row {
    margin: 15px 0;
    padding: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .stat-item {
    flex: 1;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.1rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .feature-list {
    margin-bottom: 15px;
  }
  
  .feature-item {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-right: 12px;
  }
  
  .feature-content strong {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
  }
  
  .modal-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .close-btn {
    top: 10px;
    right: 15px;
    width: 25px;
    height: 25px;
    font-size: 1.2rem;
  }
}