*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8ed;
  --text-muted: #8b8b9e;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.35);
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -120px;
  left: -100px;
  opacity: 0.25;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #818cf8;
  bottom: -80px;
  right: -60px;
  animation-delay: -4s;
  opacity: 0.2;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #a78bfa;
  top: 50%;
  left: 60%;
  animation-delay: -8s;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 520px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 24px var(--accent-glow));
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.97); }
}

.icon svg {
  width: 100%;
  height: 100%;
}

.code {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 30%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.message {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.details {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.detail-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  min-width: 140px;
  backdrop-filter: blur(12px);
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 0.9375rem;
  font-weight: 500;
}

.hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.footer {
  position: fixed;
  bottom: 1.5rem;
  z-index: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

@media (max-width: 480px) {
  .code {
    font-size: 3.5rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  .details {
    flex-direction: column;
    align-items: center;
  }

  .detail-item {
    width: 100%;
    max-width: 240px;
  }
}
