/* ═══════════════════════════════════════════════════════════════════════════
   LIGHTNING WOLVES LYRICS STUDIO — Global Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --bg:       #0a0a0c;
  --surface:  #111115;
  --card:     #18181f;
  --border:   #2a2a35;
  --text:     #f0f0f4;
  --muted:    #8888aa;
  --accent:   #f5c518;   /* gold — overridden per wolf */
  --accent2:  #e8870a;   /* amber */
  --purple:   #9b6dff;
  --wolf-color: #f5c518; /* per-wolf override */
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, .heading {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Custom Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* ── Utility ────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.page { min-height: 100vh; position: relative; z-index: 1; }

/* ── Lightning Canvas ───────────────────────────────────────────────────── */
#lightning-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
#auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 60px rgba(245, 197, 24, 0.08);
}

.auth-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}

.auth-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.auth-sub {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.auth-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: var(--accent);
  color: #000;
}

.auth-form { text-align: left; }

.auth-error {
  background: rgba(255, 68, 85, 0.15);
  border: 1px solid #ff4455;
  border-radius: 6px;
  color: #ff6677;
  font-size: 0.85rem;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.auth-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   WOLF SELECTION PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.select-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}

.header-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.select-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  text-align: center;
}

.select-tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 48px;
  text-shadow: 0 0 40px rgba(245, 197, 24, 0.3);
}

/* Wolf Grid */
.wolf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 40px;
}

.wolf-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wolf-card.active:hover {
  transform: translateY(-6px);
  border-color: var(--wolf-color, var(--accent));
  box-shadow: 0 8px 40px rgba(245, 197, 24, 0.2);
}

.wolf-card[data-color="#f5c518"]:hover { box-shadow: 0 8px 40px rgba(245, 197, 24, 0.25); }
.wolf-card[data-color="#e8870a"]:hover { box-shadow: 0 8px 40px rgba(232, 135, 10, 0.25); }
.wolf-card[data-color="#9b6dff"]:hover { box-shadow: 0 8px 40px rgba(155, 109, 255, 0.25); }

.wolf-card.locked {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.7);
}

.wolf-img-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.wolf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.wolf-emoji, .lock-icon {
  font-size: 3.5rem;
  line-height: 120px;
  text-align: center;
}

.wolf-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.wolf-card.active:hover .wolf-glow { opacity: 0.25; }

.wolf-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.wolf-genre-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--tag-color, var(--accent));
  color: var(--tag-color, var(--accent));
  background: rgba(255,255,255,0.04);
}

.locked-tag {
  border-color: var(--border);
  color: var(--muted);
}

.locked-wrap {
  position: relative;
}

.locked-wrap img {
  opacity: 0.35;
  filter: saturate(0.6);
}

.wolf-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

/* Public Card */
.public-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(245,197,24,0.08), rgba(232,135,10,0.05));
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: 16px;
  padding: 20px 28px;
}

.public-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.public-card-icon { font-size: 2rem; }

.public-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.public-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.public-card-text { flex: 1; text-align: left; }

/* ═══════════════════════════════════════════════════════════════════════════
   STUDIO PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
#studio-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 5;
  gap: 12px;
}

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

.studio-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.studio-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.studio-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.artist-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wolf-color, var(--accent));
  box-shadow: 0 0 8px var(--wolf-color, var(--accent));
  flex-shrink: 0;
}

.artist-name-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--wolf-color, var(--accent));
}

.plan-badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(245, 197, 24, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.plan-badge.member {
  background: rgba(155, 109, 255, 0.15);
  border-color: var(--purple);
  color: var(--purple);
}

/* Studio body layout */
.studio-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Left Panel ─────────────────────────────────────────────────────────── */
.left-panel {
  width: 360px;
  min-width: 280px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px;
  overflow-y: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Field Group ────────────────────────────────────────────────────────── */
.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.label-optional { color: #555; font-size: 0.65rem; }

input, select, textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--wolf-color, var(--accent));
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

select option { background: var(--card); }
textarea { resize: vertical; min-height: 72px; }

/* ── Upload Zone ────────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--wolf-color, var(--accent));
  background: rgba(245, 197, 24, 0.05);
}

.upload-icon { font-size: 1.8rem; margin-bottom: 8px; }

.upload-text {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.upload-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.upload-info {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(245, 197, 24, 0.1);
  border-radius: 6px;
  padding: 6px 10px;
}

/* ── Generate Button ────────────────────────────────────────────────────── */
.btn-generate {
  background: var(--wolf-color, var(--accent));
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 6px;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(245, 197, 24, 0.4);
}

.btn-generate:active { transform: scale(0.98); }

.btn-generate::after {
  content: '';
  position: absolute;
  inset: -100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  animation: shimmer 2.4s infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.btn-lightning { font-size: 1.6rem; }

.btn-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.gen-error {
  background: rgba(255, 68, 85, 0.12);
  border: 1px solid rgba(255, 68, 85, 0.4);
  border-radius: 8px;
  color: #ff7788;
  font-size: 0.85rem;
  padding: 10px 12px;
  line-height: 1.4;
}

/* ── Right Panel ────────────────────────────────────────────────────────── */
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* Summary Card */
.summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.summary-wolf {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.summary-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.summary-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.summary-genre-badge {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--accent);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Waveform Loading */
.waveform-wrap {
  padding: 24px;
  flex-shrink: 0;
  text-align: center;
}

.waveform-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.generating-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}

.waveform-bar {
  width: 5px;
  background: var(--wolf-color, var(--accent));
  border-radius: 3px;
  animation: waveAnim 0.9s ease-in-out infinite alternate;
}

.waveform-bar:nth-child(1)  { animation-delay: 0.0s; }
.waveform-bar:nth-child(2)  { animation-delay: 0.05s; }
.waveform-bar:nth-child(3)  { animation-delay: 0.10s; }
.waveform-bar:nth-child(4)  { animation-delay: 0.15s; }
.waveform-bar:nth-child(5)  { animation-delay: 0.20s; }
.waveform-bar:nth-child(6)  { animation-delay: 0.25s; }
.waveform-bar:nth-child(7)  { animation-delay: 0.30s; }
.waveform-bar:nth-child(8)  { animation-delay: 0.35s; }
.waveform-bar:nth-child(9)  { animation-delay: 0.40s; }
.waveform-bar:nth-child(10) { animation-delay: 0.35s; }
.waveform-bar:nth-child(11) { animation-delay: 0.30s; }
.waveform-bar:nth-child(12) { animation-delay: 0.25s; }
.waveform-bar:nth-child(13) { animation-delay: 0.20s; }
.waveform-bar:nth-child(14) { animation-delay: 0.15s; }
.waveform-bar:nth-child(15) { animation-delay: 0.10s; }
.waveform-bar:nth-child(16) { animation-delay: 0.05s; }

@keyframes waveAnim {
  from { height: 6px; }
  to   { height: 44px; }
}

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.tabs-wrap {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  flex-shrink: 0;
}

.tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

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

.tab.active {
  color: var(--wolf-color, var(--accent));
  border-bottom-color: var(--wolf-color, var(--accent));
}

/* Tab panels */
.tab-content-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 2;
}

.empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* ── LYRICS TAB ─────────────────────────────────────────────────────────── */
.lyrics-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lyric-section-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--wolf-color, var(--accent));
  padding: 12px 0 4px;
  border-bottom: 1px solid rgba(245, 197, 24, 0.2);
  margin-bottom: 4px;
}

