* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #0b1120;
  --bg-secondary: #111a2e;
  --card-bg: rgba(17, 26, 46, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);

  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --accent-primary: #5988ff;
  --accent-secondary: #38bdf8;
  --accent-third: #22c55e;

  --shadow-main: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(89, 136, 255, 0.15), transparent 35%), radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg-main), var(--bg-secondary));
  color: var(--text-main);
  overflow: hidden;
  position: relative;
}

/* Background glow */
.bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.8;
}

.bg-1 {
  width: 340px;
  height: 340px;
  top: -100px;
  left: -80px;
  background: rgba(89, 136, 255, 0.35);
}

.bg-2 {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: -100px;
  background: rgba(56, 189, 248, 0.28);
}

.bg-3 {
  width: 220px;
  height: 220px;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  background: rgba(34, 197, 94, 0.15);
}

/* Layout */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Main card */
.card {
  width: min(680px, 100%);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-main);
  animation: fadeUp 1s ease;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(89, 136, 255, 0.35);
  border-radius: 999px;
  background: rgba(89, 136, 255, 0.12);
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Title */
h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

/* Subtitle */
.subtitle {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.7;
}

/* Status row */
.status-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Loader */
.loader {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-primary);
  border-right-color: var(--accent-secondary);
  border-bottom-color: var(--accent-third);
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

/* Corner image */
.corner-img {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: clamp(70px, 10vw, 130px);
  opacity: 0.18;
  pointer-events: none;
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .subtitle {
    margin-bottom: 26px;
  }

  .corner-img {
    width: 78px;
    right: 16px;
    bottom: 16px;
  }
}
