/* ==========================================================================
   LyricBingo — Public pages (landing + login/register)
   Spotify-inspired: black canvas, green accent, bold type, clean cards
   ========================================================================== */

/* ── Scroll unlock (beatdesk-v2.css locks #lb-v2-root on desktop) ── */
html.lb-v2-html:has(.v2-welcome),
html.lb-v2-html:has(.wx-auth-page),
body.lb-v2-active:has(.v2-welcome),
body.lb-v2-active:has(.wx-auth-page) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

#lb-v2-root:has(.v2-welcome),
#lb-v2-root:has(.wx-auth-page),
.lb-v2.v2-public-root:has(.v2-welcome),
.lb-v2.v2-public-root:has(.wx-auth-page) {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
}

.wx-site.wx-spotify.v2-welcome,
.wx-site.wx-spotify.wx-auth-page {
  overflow: visible !important;
  width: 100%;
}

.wx-site.wx-spotify,
.lb-v2 .wx-site.wx-spotify {
  --wx-bg: #000000;
  --wx-panel: #121212;
  --wx-elevated: #181818;
  --wx-hover: #282828;
  --wx-line: rgba(255, 255, 255, 0.1);
  --wx-text: #ffffff;
  --wx-muted: #b3b3b3;
  --wx-green: #1ed760;
  --wx-green-hover: #1fdf64;
  --wx-max: min(1180px, calc(100% - 2.5rem));
  --wx-font: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--wx-bg);
  color: var(--wx-text);
  font-family: var(--wx-font);
  min-height: 100vh;
}

.wx-spotify .wx-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wx-spotify .wx-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.wx-spotify .wx-ambient__orb--1 {
  width: 55vw;
  height: 55vw;
  top: -18%;
  left: -12%;
  background: rgba(30, 215, 96, 0.2);
}

.wx-spotify .wx-ambient__orb--2 {
  width: 40vw;
  height: 40vw;
  top: 30%;
  right: -8%;
  background: rgba(139, 92, 246, 0.14);
}

.wx-spotify > :not(.wx-ambient) {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
.wx-spotify .wx-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.wx-spotify .wx-nav--minimal .wx-nav-links {
  display: none;
}

.wx-spotify .wx-nav-brand img {
  height: 34px;
  width: auto;
  display: block;
}

.wx-spotify .wx-nav-links {
  display: flex;
  gap: 1.5rem;
}

.wx-spotify .wx-nav-links a {
  color: var(--wx-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.wx-spotify .wx-nav-links a:hover {
  color: #fff;
}

.wx-spotify .wx-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wx-spotify .wx-nav-link {
  color: var(--wx-muted);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.wx-spotify .wx-nav-link:hover,
.wx-spotify .wx-nav-link[aria-current="page"] {
  color: #fff;
}

/* ── Buttons ── */
.wx-spotify .wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.wx-spotify .wx-btn:hover {
  transform: scale(1.04);
}

.wx-spotify .wx-btn--primary {
  background: var(--wx-green);
  color: #000;
}

.wx-spotify .wx-btn--primary:hover {
  background: var(--wx-green-hover);
}

.wx-spotify .wx-btn--ghost,
.wx-spotify .wx-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.wx-spotify .wx-btn--ghost:hover,
.wx-spotify .wx-btn--outline:hover {
  border-color: #fff;
}

.wx-spotify .wx-btn--lg {
  min-height: 48px;
  padding: 0 2rem;
  font-size: 0.9375rem;
}

.wx-spotify .wx-btn.wide {
  width: 100%;
}

/* ── Typography ── */
.wx-spotify .wx-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wx-green);
}

.wx-spotify .wx-grad {
  background: linear-gradient(90deg, #fff 20%, #1ed760 55%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Hero (landing) ── */
.wx-spotify .wx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: min(1240px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 1.5rem) clamp(2rem, 4vw, 3rem);
}

.wx-spotify .wx-hero__copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: none;
}

.wx-spotify .wx-hero-lede {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--wx-muted);
}

.wx-spotify .wx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.wx-spotify .wx-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--wx-line);
}

.wx-spotify .wx-hero__stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wx-spotify .wx-hero__stats span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wx-muted);
}

