/* ============================================================
   UK.INK — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #1a1a1a;
  --bg-4:        #222222;
  --bg-5:        #2a2a2a;
  --gold:        #c9a84c;
  --gold-light:  #e8c56b;
  --gold-dark:   #a0823a;
  --gold-glow:   rgba(201,168,76,0.15);
  --text:        #f0f0f0;
  --text-muted:  #999;
  --text-dim:    #555;
  --border:      #222;
  --border-light:#333;
  --success:     #4caf50;
  --warning:     #e8a020;
  --error:       #e53935;
  --star:        #f5a623;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow:      0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.8);
  --transition:  all 0.2s ease;
  --max-width:   1220px;
  --header-h:    72px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { color: var(--text-muted); }

.serif { font-family: 'Playfair Display', Georgia, serif; }
.gold  { color: var(--gold); }
.muted { color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section   { padding: 80px 0; }
.section-sm{ padding: 48px 0; }
.divider   { height: 1px; background: var(--border); margin: 48px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text);
}
.logo span { color: var(--gold); }
.logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-4); }
.nav-link.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  padding: 4px;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm  { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg  { padding: 14px 28px; font-size: 1rem; }
.btn-xl  { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }

.btn-secondary {
  background: var(--bg-4);
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover { background: var(--bg-5); border-color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-glow); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-light); }

.btn-danger {
  background: var(--error);
  color: #fff;
}
.btn-danger:hover { background: #c62828; }

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-icon { padding: 8px; border-radius: var(--radius); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--bg-4);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--error); font-size: 0.82rem; margin-top: 4px; }
.form-hint { color: var(--text-dim); font-size: 0.82rem; margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.checkbox-pill:has(input:checked),
.checkbox-pill.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold);
}
.checkbox-pill input { display: none; }

/* ── Search Bar ──────────────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.search-bar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow), var(--shadow); }
.search-input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.search-input::placeholder { color: var(--text-dim); }
.search-divider { width: 1px; background: var(--border-light); margin: 12px 0; }
.search-btn {
  padding: 12px 24px;
  background: var(--gold);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px;
  border-radius: 10px;
}
.search-btn:hover { background: var(--gold-light); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 60%),
    url('https://picsum.photos/seed/tattoo1/1600/900') center/cover;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 40%, rgba(10,10,10,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 60px 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-glow);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.1rem; max-width: 520px; margin-bottom: 36px; }
.hero-search { max-width: 600px; margin-bottom: 32px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.hero-stat span { font-size: 0.82rem; color: var(--text-muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tag {
  padding: 5px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.hero-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── Section Headers ─────────────────────────────────────────── */
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 1rem; }
.section-header .flex-between { align-items: flex-start; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Studio Card */
.studio-card { display: flex; flex-direction: column; }
.studio-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.studio-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.studio-card:hover .studio-card-img img { transform: scale(1.05); }
.studio-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.studio-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.studio-card-body h3 { margin-bottom: 4px; font-size: 1.05rem; }
.studio-card-location { display: flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.studio-card-styles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.style-tag {
  padding: 3px 10px;
  background: var(--bg-4);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.studio-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.studio-card-price { font-size: 0.85rem; color: var(--text-muted); }
.studio-card-price strong { color: var(--text); }

/* Artist Card */
.artist-card { display: flex; flex-direction: column; align-items: center; padding: 24px 20px; text-align: center; }
.artist-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-light);
  margin-bottom: 14px;
  transition: var(--transition);
}
.artist-card:hover .artist-avatar { border-color: var(--gold); }
.artist-card h3 { font-size: 1rem; margin-bottom: 2px; }
.artist-studio { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.artist-specialties { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 12px; }
.artist-card .btn { width: 100%; margin-top: auto; }

/* ── Stars ───────────────────────────────────────────────────── */
.stars { display: flex; align-items: center; gap: 2px; }
.star { color: var(--text-dim); font-size: 1rem; }
.star.filled { color: var(--star); }
.star.half {
  position: relative;
  color: var(--text-dim);
}
.star.half::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--star);
  width: 50%;
  overflow: hidden;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-4);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.rating-badge .score { font-weight: 700; color: var(--gold); }
.rating-badge .count { color: var(--text-muted); font-size: 0.78rem; }

/* Interactive star rating */
.star-picker { display: flex; gap: 6px; cursor: pointer; }
.star-picker .star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.1s, transform 0.1s;
  padding: 0;
  line-height: 1;
}
.star-picker .star-btn:hover,
.star-picker .star-btn.active { color: var(--star); transform: scale(1.2); }

