body {
  background: #000814;
  color: #e0f7ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  margin: 0;
  padding: 20px;
}

.qx-header {
  text-align: center;
  margin-bottom: 30px;
}

.qx-header h1 {
  margin: 0;
  font-size: 2.2rem;
  color: #90e0ef;
}

.qx-subtitle {
  margin-top: 8px;
  color: #48cae4;
  font-size: 0.95rem;
}

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

.module-card {
  background: radial-gradient(circle at top left, #003566 0, #001d3d 40%, #000814 100%);
  border: 1px solid #003566;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0, 180, 216, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card.online {
  border-color: #00b4d8;
  box-shadow: 0 0 22px rgba(0, 180, 216, 0.45);
}

.module-card.offline {
  border-color: #9d0208;
  box-shadow: 0 0 18px rgba(157, 2, 8, 0.4);
  opacity: 0.8;
}

.module-card h2 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #caf0f8;
  font-size: 1.2rem;
}

.module-card p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.module-card .status {
  font-weight: 600;
}

.module-card .status.online {
  color: #00f5d4;
}

.module-card .status.offline {
  color: #ff4d6d;
}

.module-card a {
  display: inline-block;
  margin-top: 10px;
  color: #00b4d8;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.module-card a:hover {
  border-bottom-color: #00b4d8;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgba(0, 180, 216, 0.6);
}
