:root {
  --bg: #06080f;
  --bg-card: #101722;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.14);
  --text: #eef1f6;
  --text-muted: #8b95a8;
  --text-dim: #5c6578;
  --violet: #7c8cff;
  --violet-glow: rgba(124,140,255,0.32);
  --cyan: #2fd4c8;
  --amber: #fbbf24;
  --gradient: linear-gradient(135deg, #7c8cff 0%, #5b8def 48%, #2fd4c8 100%);
  --radius: 20px;
  --radius-sm: 12px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { text-decoration: none; color: inherit; }

.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; background: #05070c;
}
.ambient-photo {
  position: absolute; inset: -5%;
  background: url('https://ai.esmplus.com/jnscompany/ai-tech-6.jpg') center/cover no-repeat;
  opacity: 0.26;
  filter: saturate(1.2) contrast(1.05) brightness(0.75) hue-rotate(-8deg);
}
.ambient-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(124,140,255,0.24) 0%, transparent 55%),
    radial-gradient(70% 50% at 80% 90%, rgba(47,212,200,0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5,7,12,0.55) 0%, rgba(6,8,15,0.84) 42%, rgba(5,7,12,0.97) 100%);
}

.header {
  position: relative; z-index: 2;
  border-bottom: 1px solid var(--border);
  background: rgba(6,8,15,0.72);
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 720px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 18px; width: auto; display: block; }
.header-link {
  font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s;
}
.header-link:hover { color: var(--text); }

main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
}
.card {
  width: 100%;
  max-width: 560px;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(16,23,34,0.88);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: rise 0.55s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.status {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(47,212,200,0.55);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,212,200,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(47,212,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,212,200,0); }
}
.status-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan);
}

.brand {
  font-size: 0.875rem; font-weight: 700;
  color: var(--text-muted); margin-bottom: 8px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.lead {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 28px;
}

.guide {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  padding: 18px 18px 16px;
  margin-bottom: 28px;
}
.guide h2 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.guide p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.guide p:last-child { margin-bottom: 0; }
.guide .note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(251,191,36,0.28);
  background: rgba(251,191,36,0.06);
  color: #f0d48a;
  font-size: 0.84rem;
}
.guide.warn {
  margin-bottom: 20px;
  border-color: rgba(251,191,36,0.32);
  background: rgba(251,191,36,0.05);
}
.guide.warn h2 { color: #f0d48a; }
.guide.warn p { color: #e8d6a0; }

.dns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.dns-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.dns-link:hover {
  color: var(--text);
  border-color: rgba(124,140,255,0.45);
  background: rgba(124,140,255,0.1);
}
.dns-link svg {
  width: 14px; height: 14px; opacity: 0.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 0 rgba(124,140,255,0);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px var(--violet-glow);
}
.btn-ghost {
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.22);
}

.footer {
  position: relative; z-index: 1;
  padding: 18px 24px 28px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (max-width: 520px) {
  .card { padding: 28px 20px 24px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}
