:root {
  --bg: #05060a;
  --card: rgba(16, 18, 27, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --field: rgba(255, 255, 255, 0.04);
  --field-border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(130, 18, 18, 0.28), transparent 35%),
    radial-gradient(circle at bottom, rgba(29, 39, 113, 0.22), transparent 40%),
    var(--bg);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
}

.generator-card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.generator-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.header-content {
  flex: 1;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  color: #ffffff;
}

.subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.creator-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
  padding: 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.creator-mini-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.creator-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.creator-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.creator-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.creator-username {
  font-size: 14px;
  color: var(--muted);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

select,
textarea,
input {
  width: 100%;
  border: 1px solid var(--field-border);
  background: var(--field);
  color: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

select:focus,
textarea:focus,
input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

select option {
  background: #11131a;
  color: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

#styleSelect,
#outputText {
  font-weight: 400;
}

#outputText {
  color: #ffffff;
}

#copyBtn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 17px;
  font-weight: 700;
  color: #05060a;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#copyBtn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

@media (max-width: 700px) {
  .generator-header {
    flex-direction: column;
    align-items: stretch;
  }

  .creator-mini-card {
    width: 100%;
  }

  h1 {
    font-size: 34px;
  }
}
