* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: radial-gradient(circle at center, #1b2838 0%, #0d1117 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  width: 100%;
  max-width: 520px;
  padding: 20px;
}

.card {
  background: rgba(22, 27, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  background: #333;
}

.status-badge.online {
  background: #238636;
  color: #fff;
}

.status-badge.offline {
  background: #da3633;
  color: #fff;
}

h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.tagline {
  color: #8b949e;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.ip-container {
  display: flex;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

#server-ip {
  flex: 1;
  padding: 12px;
  font-family: monospace;
  font-size: 1rem;
  color: #58a6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#copy-btn {
  background: #238636;
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

#copy-btn:hover {
  background: #2ea043;
}

.player-count {
  font-size: 0.9rem;
  color: #c9d1d9;
  margin-bottom: 25px;
}

.links {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.discord {
  background: #5865f2;
  color: white;
}

.panel {
  background: #30363d;
  color: white;
}