* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa; color: #1a1a1a; line-height: 1.5;
}
.layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 32px; max-width: 1400px; margin: auto; padding: 24px;
}

/* SIDEBAR */
.sidebar {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  position: sticky; top: 24px; align-self: start; height: fit-content;
}
.avatar-wrap { text-align: left; }
.avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fff;
  box-shadow: 0 0 0 2px #eee;
}
.sidebar h1 { margin: 14px 0 12px; font-size: 1.3rem; font-weight: 700; }
.info { list-style: none; font-size: .82rem; color: #555; line-height: 1.9; margin-bottom: 14px; }
.verified {
  background: #f0f7ff; color: #1e6fff; padding: 8px 10px;
  border-radius: 8px; font-size: .8rem; margin-bottom: 14px;
}
.btn-primary, .btn-secondary {
  display: block; width: 100%; padding: 10px;
  border: 0; border-radius: 24px; margin-bottom: 8px;
  cursor: pointer; font-weight: 600; font-size: .9rem;
}
.btn-primary { background: #1e6fff; color: #fff; }
.btn-secondary { background: #f1f3f5; color: #333; }
.hire-box {
  border: 1px solid #eee; border-radius: 12px;
  padding: 12px; margin: 16px 0;
}
.hire-box h4 { font-size: .85rem; margin-bottom: 10px; }
.hire-box a {
  display: block; padding: 8px 0; color: #333;
  text-decoration: none; font-size: .85rem; border-bottom: 1px solid #f5f5f5;
}
.hire-box a:last-child { border-bottom: 0; }
.stats { list-style: none; margin: 16px 0; }
.stats li {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: .85rem; color: #666;
}
.stats b { color: #111; }
.social h5 {
  font-size: .7rem; color: #999;
  letter-spacing: 1px; margin-bottom: 10px;
}
.social a {
  display: block; padding: 8px 10px; background: #f8f9fa;
  border-radius: 8px; margin-bottom: 6px;
  color: #333; text-decoration: none; font-size: .85rem;
}

/* MAIN */
.tabs {
  display: flex; gap: 32px;
  border-bottom: 1px solid #eee; margin-bottom: 24px;
}
.tab {
  padding: 12px 0; color: #888; text-decoration: none;
  font-weight: 500; font-size: .95rem; transition: .2s;
  cursor: pointer;
}
.tab.active { color: #000; border-bottom: 2px solid #000; }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.card figcaption {
  padding: 10px 12px; font-size: .82rem;
  display: flex; justify-content: space-between; align-items: center;
}
.card figcaption span { color: #888; text-transform: capitalize; font-size: .75rem; }
.card.hidden { display: none; }

/* HIRE BANNER */
.hire-banner {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.85); color: #fff;
  padding: 10px 16px; border-radius: 50px;
  display: flex; align-items: center; gap: 12px;
  font-size: .85rem; backdrop-filter: blur(8px);
  z-index: 100;
}
.hire-banner img { width: 28px; height: 28px; border-radius: 50%; }
.hire-banner button {
  background: #fff; color: #000; border: 0;
  padding: 6px 14px; border-radius: 20px;
  cursor: pointer; font-weight: 600;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ====== LIGHTBOX (v2.0) ====== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000; padding: 24px;
}
.lightbox.open { display: flex; }
.lb-stage {
  max-width: 1100px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
#lb-img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 10px 60px rgba(0,0,0,.6);
}
.lb-info { color: #fff; text-align: center; max-width: 700px; }
.lb-info h3 { font-size: 1.4rem; margin-bottom: 6px; }
.lb-info p { color: #bbb; font-size: .95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1);
  border: 0; color: #fff; font-size: 2rem;
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 24px; font-size: 1.6rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ====== ADMIN STYLES ====== */
.admin-wrap { max-width: 1200px; margin: 32px auto; padding: 0 24px; }
.admin-nav {
  display: flex; gap: 10px; padding: 14px;
  background: #fff; border-radius: 12px; margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  flex-wrap: wrap;
}
.admin-nav a {
  color: #444; text-decoration: none; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; font-size: .9rem;
}
.admin-nav a:hover { background: #f1f3f5; }
.admin-nav a.danger { color: #c00; margin-left: auto; }
.admin-card {
  background: #fff; padding: 24px;
  border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.admin-card h2 { margin-bottom: 16px; }
.form-grid { display: grid; gap: 12px; }
.form-grid label { font-size: .85rem; color: #555; font-weight: 500; }
.form-grid input, .form-grid textarea, .form-grid select {
  padding: 10px 12px; border: 1px solid #ddd;
  border-radius: 8px; font-size: .9rem; font-family: inherit;
}
.form-grid textarea { min-height: 80px; resize: vertical; }
.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: .9rem; }
.alert.success { background: #e6f7e6; color: #2a7a2a; }
.alert.error { background: #fde8e8; color: #c00; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 18px;
}
.admin-tile {
  background: #fff; border: 1px solid #eee;
  border-radius: 10px; overflow: hidden;
  cursor: grab; transition: transform .2s;
}
.admin-tile:active { cursor: grabbing; }
.admin-tile.dragging { opacity: .4; transform: scale(.95); }
.admin-tile img { width: 100%; height: 180px; object-fit: cover; }
.admin-tile .meta { padding: 10px; }
.admin-tile .meta b { font-size: .85rem; display: block; }
.admin-tile .meta small { color: #888; font-size: .75rem; }
.admin-tile .actions {
  display: flex; gap: 6px; padding: 8px 10px;
  border-top: 1px solid #f3f3f3;
}
.admin-tile .actions a {
  flex: 1; text-align: center; padding: 6px;
  font-size: .8rem; border-radius: 6px; text-decoration: none;
}
.admin-tile .actions .edit { background: #e8f0ff; color: #1e6fff; }
.admin-tile .actions .del { background: #fde8e8; color: #c00; }

.login-box {
  max-width: 360px; margin: 80px auto; background: #fff;
  padding: 32px; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.login-box h2 { margin-bottom: 18px; }

/* v2.1 additions */
.sidebar .bio {
  font-size: .85rem;
  color: #555;
  line-height: 1.6;
  margin: 14px 0;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}


/* ====== v2.2 video styles - APPEND to style.css ====== */
.card.is-video, .admin-tile.is-video { position: relative; }
.card video, .admin-tile video {
  width: 100%; height: 240px;
  object-fit: cover; display: block; background: #000;
}
.admin-tile video { height: 180px; }

.play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(0,0,0,.65);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem;
  pointer-events: none;
  transition: background .2s, transform .2s;
}
.card:hover .play-badge {
  background: rgba(30,111,255,.95);
  transform: translate(-50%, -50%) scale(1.1);
}

.lb-stage #lb-media {
  width: 100%;
  display: grid; place-items: center;
}
.lb-stage video {
  max-width: 100%; max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
  background: #000;
}
.lb-stage img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
}


