/* Matching jepsu.fi dark theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Import Zalando Sans font for headers */
@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:wght@700;800&display=swap');

.container {
  text-align: center;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
}

h1 {
  font-family: 'Zalando Sans Expanded', system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #00ffae;
  letter-spacing: -0.05em;
  line-height: 1;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #aaaaaa;
}

/* Status badge */
.status-badge {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.online {
  background-color: #00ffae;
  color: #121212;
}

.offline {
  background-color: #ff4444;
  color: #121212;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.info-card {
  background-color: #1e1e1e;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.2s ease;
}

.info-card:hover {
  border-color: #00ffae;
  box-shadow: 0 4px 12px rgba(0, 255, 174, 0.2);
}

.info-label {
  color: #aaaaaa;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-value {
  color: #00ffae;
  font-size: 2rem;
  font-weight: bold;
}

/* Server address box */
.server-address {
  background-color: #1e1e1e;
  color: #00ffae;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  margin: 2rem 0 0.5rem 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-address:hover {
  border-color: #00ffae;
  background-color: #252525;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 174, 0.3);
}

.copy-hint {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

/* MOTD message */
.motd {
  background-color: #1e1e1e;
  border-left: 4px solid #00ffae;
  padding: 1rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  color: #f5f5f5;
  text-align: left;
}

/* Loading state */
.loading {
  text-align: center;
  color: #aaaaaa;
  padding: 2rem;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Last updated timestamp */
.last-updated {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .server-address {
    font-size: 1rem;
  }
}