/* ── Filter Panel ────────────────────────────────────────────── */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filter-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.filter-panel h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.filter-option:hover { background: var(--bg-3); color: var(--text); }
.filter-option.active { background: var(--gold-glow); color: var(--gold); }
.filter-option input { display: none; }
.filter-count { margin-left: auto; font-size: 0.75rem; background: var(--bg-4); padding: 1px 7px; border-radius: 10px; color: var(--text-dim); }
.price-range { padding: 4px 0; }
.price-range input[type=range] { width: 100%; accent-color: var(--gold); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.filter-actions { display: flex; gap: 8px; margin-top: 20px; }

/* ── Results Header ──────────────────────────────────────────── */
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 0.9rem; color: var(--text-muted); }
.results-count strong { color: var(--text); }
.sort-select {
  padding: 8px 32px 8px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

/* ── Studio Profile ──────────────────────────────────────────── */
.profile-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.profile-hero img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
}
.profile-header {
  position: relative;
  z-index: 1;
  margin-top: -120px;
  padding: 0 0 32px;
}
.profile-header-inner {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}
.profile-logo {
  width: 100px; height: 100px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--border-light);
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}
.profile-info h1 { font-size: 2rem; margin-bottom: 6px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.profile-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.profile-tabs { border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.profile-tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Artist Row (in studio) ──────────────────────────────────── */
.artist-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.artist-row:hover { border-color: var(--border-light); }
.artist-row-img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}
.artist-row-info { flex: 1; min-width: 0; }
.artist-row-info h4 { margin-bottom: 2px; }
.artist-row-info p { font-size: 0.85rem; margin-bottom: 6px; }
.artist-row-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Review Card ─────────────────────────────────────────────── */
.review-card {
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-meta h5 { font-size: 0.9rem; margin-bottom: 2px; }
.review-date { font-size: 0.78rem; color: var(--text-dim); }
.review-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(76,175,80,0.15);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: auto;
}

/* ── Review Form ─────────────────────────────────────────────── */
.review-form-card {
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

/* ── Dashboard ───────────────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; min-height: calc(100vh - var(--header-h)); }
.sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 32px 0;
}
.sidebar-nav { padding: 0 12px; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.sidebar-nav-item:hover { background: var(--bg-3); color: var(--text); }
.sidebar-nav-item.active { background: var(--gold-glow); color: var(--gold); }
.sidebar-nav-item .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-section-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); padding: 12px 28px 6px; }
.dashboard-content { padding: 32px 32px 32px 0; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 1.75rem; margin-bottom: 4px; }
.dashboard-header p { font-size: 0.9rem; }

/* Stat cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.stat-card-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.stat-card-sub { font-size: 0.8rem; color: var(--text-dim); }
.stat-card.gold { border-color: rgba(201,168,76,0.3); background: linear-gradient(135deg, var(--bg-2), var(--gold-glow)); }
.stat-card.gold .stat-card-value { color: var(--gold); }

/* Table */
.table-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table-card-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.table-card-header h3 { font-size: 1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-3); }
.artist-table-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ── Alert / Toast ───────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.3); color: #81c784; }
.alert-error   { background: rgba(229,57,53,0.15); border: 1px solid rgba(229,57,53,0.3); color: #ef9a9a; }
.alert-info    { background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3); color: var(--gold-light); }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Empty State ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { margin-bottom: 8px; color: var(--text); }
.empty-state p { margin-bottom: 24px; font-size: 0.9rem; }

/* ── Ad Slots ────────────────────────────────────────────────── */
.ad-slot {
  background: var(--bg-3);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 90px;
  margin: 24px 0;
}
.ad-slot-leaderboard { min-height: 90px; }
.ad-slot-rectangle  { min-height: 250px; width: 300px; }
.ad-slot-banner     { min-height: 60px; }
/* Replace .ad-slot contents with actual Google AdSense <ins> tags when live */

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; margin: 16px 0 20px; max-width: 280px; }
.footer-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-dim); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Auth Pages ──────────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 40px 20px; }
.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.auth-card .logo { justify-content: center; font-size: 1.8rem; margin-bottom: 28px; }
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--bg-3); border-radius: var(--radius); padding: 4px; margin-bottom: 24px; }
.auth-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
}
.auth-tab.active { background: var(--bg-4); color: var(--text); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-dim); font-size: 0.8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--gold); }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-dim); }
.breadcrumb span { color: var(--text); }

/* ── Photo Upload ────────────────────────────────────────────── */
.photo-upload {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.photo-upload:hover { border-color: var(--gold); background: var(--gold-glow); }
.photo-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-upload .upload-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }
.photo-upload p { margin-bottom: 6px; font-size: 0.9rem; }
.photo-upload small { color: var(--text-dim); font-size: 0.78rem; }
.photo-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-preview-item { position: relative; aspect-ratio: 1; }
.photo-preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(229,57,53,0.9);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--border-light); color: var(--text); }
.page-btn.active { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .dashboard-content { padding: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .profile-header-inner { flex-direction: column; align-items: flex-start; }
  .profile-logo { width: 80px; height: 80px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .auth-card { padding: 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .search-bar { flex-direction: column; border-radius: var(--radius); }
  .search-btn { margin: 0 6px 6px; border-radius: var(--radius); }
}

/* ── Utility ─────────────────────────────────────────────────── */
.hidden { display: none !important; }
.visible { display: block !important; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-gold    { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.tag-success { background: rgba(76,175,80,0.15); color: var(--success); }
.tag-muted   { background: var(--bg-4); color: var(--text-muted); border: 1px solid var(--border); }
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.map-placeholder {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.info-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.info-box h4 { margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.info-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { color: var(--gold); width: 18px; flex-shrink: 0; margin-top: 1px; }
.info-val { color: var(--text-muted); }
.info-val a { color: var(--gold); }
