body {
  font-family: Arial, sans-serif;
  background-color: #23262b;
  margin: 0;
  padding: 0;
}

header,
footer {
  text-align: center;
  padding: 20px;
}

h1 {
  color: #f6c636;
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

main {
  min-height: 80vh;
}

#serverInfoContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.serverInfo {
  background: linear-gradient(135deg, #262a30 80%, #31353b 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  padding: 22px 20px 18px 20px;
  text-align: left;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #2e3237;
}

.serverInfo:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 22px rgba(239, 199, 74, 0.16);
}

.heading {
  color: #f6c636;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.footer {
  color: #b8bdcc;
  font-size: 1rem;
  background: #202428;
  border-top: 1px solid #2e3237;
}

p {
  margin: 8px 0;
  color: #b8bdcc;
  font-size: 1rem;
}

strong {
  font-weight: bold;
  color: #e7edff;
}

a {
  color: #7db5fb;
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #a2cffc;
  text-decoration: underline;
}

.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(37, 41, 46, 0.85);
  z-index: 9999;
}

.spinner {
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  border-top: 5px solid #3498db;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error {
  color: #ff6b6b;
  text-align: center;
  font-weight: bold;
  margin-top: 40px;
}

.hidden-server {
  opacity: 0.5;
  filter: grayscale(0.7);
  background: linear-gradient(135deg, #23262b 80%, #2a2d32 100%);
  pointer-events: auto;
}

.hide-btn {
  background: #444a55;
  color: #f6c636;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.hide-btn:hover {
  background: #23262b;
  color: #fffbe6;
}

.squadmaps-btn {
  background: #444a55;
  color: #f6c636;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: inline-block;
}

.squadmaps-btn:hover {
  background: #23262b;
  color: #fffbe6;
  text-decoration: underline;
}
