/* ==========================================================================
   GigQ Design System — Neon Stage
   A live music request platform with dark venue aesthetics
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Light theme (musician dashboard) */
  --bg: #f8fafc;
  --bg-raised: #ffffff;
  --bg-sunken: #f1f5f9;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Shared accent colors */
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --purple: #a855f7;
  --purple-dim: #7c3aed;
  --purple-glow: rgba(168, 85, 247, 0.15);
  --gold: #f59e0b;
  --gold-dim: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.15);
  --red: #ef4444;
  --green: #22c55e;

  /* Typography */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Touch targets */
  --touch-min: 44px;
  --touch-md: 48px;
  --touch-lg: 56px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
}

/* Dark theme tokens */
[data-theme="dark"] {
  --bg: #0f172a;
  --bg-raised: #1e293b;
  --bg-sunken: #0b1120;
  --border: #334155;
  --border-hover: #475569;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
}

a {
  color: var(--cyan-dim);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--cyan);
}

[data-theme="dark"] a {
  color: var(--cyan);
}

[data-theme="dark"] a:hover {
  color: #67e8f9;
}

/* Buttons styled as links must use button colors, not link colors */
a.btn {
  color: inherit;
}

a.btn:hover {
  color: inherit;
}

a.btn--primary,
a.btn--primary:hover {
  color: #0a0e1a;
}

a.btn--purple,
a.btn--purple:hover {
  color: white;
}

a.btn--secondary {
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ---------- Layout: Container ---------- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 540px;
}

.container--wide {
  max-width: 1100px;
}

/* ---------- Layout: Dashboard Shell ---------- */
.dash-nav {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.dash-nav__brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan-dim);
  letter-spacing: -0.03em;
}

[data-theme="dark"] .dash-nav__brand {
  color: var(--cyan);
}

.dash-nav__links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  list-style: none;
}

.dash-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.dash-nav__links a:hover,
.dash-nav__links a.active {
  color: var(--text);
}

.dash-nav__user {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dash-main {
  padding: var(--space-2xl) 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card--flush {
  padding: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  min-height: var(--touch-min);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--cyan);
  color: #0a0e1a;
  font-weight: 700;
}

.btn--primary:hover {
  background: #06b6d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
}

.btn--secondary {
  background: var(--bg-sunken);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-raised);
}

.btn--purple {
  background: var(--purple);
  color: white;
}

