#freaky-text-tool{
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top,#00f5ff,#1a0033,#000);
  color:white;
  padding:25px;
  border-radius:20px;
  max-width:1200px;
  margin:auto;
}

/* HEADER */
.ft-header{
  text-align:center;
  margin-bottom:18px;
}

.ft-header h1{
  font-size:2.3rem;
  margin:0;
  background:linear-gradient(90deg,#00f5ff,#ff00ff,#00ff88);
  -webkit-background-clip:text;
  color:transparent;
}

.ft-header p{
  opacity:0.8;
  font-size:14px;
}

/* LAYOUT */
.ft-layout{
  display:grid;
  grid-template-columns:330px 1fr;
  gap:15px;
}

/* PANEL */
.ft-panel{
  background:rgba(0,0,0,0.4);
  border:1px solid rgba(0,255,255,0.25);
  border-radius:16px;
  padding:15px;
  backdrop-filter:blur(10px);
}

#ft-input{
  width:100%;
  height:130px;
  background:#0b0015;
  border:none;
  border-radius:12px;
  color:#00f5ff;
  padding:12px;
  font-size:18px;
  outline:none;
}

/* BUTTONS */
.ft-buttons{
  display:flex;
  gap:6px;
  margin-top:10px;
}

.ft-buttons button{
  flex:1;
  padding:9px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-size:11px;
  font-weight:bold;
  color:white;
  transition:.2s;
}

.ft-buttons button:hover{
  transform:scale(1.04);
}

#ft-random{background:#00ff88;}
#ft-clear{background:#ff0044;}
#ft-copy{background:#00c3ff;}

/* META */
.ft-meta{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-top:10px;
  opacity:0.9;
}

/* SEARCH */
#ft-search{
  width:100%;
  margin-top:10px;
  padding:10px;
  border-radius:10px;
  border:none;
  background:#0b0015;
  color:#00f5ff;
}

/* OUTPUT GRID */
.ft-output{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
  height:75vh;
  overflow:auto;
}

/* CARD */
.ft-card{
  background:linear-gradient(145deg,#0b0015,#1a0033);
  border:1px solid rgba(0,255,255,0.25);
  border-radius:14px;
  padding:12px;
  transition:.2s;
}

.ft-card:hover{
  transform:translateY(-3px);
  box-shadow:0 0 20px rgba(0,255,255,0.2);
}

.ft-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.ft-label{
  font-size:12px;
  color:#00f5ff;
}

.ft-text{
  font-size:22px;
  padding:8px 0;
  word-break:break-word;
}

/* COPY */
.ft-copy{
  background:#ff00ff;
  border:none;
  padding:6px 10px;
  border-radius:8px;
  color:white;
  cursor:pointer;
  font-size:11px;
}

/* MOBILE */
@media(max-width:768px){
  .ft-layout{
    grid-template-columns:1fr;
  }

  .ft-output{
    height:auto;
  }
}