/* ================================================================
   RequestSheet — Production Theme v2.0
   Custom-built. No frameworks. No legacy. Just clean.
   ================================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Backgrounds */
  --bg:        #080810;
  --bg-1:      #0e0e1a;
  --bg-2:      #13131f;
  --bg-3:      #191926;
  --bg-card:   #0f0f1c;
  --bg-input:  #11111d;

  /* Borders */
  --border:    rgba(255,255,255,0.06);
  --border-md: rgba(255,255,255,0.1);
  --border-lg: rgba(255,255,255,0.16);

  /* Brand */
  --accent:        #7c6dfa;
  --accent-dim:    rgba(124,109,250,0.15);
  --accent-glow:   rgba(124,109,250,0.3);
  --accent-hover:  #9585fb;

  /* Semantic */
  --green:     #34d399;
  --green-dim: rgba(52,211,153,0.12);
  --amber:     #fbbf24;
  --amber-dim: rgba(251,191,36,0.12);
  --red:       #f87171;
  --red-dim:   rgba(248,113,113,0.12);
  --blue:      #60a5fa;
  --blue-dim:  rgba(96,165,250,0.12);

  /* Text */
  --text:      #f0f0f8;
  --text-2:    #a0a0b8;
  --text-3:    #58587a;

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

  /* Radii */
  --r-sm:  6px;
  --r:     10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow:    0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.7);
  --glow:      0 0 40px var(--accent-glow);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    180ms;

  /* Nav */
  --nav-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--accent-hover); }
button { cursor: pointer; font-family: var(--font); }
ul, ol { list-style: none; }
input, textarea, select { font-family: var(--font); }

