*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #e7ecf3;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(76, 29, 149, 0.18), transparent 55%),
    linear-gradient(165deg, #0a0a12 0%, #0f1419 42%, #12101f 100%);
  background-attachment: fixed;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 32px;
}

.brand-logo {
  position: relative;
  margin-bottom: 32px;
  text-align: center;
  user-select: none;
}

.brand-logo__glow {
  position: absolute;
  inset: -28px -40px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28) 0%, rgba(124, 92, 255, 0) 72%);
  animation: pulse-glow 3.2s ease-in-out infinite;
  pointer-events: none;
}

.brand-logo__text {
  position: relative;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  filter: drop-shadow(0 0 24px rgba(124, 92, 255, 0.45));
}

.brand-logo__pbn {
  background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-logo__drop {
  background: linear-gradient(135deg, #ddd6fe 0%, #8b5cf6 55%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-logo__tld {
  font-weight: 600;
  color: #9aa8bc;
  font-size: 0.92em;
}

.brand-logo__sub {
  position: relative;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.85);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.card {
  width: 100%;
  max-width: 720px;
  background: rgba(26, 35, 50, 0.82);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: 16px;
  padding: 36px 32px 28px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px rgba(124, 92, 255, 0.08);
  backdrop-filter: blur(12px);
}

@media (max-width: 640px) {
  .card {
    padding: 28px 20px 22px;
  }
}

.card__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
}

.card__title-domain {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 500;
  color: #c4b5fd;
}

.card__intro {
  margin: 0;
  padding: 11px 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #b8c5d6;
  font-size: 0.92rem;
}

.card__intro p {
  margin: 0;
}

.card__intro p + p {
  margin-top: 8px;
}

.infra-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: inherit;
  line-height: 1.5;
}

.infra-table__col-label {
  width: 10.75rem;
}

.infra-table th,
.infra-table td {
  padding: 5px 0;
  vertical-align: top;
  text-align: left;
}

.infra-table__label {
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
  color: #a8b6c8;
  white-space: nowrap;
}

.infra-table__value {
  padding-left: 3.5rem;
  color: #f3f6fa;
  word-break: break-word;
}

.infra-table__row--group-end .infra-table__label,
.infra-table__row--group-end .infra-table__value {
  padding-bottom: 19px;
}

.infra-value {
  color: #f3f6fa;
}

.infra-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f3f6fa;
}

.infra-status__text {
  min-width: 0;
}

.infra-status__dot,
.infra-status__icon {
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
}

.infra-status--ok .infra-status__dot,
.infra-status--ok .infra-status__icon {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
}

.infra-status--pending .infra-status__dot,
.infra-status--pending .infra-status__icon {
  background: #9aa8bc;
  box-shadow: 0 0 0 2px rgba(154, 168, 188, 0.22);
}

.infra-status--warn .infra-status__dot,
.infra-status--warn .infra-status__icon {
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.28);
}

.infra-status--off .infra-status__dot,
.infra-status--off .infra-status__icon,
.infra-status--muted .infra-status__dot,
.infra-status--muted .infra-status__icon {
  background: transparent;
  border: 2px solid rgba(154, 168, 188, 0.65);
  box-shadow: none;
}

.infra-status--off .infra-status__text,
.infra-status--pending .infra-status__text {
  color: #c5ced9;
}

.infra-ssl-days--ok {
  color: #6ee7b7;
}

.infra-ssl-days--warn {
  color: #fcd34d;
}

.infra-ssl-days--danger {
  color: #f87171;
}

.infra-ssl-days--muted {
  color: #9aa8bc;
}

.footer-bar {
  width: 100%;
  max-width: 720px;
  margin-top: 20px;
  padding: 16px 20px;
  text-align: center;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 12px;
  color: #b8c5d6;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-bar strong {
  display: block;
  margin-bottom: 4px;
  color: #e7ecf3;
  font-weight: 600;
}