/* Device mock */
.wx-spotify .wx-hero__device {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wx-spotify .wx-device {
  width: min(100%, 380px);
  margin-inline: auto;
  border-radius: 12px;
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.wx-spotify .wx-device__top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--wx-line);
}

.wx-spotify .wx-device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.wx-spotify .wx-device__top b {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wx-green);
}

.wx-spotify .wx-device__body {
  padding: 1rem;
}

.wx-spotify .wx-device__now small {
  color: var(--wx-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wx-spotify .wx-device__now strong {
  display: block;
  margin: 0.25rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
}

.wx-spotify .wx-device__hints {
  display: flex;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.wx-spotify .wx-device__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.wx-spotify .wx-device__metrics b {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--wx-green);
}

.wx-spotify .wx-device__metrics span {
  font-size: 0.6875rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-device__board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.wx-spotify .wx-device__board > span {
  text-align: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-device__grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.wx-spotify .wx-device__grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--wx-hover);
  font-size: 0.625rem;
}

.wx-spotify .wx-device__grid span.free {
  background: var(--wx-green);
  color: #000;
  font-weight: 900;
}

/* ── Sections ── */
.wx-spotify .wx-section {
  max-width: var(--wx-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 4vw, 1.25rem);
}

.wx-spotify .wx-section-head {
  margin-bottom: 2rem;
}

.wx-spotify .wx-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: none;
}

.wx-spotify .wx-section-head p {
  margin: 0;
  color: var(--wx-muted);
  font-size: 1.0625rem;
  max-width: 48ch;
}

/* Feature tiles (Spotify playlist row) */
.wx-spotify .wx-tile-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wx-spotify .wx-tile {
  position: relative;
  min-height: 148px;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--wx-elevated);
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wx-spotify .wx-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: linear-gradient(135deg, var(--wx-tile-color, #1ed760), transparent 70%);
}

.wx-spotify .wx-tile--green { --wx-tile-color: #1ed760; }
.wx-spotify .wx-tile--purple { --wx-tile-color: #8b5cf6; }
.wx-spotify .wx-tile--blue { --wx-tile-color: #3b82f6; }
.wx-spotify .wx-tile--pink { --wx-tile-color: #e91479; }
.wx-spotify .wx-tile--lime { --wx-tile-color: #84cc16; }
.wx-spotify .wx-tile--violet { --wx-tile-color: #a855f7; }

.wx-spotify .wx-tile:hover {
  background: var(--wx-hover);
  transform: translateY(-2px);
}

.wx-spotify .wx-tile h3,
.wx-spotify .wx-tile p {
  position: relative;
  z-index: 1;
}

.wx-spotify .wx-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.wx-spotify .wx-tile p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* Steps */
.wx-spotify .wx-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.wx-spotify .wx-step {
  padding: 1.25rem 1rem;
  border-radius: 8px;
  background: var(--wx-elevated);
  border-top: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.wx-spotify .wx-step:hover {
  background: var(--wx-hover);
  border-top-color: var(--wx-green);
}

.wx-spotify .wx-step b {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wx-green);
}

.wx-spotify .wx-step strong {
  display: block;
  margin: 0.5rem 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 800;
}

.wx-spotify .wx-step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--wx-muted);
  line-height: 1.4;
}

/* Pricing */
.wx-spotify .wx-pricing {
  background: linear-gradient(180deg, #000, #0a0a0a 50%, #000);
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 4vw, 1.25rem);
}

.wx-spotify .wx-pricing__inner {
  max-width: var(--wx-max);
  margin: 0 auto;
}

.wx-spotify .wx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.wx-spotify .wx-price {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  background: var(--wx-elevated);
  border: 1px solid var(--wx-line);
  transition: transform 0.2s, background 0.2s;
}

.wx-spotify .wx-price:hover {
  background: var(--wx-hover);
  transform: translateY(-3px);
}

.wx-spotify .wx-price--hot {
  border-color: rgba(30, 215, 96, 0.45);
  background: linear-gradient(160deg, #142818, #121212);
}

.wx-spotify .wx-price__ribbon {
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--wx-green);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wx-spotify .wx-price h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
}

.wx-spotify .wx-price__amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.wx-spotify .wx-price__amount strong {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.wx-spotify .wx-price__amount em {
  color: var(--wx-muted);
  font-size: 0.9375rem;
  font-style: normal;
}

.wx-spotify .wx-price ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.wx-spotify .wx-price li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.2rem;
  font-size: 0.875rem;
  color: #ddd;
}

.wx-spotify .wx-price li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wx-green);
  font-weight: 800;
}

.wx-spotify .wx-price__note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--wx-muted);
  text-align: center;
}

/* Voices */
.wx-spotify .wx-voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wx-spotify .wx-voice {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--wx-elevated);
}

.wx-spotify .wx-voice blockquote {
  margin: 0;
}

.wx-spotify .wx-voice p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #e5e5e5;
}