/* ── Layout ── */
.wrap { padding-top: var(--nav-h); min-height: 100vh; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 760px; }
.container-xs { max-width: 480px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.display {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
p { color: var(--text-2); line-height: 1.7; }
strong, b { color: var(--text); font-weight: 600; }

.gradient-text {
  background: linear-gradient(120deg, #7c6dfa 0%, #b06dfa 50%, #fa6db0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: rgba(8,8,16,0.8);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease);
  gap: 32px;
}
.nav.solid { background: var(--bg-1); }

.nav-brand {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: var(--r);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* Nav dropdown - click-based */
.nav-dd { position: relative; }
.nav-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}
/* Invisible bridge so mouse can travel from trigger to menu without gap closing it */
.nav-dd-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}
.nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
}
.nav-dd-menu a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-dd-menu a svg { width: 15px; height: 15px; opacity: 0.6; flex-shrink: 0; }
.nav-dd-menu hr { border: none; border-top: 1px solid var(--border); margin: 5px 0; }
.nav-dd-menu a.danger { color: var(--red); }
.nav-dd-menu a.danger:hover { background: var(--red-dim); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: var(--r-pill) !important;
  font-size: 0.85rem !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Mobile nav */
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  color: var(--text);
  padding: 7px 10px;
  line-height: 1;
}
.nav-burger svg { width: 18px; height: 18px; display: block; }

@media (max-width: 860px) {
  .nav-burger { display: flex; align-items: center; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
  /* On mobile: flatten logged-in dropdown — show all links immediately */
  .nav-dd-menu { position: static; box-shadow: none; background: transparent; margin-top: 0; }
  .nav-dd.open .nav-dd-menu { display: block; }
  /* Auto-expand the user dropdown on mobile without needing a second tap */
  .nav-dd-user .nav-dd-menu { display: block !important; }
  .nav-dd-user > a:first-child { display: none; }
  .nav-dd-user .nav-dd-menu::before { display: none; }.nav-cta { margin-left: 0; text-align: center; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  border: none;
  border-radius: var(--r-pill);
  padding: 11px 24px;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn-secondary:hover {
  background: var(--bg-2);
  border-color: var(--border-lg);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-lg);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: none;
  padding: 8px 14px;
  border-radius: var(--r);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #ef4444; color: #fff; transform: translateY(-1px); }

.btn-success { background: var(--green); color: #080810; }
.btn-success:hover { background: #10b981; color: #080810; }

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-xl { padding: 16px 40px; font-size: 1.05rem; }
.btn-icon {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 9px 12px;
  font-size: 0.85rem;
}
.btn-icon:hover { background: var(--bg-2); color: var(--text); border-color: var(--border-md); }
.btn-block { width: 100%; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card:hover { border-color: var(--border-md); }
.card-sm { padding: 16px; border-radius: var(--r-md); }
.card-glow:hover { box-shadow: var(--glow); border-color: rgba(124,109,250,0.3); }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.form-input {
  display: block;
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 14px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input:disabled { opacity: 0.4; cursor: not-allowed; }
textarea.form-input { resize: vertical; min-height: 100px; }

.form-hint { font-size: 0.78rem; color: var(--text-3); margin-top: 5px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-check-label { font-size: 0.9rem; color: var(--text-2); line-height: 1.5; }

/* ── Alerts ── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r);
  font-size: 0.9rem;
  margin-bottom: 16px;
  border: 1px solid;
}
.alert svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--green-dim);  border-color: rgba(52,211,153,0.25); color: #6ee7b7; }
.alert-danger  { background: var(--red-dim);    border-color: rgba(248,113,113,0.25); color: #fca5a5; }
.alert-warning { background: var(--amber-dim);  border-color: rgba(251,191,36,0.25);  color: #fde68a; }
.alert-info    { background: var(--accent-dim); border-color: rgba(124,109,250,0.25); color: #c4bbfd; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ── Chips / Badges ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.chip svg { width: 10px; height: 10px; }
.chip-pending  { background: var(--amber-dim); color: var(--amber); }
.chip-accepted { background: var(--green-dim); color: var(--green); }
.chip-rejected { background: var(--red-dim);   color: var(--red); }
.chip-played   { background: var(--accent-dim); color: var(--accent); }
.chip-active   { background: var(--green-dim); color: var(--green); }
.chip-expired  { background: var(--red-dim);   color: var(--red); }
.chip-info     { background: var(--blue-dim); color: var(--blue); }

/* ── Sections ── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }
.section-dark { background: var(--bg-1); }
.section-alt  { background: var(--bg-2); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,109,250,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,109,250,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

/* Ambient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: drift 14s ease-in-out infinite alternate;
}
.blob-a { width: 700px; height: 700px; background: rgba(124,109,250,0.12); top: -200px; right: -200px; }
.blob-b { width: 500px; height: 500px; background: rgba(180,100,250,0.08); bottom: -150px; left: -150px; animation-delay: -5s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -20px) scale(1.08); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(124,109,250,0.2);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-body {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero-stat-l {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-top: 4px;
}

/* Hero mockup card */
.hero-mockup {
  position: relative;
}
.hero-mockup-card {
  background: var(--bg-card);
  border: 1px solid rgba(124,109,250,0.25);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: 0 0 80px rgba(124,109,250,0.12), var(--shadow-lg);
  max-width: 340px;
  margin-left: auto;
}
.mockup-req {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  margin-bottom: 8px;
  transition: border-color var(--t) var(--ease);
}
.mockup-req:last-of-type { margin-bottom: 0; }
.mockup-req-info { flex: 1; min-width: 0; }
.mockup-req-song { font-size: 0.85rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-req-by   { font-size: 0.72rem; color: var(--text-3); }
.mockup-votes    { font-size: 0.75rem; font-weight: 700; color: var(--red); white-space: nowrap; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--border);
}
.feature-cell {
  background: var(--bg-1);
  padding: 28px;
  transition: background var(--t) var(--ease);
}
.feature-cell:hover { background: var(--bg-2); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.feature-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ── Pricing cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(124,109,250,0.4); box-shadow: var(--glow); }
.pricing-card.featured { border-color: rgba(124,109,250,0.4); background: linear-gradient(160deg, rgba(124,109,250,0.07) 0%, var(--bg-card) 60%); }
.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: var(--r-pill);
}
.pricing-name { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pricing-price { font-size: 3.5rem; font-weight: 900; line-height: 1; color: var(--text); }
.pricing-price sup { font-size: 1.4rem; vertical-align: super; font-weight: 700; }
.pricing-period { font-size: 0.82rem; color: var(--text-3); margin-top: 4px; margin-bottom: 20px; }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
}
.pricing-feature svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* ── Auth ── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  position: relative;
}
.auth-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,109,250,0.07), transparent 60%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.auth-card-wide { max-width: 520px; }
.auth-logo {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo em { color: var(--accent); font-style: normal; }
.auth-title { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 0.9rem; color: var(--text-2); text-align: center; margin-bottom: 28px; }
.auth-footer { text-align: center; font-size: 0.875rem; color: var(--text-3); margin-top: 20px; }
.auth-footer a { color: var(--accent); }

/* ── Page header ── */
.page-head {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
}
.page-head .label { margin-bottom: 6px; display: block; }
.page-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.page-head p { font-size: 0.95rem; margin: 0; }

/* ── Profile banner ── */
.profile-banner-wrap {
  position: relative;
  border-radius: var(--r-lg);
  /* NO overflow:hidden here — that clips the avatar */
  margin-bottom: 0;
}
.profile-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
  border-radius: var(--r-lg);
}
.profile-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(8,8,16,0.65) 0%, transparent 50%);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.profile-banner-actions {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  gap: 8px;
}
/* Avatar sits OUTSIDE the banner overflow — positioned relative to banner-wrap */
.profile-avatar-wrap {
  position: absolute;
  bottom: -44px;
  left: 20px;
  z-index: 10;
  /* No overflow:hidden — let the border show */
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  object-fit: cover;
  object-position: center top;
  background: var(--bg-3);
  display: block;
}
.profile-meta {
  /* Layout controlled inline — avatar offset handled via padding-top */
  padding: 0;
}
.profile-username {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}
.profile-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Dashboard tabs ── */
.tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: max-content;
  background: none;
  border: none;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.tab-btn.active { background: var(--bg-3); color: var(--text); }

/* ── Request cards ── */
.req-list { display: flex; flex-direction: column; gap: 8px; }
.req-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.req-card:hover { background: var(--bg-2); border-color: var(--border-md); }
.req-info { flex: 1; min-width: 0; }
.req-song { font-size: 0.95rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req-meta { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }
.req-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: center; }

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red-dim);
  border: 1px solid rgba(248,113,113,0.2);
  color: var(--red);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  font-family: var(--font);
}
.vote-btn:hover { background: rgba(248,113,113,0.25); transform: scale(1.05); }
.vote-btn svg { width: 12px; height: 12px; }

.req-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-3);
}
.req-empty svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.25; }
.req-empty p { font-size: 0.9rem; margin: 0; }

