.status-page-body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
}

.status-page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.status-page-shell::before,
.status-page-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.status-page-shell::before {
  top: 10%;
  left: -120px;
  width: 260px;
  height: 260px;
  background: rgba(122, 92, 255, 0.62);
  animation: statusOrb 10s ease-in-out infinite alternate;
}

.status-page-shell::after {
  right: -140px;
  bottom: 12%;
  width: 300px;
  height: 300px;
  background: rgba(53, 215, 255, 0.46);
  animation: statusOrb 12s ease-in-out infinite alternate-reverse;
}

.status-page-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.status-page-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(14, 16, 26, 0.7);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.status-page-link:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 215, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.status-hero,
.status-card,
.status-incident-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(14, 16, 26, 0.76);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.status-hero {
  padding: 30px;
  margin-bottom: 20px;
  background:
    radial-gradient(circle at top right, rgba(53, 215, 255, 0.14), transparent 26%),
    radial-gradient(circle at left center, rgba(122, 92, 255, 0.18), transparent 34%),
    rgba(10, 12, 22, 0.76);
  animation: statusHeroFloat 8s ease-in-out infinite alternate;
}

.status-hero::after,
.status-card::after,
.status-incident-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.1) 42%, transparent 58%) -180% 0 / 180% 100% no-repeat;
  animation: statusSheen 10s ease-in-out infinite;
  pointer-events: none;
}

.status-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.94;
}

.status-hero p,
.status-card p,
.status-incident-card p {
  color: rgba(214, 223, 243, 0.78);
  line-height: 1.7;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.status-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  animation: statusCardFloat 6.4s ease-in-out infinite alternate;
}

.status-card-head,
.status-incident-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.status-card-head span,
.status-incident-meta span {
  color: rgba(203, 214, 238, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-card strong {
  font-size: 1.8rem;
}

.status-card-note {
  color: rgba(198, 210, 234, 0.72);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-badge.health-good {
  background: rgba(25, 194, 118, 0.14);
  color: #c7ffe4;
}

.status-badge.health-warn {
  background: rgba(255, 157, 60, 0.14);
  color: #ffd0a5;
}

.status-badge.health-bad {
  background: rgba(255, 94, 94, 0.14);
  color: #ffbcbc;
}

.status-incidents {
  display: grid;
  gap: 16px;
}

.status-incidents-list {
  display: grid;
  gap: 14px;
}

.status-incident-card {
  padding: 22px;
  animation: statusCardFloat 7.2s ease-in-out infinite alternate;
}

.status-incident-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.1rem;
}

.status-meter {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.status-meter-fill {
  display: block;
  width: var(--status-progress);
  height: 100%;
  border-radius: inherit;
  animation: statusPulse 2.8s ease-in-out infinite;
}

.status-meter-fill.health-good {
  background: linear-gradient(90deg, #21d586, #4ef2b4);
  box-shadow: 0 0 18px rgba(33, 213, 134, 0.24);
}

.status-meter-fill.health-warn {
  background: linear-gradient(90deg, #ff9d3c, #ffd078);
  box-shadow: 0 0 18px rgba(255, 157, 60, 0.22);
}

.status-meter-fill.health-bad {
  background: linear-gradient(90deg, #ff5d5d, #ff9b9b);
  box-shadow: 0 0 18px rgba(255, 93, 93, 0.22);
}

@keyframes statusHeroFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes statusCardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

@keyframes statusSheen {
  0% { background-position: -180% 0; }
  55%, 100% { background-position: 180% 0; }
}

@keyframes statusOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -20px, 0) scale(1.12); }
}

@keyframes statusPulse {
  0%, 100% { filter: brightness(1); opacity: 0.9; }
  50% { filter: brightness(1.18); opacity: 1; }
}

@media (max-width: 980px) {
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .status-page-shell {
    width: calc(100% - 20px);
  }

  .status-grid {
    grid-template-columns: 1fr;
  }
}