.wx-spotify .wx-voice cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-voice cite strong {
  color: #fff;
}

/* FAQ */
.wx-spotify .wx-faq details {
  margin-bottom: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: var(--wx-elevated);
}

.wx-spotify .wx-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.wx-spotify .wx-faq summary::-webkit-details-marker {
  display: none;
}

.wx-spotify .wx-faq p {
  margin: 0.75rem 0 0;
  color: var(--wx-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Finale + footer */
.wx-spotify .wx-finale {
  text-align: center;
  padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 2rem);
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(30, 215, 96, 0.15), transparent);
}

.wx-spotify .wx-finale h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.wx-spotify .wx-finale p {
  margin: 0 0 2rem;
  color: var(--wx-muted);
  font-size: 1.0625rem;
}

.wx-spotify .wx-finale .wx-hero__cta {
  justify-content: center;
}

.wx-spotify .wx-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wx-max);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 1.25rem) 3rem;
  border-top: 1px solid var(--wx-line);
}

.wx-spotify .wx-footer nav {
  display: flex;
  gap: 1.25rem;
}

.wx-spotify .wx-footer nav a {
  color: var(--wx-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.wx-spotify .wx-footer nav a:hover {
  color: #fff;
}

.wx-spotify .wx-footer p {
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Reveal animation ── */
.wx-spotify .wx-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wx-spotify .wx-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   LOGIN / REGISTER
   ══════════════════════════════════════════════════════════════════════════ */

.wx-spotify.wx-auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wx-spotify .wx-auth-shell {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 1.5rem);
  width: 100%;
}

.wx-spotify .wx-auth-visual {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.wx-spotify .wx-auth-visual__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(30, 215, 96, 0.22), transparent 65%);
  pointer-events: none;
}

.wx-spotify .wx-auth-visual h1 {
  position: relative;
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.wx-spotify .wx-auth-visual__lede {
  position: relative;
  margin: 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--wx-muted);
}

.wx-spotify .wx-auth-perks {
  position: relative;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.wx-spotify .wx-auth-perks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.wx-spotify .wx-auth-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wx-green);
  font-weight: 900;
}

.wx-spotify .wx-auth-visual__card {
  position: relative;
  margin-top: 2rem;
  max-width: 320px;
  border-radius: 12px;
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  overflow: hidden;
}

.wx-spotify .wx-auth-visual__card-top {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.35);
}

.wx-spotify .wx-auth-visual__card-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.wx-spotify .wx-auth-visual__card-body {
  padding: 1.25rem;
}