.lyric-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 5px 0;
}

.lyric-ts {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: var(--purple);
  min-width: 40px;
  flex-shrink: 0;
  font-weight: 500;
}

.lyric-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

/* ── SRT TAB ────────────────────────────────────────────────────────────── */
.srt-actions { margin-bottom: 16px; }

.srt-pre {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
}

/* ── BEAT CUTS TAB ─────────────────────────────────────────────────────── */
.beats-actions { margin-bottom: 16px; }

.beats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.beats-table th {
  text-align: left;
  padding: 10px 14px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.beats-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(42, 42, 53, 0.5);
}

.beats-table tr:hover td { background: rgba(255,255,255,0.02); }

.beat-ts {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
}

.beat-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
}

.beat-type-CUT   { background: rgba(245,197,24,0.15); color: #f5c518; border: 1px solid rgba(245,197,24,0.3); }
.beat-type-FADE  { background: rgba(77,159,255,0.15); color: #4d9fff; border: 1px solid rgba(77,159,255,0.3); }
.beat-type-ZOOM  { background: rgba(61,220,132,0.15); color: #3ddc84; border: 1px solid rgba(61,220,132,0.3); }
.beat-type-FLASH { background: rgba(232,135,10,0.15); color: #e8870a; border: 1px solid rgba(232,135,10,0.3); }

/* ── AI PROMPTS TAB ─────────────────────────────────────────────────────── */
.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prompt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  position: relative;
}

.prompt-section-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 8px;
}

.prompt-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  padding-right: 44px;
}

.prompt-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(155, 109, 255, 0.15);
  border: 1px solid var(--purple);
  color: var(--purple);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.prompt-copy-btn:hover { background: rgba(155, 109, 255, 0.3); }

/* ── VIDEO TIPS TAB ─────────────────────────────────────────────────────── */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.tip-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--wolf-color, var(--accent));
}

.tip-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--wolf-color, var(--accent));
  margin-bottom: 4px;
}

.tip-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MEMBER DASHBOARD
   ═══════════════════════════════════════════════════════════════════════════ */
.dashboard-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.dash-wolf-hero {
  text-align: center;
  padding: 40px 0 32px;
}

.dash-wolf-hero img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 16px;
}

.dash-wolf-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  color: var(--wolf-color, var(--accent));
}

.dash-badge {
  display: inline-block;
  margin-top: 8px;
  background: rgba(155, 109, 255, 0.15);
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.dash-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.dash-earnings {
  border-color: rgba(245, 197, 24, 0.35);
  background: linear-gradient(135deg, rgba(245,197,24,0.07), rgba(232,135,10,0.04));
}

.dash-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.dash-card-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.dash-card-value.gold { color: var(--accent); }

.dash-card-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.promo-section {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.promo-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.promo-code-display {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(245, 197, 24, 0.4);
  margin-bottom: 12px;
}

.promo-copy-hint {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--card);
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(245, 197, 24, 0.1);
}

.modal-icon { font-size: 3rem; margin-bottom: 16px; }

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn-gold {
  background: var(--wolf-color, var(--accent));
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--wolf-color, var(--accent));
  color: var(--wolf-color, var(--accent));
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

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

.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .wolf-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .wolf-img-wrap { width: 70px; height: 70px; }

  .wolf-name { font-size: 0.9rem; }

  .wolf-genre-tag { font-size: 0.6rem; padding: 2px 6px; }

  .public-card-inner { flex-wrap: wrap; }

  .studio-body { flex-direction: column; }

  .left-panel {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: 50vh;
  }

  .right-panel { flex: 1; min-height: 50vh; }

  .studio-header { flex-wrap: wrap; }

  .tab { padding: 12px 14px; font-size: 0.85rem; }

  .dash-grid { grid-template-columns: 1fr 1fr; }

  .select-tagline { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .wolf-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wolf-card { padding: 12px 8px; }
  .wolf-img-wrap { width: 56px; height: 56px; }
  .studio-brand { font-size: 0.85rem; }
  .artist-name-header, .artist-dot { display: none; }
}
