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

:root {
  --bg-dark: #030a14;
  --bg-mid: #081322;
  --card-bg: rgba(10, 20, 34, 0.9);
  --card-border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --muted: #bfc9d8;
  --blue: #138cff;
  --blue-dark: #0c67bc;
  --pill-bg: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #06111d 45%, var(--bg-mid) 100%);
  color: var(--white);
  position: relative;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.bg-glow-1 {
  width: 280px;
  height: 280px;
  background: rgba(19, 140, 255, 0.1);
  top: 4%;
  left: 8%;
}

.bg-glow-2 {
  width: 240px;
  height: 240px;
  background: rgba(19, 140, 255, 0.08);
  right: 8%;
  bottom: 8%;
}

.page {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  z-index: 1;
}

.card {
  width: min(100%, 820px);
  max-height: calc(100vh - 32px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 22px 24px 20px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(19, 140, 255, 0.1);
  border: 1px solid rgba(19, 140, 255, 0.2);
  color: #84c0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.logo-wrap {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(19, 140, 255, 0.24);
  box-shadow:
    0 0 0 12px rgba(19, 140, 255, 0.04),
    0 0 0 24px rgba(255, 255, 255, 0.02);
  animation: softPulse 3.5s ease-in-out infinite;
}

.logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

h1 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1.4px;
}

.subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cta-group {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 28px rgba(19, 140, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(19, 140, 255, 0.3);
}

.offline-box {
  margin: 18px auto 0;
  max-width: 620px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.offline-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.offline-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.offline-text a {
  color: #7ec1ff;
  font-weight: 700;
  text-decoration: none;
}

.offline-text a:hover {
  text-decoration: underline;
}

.feature-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e2ef;
  font-size: 13px;
  font-weight: 600;
}

.footer-text {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.footer-text a {
  color: #8fcaff;
  text-decoration: none;
  font-weight: 700;
}

.footer-text a:hover {
  text-decoration: underline;
}

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

@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.72;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 12px;
  }

  .card {
    max-height: calc(100vh - 24px);
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .top-badge {
    margin-bottom: 14px;
    font-size: 11px;
    padding: 7px 14px;
  }

  .logo-wrap {
    width: 108px;
    height: 108px;
    margin-bottom: 12px;
  }

  .logo-ring {
    width: 108px;
    height: 108px;
    box-shadow:
      0 0 0 10px rgba(19, 140, 255, 0.04),
      0 0 0 20px rgba(255, 255, 255, 0.02);
  }

  .logo {
    width: 76px;
    height: 76px;
    border-radius: 12px;
  }

  h1 {
    font-size: clamp(30px, 9vw, 46px);
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .cta-group {
    margin-top: 18px;
  }

  .btn-primary {
    width: 100%;
    max-width: 240px;
    min-width: auto;
    font-size: 15px;
    padding: 13px 20px;
  }

  .offline-box {
    margin-top: 16px;
    padding: 12px 12px;
  }

  .offline-title {
    font-size: 14px;
  }

  .offline-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .feature-pills {
    margin-top: 16px;
    gap: 8px;
  }

  .feature-pills span {
    font-size: 12px;
    padding: 8px 12px;
  }

  .footer-text {
    margin-top: 16px;
    font-size: 12px;
  }
}

@media (max-height: 760px) {
  .card {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .top-badge {
    margin-bottom: 10px;
  }

  .logo-wrap {
    width: 96px;
    height: 96px;
    margin-bottom: 10px;
  }

  .logo-ring {
    width: 96px;
    height: 96px;
    box-shadow:
      0 0 0 8px rgba(19, 140, 255, 0.04),
      0 0 0 16px rgba(255, 255, 255, 0.02);
  }

  .logo {
    width: 68px;
    height: 68px;
  }

  h1 {
    font-size: clamp(28px, 4.4vw, 52px);
    margin-bottom: 10px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.45;
  }

  .cta-group {
    margin-top: 14px;
  }

  .offline-box {
    margin-top: 12px;
    padding: 10px 12px;
  }

  .feature-pills {
    margin-top: 12px;
  }

  .footer-text {
    margin-top: 12px;
  }
}