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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #020617, #0f172a, #1e293b);
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1528818955841-a7f1425131b5?auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.content {
  max-width: 768px;
  width: 100%;
}

.hero {
  text-align: center;
}

.hero-icons {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: -96px;
  left: 50%;
  transform: translateX(-50%);
  width: 192px;
  height: 192px;
  background: rgba(239,68,68,0.1);
  border-radius: 50%;
  filter: blur(64px);
  animation: pulse 3s infinite;
}

.hero-icons-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.icon-red { width: 48px; height: 48px; color: #ef4444; }
.icon-orange { width: 40px; height: 40px; color: #fb923c; animation: pulse 2s infinite; }

.title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .title { font-size: 40px; }
}

.status-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f87171;
  margin-bottom: 32px;
}

.status-code svg {
  width: 20px;
  height: 20px;
}

.status-code span {
  font-size: 18px;
  font-weight: 500;
}

.card {
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(51,65,85,0.5);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.card-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ping-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: ping 1.5s infinite;
}

.card-status p {
  font-size: 18px;
  color: #d1d5db;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-item {
  background: rgba(2,6,23,0.3);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(51,65,85,0.3);
}

.grid-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.grid-item-header svg {
  width: 20px;
  height: 20px;
}

.grid-item-header.green svg { color: #34d399; }
.grid-item-header.blue svg { color: #60a5fa; }

.grid-item-header span {
  font-weight: 500;
}

.grid-item-header.green span { color: #34d399; }
.grid-item-header.blue span { color: #60a5fa; }

.mono {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.8;
}

.mono-label {
  color: #9ca3af;
}

.mono-value {
  color: #6ee7b7;
  word-break: break-all;
}

.timer {
  font-size: 32px;
  text-align: center;
  color: #93c5fd;
  font-family: 'Courier New', Courier, monospace;
}

@media (min-width: 640px) {
  .timer { font-size: 40px; }
}

.notice {
  background: linear-gradient(to right, rgba(234,179,8,0.05), rgba(234,179,8,0.1), rgba(234,179,8,0.05));
  border: 1px solid rgba(234,179,8,0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.notice-header svg {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

.notice-header span {
  color: #fbbf24;
  font-weight: 500;
}

.notice p {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.5;
}

.search-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.search-line svg {
  width: 16px;
  height: 16px;
  animation: pulse 1.5s infinite;
}

.search-line p {
  font-size: 14px;
}

.hint {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.bottom-bar {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(51,65,85,0.4);
}

.bottom-bar-inner .ping-dot {
  width: 8px;
  height: 8px;
}

.bottom-bar-inner span {
  font-size: 14px;
  color: #9ca3af;
}

@keyframes ping {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
