* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #333;
}
.header h1 {
  margin: 0;
  font-size: 1.75rem;
}
.header h1 a {
  color: #eee;
  text-decoration: none;
}
.header h1 a:hover {
  text-decoration: underline;
}
.tagline {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #aaa;
}
.landing {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
}
.hero {
  max-width: 420px;
  margin: 0 auto 2rem;
}
.hero p {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.server-info {
  margin-top: 1.25rem;
  padding: 0.75rem;
  background: #16213e;
  border-radius: 8px;
  font-size: 1rem;
}
.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: #e94560;
  color: #fff;
}
.btn-primary:hover {
  background: #c73e54;
}
.btn-secondary {
  background: #0f3460;
  color: #eee;
  border: 1px solid #533483;
}
.btn-secondary:hover {
  background: #16213e;
}
.form-page {
  flex: 1;
  padding: 2rem 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}
.form-page h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
}
.form label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-size: 0.9rem;
  color: #ccc;
}
.form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: #16213e;
  color: #eee;
  font-size: 1rem;
}
.form input:focus {
  outline: none;
  border-color: #e94560;
}
.form button {
  margin-top: 1.25rem;
  width: 100%;
  cursor: pointer;
}
.message {
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.message.success {
  background: #0d3320;
  color: #7bed9f;
}
.message.error {
  background: #331a1a;
  color: #ff6b6b;
}
.link {
  margin-top: 1.5rem;
  text-align: center;
}
.link a {
  color: #e94560;
  text-decoration: none;
}
.link a:hover {
  text-decoration: underline;
}
.footer {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #333;
}
