* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea, #764ba2);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper {
  width: 95%;
  max-width: 520px;
}

.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(25px);
  padding: 30px;
  border-radius: 22px;
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Form Fields */

.form-group input,
select {
  width: 100%;
  padding: 11px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.form-group input {
  background: rgba(255,255,255,0.9);
  color: #333;
}

select {
  background: rgba(255,255,255,0.9);
  color: #333;
  cursor: pointer;
}

label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  opacity: 0.85;
}

/* Star Rating */

.rating {
  margin: 18px 0;
}

.stars span {
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.stars span:hover {
  transform: scale(1.3);
}

/* Two Column Rows */

.row {
  display: flex;
  gap: 12px;
}

/* Generate Button */

.generate-btn {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 14px;
  font-weight: bold;
  font-size: 15px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Reviews */

.reviews-container {
  margin-top: 25px;
}

.review-card {
  background: rgba(255,255,255,0.25);
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.review-card button {
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

/* Loading */

.loading {
  margin-top: 15px;
  font-style: italic;
  opacity: 0.8;
  animation: pulse 1.2s infinite;
}

.hidden {
  display: none;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}
