@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #16141c;
  --surface: #1f1b27;
  --surface-2: #272230;
  --border: #34303f;
  --text: #f3f1f7;
  --text-muted: #a39db0;
  --accent: #ff6b35;
  --accent-dark: #c44d22;
  --success: #4cd9a3;
  --success-bg: #163328;
  --danger: #ff5d6c;
  --danger-bg: #341c20;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.wrap.wide { max-width: 720px; }

h1.event-title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 40px;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 4px 0 2px;
  color: var(--text);
}

.event-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
}

/* ---- Disque vinyle autour des pochettes ---- */
.vinyl {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #0c0b10;
  box-shadow:
    0 0 0 2px #0c0b10,
    0 0 0 4px #2a2733,
    0 0 0 5px #0c0b10;
  overflow: hidden;
}
.vinyl img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.vinyl::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--bg);
  border-radius: 50%;
  border: 1px solid #000;
}

/* ---- Cartes génériques ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}
.track-row:hover { background: var(--surface-2); }
.track-row .meta { min-width: 0; }
.track-row .meta .t { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-row .meta .a { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

input[type="text"], input[type="number"], textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}
textarea { resize: vertical; min-height: 64px; }
input::placeholder, textarea::placeholder { color: #6b6578; }

label.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 18px 0 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-accent { background: var(--accent); color: #1a0f08; }
.btn-accent:hover { background: #ff7f4d; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-success { background: var(--success); color: #07261c; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }

.tip-options { display: flex; gap: 8px; flex-wrap: wrap; }
.tip-pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.tip-pill.active { border-color: var(--accent); background: rgba(255,107,53,0.15); color: var(--accent); }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-accent { background: rgba(255,107,53,0.15); color: var(--accent); }
.badge-muted { background: var(--surface-2); color: var(--text-muted); }

/* ---- Verrou réseau social ---- */
.lock-overlay {
  text-align: center;
  padding: 28px 18px;
}
.lock-overlay .vinyl-big {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #2a2733 0 2px, #1c1924 2px 5px);
  position: relative;
  box-shadow: 0 0 0 3px #0c0b10;
}
.lock-overlay .vinyl-big::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  background: var(--accent); border-radius: 50%;
}

/* ---- Dashboard ---- */
.req-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.req-card .meta { flex: 1; min-width: 0; }
.req-card .meta .t { font-weight: 700; font-size: 15px; }
.req-card .meta .a { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.req-card .meta .msg { font-size: 13px; color: var(--text); background: var(--surface-2); padding: 8px 10px; border-radius: 8px; margin-top: 6px; }
.req-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab-btn {
  flex: 1 1 auto; min-width: 90px; padding: 10px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); font-weight: 600; cursor: pointer; font-size: 13px;
}
.tab-btn.active { background: var(--accent); color: #1a0f08; border-color: var(--accent); }
.empty-state { color: var(--text-muted); text-align: center; padding: 30px 10px; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
}
