:root {
  --bg: #050505;
  --panel: rgba(18, 18, 20, 0.75);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a7a7af;
  --orange: #ff8a00;
  --orange-2: #ffb347;
  --green: #2bd576;
  --yellow: #ffbf47;
  --radius: 26px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 138, 0, 0.07), transparent 25%),
    linear-gradient(180deg, #050505 0%, #080809 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), 1100px);
  margin: 0 auto;
}

.status-bg {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

.status-bg-1 {
  width: 360px;
  height: 360px;
  background: rgba(255, 138, 0, 0.22);
  top: -100px;
  left: -80px;
}

.status-bg-2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 138, 0, 0.14);
  right: -80px;
  top: 25%;
}

.status-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #ff9500, #ff6a00);
  box-shadow: 0 0 24px rgba(255, 138, 0, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  margin-top: 4px;
}

.top-links {
  display: flex;
  gap: 18px;
  color: #d8d8de;
}

.status-main {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
}

.status-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.status-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1;
  margin: 18px 0 14px;
  letter-spacing: -0.05em;
}

.status-hero p,
.muted,
.notice-item p {
  color: var(--muted);
  line-height: 1.75;
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-pill.online,
.tag.ok {
  color: #aef4c6;
  background: rgba(43, 213, 118, 0.12);
  border-color: rgba(43, 213, 118, 0.2);
}

.tag.warn {
  color: #ffd89a;
  background: rgba(255, 138, 0, 0.12);
  border-color: rgba(255, 138, 0, 0.2);
}

.tag.neutral {
  color: #e3e3e8;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-head h2,
.update-box h3 {
  margin: 0;
}

.service-list {
  margin-top: 22px;
}

.service-row,
.notice-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child,
.notice-item:last-child {
  border-bottom: none;
}

.ok-text {
  color: #9ff0be;
}

.update-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.16);
}

.update-box p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

#lastUpdated {
  color: #ffc77e;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

@media (max-width: 860px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .top-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel {
    padding: 22px;
  }
}