/* ── Settings layout ── */
.settings-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 720px) { .settings-layout { grid-template-columns: 1fr; } }

.settings-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.settings-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--r);
  cursor: pointer;
  text-align: left;
  transition: all var(--t) var(--ease);
  text-decoration: none;
}
.settings-nav-btn svg { width: 15px; height: 15px; opacity: 0.6; flex-shrink: 0; }
.settings-nav-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.settings-nav-btn.active { background: var(--accent-dim); color: var(--accent); }
.settings-nav-btn.danger { color: var(--red); }
.settings-nav-btn.danger:hover { background: var(--red-dim); }

.settings-panel { display: none; }
.settings-panel.active { display: block; }
.settings-panel-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text);
}

/* ── Modal ── */
.modal-backdrop { background: rgba(0,0,0,0.8) !important; }
.modal-content {
  background: var(--bg-2) !important;
  border: 1px solid var(--border-md) !important;
  border-radius: var(--r-xl) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow-lg) !important;
}
.modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 18px 24px !important;
}
.modal-title {
  font-family: var(--font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--text) !important;
}
.modal-body { padding: 24px !important; }
.modal-footer { border-top: 1px solid var(--border) !important; padding: 14px 24px !important; }
.btn-close { filter: invert(1) opacity(0.5) !important; }
.btn-close:hover { filter: invert(1) opacity(1) !important; }

/* ── Footer (slim) ── */
.footer-slim {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-slim-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-slim-left {}
.footer-brand {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.footer-brand em { color: var(--accent); font-style: normal; }
.footer-slim-sub {
  font-size: .72rem;
  color: var(--text-3);
  margin-top: 2px;
}
.footer-slim-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-slim-links a {
  font-size: .78rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color .15s;
}
.footer-slim-links a:hover { color: var(--text); }
@media (max-width: 540px) {
  .footer-slim-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-slim-links { gap: 16px; }
}


/* ── Announcement items ── */
.ann-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.ann-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin: 0; flex: 1; }

/* ── Table ── */
.rs-table { width: 100%; border-collapse: collapse; }
.rs-table thead tr { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.rs-table th {
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  text-align: left;
}
.rs-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--t) var(--ease); }
.rs-table tbody tr:hover { background: var(--bg-2); }
.rs-table td { padding: 11px 18px; font-size: 0.9rem; color: var(--text-2); }

/* ── How it works steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; position: relative; transition: border-color var(--t) var(--ease); }
.step:hover { border-color: rgba(124,109,250,0.3); }
.step-num { font-family: var(--mono); font-size: 0.65rem; background: var(--accent-dim); color: var(--accent); border-radius: var(--r-sm); padding: 2px 8px; display: inline-block; margin-bottom: 14px; letter-spacing: 0.08em; }
.step-icon { width: 42px; height: 42px; border-radius: var(--r); background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 14px; }
.step-icon svg { width: 20px; height: 20px; }
.step-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, rgba(124,109,250,0.1) 0%, rgba(180,100,250,0.04) 100%);
  border: 1px solid rgba(124,109,250,0.2);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--glow);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── Prevent Bootstrap body scroll lock — DO NOT touch modal display ── */
body.modal-open {
  overflow: auto !important;
  overflow-y: auto !important;
  padding-right: 0 !important;
  height: auto !important;
}

