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

body {
  background: #080810;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  width: 420px;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.globe { font-size: 40px; }

h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

p {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}

.field { margin-bottom: 18px; }

label {
  font-size: 12px;
  color: #888;
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus {
  border-color: #4f46e5;
}

select option { background: #1a1a2e; }

.btn-create {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-bottom: 0;
}

.btn-create:hover { opacity: 0.9; }
.btn-create:active { transform: scale(0.99); }

.result {
  display: none;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.result-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 12px;
}

.link-badge {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 6px;
}

.link-badge.host { background: rgba(79,70,229,0.2); color: #818cf8; }
.link-badge.client { background: rgba(16,185,129,0.2); color: #34d399; }

.url {
  font-size: 12px;
  color: #aaa;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover { background: rgba(255,255,255,0.15); }
