body{
    font-family:Arial;
    background: #0b0f1a;
    color:white;
    text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #151a2e;
  padding: 30px;
  border-radius: 10px;
  cursor: pointer;
  width: 200px;
}

.card:hover {
  background: #1f2542;
}

.modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background:#151a2e;
  padding:20px;
  width:400px;
  margin:100px auto;
  border-radius:10px;
}

input, textarea {
  width:100%;
  margin:10px 0;
  padding:10px;
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}

/* Modal box */
.modal-content {
  background: #151a2e;
  padding: 25px;
  width: 420px;
  margin: 80px auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  text-align: left;
}

/* Title */
.modal-content h2 {
  text-align: center;
  margin-bottom: 15px;
}

/* Inputs and textarea */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #2a3050;
  background: #0f1424;
  color: white;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

/* Focus effect */
input:focus, textarea:focus {
  border-color: #4f7cff;
  box-shadow: 0 0 6px rgba(79,124,255,0.5);
}

/* Generate button */
button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: linear-gradient(135deg, #4f7cff, #7a5cff);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  transform: translateY(-2px);
}

/* Output box */
#output {
  height: 140px;
  resize: none;
}

/* Close button */
.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}
