/* ═══════════════════════════════════════
   STAFF PAGE - NOCTURN
═══════════════════════════════════════ */

.staff-page {
  background: var(--bg);
  padding: 3rem 0 8rem;
  min-height: 100vh;
}

/* ── FILTERS ── */
.staff-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.staff-filter {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  transition: all 0.3s ease;
}

.staff-filter:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05); /* very subtle white glow */
}

.staff-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 20px rgba(176, 0, 58, 0.6);
}

/* ── GRID ── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── CARD ── */
.staff-card {
  position: relative;
  aspect-ratio: 9/13;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M7 0 C6 0 5 1 5 2 L5 13 C4 12 3 12 2 12 C1 12 0 13 0 14 C0 15 1 16 2 17 L7 22 C9 24 11 25 14 25 C18 25 22 21 22 17 L22 10 C22 9 21 8 20 8 C19 8 18 9 18 10 L18 8 C18 7 17 6 16 6 C15 6 14 7 14 8 L14 7 C14 6 13 5 12 5 C11 5 10 6 10 7 L10 2 C10 1 9 0 8 0 Z' fill='%23B0003A' stroke='%23100008' stroke-width='0.8' stroke-linejoin='round'/%3E%3C/svg%3E") 7 0, pointer;
  /* Appearance animation classes */
  transform: translateY(30px);
  opacity: 0;
}

.staff-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.staff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(176, 0, 58, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(176, 0, 58, 0.2);
}

/* ── PHOTO ── */
.staff-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.staff-card:hover .staff-photo img {
  transform: scale(1.06);
}

/* Deep glassmorphism gradient */
.staff-photo-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to top, rgba(7,3,5,0.98) 0%, rgba(7,3,5,0.85) 30%, rgba(7,3,5,0.2) 60%, transparent 100%);
  transition: background 0.4s ease;
}

.staff-card:hover .staff-photo-overlay {
  background:
    linear-gradient(to top, rgba(7,3,5,0.98) 0%, rgba(7,3,5,0.95) 50%, rgba(7,3,5,0.8) 100%);
}

/* ── CONTENT ── */
.staff-content {
  position: absolute;
  inset: 0;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.staff-content-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

/* HEADER (Always visible mostly) */
.staff-header {
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0);
}

.staff-card:hover .staff-header {
  transform: translateY(-8px);
  border-bottom-color: rgba(255,255,255,0.1);
  padding-bottom: 0.8rem;
}

.staff-role {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
  display: block;
  text-shadow: 0 0 10px rgba(176,0,58,0.5);
}

.staff-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.staff-langs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.staff-langs img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.8;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.staff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}

.staff-tag {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(0,0,0,0.4);
}

.staff-nsfw-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0;
}

.nsfw-yes { color: #2ecc71; }
.nsfw-no { color: #dc3545; }
.nsfw-maybe { color: #fd7e14; }

/* REVEAL (Hidden by default) */
.staff-reveal {
  position: relative;
  z-index: 2;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.5s ease, padding 0.5s ease;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.staff-card:hover .staff-reveal {
  max-height: 400px;
  opacity: 1;
  padding-top: 1rem;
}

.staff-bio {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  border-left: 2px solid var(--red);
  padding-left: 0.8rem;
}

.staff-kinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kink-col h4 {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.2rem;
}

.kink-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kink-col li {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
  position: relative;
  padding-left: 0.6rem;
}

.kink-col li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* HIDDEN CARDS */
.staff-card[style*="display: none"] { display: none !important; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 0 1rem;
  }
}
