* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #030303;
  color: white;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 30%, rgba(150, 0, 0, .20), transparent 38%),
    linear-gradient(180deg, #080000 0%, #030303 70%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero {
  width: min(1000px, 92%);
  margin: auto;
  padding: 55px 0 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: min(900px, 100%);
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 0, 0, .28));
  animation: float 4s ease-in-out infinite;
}

.subtitle {
  margin: 12px 0 30px;
  color: #aaa;
  letter-spacing: 4px;
  font-size: 12px;
}

.server-card {
  width: min(650px, 100%);
  margin: auto;
  padding: 28px;
  border: 1px solid #3b0808;
  border-radius: 18px;
  background: rgba(12, 4, 4, .88);
  box-shadow: 0 0 45px rgba(255, 0, 0, .12), inset 0 0 25px rgba(255, 0, 0, .035);
  backdrop-filter: blur(10px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff4b4b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2020;
  box-shadow: 0 0 12px #ff2020;
}

.editions-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(229, 9, 9, 0.14);
  border: 1px solid rgba(229, 9, 9, 0.35);
  color: #ff5e5e;
  text-transform: uppercase;
}

.ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.label {
  color: #777;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.ip {
  font-size: clamp(19px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: .5px;
  word-break: break-word;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 13px 19px;
  background: #e50909;
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}

button:hover {
  background: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, .25);
}

.port {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #251010;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.port-num {
  font-size: clamp(19px, 4vw, 26px);
  font-weight: 800;
  letter-spacing: .5px;
}

.copied {
  opacity: 0;
  color: #ff4242;
  font-size: 12px;
  margin-top: 10px;
  transition: .2s;
}

.copied.show {
  opacity: 1;
}

.discord-row {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid #251010;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  border-radius: 10px;
  transition: all .2s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, .25);
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, .45);
}

.discord-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.join {
  color: #777;
  font-size: 13px;
  margin-top: 24px;
}

footer {
  text-align: center;
  color: #444;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.footer-link {
  color: #777;
  text-decoration: none;
  transition: color .2s;
}

.footer-link:hover {
  color: #5865F2;
  text-decoration: underline;
}

.glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  background: red;
  pointer-events: none;
}

.glow-one { top: 10%; left: -150px; }
.glow-two { bottom: 0; right: -150px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 600px) {
  .hero { padding-top: 30px; }
  .server-card { padding: 22px; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ip-row, .port { align-items: stretch; flex-direction: column; }
  button { width: 100%; }
  .subtitle { letter-spacing: 2px; line-height: 1.6; }
}
