:root {
  --bg: #0f172a;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #1e3a8a 0%, var(--bg) 55%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  color: var(--text);
  line-height: 1.6;
}

.card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
  max-width: 640px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}

h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.35rem;
}

.message {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.message-en {
  color: var(--muted);
  font-size: 0.9rem;
}

.new-address {
  margin: 1.75rem 0 1.5rem;
}

.new-address a {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.new-address a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.redirect-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.redirect-note #countdown,
.redirect-note #countdown-en {
  font-weight: 700;
  color: var(--accent-dark);
}

.redirect-note-en {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
}

.actions {
  margin: 1.75rem 0 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn:hover {
  background: var(--accent-dark);
}

.btn:active {
  transform: scale(0.98);
}

.tip {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.tip a {
  color: var(--accent-dark);
  text-decoration: none;
}

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

.tip-en {
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 480px) {
  .card {
    padding: 2.25rem 1.5rem;
  }

  .new-address a {
    font-size: 1.7rem;
  }

  h1 {
    font-size: 1.45rem;
  }
}
