/* ===== VIBE MATCH QUIZ ===== */

.quiz-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

/* Progress bar */
.quiz-progress {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 90;
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(255, 45, 135, 0.4);
}

/* Steps */
.quiz-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  width: 100%;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.quiz-step.exit-left {
  display: none;
}

.quiz-step-label {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
}

.quiz-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* Options grid */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.quiz-options-city {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .quiz-options { grid-template-columns: 1fr; }
}

.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: var(--surface);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  font-family: var(--font-body);
  color: var(--text);
}

.quiz-option:hover {
  border-color: rgba(255, 45, 135, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.quiz-option.selected {
  border-color: var(--accent-1);
  background: rgba(255, 45, 135, 0.1);
  box-shadow: 0 0 20px rgba(255, 45, 135, 0.2);
}

.quiz-option-icon {
  font-size: 32px;
}

.quiz-option-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-option-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Form step */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.quiz-input {
  padding: 16px 24px;
  background: rgba(15, 0, 32, 0.6);
  border: 2px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.quiz-input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.quiz-input::placeholder { color: var(--muted); }

.quiz-submit {
  width: 100%;
  padding: 18px 32px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  margin-top: 8px;
}

.quiz-submit:hover {
  background: #ff4da0;
  box-shadow: 0 0 20px rgba(255, 45, 135, 0.3);
}

/* Loading */
.quiz-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.quiz-loading.active {
  display: flex;
}

.quiz-loading-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  animation: loadPulse 1.5s ease-in-out infinite;
}

@keyframes loadPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.quiz-loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-loading-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  animation: loadFill 1.5s ease-in-out forwards;
}

@keyframes loadFill {
  to { width: 100%; }
}

/* Result */
.quiz-result {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.quiz-result.active {
  display: flex;
}

.quiz-result-inner {
  width: 100%;
}

.quiz-match-percent {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 800;
  line-height: 0.9;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-match-label {
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 16px;
}

.quiz-match-event {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quiz-match-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.quiz-result-actions .btn-ticket-lg {
  opacity: 1;
  transform: none;
  margin-top: 0;
}

.quiz-browse-link {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s;
}

.quiz-browse-link:hover { color: var(--text); }

.quiz-result-share {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quiz-share-label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.quiz-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.quiz-share-btn:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.quiz-persona-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.persona-emoji {
  font-size: 1.2em;
}

.quiz-persona-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 8px;
}

.quiz-persona-tagline {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.6;
  margin-bottom: 24px;
}

.quiz-your-event {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}

.quiz-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 60px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.quiz-download-btn:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ===== QUIZ ARTIST DISCOVERY ===== */

.quiz-artists-section {
  display: none;
  width: 100%;
  max-width: 600px;
  margin: 32px auto 0;
  text-align: left;
}

.quiz-artists-title {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}

.quiz-artist-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.quiz-artist-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.quiz-artist-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quiz-artist-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.quiz-artist-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.quiz-artist-tag {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 60px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--accent-2);
  text-transform: uppercase;
}

.quiz-artist-spotify {
  border-radius: 12px;
  margin-bottom: 12px;
}

.quiz-artist-event {
  display: block;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-1);
  transition: opacity 0.3s;
}

.quiz-artist-event:hover {
  opacity: 0.8;
}
