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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0b0f14;
  color: #e6f1ff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  padding: 32px 64px 80px;
  background: radial-gradient(circle at top left, #1f2937, #0b0f14 60%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: #9db2ce;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: 44px;
  margin: 16px 0;
}

.subtitle {
  color: #b8c6d9;
  max-width: 520px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: #1b3a5c;
  color: #9fd3ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  background: none;
  color: inherit;
}

.btn.primary {
  background: #4ade80;
  color: #0b0f14;
}

.btn.primary:hover {
  background: #22c55e;
}

.btn.ghost {
  border-color: #2c3b4f;
  color: #d0dae8;
}

.btn.ghost:hover {
  border-color: #4b5f79;
  color: #ffffff;
}

.server-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #8aa0b8;
  letter-spacing: 0.8px;
}

.value {
  font-weight: 600;
}

.hero-card {
  background: #121925;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.status.offline .dot {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.stats {
  margin: 24px 0;
  display: grid;
  gap: 16px;
}

.card-actions {
  display: flex;
  gap: 12px;
}

main {
  padding: 64px;
}

.section {
  margin-bottom: 64px;
}

.section h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.panel {
  background: #121925;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #1d2634;
}

.panel h3 {
  margin-bottom: 12px;
}

.section.alt {
  background: #0f1621;
  padding: 48px;
  border-radius: 16px;
}

.rules {
  display: grid;
  gap: 12px;
  list-style: none;
  color: #c4d2e6;
}

.rules li {
  padding: 12px 16px;
  background: #121925;
  border-radius: 10px;
  border: 1px solid #1d2634;
}

.join-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, #1b3a5c, #0f172a);
  padding: 32px;
  border-radius: 16px;
}

.join-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.join-info {
  min-width: 160px;
}

.site-footer {
  text-align: center;
  padding: 32px;
  color: #8aa0b8;
  border-top: 1px solid #1d2634;
}

@media (max-width: 800px) {
  .site-header,
  main {
    padding: 32px 24px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .cta-row,
  .card-actions,
  .join-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

