* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; justify-content: center; align-items: center; } .dashboard { width: 100%; max-width: 800px; padding: 40px 20px; } .header { text-align: center; margin-bottom: 48px; } .header h1 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 8px; } .update-time { font-size: 0.85rem; color: #64748b; } .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .card { background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 28px 24px; text-align: center; transition: border-color 0.3s, box-shadow 0.3s; } .card:hover { border-color: #475569; } .card-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; margin-bottom: 12px; } .card-value { font-size: 2rem; font-weight: 700; letter-spacing: -0.025em; } .card.status-up { border-color: #22c55e; box-shadow: 0 0 20px rgba(34, 197, 94, 0.1); } .card.status-up .card-value { color: #4ade80; } .card.status-down { border-color: #ef4444; box-shadow: 0 0 20px rgba(239, 68, 68, 0.1); } .card.status-down .card-value { color: #f87171; } .card.response .card-value { color: #38bdf8; } .card.requests .card-value { color: #c084fc; } .pulse-container { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; } .pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; animation: pulse 2s ease-in-out infinite; } .pulse.offline { background: #ef4444; } .pulse-label { font-size: 0.85rem; color: #64748b; } @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } } @media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card-value { font-size: 1.5rem; } }