#tmnt-font-generator * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#tmnt-font-generator {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a, #14532d);
  padding: 25px;
  border-radius: 20px;
  color: #fff;
  max-width: 1400px;
  margin: auto;
}

.tmnt-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 25px;
}

.tmnt-controls,
.tmnt-preview {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 20px;
}

.tmnt-controls h2,
.tmnt-preview h2 {
  margin-bottom: 18px;
  color: #4ade80;
}

.tmnt-controls label {
  display: block;
  margin-top: 14px;
  margin-bottom: 8px;
  font-weight: bold;
}

.tmnt-controls input,
.tmnt-controls button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 10px;
}

.tmnt-controls button {
  background: linear-gradient(90deg, #22c55e, #15803d);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.tmnt-preview-box {
  padding: 35px;
  border-radius: 14px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  background: #111827;
  word-break: break-word;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
  margin-top: 25px;
  max-height: 650px;
  overflow-y: auto;
}

.style-card {
  background: rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.style-card:hover {
  transform: translateY(-4px);
  background: rgba(34,197,94,0.2);
}

@media(max-width:900px) {
  .tmnt-wrapper {
    grid-template-columns: 1fr;
  }

  .tmnt-preview-box {
    font-size: 34px;
  }
}