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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(ellipse at top, #2b2d4a 0%, #1e1f33 45%, #15161f 100%);
  color: #e7e9ff;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.55);
}

.logo svg {
  width: 48px;
  height: 38px;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.brand {
  color: #8b95ff;
}

.tagline {
  color: #b6bbdb;
  line-height: 1.55;
  margin-bottom: 32px;
}

#join-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #5865f2;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

#join-btn:hover:not(:disabled) {
  background: #4752c4;
  transform: translateY(-2px);
}

#join-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

#join-btn svg {
  width: 26px;
  height: 20px;
}

#status {
  min-height: 1.4em;
  margin-top: 18px;
  color: #b6bbdb;
}

#status.error {
  color: #ff8c8c;
}

.footnote {
  margin-top: 28px;
  font-size: 0.85rem;
  color: #7c81a3;
}
