
:root {
  --font-inter: Inter, Arial, sans-serif;
  --font-display: Inter, Arial, sans-serif;
  --bg: #08080b;
  --surface: #111116;
  --surface-raised: #171720;
  --violet: #8b5cf6;
  --violet-bright: #a855f7;
  --lime: #c7ff3d;
  --text: #f7f7f4;
  --text-muted: #a7a7b2;
  --border: rgba(167, 167, 178, 0.28);
  --border-active: rgba(168, 85, 247, 0.78);
  --danger: #ff6b78;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-inter), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(199, 255, 61, 0.9);
  color: #08080b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-container {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.brand-compact {
  font-size: 1.25rem;
}

.brand-compact .sound-mark {
  transform: scale(0.8);
  transform-origin: left center;
  margin-right: -8px;
}

.sound-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 46px;
}

.sound-mark > span {
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--violet-bright), var(--lime));
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.45);
}

.guest-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.2), rgba(8, 8, 11, 0.58)),
    url("/neon-wave.webp") center bottom / cover no-repeat,
    var(--bg);
}

.guest-page::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 33% 28%, rgba(139, 92, 246, 0.12), transparent 29%),
    linear-gradient(180deg, rgba(8, 8, 11, 0.05) 42%, rgba(8, 8, 11, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.ambient-one {
  top: 18%;
  left: -10%;
  width: 430px;
  height: 430px;
  background: var(--violet);
}

.ambient-two {
  right: -10%;
  bottom: 8%;
  width: 330px;
  height: 330px;
  background: #6334b6;
}

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(167, 167, 178, 0.16);
  background: rgba(8, 8, 11, 0.6);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-chip,
.connection-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.5);
  color: #d7d7dc;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.dj-login-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(199, 255, 61, 0.38);
  border-radius: 999px;
  background: rgba(199, 255, 61, 0.08);
  color: var(--lime);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.dj-login-link:hover {
  border-color: rgba(199, 255, 61, 0.72);
  background: rgba(199, 255, 61, 0.14);
  transform: translateY(-1px);
}

.dj-login-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.live-dot,
.connection-chip > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 17px rgba(199, 255, 61, 0.7);
  animation: live-pulse 2.4s ease-in-out infinite;
}

.guest-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(470px, 0.94fr);
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
  min-height: calc(100svh - 158px);
  padding-block: 52px 64px;
}

