#smokeFontApp{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(circle at top, #1b1b2f, #0a0a12);
  color:#fff;
  padding:20px;
  border-radius:16px;
  max-width:1100px;
  margin:auto;
  box-shadow:0 10px 40px rgba(0,0,0,0.6);
}

#smokeFontApp h2{
  text-align:center;
  font-size:24px;
  color:#8efcff;
  margin-bottom:12px;
}

.smoke-wrap{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:15px;
  border-radius:12px;
  backdrop-filter: blur(10px);
  position:relative;
  overflow:hidden;
}

textarea{
  width:100%;
  min-height:90px;
  padding:12px;
  border-radius:10px;
  border:none;
  outline:none;
  font-size:16px;
  background:#111827;
  color:#fff;
}

.controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

button{
  flex:1;
  min-width:120px;
  padding:10px;
  border:none;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  background:linear-gradient(135deg,#8efcff,#a78bfa);
  transition:0.3s;
}

button:hover{
  transform:scale(1.05);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
  margin-top:20px;
}

.card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;
  padding:10px;
}

.font-text{
  font-size:14px;
  word-break:break-word;
}

.copy{
  margin-top:8px;
  width:100%;
  padding:6px;
  background:#22c55e;
  border:none;
  border-radius:8px;
  cursor:pointer;
}

/* Smoke animation */
.smoke{
  position:absolute;
  width:6px;
  height:6px;
  background:rgba(255,255,255,0.15);
  border-radius:50%;
  animation:rise 6s linear infinite;
}

@keyframes rise{
  0%{transform:translateY(0) scale(1);opacity:0.4;}
  100%{transform:translateY(-200px) scale(3);opacity:0;}
}