/* ==========================================================================
   VCD7 Star Directory & Profile (Tokyo Celebrity Gallery)
   Version: 2026.10.ActorPortrait
   ========================================================================== */

.actor-directory, .actor-detail {
  padding-top: 36px;
  padding-bottom: 70px;
}

.actor-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.15));
  flex-wrap: wrap;
}

.actor-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright, #f5dc98);
  display: block;
  margin-bottom: 8px;
}

.actor-page-head h1 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.actor-head-desc {
  margin: 8px 0 0;
  color: var(--text-muted, #8c8577);
  font-size: 13px;
}

.actor-stat-pill {
  font-size: 11px;
  color: var(--gold-bright, #f5dc98);
  background: rgba(223, 196, 127, 0.08);
  border: 1px solid rgba(223, 196, 127, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-pill, 9999px);
}

/* ==========================================================================
   5-Column Luxury 3:4 Portrait Cards Grid (Crystal Clear Actress Visibility)
   ========================================================================== */
.actor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
}

.actor-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: var(--bg-card, rgba(18, 20, 26, 0.78));
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.18));
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 0, 0, 0.35));
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.actor-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold, #dfc47f);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(223, 196, 127, 0.2);
}

/* 3:4 Portrait Ratio: Large, Focused Actress Photo */
.actor-portrait {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
}

.actor-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Keep focus on faces! */
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.actor-card:hover .actor-portrait img {
  transform: scale(1.06);
}

.actor-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 40%, rgba(10, 11, 14, 0.8) 100%);
  pointer-events: none;
}

.actor-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid rgba(223, 196, 127, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* Card Body Info */
.actor-card-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(14, 16, 22, 0.95);
  border-top: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.12));
}

.actor-name {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.actor-card:hover .actor-name {
  color: var(--gold-bright, #f5dc98);
}

.actor-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.actor-tag {
  color: var(--gold-muted, #c8b070);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.actor-link-arrow {
  color: var(--text-muted, #8c8577);
  font-size: 11px;
  transition: color 0.2s ease;
}

.actor-card:hover .actor-link-arrow {
  color: var(--gold-bright, #f5dc98);
}

/* ==========================================================================
   Infinite Feed Loader
   ========================================================================== */
.actor-feed-loader {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0 10px;
}

.actor-feed-loader[hidden] {
  display: none;
}

.actor-feed-dots {
  display: flex;
  gap: 8px;
}

.actor-feed-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright, #f5dc98);
  opacity: 0.25;
  animation: actor-dot 1.1s infinite ease-in-out;
}

.actor-feed-dots i:nth-child(2) { animation-delay: 0.14s; }
.actor-feed-dots i:nth-child(3) { animation-delay: 0.28s; }

.actor-feed-loader button {
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.3));
  background: rgba(18, 20, 26, 0.9);
  color: var(--gold-bright, #f5dc98);
  border-radius: var(--radius-pill, 9999px);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.actor-feed-loader button:hover {
  background: rgba(223, 196, 127, 0.15);
  border-color: var(--gold, #dfc47f);
}

.actor-feed-loader p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@keyframes actor-dot {
  0%, 70%, 100% { opacity: 0.25; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-4px); }
}

/* ==========================================================================
   Actor Detail Profile
   ========================================================================== */
.actor-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold-bright, #f5dc98);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.actor-back:hover {
  text-decoration: underline;
}

.actor-profile {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--gold-border, rgba(223, 196, 127, 0.2));
  background: linear-gradient(145deg, rgba(26, 15, 15, 0.94), rgba(8, 7, 7, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  border-radius: var(--radius-md, 10px);
  align-items: center;
}

.actor-profile-portrait {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 112, 0.24);
  background: #151011;
  border-radius: 6px;
}

.actor-profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.actor-profile-main {
  padding: 16px 8px 0;
}

.actor-profile-kicker {
  margin: 0 0 8px;
  color: var(--gold-bright, #f5dc98);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.actor-profile-main h1 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}

.actor-profile-blurb {
  margin: 13px 0 0;
  color: var(--text-sub, #c8c0b0);
  line-height: 1.7;
}

.actor-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 28px 0 0;
}

.actor-facts div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid rgba(212, 175, 112, 0.12);
  font-size: 14px;
}

.actor-facts dt {
  color: var(--text-muted, #8c8577);
}

.actor-facts dd {
  margin: 0;
  color: var(--gold-bright, #f5dc98);
  word-break: break-word;
}

.actor-bio {
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(212, 175, 112, 0.16);
  background: rgba(7, 6, 6, 0.64);
  border-radius: var(--radius-md, 10px);
}

.actor-bio h2 {
  margin: 0 0 16px;
  color: var(--gold-bright, #f5dc98);
  font-size: 22px;
  font-weight: 600;
}

.actor-bio div {
  max-width: 960px;
  color: var(--text-sub, #c8c0b0);
  font-size: 15px;
  line-height: 2;
}

.actor-works {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.15));
}

.actor-works:not(:has(.actor-work-card)) {
  display: none;
}

.actor-works header h2 {
  margin: 0 0 20px;
  color: var(--gold-bright, #f5dc98);
  font-size: 24px;
  font-weight: 700;
}

.actor-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.actor-work-card {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.actor-work-pic {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm, 6px);
  border: 1px solid var(--line-subtle, rgba(223, 196, 127, 0.15));
  background: #000;
}

.actor-work-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.actor-work-card:hover img {
  transform: scale(1.05);
}

.actor-work-card h3 {
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--text-main, #fff);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.actor-work-card:hover h3 {
  color: var(--gold-bright, #f5dc98);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1400px) {
  .actor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (max-width: 1080px) {
  .actor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .actor-profile {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
  }
  .actor-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .actor-page-head {
    display: block;
  }
  .actor-head-stats {
    margin-top: 12px;
  }
  .actor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .actor-name {
    font-size: 14px;
  }
  .actor-profile {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .actor-facts {
    grid-template-columns: 1fr;
  }
  .actor-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