.wx-spotify .wx-auth-visual__card-body small {
  color: var(--wx-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wx-spotify .wx-auth-visual__card-body strong {
  display: block;
  margin: 0.35rem 0 1rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.wx-spotify .wx-auth-visual__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.wx-spotify .wx-auth-visual__bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--wx-green);
  animation: wx-eq 1.2s ease-in-out infinite;
}

.wx-spotify .wx-auth-visual__bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.wx-spotify .wx-auth-visual__bars i:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.wx-spotify .wx-auth-visual__bars i:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wx-spotify .wx-auth-visual__bars i:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.wx-spotify .wx-auth-visual__bars i:nth-child(5) { height: 80%; animation-delay: 0.4s; }

@keyframes wx-eq {
  0%, 100% { transform: scaleY(0.65); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Auth form panel */
.wx-spotify .wx-auth-panel {
  padding: 2rem;
  border-radius: 12px;
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.wx-spotify .wx-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.wx-spotify .wx-auth-tabs a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wx-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.wx-spotify .wx-auth-tabs a.is-active {
  background: #fff;
  color: #000;
}

.wx-spotify .wx-auth-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wx-spotify .wx-auth-panel__sub {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.wx-spotify .wx-field span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wx-muted);
}

.wx-spotify .wx-input {
  width: 100%;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 8px;
  border: none;
  background: var(--wx-hover);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.wx-spotify .wx-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wx-spotify .wx-input:focus {
  outline: 2px solid var(--wx-green);
  outline-offset: 0;
}

.wx-spotify .wx-field--pw {
  position: relative;
}

.wx-spotify .wx-pw-toggle {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--wx-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.wx-spotify .wx-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-auth-row a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.wx-spotify .wx-auth-row a:hover {
  text-decoration: underline;
}

.wx-spotify .wx-auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--wx-muted);
}

.wx-spotify .wx-auth-switch a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.wx-spotify .wx-auth-switch a:hover {
  text-decoration: underline;
}

.wx-spotify .wx-auth-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wx-line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wx-muted);
}

.wx-spotify .v2-strength {
  margin-bottom: 1rem;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .wx-spotify .wx-nav-links {
    display: none;
  }

  .wx-spotify .wx-hero,
  .wx-spotify .wx-auth-shell {
    grid-template-columns: 1fr;
  }

  .wx-spotify .wx-hero__device {
    order: -1;
  }

  .wx-spotify .wx-steps,
  .wx-spotify .wx-pricing-grid,
  .wx-spotify .wx-voices,
  .wx-spotify .wx-screen-row {
    grid-template-columns: 1fr;
  }

  .wx-spotify .wx-auth-visual__card {
    display: none;
  }
}

@media (max-width: 520px) {
  .wx-spotify .wx-hero__cta,
  .wx-spotify .wx-finale .wx-hero__cta {
    flex-direction: column;
  }

  .wx-spotify .wx-hero__cta .wx-btn,
  .wx-spotify .wx-finale .wx-hero__cta .wx-btn {
    width: 100%;
  }

  .wx-spotify .wx-auth-panel {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-spotify .wx-reveal,
  .wx-spotify .wx-auth-visual__bars i,
  .wx-spotify .wx-marquee__track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Marquee (venue types) ── */
.wx-spotify .wx-marquee {
  border-block: 1px solid var(--wx-line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  padding: 0.85rem 0;
}

.wx-spotify .wx-marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: wx-marquee 32s linear infinite;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wx-muted);
}

.wx-spotify .wx-marquee__track em {
  color: var(--wx-green);
  font-style: normal;
  margin-right: 0.35rem;
}

@keyframes wx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Three-screen experience ── */
.wx-spotify .wx-screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wx-spotify .wx-screen {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--wx-elevated);
  border: 1px solid var(--wx-line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wx-spotify .wx-screen:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.wx-spotify .wx-screen__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wx-spotify .wx-screen--green .wx-screen__tag {
  background: rgba(30, 215, 96, 0.15);
  color: #1ed760;
}

.wx-spotify .wx-screen--purple .wx-screen__tag {
  background: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
}

.wx-spotify .wx-screen--pink .wx-screen__tag {
  background: rgba(233, 20, 121, 0.15);
  color: #f472b6;
}

.wx-spotify .wx-screen h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.wx-spotify .wx-screen p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--wx-muted);
}

/* ── Spotify-style playlist feature row ── */
.wx-spotify .wx-section--playlists {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.wx-spotify .wx-playlist-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 1.25rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.wx-spotify .wx-playlist-scroll::-webkit-scrollbar {
  height: 6px;
}

.wx-spotify .wx-playlist-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.wx-spotify .wx-play-card {
  flex: 0 0 min(220px, 72vw);
  scroll-snap-align: start;
  padding: 1rem;
  border-radius: 10px;
  background: var(--wx-elevated);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.wx-spotify .wx-play-card:hover {
  background: var(--wx-hover);
  transform: translateY(-2px);
}

.wx-spotify .wx-play-card__art {
  aspect-ratio: 1;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--wx-play-accent, #1ed760), rgba(0, 0, 0, 0.5));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.wx-spotify .wx-play-card__art span {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.wx-spotify .wx-play-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wx-spotify .wx-play-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wx-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