/* ── Utilities ── */
.text-muted  { color: var(--text-2); }
.text-faint  { color: var(--text-3); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ── Fade-in ── */
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.55s var(--ease) forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── Testimonial ── */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.testimonial-body { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.testimonial-role { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }

/* ── FAQ ── */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t) var(--ease);
  margin-bottom: 8px;
}
.faq-item.open { border-color: rgba(124,109,250,0.3); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  gap: 16px;
}
.faq-arrow { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-3); transition: transform var(--t) var(--ease); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid var(--border);
}
.faq-a-inner { padding-top: 14px; font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .hero { min-height: auto; padding: 60px 0 60px; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-mockup-card { display: none; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .auth-card { padding: 24px; }
  .profile-banner { height: 160px; }
}

/* ── Dashboard action bar ────────────────────────
   .dash-actions: fills full row, each button equal
   width, icon + label stacked, no emoji
───────────────────────────────────────────────── */
.dash-actions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}
.dash-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  min-height: 68px;
  text-align: center;
}
.dash-btn svg { flex-shrink: 0; width: 20px; height: 20px; }
.dash-btn:hover { background: var(--bg-3); color: var(--text); border-color: var(--border-md); }
.dash-btn-danger  { color: var(--red)   !important; border-color: rgba(248,113,113,.25) !important; }
.dash-btn-danger:hover  { background: var(--red-dim) !important; }
.dash-btn-live    { color: var(--green) !important; border-color: rgba(52,211,153,.3)   !important; }
.dash-btn-live:hover    { background: var(--green-dim) !important; }
.dash-btn-offline { color: var(--red)   !important; border-color: rgba(248,113,113,.3)  !important; }
.dash-btn-offline:hover { background: var(--red-dim) !important; }

/* Mobile: stay 6 columns, scale down gracefully */
@media (max-width: 600px) {
  .dash-actions { gap: 5px; }
  .dash-btn { font-size: .64rem; padding: 12px 4px; min-height: 60px; gap: 6px; }
  .dash-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 440px) {
  .dash-actions { gap: 4px; }
  .dash-btn { font-size: .58rem; padding: 10px 3px; min-height: 56px; gap: 5px; letter-spacing: .04em; }
  .dash-btn svg { width: 17px; height: 17px; }
}
@media (max-width: 360px) {
  .dash-btn { font-size: .52rem; padding: 8px 2px; min-height: 52px; gap: 4px; letter-spacing: .02em; }
  .dash-btn svg { width: 15px; height: 15px; }
}

/* ── Request card buttons ────────────────────────
   Compact labeled pill buttons inside req-card rows
───────────────────────────────────────────────── */
.req-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  transition: background .15s;
}
.req-art-img {
  width: 44px; height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-3);
}
.req-art-ph {
  width: 44px; height: 44px;
  border-radius: 6px;
  background: var(--bg-3);
  flex-shrink: 0;
}
.req-info {
  flex: 1;
  min-width: 0;
}
.req-song   { font-weight: 700; font-size: .9rem; color: var(--text); line-height: 1.3; }
.req-artist { font-size: .78rem; color: var(--text-2); margin-top: 1px; line-height: 1.3; }
.req-meta   { font-size: .7rem; color: var(--text-3); margin-top: 3px; }
.req-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.req-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .15s, opacity .15s;
  white-space: nowrap;
  min-height: 30px;
}
.req-btn-ghost   { background: var(--bg-3);      color: var(--text-2);  border-color: var(--border); }
.req-btn-ghost:hover { background: var(--bg-2);   color: var(--text); }
.req-btn-success { background: var(--green-dim);  color: var(--green);   border-color: rgba(52,211,153,.25); }
.req-btn-success:hover { opacity: .8; }
.req-btn-accent  { background: var(--accent-dim); color: var(--accent);  border-color: rgba(124,109,250,.25); }
.req-btn-accent:hover  { opacity: .8; }
.req-btn-danger  { background: var(--red-dim);    color: var(--red);     border-color: rgba(248,113,113,.25); }
.req-btn-danger:hover  { opacity: .8; }
.req-btn-muted   { background: var(--bg-3);       color: var(--text-3);  border-color: var(--border); }
.req-btn-muted:hover   { background: var(--bg-2); color: var(--text-2); }
.req-votes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--red);
  padding: 4px 8px;
  background: var(--red-dim);
  border-radius: 6px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .req-btn span { display: none; }
  .req-btn      { padding: 6px 8px; }
  .req-votes span { display: inline; }
}

/* Add to Home Screen nav link — mobile only */
.nav-add-to-home { display: none !important; }
@media (max-width: 860px) {
  .nav-add-to-home { display: flex !important; }
}