* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000; 
  font-family: "Arial", sans-serif; 
}

#servers-list {
    padding: 30px;
}

.welcome {
    font-family: "Consolas", sans-serif;
    font-weight: bold;
    font-size: 67px;
    padding: 45px;
    padding-bottom: 0px;
    color: #ffffff;

    border-right: 3px solid #ffffff;

    display: inline-block; 
    
    white-space: nowrap;
    overflow: hidden;

    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #000; }
}

.welcome.done {
    border-right-color: transparent;
    animation: none;
}

.page-wrapper {
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

#servers-list {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  perspective: 1200px;
}

.horizontal-widget {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border-radius: 16px;
  padding: 24px 32px;

  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, background-color 0.2s ease;

  overflow: hidden;
}

.horizontal-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    circle 220px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.horizontal-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: radial-gradient(
    circle 260px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.45),
    transparent 60%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.horizontal-widget:hover::before,
.horizontal-widget:hover::after {
  opacity: 1;
}

.horizontal-widget:hover {
  background-color: #243249;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.widget-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}

.widget-col:first-child {
  flex: 1.5;
}

.widget-label {
  font-family: "Arial", sans-serif;
  font-weight: bold; 
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.widget-value {
  font-family: "Arial", sans-serif;
  font-weight: bold; 
  font-size: 16px;
  color: #f8fafc; 
}

.text-bold {
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
}

.badge-online {
  background-color: rgba(22, 163, 74, 0.2);
  color: #4ade80; 
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.badge-offline {
  background-color: rgba(220, 38, 38, 0.2); 
  color: #f87171; 
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.content-blur {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
}

.auth-window {
  width: 100%;
  max-width: 400px;
  background: #1e293b;
  border: 1px solid #2d3748;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-title {
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px 16px;
  color: #f8fafc;
  font-family: "Arial", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-input:focus {
  border-color: #64748b;
}

.auth-btn {
  width: 100%;
  background: #243249;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 14px;
  color: #ffffff;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.auth-btn:hover {
  background-color: #2e3f5c;
}

.auth-btn:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .page-wrapper {
    padding: 20px 12px;
  }

  .horizontal-widget {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 28px;
    padding: 20px 24px;
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-widget::-webkit-scrollbar {
    display: none; 
  }

  .auth-window {
    margin: 0 16px;
  }
}