/* 404 page styles */
:root{
  --bg1:#f6fbff;
  --bg2:#eef9f7;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#06b6d4;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(135deg,var(--bg1),var(--bg2));
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
}
.error-container{width:100%;max-width:980px}
.card{
  display:flex;
  gap:2rem;
  align-items:center;
  padding:2.25rem;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.75));
  box-shadow:0 10px 30px rgba(2,6,23,0.08);
  backdrop-filter: blur(6px);
}
.visual{flex:0 0 220px}
h1{font-size:1.75rem;margin:0;color:#0f172a}
.lead{margin:0.5rem 0 1rem;color:var(--muted);line-height:1.5}
.actions{display:flex;gap:0.75rem;align-items:center}
.btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  padding:0.6rem 1rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 6px 18px rgba(6,182,212,0.18);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(6,182,212,0.2)}
.muted{color:var(--muted);text-decoration:none;font-size:0.95rem}
.hint{margin-top:0.75rem;text-align:center;color:var(--muted);font-size:0.9rem}

@media (max-width:720px){
  .card{flex-direction:column;align-items:center;text-align:center;padding:1.5rem}
  .visual{flex:0 0 auto}
}

/* small visual flourish */
.card::after{
  content:"";
  position:absolute;
  pointer-events:none;
}

/* Improve rendering on smaller devices */
@media (prefers-reduced-motion:reduce){
  .btn{transition:none}
}