.guest-copy {
  max-width: 690px;
  animation: reveal-up 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.guest-copy h1 {
  margin: 18px 0 28px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: clamp(4rem, 5.6vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.guest-copy h1 span {
  display: block;
  color: var(--violet-bright);
}

.guest-copy h1 strong {
  color: var(--lime);
  font-weight: inherit;
}

.guest-intro {
  max-width: 620px;
  margin: 0;
  color: #bebec8;
  font-size: 1.08rem;
  line-height: 1.65;
}

.mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 23px;
  margin-top: 34px;
  color: #d1d1d7;
  font-size: 0.83rem;
  font-weight: 600;
}

.mini-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-steps b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(199, 255, 61, 0.35);
  border-radius: 50%;
  color: var(--lime);
  font-size: 0.72rem;
}

.request-card {
  position: relative;
  min-height: 580px;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(168, 85, 247, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(27, 27, 38, 0.95), rgba(15, 15, 20, 0.95)),
    var(--surface);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    0 0 38px rgba(139, 92, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  animation: reveal-up 520ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.request-card form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 9px;
}

.form-row label,
.dj-login-card label {
  color: #f0f0ee;
  font-size: 0.91rem;
  font-weight: 650;
}

.form-row label span {
  color: var(--text-muted);
  font-weight: 400;
}

.form-row input,
.dj-login-card input,
.dashboard-search input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(167, 167, 178, 0.38);
  border-radius: 12px;
  outline: none;
  background: rgba(8, 8, 13, 0.66);
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-row input::placeholder,
.dj-login-card input::placeholder,
.dashboard-search input::placeholder {
  color: #777784;
}

.form-row input:hover,
.dj-login-card input:hover {
  border-color: rgba(168, 85, 247, 0.54);
}

.form-row input:focus,
.dj-login-card input:focus,
.dashboard-search input:focus {
  border-color: var(--border-active);
  background: rgba(13, 13, 19, 0.9);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.form-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 16px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error,
.dashboard-alert {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 120, 0.38);
  border-radius: 10px;
  background: rgba(255, 107, 120, 0.09);
  color: #ffb1b8;
  font-size: 0.84rem;
  line-height: 1.45;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  margin-top: 3px;
  padding: 0 23px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(96deg, #7c3aed 0%, #a855f7 32%, #c7ff3d 100%);
  box-shadow: 0 13px 32px rgba(139, 92, 246, 0.2);
  color: #08080b;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.submit-button:hover:not(:disabled) {
  box-shadow:
    0 14px 36px rgba(139, 92, 246, 0.3),
    0 0 28px rgba(199, 255, 61, 0.12);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.submit-button:active:not(:disabled) {
  transform: scale(0.99);
}

.submit-button:disabled {
  cursor: wait;
  filter: saturate(0.65);
  opacity: 0.78;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.trust-line > span {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(199, 255, 61, 0.7);
  border-radius: 8px;
  color: var(--lime);
  font-size: 0.72rem;
}

.success-state {
  display: flex;
  min-height: 502px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: reveal-up 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(199, 255, 61, 0.7);
  border-radius: 24px;
  background: rgba(199, 255, 61, 0.1);
  box-shadow: 0 0 32px rgba(199, 255, 61, 0.12);
  color: var(--lime);
  font-size: 2rem;
}

.success-state h2 {
  margin: 14px 0 13px;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.success-state > p:not(.eyebrow, .duplicate-note) {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.success-state > p strong {
  color: var(--text);
}

.duplicate-note {
  margin: 18px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #d5bfff;
  font-size: 0.8rem;
  font-weight: 600;
}

.secondary-button {
  min-height: 50px;
  margin-top: 26px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease;
}

.secondary-button:hover {
  border-color: rgba(199, 255, 61, 0.45);
  background: rgba(199, 255, 61, 0.06);
}

.success-promo {
  width: 100%;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(167, 167, 178, 0.16);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.success-promo div {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 11px;
}

.success-promo a {
  padding: 9px 13px;
  border: 1px solid rgba(167, 167, 178, 0.24);
  border-radius: 999px;
  color: var(--text);
  font-weight: 650;
}

.success-promo a:hover,
.footer-inner a:hover {
  color: var(--lime);
}

.guest-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(167, 167, 178, 0.11);
  background: rgba(8, 8, 11, 0.74);
  backdrop-filter: blur(16px);
}

.footer-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8e8e9b;
  font-size: 0.76rem;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
}

.footer-inner a {
  color: #c8c8ce;
  font-weight: 600;
  transition: color 160ms ease;
}

.privacy-note {
  color: #6f6f7a;
}

/* DJ login */

.dj-login-page {
  display: grid;
  position: relative;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(rgba(8, 8, 11, 0.5), rgba(8, 8, 11, 0.8)),
    url("/neon-wave.webp") center bottom / cover no-repeat,
    var(--bg);
}

.login-glow {
  position: absolute;
  top: -240px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.24);
  filter: blur(120px);
  pointer-events: none;
}

.dj-login-card {
  position: relative;
  width: min(100%, 470px);
  padding: 38px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 26px;
  background: rgba(17, 17, 22, 0.92);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(22px);
}

.dj-login-card > .eyebrow {
  margin-top: 42px;
}

.dj-login-card h1 {
  margin: 13px 0 13px;
  font-family: var(--font-display), sans-serif;
  font-size: 2.55rem;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.dj-login-card > p:not(.eyebrow) {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.dj-login-card form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.dj-login-card input {
  min-height: 62px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dj-login-card .submit-button {
  margin-top: 7px;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.back-link:hover {
  color: var(--lime);
}

/* DJ dashboard */

.dashboard-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% -10%, rgba(139, 92, 246, 0.12), transparent 32%),
    #0a0a0e;
}

.dashboard-header {
  display: flex;
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(24px, 4vw, 58px);
  border-bottom: 1px solid rgba(167, 167, 178, 0.15);
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(20px);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.connection-chip {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.73rem;
}

.connection-chip > span {
  width: 8px;
  height: 8px;
}

.connection-chip.offline > span {
  background: var(--danger);
  box-shadow: 0 0 17px rgba(255, 107, 120, 0.55);
}

.ghost-button,
.icon-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(167, 167, 178, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #d9d9dd;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  transition: border-color 160ms ease, background 160ms ease;
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 1.25rem;
}

.ghost-button:hover,
.icon-button:hover {
  border-color: rgba(199, 255, 61, 0.4);
  background: rgba(199, 255, 61, 0.05);
}

.dashboard-content {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
  padding: 42px 0 30px;
}

.dashboard-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.dashboard-intro h1 {
  margin: 7px 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.dashboard-stats {
  display: flex;
  gap: 8px;
}

.dashboard-stats span {
  display: grid;
  min-width: 105px;
  min-height: 70px;
  place-content: center;
  border: 1px solid rgba(167, 167, 178, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-align: center;
}

.dashboard-stats strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: 1.45rem;
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 35px 0 22px;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(167, 167, 178, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.tabs button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #91919c;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.tabs button span {
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #c9c9ce;
  font-size: 0.66rem;
}

.tabs button.active {
  background: rgba(139, 92, 246, 0.16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.26);
}

.tabs button.active span {
  background: var(--lime);
  color: #08080b;
}

.dashboard-search {
  display: flex;
  width: min(36vw, 410px);
  position: relative;
  align-items: center;
}

.dashboard-search > span:not(.sr-only) {
  position: absolute;
  z-index: 1;
  left: 16px;
  color: #777782;
  font-size: 1.3rem;
}

.dashboard-search input {
  min-height: 48px;
  padding-left: 44px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
}

.dashboard-alert {
  margin-bottom: 18px;
}

.wish-list {
  display: grid;
  gap: 12px;
}

.wish-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 134px;
  padding: 22px 24px;
  border: 1px solid rgba(167, 167, 178, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 55%),
    #111116;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.wish-card:hover {
  border-color: rgba(168, 85, 247, 0.32);
  transform: translateY(-1px);
}

.wish-card.status-played,
.wish-card.status-declined {
  opacity: 0.72;
}

.wish-card.status-played {
  border-color: rgba(199, 255, 61, 0.2);
}

.wish-priority {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.wish-time {
  color: #80808a;
  font-family: var(--font-display), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.vote-badge {
  padding: 6px 9px;
  border: 1px solid rgba(199, 255, 61, 0.34);
  border-radius: 999px;
  background: rgba(199, 255, 61, 0.07);
  color: var(--lime);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.wish-main {
  min-width: 0;
}

.wish-main h2 {
  overflow: hidden;
  margin: 0;
  color: #f5f5f3;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wish-artist {
  margin: 4px 0 0;
  color: #a9a9b4;
  font-size: 0.9rem;
}

.requester-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.requester-list > span {
  display: inline-flex;
  max-width: min(100%, 450px);
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.09);
  color: #aaaab5;
  font-size: 0.7rem;
}

.requester-list b {
  color: #d9d9de;
  font-weight: 700;
}

.requester-list em {
  overflow: hidden;
  color: #a8a8b2;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wish-actions {
  display: flex;
  gap: 8px;
}

.wish-actions button {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.wish-actions button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.play-button {
  border: 0;
  background: var(--lime);
  color: #08080b;
}

.skip-button,
.restore-button {
  border: 1px solid rgba(167, 167, 178, 0.24);
  background: rgba(255, 255, 255, 0.035);
  color: #c9c9cf;
}

.restore-button:hover,
.skip-button:hover {
  border-color: rgba(168, 85, 247, 0.46);
}

.empty-state {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed rgba(167, 167, 178, 0.21);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 65px;
  height: 65px;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--violet-bright);
  font-size: 1.8rem;
}

.empty-state h2 {
  margin: 19px 0 7px;
  font-family: var(--font-display), sans-serif;
  font-size: 1.4rem;
}

.empty-state p {
  max-width: 560px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 3px 0;
  color: #666671;
  font-size: 0.67rem;
}

/* QR modal */

.qr-backdrop {
  display: grid;
  position: fixed;
  z-index: 100;
  inset: 0;
  place-items: center;
  padding: 24px;
  background: rgba(2, 2, 4, 0.78);
  backdrop-filter: blur(14px);
}

.qr-modal {
  position: relative;
  width: min(100%, 510px);
  padding: 35px;
  border: 1px solid rgba(168, 85, 247, 0.48);
  border-radius: 25px;
  background: #15151b;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: modal-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.qr-modal h2 {
  margin: 10px 0 22px;
  font-family: var(--font-display), sans-serif;
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.qr-modal > p:not(.eyebrow) {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-close {
  display: grid;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(167, 167, 178, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #b6b6bf;
  cursor: pointer;
  font-size: 1.4rem;
}

.qr-image-wrap {
  display: grid;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  border: 10px solid #f7f7f4;
  border-radius: 18px;
  background: #f7f7f4;
  color: #08080b;
}

.qr-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-download {
  margin-top: 20px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes live-pulse {
  0%,
  70%,
  100% {
    transform: scale(1);
  }
  80% {
    transform: scale(1.18);
  }
}

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

@media (max-width: 1050px) {
  .site-container {
    width: min(100% - 56px, 920px);
  }

  .guest-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 45px 54px;
  }

  .guest-copy {
    max-width: 760px;
  }

  .guest-copy h1 {
    font-size: clamp(3.65rem, 8vw, 5.2rem);
  }

  .request-card {
    width: 100%;
    max-width: 720px;
    min-height: auto;
    justify-self: center;
  }

  .success-state {
    min-height: 470px;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 18px;
  }

  .wish-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .wish-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-container {
    width: min(100% - 32px, 640px);
  }

  .header-inner {
    height: 72px;
  }

  .brand {
    gap: 9px;
    font-size: 1.17rem;
  }

  .sound-mark {
    gap: 2px;
    transform: scale(0.72);
    transform-origin: left center;
    margin-right: -10px;
  }

  .live-chip {
    min-height: 38px;
    gap: 8px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .header-actions {
    gap: 8px;
  }

  .dj-login-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .dj-login-link span {
    display: none;
  }

  .live-dot {
    width: 8px;
    height: 8px;
  }

  .guest-page {
    overflow: visible;
    background-position: 52% bottom;
  }

  .guest-shell {
    min-height: auto;
    gap: 28px;
    padding-block: 38px 44px;
  }

  .guest-copy h1 {
    margin: 13px 0 20px;
    font-size: clamp(3.05rem, 14vw, 4.2rem);
  }

  .guest-intro {
    font-size: 0.96rem;
  }

  .mini-steps {
    display: none;
  }

  .request-card {
    padding: 22px;
    border-radius: 20px;
  }

  .request-card form {
    gap: 17px;
  }

  .form-split {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .form-row input {
    min-height: 57px;
    font-size: 16px;
  }

  .submit-button {
    min-height: 60px;
  }

  .success-state {
    min-height: 500px;
  }

  .footer-inner {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .privacy-note {
    display: none;
  }

  .dj-login-card {
    padding: 28px 22px;
  }

  .dashboard-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .dashboard-header .brand {
    font-size: 1rem;
  }

  .connection-chip,
  .dashboard-header .ghost-button:nth-of-type(2) {
    display: none;
  }

  .dashboard-header-actions {
    gap: 7px;
  }

  .ghost-button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .dashboard-content {
    width: min(100% - 28px, 680px);
    padding-top: 28px;
  }

  .dashboard-intro {
    display: grid;
    align-items: start;
  }

  .dashboard-intro h1 {
    font-size: 3rem;
  }

  .dashboard-stats {
    width: 100%;
  }

  .dashboard-stats span {
    flex: 1;
    min-width: 0;
    min-height: 64px;
  }

  .dashboard-toolbar {
    display: grid;
    margin-top: 26px;
  }

  .tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .tabs button {
    flex: 0 0 auto;
  }

  .dashboard-search {
    width: 100%;
  }

  .wish-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 19px;
  }

  .wish-priority {
    display: flex;
    align-items: center;
  }

  .wish-main h2 {
    white-space: normal;
  }

  .wish-actions {
    grid-column: 1;
  }

  .wish-actions button {
    flex: 1;
  }

  .dashboard-footer {
    display: grid;
    text-align: center;
  }

  .qr-modal {
    padding: 30px 22px 24px;
  }
}

@media (max-width: 430px) {
  .live-chip {
    display: none;
  }
}

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

@media print {
  body * {
    visibility: hidden !important;
  }

  .qr-modal,
  .qr-modal * {
    visibility: visible !important;
  }

  .qr-backdrop {
    position: absolute;
    inset: 0;
    background: white;
  }

  .qr-modal {
    width: 100%;
    border: 0;
    box-shadow: none;
    color: black;
  }

  .qr-close,
  .qr-download {
    display: none !important;
  }
}