.btn--purple:hover {
  background: var(--purple-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.btn--danger {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}

.btn--danger:hover {
  background: var(--red);
  color: white;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  background: var(--bg-sunken);
  color: var(--text);
}

.btn--sm {
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  min-height: 32px;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  min-height: var(--touch-md);
}

.btn--block {
  width: 100%;
}

/* Dark theme button overrides */
[data-theme="dark"] .btn--secondary {
  background: var(--bg-raised);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .btn--secondary:hover {
  border-color: var(--border-hover);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  min-height: var(--touch-min);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--bg-sunken);
  border-color: var(--border);
  color: var(--text);
}

.form-group small {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--red);
  font-size: 0.9rem;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge--draft {
  background: var(--bg-sunken);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge--live {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

.badge--ended {
  background: var(--bg-sunken);
  color: var(--text-muted);
}

.badge--boosted {
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
  50% { box-shadow: 0 0 8px 2px rgba(34, 211, 238, 0.2); }
}

/* ---------- Flash Messages ---------- */
.flash {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  animation: flash-in 0.3s var(--ease-out);
}

.flash--notice {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.flash--alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--red);
}

@keyframes flash-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Header ---------- */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.page-header h1 {
  margin: 0;
}

/* ---------- Table / List Items ---------- */
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  gap: var(--space-md);
  transition: background var(--duration-fast);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: var(--bg-sunken);
}

.list-item__content {
  flex: 1;
  min-width: 0;
}

.list-item__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.list-item__title a {
  color: inherit;
}

.list-item__title a:hover {
  color: var(--cyan-dim);
}

.list-item__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.list-item__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ---------- Room Code ---------- */
.room-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  background: var(--cyan-glow);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: inline-block;
}

[data-theme="dark"] .room-code {
  font-size: 2rem;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.empty-state__message {
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   AUDIENCE VIEW — Dark mobile-first experience
   ========================================================================== */

.audience-header {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.audience-header__brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cyan);
}

.audience-header__code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.audience-header__code span {
  color: var(--cyan);
  font-weight: 600;
}

.audience-artist {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.audience-artist__name {
  font-weight: 700;
  font-size: 1.1rem;
}

.audience-artist__venue {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.audience-artist__welcome {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-top: var(--space-xs);
}

/* Tabs */
.audience-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
}

.audience-tab {
  flex: 1;
  padding: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
  font-family: var(--font-body);
}

.audience-tab:hover {
  color: var(--text-secondary);
}

.audience-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.audience-tab__count {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Tab panels */
.audience-panel {
  display: none;
  padding: var(--space-sm);
}

.audience-panel.active {
  display: block;
}

.tabs--ready .audience-panel.active {
  animation: panel-in 0.15s var(--ease-out);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Song row */
.song-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  margin-bottom: 0.4rem;
  gap: var(--space-md);
  transition: background var(--duration-fast);
  min-height: 64px;
}

.song-row--tappable {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.song-row:active,
.song-row--tappable:active {
  background: var(--bg-sunken);
}

.song-row__info {
  flex: 1;
  min-width: 0;
}

.song-row__title {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
}

.song-row__artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.song-row__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.song-row--played {
  opacity: 0.35;
}

.song-row--boosted-played {
  opacity: 0.5;
  border-left: 3px solid var(--gold);
}

/* Vote button — vertically stacked: count on top, arrow below */
.vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  min-width: var(--touch-md);
}

.vote-btn__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}

.vote-btn__arrow {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  padding: 0;
}

.vote-btn__icon {
  width: 18px;
  height: 18px;
}

.vote-btn__arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.vote-btn__arrow:active {
  transform: scale(0.92);
}

.vote-btn--voted .vote-btn__count {
  color: var(--cyan);
}

.vote-btn--voted .vote-btn__arrow {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0f172a;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

/* Boost badge on requests */
.song-row--boosted {
  border-left: 3px solid var(--gold);
}

/* Boost attribution */
.boost-attribution {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--gold-dim);
  line-height: 1.2;
}

.boost-attribution__icon {
  font-size: 0.7rem;
  flex-shrink: 0;
}

.boost-attribution__names {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Boost action */
.boost-action {
  margin-top: 0.35rem;
}

.boost-btn {
  background: none;
  border: none;
  color: var(--gold-dim);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.boost-btn:hover {
  color: var(--gold);
}

.boost-confirm {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: panel-in 0.15s var(--ease-out);
}

.boost-confirm__text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.boost-confirm__yes {
  background: var(--gold);
  color: #0f172a;
  border: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  min-height: 28px;
}

.boost-confirm__no {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  cursor: pointer;
  min-height: 28px;
}

/* Request form */
.audience-request-btn {
  padding: var(--space-md);
  padding-top: var(--space-lg);
  margin-top: var(--space-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Join Page ---------- */
.join-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: var(--space-xl);
  text-align: center;
}

.join-page__brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: var(--space-xs);
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.join-page__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-2xl);
}

.join-page .form-group {
  text-align: left;
  width: 100%;
  max-width: 360px;
}

.join-page .form-group input {
  text-align: center;
  font-size: 1.1rem;
  padding: 0.9rem;
}

.join-page .room-code {
  font-size: 2.5rem;
  margin-bottom: var(--space-2xl);
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

/* ==========================================================================
   LIVE DASHBOARD — iPad glanceable view
   ========================================================================== */

.live-header {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.live-header__venue {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}

.live-header__status {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.live-header__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.live-section {
  padding: var(--space-lg) var(--space-xl);
}

.live-section__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: var(--space-md);
}

.live-section__label--purple {
  color: var(--purple);
}

.live-section__label--muted {
  color: var(--text-muted);
}

/* Live song rows — extra large for glanceability */
.live-song {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  gap: var(--space-lg);
}

.live-song__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.live-song__artist {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.live-song__votes {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
  min-width: 3rem;
  text-align: center;
}

.live-song__requester {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.live-song__played-btn {
  min-width: 120px;
  min-height: var(--touch-lg);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  background: var(--cyan);
  color: #0f172a;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-family: var(--font-body);
}

.live-song__played-btn:hover {
  background: #06b6d4;
  transform: scale(1.02);
}

.live-song__played-btn:active {
  transform: scale(0.97);
}

.live-song--played {
  opacity: 0.35;
}

.live-song--boosted {
  border-left: 4px solid var(--gold);
}

/* ==========================================================================
   ARTIST PUBLIC PAGE
   ========================================================================== */

.artist-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}

.artist-page__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  margin-bottom: var(--space-lg);
}

.artist-page__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.artist-page__bio {
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  line-height: 1.7;
}

.artist-page__live-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--cyan);
  color: #0f172a;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.artist-page__live-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(34, 211, 238, 0.4);
  color: #0f172a;
}

.artist-page__live-dot {
  width: 8px;
  height: 8px;
  background: #0f172a;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.social-icon:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  transform: translateY(-2px);
}

.social-icon svg {
  display: block;
}

.social-links--md .social-icon {
  width: 40px;
  height: 40px;
}
.social-links--md .social-icon svg {
  width: 20px;
  height: 20px;
}

.social-links--sm .social-icon {
  width: 32px;
  height: 32px;
}
.social-links--sm .social-icon svg {
  width: 16px;
  height: 16px;
}

[data-theme="dark"] .social-icon {
  background: var(--bg-sunken);
}

/* ---------- Profile Form Section Headings ---------- */
.form-section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xs);
}

.form-section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   LANDING PAGE
   ========================================================================== */

.landing-hero {
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.landing-hero__brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--cyan);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
  position: relative;
}

.landing-hero__tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  max-width: 540px;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.landing-hero__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: var(--space-2xl);
}

.landing-hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Landing: Sign-In Link ---------- */
.landing-signin {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 10;
}

/* ---------- Welcome Onboarding ---------- */
.welcome {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.welcome__header {
  margin-bottom: var(--space-2xl);
}

.welcome__greeting {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.welcome__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.welcome__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.welcome__card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.welcome__card:hover {
  color: var(--text);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08), var(--shadow-md);
  transform: translateY(-2px);
}

.welcome__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cyan-glow);
  color: var(--cyan);
  margin-bottom: var(--space-lg);
}

.welcome__card-icon--purple {
  background: var(--purple-glow);
  color: var(--purple);
}

.welcome__card-icon--gold {
  background: var(--gold-glow);
  color: var(--gold);
}

.welcome__card-step {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.welcome__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.welcome__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.welcome__card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-top: var(--space-lg);
  transition: gap var(--duration-fast) var(--ease-out);
}

.welcome__card:hover .welcome__card-link {
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .welcome__cards {
    grid-template-columns: 1fr;
  }

  .welcome__greeting {
    font-size: 1.4rem;
  }
}

/* ---------- Utility ---------- */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-cyan { color: var(--cyan); }
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
