/* =====================================================================
   AI 영화 스튜디오 — Movie Studio 스타일 (큰 글씨 · 한글 · 초보자 친화)
   Dark theme, 친근한 카드형 UI. forge.js → aistudio_v2.js 와 짝.
   ===================================================================== */

.aistudio2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 28px 24px 60px;
  box-sizing: border-box;
  background: var(--bg, #0b0d11);
  color: var(--fg, #e8eaee);
  font-family: var(--font-stack, "SF Pro Text", system-ui, -apple-system, sans-serif);
  font-size: 15px;
  line-height: 1.55;
}

.ais2-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ----------------------------------------------------------- new-project intro */
.ais2-newhead {
  text-align: center;
  margin: 6px auto 28px;
  max-width: 620px;
}
.ais2-newhead-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #f3f5f8;
}
.ais2-newhead-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-muted, #9aa0a8);
}

/* ----------------------------------------------------------- cards */
.ais2-card {
  background: var(--surface, #14171c);
  border: 1px solid var(--border, #2a2f37);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 18px;
  transition: border-color .15s, box-shadow .15s;
}

/* Primary (required) card — gently highlighted so the eye lands here first
   and the rest of the form clearly reads as optional. */
.ais2-card-primary {
  border-color: rgba(92, 242, 192, .38);
  background:
    linear-gradient(180deg, rgba(92, 242, 192, .05), rgba(92, 242, 192, 0) 120px),
    var(--surface, #14171c);
  box-shadow: 0 6px 26px rgba(0, 0, 0, .28);
}

/* "필수" / "선택" pills on step titles */
.ais2-req,
.ais2-opt {
  font-style: normal;
  font-weight: 700;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.ais2-req {
  background: var(--accent, #5cf2c0);
  color: #06231b;
}
.ais2-opt {
  background: rgba(255, 255, 255, .06);
  color: var(--fg-muted, #9aa0a8);
  font-weight: 600;
}

.ais2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ais2-card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.ais2-card-sub {
  font-size: 14px;
  color: var(--fg-muted, #9aa0a8);
  margin: 0;
}

/* ----------------------------------------------------------- hero (nickname) */
.ais2-hero {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
}

.ais2-hero-mark { font-size: 52px; line-height: 1; }

.ais2-hero-title {
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
}

.ais2-hero-sub {
  font-size: 16px;
  color: var(--fg-muted, #aab0b8);
  line-height: 1.7;
  margin: 0 0 28px;
}
.ais2-hero-sub b { color: var(--accent, #5cf2c0); font-weight: 700; }

.ais2-nick-box {
  background: var(--surface, #14171c);
  border: 1px solid var(--border, #2a2f37);
  border-radius: 16px;
  padding: 30px 30px 32px;
  text-align: left;
}

.ais2-big-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ais2-help {
  font-size: 13.5px;
  color: var(--fg-muted, #9aa0a8);
  line-height: 1.65;
  margin: 6px 0 0;
}
.ais2-help b { color: #cfd4db; font-weight: 600; }

.ais2-nick-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .ais2-nick-row { flex-direction: column; }
}

/* ----------------------------------------------------------- inputs */
.ais2-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #d7dce2;
}
.ais2-field-label em,
.ais2-opt {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--fg-muted, #767c84);
}

.ais2-input,
.ais2-textarea,
select.ais2-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  background: var(--input-bg, #0f1216);
  border: 1px solid var(--border, #2a2f37);
  border-radius: 9px;
  color: var(--fg, #e8eaee);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s;
}

.ais2-input-lg { padding: 14px 16px; font-size: 17px; flex: 1; }

.ais2-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.ais2-textarea-lg { min-height: 120px; font-size: 15px; }

.ais2-input:focus,
.ais2-textarea:focus,
select.ais2-input:focus {
  border-color: var(--accent, #5cf2c0);
  box-shadow: 0 0 0 3px rgba(92,242,192,.12);
}

.ais2-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
@media (max-width: 640px) { .ais2-grid2 { grid-template-columns: 1fr; } }

.ais2-row-col { display: flex; flex-direction: column; }

/* ----------------------------------------------------------- buttons */
.ais2-btn {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--border, #3a4048);
  border-radius: 9px;
  color: var(--fg, #e8eaee);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .12s;
  white-space: nowrap;
}
.ais2-btn:hover { border-color: var(--accent, #5cf2c0); color: #fff; }

.ais2-btn-lg { padding: 13px 24px; font-size: 16px; }

.ais2-btn-primary {
  background: var(--accent, #5cf2c0);
  border-color: var(--accent, #5cf2c0);
  color: #06231b;
  font-weight: 700;
}
.ais2-btn-primary:hover { filter: brightness(1.08); color: #06231b; }
.ais2-btn-primary:disabled { opacity: .5; cursor: not-allowed; filter: none; }

.ais2-btn-ghost {
  border-style: dashed;
  color: var(--fg-muted, #9aa0a8);
  font-weight: 500;
}

.ais2-btn-danger { border-color: #d8615c; color: #d8615c; }
.ais2-btn-danger:hover { background: rgba(216,97,92,.1); color: #ff7a74; }

.ais2-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #d8615c;
  min-height: 18px;
}

/* ----------------------------------------------------------- topbar */
.ais2-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ais2-brand { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.ais2-brand-sm { font-size: 16px; font-weight: 700; color: #cfd4db; }
.ais2-spacer { flex: 1; }

.ais2-back {
  background: transparent;
  border: none;
  color: var(--fg-muted, #9aa0a8);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}
.ais2-back:hover { color: var(--accent, #5cf2c0); }

.ais2-userpill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border, #2a2f37);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.ais2-userpill-switch {
  background: transparent;
  border: none;
  color: var(--fg-muted, #767c84);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.ais2-userpill-switch:hover { color: var(--accent, #5cf2c0); }

/* ----------------------------------------------------------- step header */
.ais2-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.ais2-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent, #5cf2c0);
  color: #06231b;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ----------------------------------------------------------- upload / dropzone */
.ais2-uprow {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  align-items: flex-start;
}
@media (max-width: 640px) { .ais2-uprow { flex-direction: column; } }
.ais2-upcol { display: flex; flex-direction: column; }
.ais2-upcol-grow { flex: 1; }

.ais2-drop {
  position: relative;
  width: 160px;
  height: 160px;
  border: 2px dashed var(--border, #3a4048);
  border-radius: 12px;
  background: var(--input-bg, #0f1216);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color .12s;
}
.ais2-drop:hover { border-color: var(--accent, #5cf2c0); }
.ais2-drop-empty {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-muted, #767c84);
  text-align: center;
  padding: 10px;
}
.ais2-drop-img { width: 100%; height: 100%; object-fit: cover; }
.ais2-drop-x {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.ais2-drop-x:hover { background: #d8615c; }

.ais2-ref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.ais2-ref-thumb {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border, #2a2f37);
}
.ais2-ref-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ais2-ref-thumb button {
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}
.ais2-ref-thumb button:hover { background: #d8615c; }

/* ----------------------------------------------------------- style chips */
.ais2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}
.ais2-chip {
  padding: 9px 16px;
  border: 1px solid var(--border, #3a4048);
  border-radius: 999px;
  background: transparent;
  color: #cfd4db;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .12s;
}
.ais2-chip:hover { border-color: var(--accent, #5cf2c0); }
.ais2-chip-active {
  background: var(--accent, #5cf2c0);
  border-color: var(--accent, #5cf2c0);
  color: #06231b;
}

/* ----------------------------------------------------------- length cards */
.ais2-len-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .ais2-len-cards { grid-template-columns: 1fr; } }
.ais2-len-card {
  text-align: left;
  padding: 18px 20px;
  border: 2px solid var(--border, #2a2f37);
  border-radius: 12px;
  background: var(--input-bg, #0f1216);
  cursor: pointer;
  font-family: inherit;
  color: #cfd4db;
  transition: all .12s;
}
.ais2-len-card:hover { border-color: #3f5c52; }
.ais2-len-card b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 5px; color: #e8eaee; }
.ais2-len-card small { font-size: 13px; color: var(--fg-muted, #9aa0a8); line-height: 1.5; }
.ais2-len-active {
  border-color: var(--accent, #5cf2c0);
  background: rgba(92,242,192,.07);
}
.ais2-len-active b { color: var(--accent, #5cf2c0); }

.ais2-estimate {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(92,242,192,.06);
  border: 1px solid rgba(92,242,192,.18);
  font-size: 14px;
  color: #cfd4db;
}
.ais2-estimate b { color: var(--accent, #5cf2c0); }
.ais2-est-warn { color: #f2c85c; font-size: 12.5px; }

/* ----------------------------------------------------------- advanced details */
.ais2-adv summary {
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: #cfd4db;
}
.ais2-adv summary::-webkit-details-marker { display: none; }
.ais2-adv summary::before { content: "▸ "; color: var(--fg-muted, #767c84); }
.ais2-adv[open] summary::before { content: "▾ "; }

/* advanced visual-consistency toggles */
.ais2-adv-divider {
  margin: 22px 0 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border, #2a2e35);
  font-size: 14px;
  font-weight: 700;
  color: #cfd4db;
}
.ais2-adv-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.ais2-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--border, #2a2e35);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ais2-check:hover { border-color: var(--accent, #5cf2c0); }
.ais2-check input[type=checkbox] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #5cf2c0);
  flex: 0 0 auto;
  cursor: pointer;
}
.ais2-check b { display: block; font-size: 14px; font-weight: 600; color: #e6e9ee; }
.ais2-check small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--fg-muted, #9aa0a8);
  line-height: 1.6;
}

/* ----------------------------------------------------------- sticky actions */
.ais2-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

/* ----------------------------------------------------------- launch footer
   In-flow (NOT sticky) so it never floats over / hides the form while
   scrolling. A relaxed, centered call-to-action that invites the user to
   start rather than feeling like the bottom of a form. */
.ais2-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 34px 24px 8px;
  text-align: center;
}
.ais2-launch-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-muted, #9aa0a8);
}
.ais2-btn-hero {
  min-width: 280px;
  padding: 17px 40px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: -0.2px;
  box-shadow: 0 10px 30px rgba(92, 242, 192, .22);
}
.ais2-btn-hero:hover { transform: translateY(-1px); }
.ais2-btn-text {
  background: transparent;
  border: none;
  color: var(--fg-muted, #767c84);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .12s;
}
.ais2-btn-text:hover { color: #cfd4db; }

/* ----------------------------------------------------------- project list */
.ais2-projects { display: flex; flex-direction: column; gap: 10px; }
.ais2-empty {
  padding: 34px;
  text-align: center;
  color: var(--fg-muted, #767c84);
  font-size: 15px;
}
.ais2-proj-row {
  padding: 16px 18px;
  border: 1px solid var(--border, #2a2f37);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.ais2-proj-row:hover { border-color: var(--accent, #5cf2c0); background: rgba(92,242,192,.04); }
.ais2-proj-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ais2-proj-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #5cf280;
  vertical-align: middle;
}
.ais2-proj-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-muted, #9aa0a8);
  flex-wrap: wrap;
}

/* ----------------------------------------------------------- status pill */
.ais2-status-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.ais2-status { font-size: 14px; }
.ais2-status-planning { background: rgba(92,242,192,.1); color: #5cf2c0; }
.ais2-status-running  { background: rgba(92,154,242,.12); color: #7db0ff; }
.ais2-status-merging  { background: rgba(242,200,92,.12); color: #f2c85c; }
.ais2-status-done     { background: rgba(92,242,128,.16); color: #74f59a; }
.ais2-status-error    { background: rgba(216,97,92,.14); color: #ff7a74; }
.ais2-status-paused   { background: rgba(160,164,173,.14); color: #aab0b8; }

/* ----------------------------------------------------------- workspace */
.ais2-safe-note {
  background: rgba(92,154,242,.07);
  border: 1px solid rgba(92,154,242,.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #b9c4d4;
  margin: 0 0 18px;
}

.ais2-progress { margin-bottom: 18px; }
.ais2-progress-char { font-size: 14px; color: var(--fg-muted, #aab0b8); margin-bottom: 8px; }
.ais2-progress-bar {
  height: 10px;
  background: var(--input-bg, #0f1216);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 7px;
}
.ais2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5cf2c0, #74f59a);
  border-radius: 999px;
  transition: width .5s ease;
}
.ais2-progress-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--fg-muted, #aab0b8);
}
.ais2-progress-current { color: var(--accent, #5cf2c0); }

.ais2-work-actions { justify-content: flex-start; margin-bottom: 18px; }

.ais2-final-title { font-size: 18px; font-weight: 700; margin: 18px 0 10px; }
.ais2-final-video {
  width: 100%;
  max-width: 760px;
  border-radius: 12px;
  background: #000;
  margin-bottom: 12px;
  display: block;
}

/* ----------------------------------------------------------- scenes / cuts */
.ais2-scene {
  border: 1px solid var(--border, #2a2f37);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.ais2-scene-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.ais2-scene-summary { font-size: 14px; color: var(--fg-muted, #9aa0a8); margin-bottom: 12px; line-height: 1.55; }

.ais2-cuts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.ais2-cut {
  border: 1px solid var(--border, #2a2f37);
  border-radius: 10px;
  padding: 10px;
  background: rgba(255,255,255,.02);
}
.ais2-cut-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ais2-cut-num { font-size: 13px; font-weight: 800; color: var(--fg-muted, #aab0b8); }
.ais2-cut-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(160,164,173,.14);
  color: #aab0b8;
  font-weight: 600;
}
.ais2-cut-status-pending       { color: #767c84; }
.ais2-cut-status-image_running { background: rgba(92,154,242,.16); color: #7db0ff; }
.ais2-cut-status-video_running { background: rgba(242,200,92,.18); color: #f2c85c; }
.ais2-cut-status-done          { background: rgba(92,242,128,.18); color: #74f59a; }
.ais2-cut-status-error         { background: rgba(216,97,92,.18); color: #ff7a74; }

.ais2-mini {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border, #3a4048);
  color: var(--fg-muted, #9aa0a8);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.ais2-mini:hover { color: var(--accent, #5cf2c0); border-color: var(--accent, #5cf2c0); }

.ais2-cut-body { display: flex; flex-direction: column; gap: 8px; }
.ais2-cut-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  background: #0a0d10;
}
.ais2-cut-thumb-empty {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #14171c, #14171c 6px, #1a1d22 6px, #1a1d22 12px);
}
.ais2-cut-meta { display: flex; flex-direction: column; gap: 6px; }
.ais2-cut-prompt {
  font-size: 12.5px;
  color: #b9bfc7;
  line-height: 1.45;
  max-height: 56px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.ais2-cut-video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; }
.ais2-cut-error {
  font-size: 11.5px;
  color: #ff7a74;
  background: rgba(216,97,92,.1);
  padding: 5px 8px;
  border-radius: 7px;
}

.ais2-errors {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #d8615c;
  border-radius: 10px;
  background: rgba(216,97,92,.07);
}
.ais2-errors-title { font-size: 14px; font-weight: 700; color: #ff7a74; margin-bottom: 6px; }
.ais2-error-row {
  font-size: 12px;
  color: #ff9a95;
  margin-bottom: 3px;
  font-family: ui-monospace, "SF Mono", monospace;
}

/* =====================================================================
   Landing hero — galaxy backdrop + dark veil + big centered title
   (replaces the old plain nickname hero). The .aistudio2 scroll
   container gets position:relative so the full-bleed page can anchor.
   ===================================================================== */
.aistudio2 { position: relative; }

#ais2-page-nick.ais2-hero-galaxy {
  position: relative;
  flex: 1 1 auto;
  max-width: none;
  width: auto;
  /* Cancel .aistudio2 padding (28px 24px 60px) so the galaxy is full-bleed */
  margin: -28px -24px -60px;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 100% at 58% 46%, #0a0820 0%, #050312 55%, #010008 100%);
}

.ais2-galaxy-cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Dark veil: blackens the scene + a vignette so the title pops */
.ais2-hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 72% at 50% 46%, rgba(0,0,0,0) 38%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.92) 100%),
    rgba(0, 0, 0, .48);
}

.ais2-hero-center {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.ais2-hero-eyebrow {
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #9fb4ff;
  opacity: .9;
  margin-bottom: 20px;
}

.ais2-hero-bigtitle {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 48px rgba(0, 0, 0, .6);
}
.ais2-hero-bigtitle .wand {
  background: linear-gradient(90deg, #ffd59a, #ff9ec4 45%, #a98cff 75%, #6aa6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ais2-hero-tagline {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .74);
  margin: 24px auto 0;
  max-width: 34ch;
}

.ais2-hero-cta {
  margin-top: 40px;
  padding: 15px 42px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #0a0820;
  background: linear-gradient(90deg, #ffe0a3, #ffb0d0 55%, #b79bff);
  box-shadow: 0 8px 40px rgba(167, 140, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ais2-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 50px rgba(167, 140, 255, .5); }

.ais2-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* Secondary "다른 닉네임으로 시작" — quiet text link under the primary CTA */
.ais2-hero-switch {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px 6px;
  transition: color .15s ease;
}
.ais2-hero-switch:hover { color: #cdd6ff; }

/* Nickname step — revealed (glassy card) after pressing 시작하기 */
.ais2-hero-nickbox {
  margin: 30px auto 0;
  max-width: 470px;
  background: rgba(12, 10, 28, .55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 180, 255, .25);
  border-radius: 16px;
  padding: 24px 24px 26px;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.ais2-hero-nickbox .ais2-big-label { color: #fff; font-size: 16px; }
.ais2-hero-nickbox .ais2-help { color: rgba(255, 255, 255, .62); }
.ais2-hero-nickbox .ais2-help b { color: #cdd6ff; }
.ais2-hero-nickbox .ais2-input {
  background: rgba(0, 0, 0, .35);
  border-color: rgba(159, 180, 255, .3);
  color: #fff;
}
.ais2-hero-nickbox .ais2-input:focus {
  border-color: #a98cff;
  box-shadow: 0 0 0 3px rgba(169, 140, 255, .2);
}
