:root {
  --bg-dark: #120814;
  --card-bg: #1f1024;
  --card-border: #3d1e47;
  --rose: #f43f5e;
  --amber: #fbbf24;
  --cream: #fff1f2;
  --muted: #d8b4e2;
  --emerald: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", sans-serif;
  background: radial-gradient(circle at top center, #2e112d 0%, var(--bg-dark) 65%);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: rgba(18, 8, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-heart {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #120814;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: #160a1a;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

.lang-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}

.lang-btn.active {
  background: var(--rose);
  color: #fff;
}

.switch-proj, .switch-hub {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}

.switch-proj {
  background: rgba(0, 229, 255, 0.14);
  color: #67e8f9;
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.switch-hub {
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.funnel-insight {
  margin: 20px 0;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.funnel-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 920px) {
  .funnel-layout {
    grid-template-columns: 1fr;
  }
}

.wizard-card, .Vinyl-preview-card, .recipient-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.progress-header {
  margin-bottom: 24px;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #120814;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--amber));
  transition: width 0.35s ease;
}

.step-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.opt-card {
  background: #140918;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}

.opt-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}

.opt-card.selected {
  background: rgba(244, 63, 94, 0.18);
  border-color: var(--rose);
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.25);
}

.opt-emoji {
  font-size: 24px;
  margin-bottom: 6px;
  display: block;
}

.opt-title {
  font-weight: 700;
  font-size: 15px;
}

.opt-desc {
  font-size: 12px;
  color: var(--muted);
}

.text-input, .story-textarea {
  width: 100%;
  background: #120814;
  border: 1.5px solid var(--card-border);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 12px;
}

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

.voice-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn-voice {
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid var(--amber);
  color: var(--amber);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.prompt-chip {
  background: #140918;
  border: 1px solid var(--card-border);
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.prompt-chip:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}

.btn-prev {
  background: #140918;
  color: var(--muted);
  border: 1px solid var(--card-border);
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-next, .btn-romantic {
  background: linear-gradient(135deg, var(--rose), #e11d48);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35);
}

.btn-outline-rom {
  background: #140918;
  color: var(--cream);
  border: 1px solid var(--rose);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.vinyl-mini-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.vinyl-disc {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: repeating-radial-gradient(#111 0, #111 4px, #222 5px, #111 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  border: 2px solid #333;
}

.vinyl-disc.mini {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.vinyl-disc.spinning {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.vinyl-label {
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  color: #120814;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.side-title {
  font-weight: 800;
  font-size: 16px;
}

.side-sub {
  font-size: 12px;
  color: var(--muted);
}

.collected-memory-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mem-row {
  background: #140918;
  border: 1px solid var(--card-border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.funnel-math-card {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 14px;
  font-size: 12px;
}

.funnel-math-card h4 {
  color: var(--amber);
  margin-bottom: 8px;
}

.funnel-math-card ul {
  padding-left: 16px;
}

.funnel-math-card li {
  margin-bottom: 6px;
}

.karaoke-box {
  background: #120814;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0;
  max-height: 320px;
  overflow-y: auto;
  text-align: center;
}

.lyric-line {
  padding: 6px 0;
  color: var(--muted);
  font-size: 15px;
  transition: 0.25s;
}

.lyric-line.active {
  color: var(--amber);
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.paywall-box {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(251, 191, 36, 0.12));
  border: 1.5px solid var(--rose);
  border-radius: 14px;
  padding: 20px;
  margin-top: 18px;
  text-align: center;
}

.price-tag-big {
  font-size: 34px;
  font-weight: 900;
  color: var(--amber);
  margin: 8px 0;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.recipient-view {
  padding: 40px 0;
  text-align: center;
}

.recipient-badge {
  display: inline-block;
  background: rgba(244, 63, 94, 0.2);
  color: var(--amber);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vinyl-stage {
  display: flex;
  justify-content: center;
  margin: 22px 0;
}

.rec-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hidden { display: none !important; }

.footer {
  border-top: 1px solid var(--card-border);
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
