* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  margin-top: 60px;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  text-align: center;
}

h1 { margin: 0 0 6px; font-size: 24px; }
.subtitle { margin: 0 0 20px; color: #666; font-size: 14px; }

.output {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.output input {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.output button {
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: #10b981;
  color: #fff;
  cursor: pointer;
}

.output button:hover { background: #059669; }

.options {
  text-align: left;
  margin-bottom: 16px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.options input[type="range"] {
  flex: 1;
}

#lengthValue {
  min-width: 24px;
  text-align: right;
  font-weight: 600;
}

#generateBtn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

#generateBtn:hover { background: #1d4ed8; }

.ad {
  width: 100%;
  min-height: 60px;
  margin: 14px 0;
}

footer {
  margin: 40px 0 20px;
  font-size: 13px;
  color: #888;
}
