* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, sans-serif;
  background: #03101d;
  color: #d9ecff;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(21, 101, 192, 0.18), transparent 28%),
    linear-gradient(180deg, #04111d 0%, #020b14 100%);
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 183, 255, 0.08), transparent 20%),
    radial-gradient(circle at 80% 15%, rgba(0, 102, 255, 0.06), transparent 18%),
    radial-gradient(circle at 50% 60%, rgba(0, 122, 255, 0.05), transparent 30%);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 28px;
}

.top-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(33, 110, 176, 0.35);
  background:
    linear-gradient(180deg, rgba(8, 34, 57, 0.96) 0%, rgba(4, 20, 37, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 153, 255, 0.03),
    0 14px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.top-left {
  min-width: 0;
}

.title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #62b8ff;
}

.summary {
  margin-top: 6px;
  font-size: 13px;
  color: #85a9cb;
}

.top-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.info-box {
  min-width: 126px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(38, 85, 127, 0.5);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #7e9dbc;
}

.info-value {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #eef7ff;
}

.list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(24, 83, 133, 0.42);
  background:
    linear-gradient(180deg, rgba(7, 31, 53, 0.96) 0%, rgba(3, 19, 34, 0.96) 100%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

a.link-card.ok:hover {
  transform: translateY(-1px);
  border-color: rgba(58, 149, 228, 0.7);
  box-shadow:
    0 0 0 1px rgba(58, 149, 228, 0.08),
    0 0 20px rgba(0, 153, 255, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.link-card.bad {
  opacity: 0.82;
}

.left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.ok {
  background: #14ff9a;
  box-shadow: 0 0 10px rgba(20, 255, 154, 0.9);
  animation: pulseGreen 1.6s infinite;
}

.status-dot.bad {
  background: #ff5c5c;
  box-shadow: 0 0 9px rgba(255, 92, 92, 0.8);
}

.status-dot.checking {
  background: #62b8ff;
  box-shadow: 0 0 9px rgba(98, 184, 255, 0.8);
  animation: pulseBlue 1.2s infinite;
}

.text-group {
  min-width: 0;
}

.domain {
  font-size: 18px;
  font-weight: 700;
  color: #eef6ff;
  line-height: 1.2;
  word-break: break-word;
}

.subtext {
  margin-top: 4px;
  font-size: 12px;
  color: #789abc;
}

.badge {
  flex-shrink: 0;
  min-width: 112px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge.ok {
  color: #14ff9a;
  background: rgba(20, 255, 154, 0.08);
  border: 1px solid rgba(20, 255, 154, 0.2);
}

.badge.bad {
  color: #ff8d8d;
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.18);
}

.badge.checking {
  color: #8ec8ff;
  background: rgba(98, 184, 255, 0.08);
  border: 1px solid rgba(98, 184, 255, 0.18);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 6px rgba(20, 255, 154, 0.6); }
  50% { box-shadow: 0 0 16px rgba(20, 255, 154, 1); }
  100% { box-shadow: 0 0 6px rgba(20, 255, 154, 0.6); }
}

@keyframes pulseBlue {
  0% { opacity: 0.45; }
  50% { opacity: 1; }
  100% { opacity: 0.45; }
}

@media (max-width: 700px) {
  .page {
    padding: 14px 12px 22px;
  }

  .top-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .top-right {
    width: 100%;
  }

  .info-box {
    flex: 1;
    min-width: 0;
  }

  .link-card {
    padding: 15px 14px;
  }

  .domain {
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .title {
    font-size: 20px;
  }

  .top-right {
    gap: 8px;
  }

  .info-box {
    padding: 10px 10px;
  }

  .info-value {
    font-size: 14px;
  }

  .link-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .badge {
    width: 100%;
    min-width: 0;
  }
}