/* ==========================================================================
   VCD7 Tokyo Minimalist Cinema & Gallery - Detail Page Stylesheet (16:9 Landscape)
   Version: 2026.10.LandscapeDetail
   ========================================================================== */

.vcd-detail-container {
  padding: 24px 0 60px;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.vcd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.vcd-breadcrumb a {
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.vcd-breadcrumb a:hover {
  color: var(--gold-bright);
}

.vcd-bc-sep {
  color: var(--line-subtle);
  font-size: 11px;
}

.vcd-bc-current {
  color: var(--gold-muted);
  font-weight: 500;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Main Detail Stage (Wide-Split 16:9 Landscape Cinema Stage)
   ========================================================================== */
.vcd-detail-stage {
  display: grid;
  grid-template-columns: minmax(480px, 600px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  background: rgba(18, 20, 26, 0.78);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.vcd-detail-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright) 0%, var(--gold-warm) 40%, transparent 80%);
}

/* Left Column: 16:9 Poster & CTA */
.vcd-detail-poster-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.vcd-detail-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(223, 196, 127, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(223, 196, 127, 0.08);
  background: #090a0d;
  display: block;
  text-decoration: none;
}

.vcd-detail-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcd-detail-poster-wrap:hover img {
  transform: scale(1.04);
}

/* Poster Hover Overlay */
.vcd-poster-play-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(10, 11, 14, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vcd-detail-poster-wrap:hover .vcd-poster-play-hover {
  opacity: 1;
}

.vcd-poster-play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(223, 196, 127, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcd-detail-poster-wrap:hover .vcd-poster-play-icon {
  transform: scale(1);
}

.vcd-poster-play-hover em {
  font-style: normal;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.vcd-poster-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  background: rgba(10, 11, 14, 0.88);
  border: 1px solid rgba(223, 196, 127, 0.35);
  border-radius: var(--radius-xs);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.vcd-poster-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vcd-btn-play-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  width: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 20px rgba(223, 196, 127, 0.40);
  transition: all 0.25s ease;
  text-decoration: none;
}

.vcd-btn-play-primary:hover {
  background: linear-gradient(135deg, #fff3cf 0%, var(--gold-bright) 100%);
  box-shadow: 0 6px 26px rgba(223, 196, 127, 0.65);
  transform: translateY(-2px);
}

.vcd-detail-sub-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.vcd-btn-action-sub {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(223, 196, 127, 0.28);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vcd-btn-action-sub:hover {
  background: rgba(223, 196, 127, 0.14);
  border-color: var(--gold-bright);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Right Column: Editorial Film Information
   ========================================================================== */
.vcd-detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Header Badges */
.vcd-detail-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vcd-code-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(223, 196, 127, 0.16);
  border: 1px solid rgba(223, 196, 127, 0.45);
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.vcd-spec-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-subtle);
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 500;
}

.vcd-score-badge {
  color: #ffd058;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.vcd-hits-badge {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 6px;
}

/* Main Title */
.vcd-detail-title {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0.015em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Specs Grid */
.vcd-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.vcd-spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vcd-spec-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 600;
  min-width: 60px;
  flex-shrink: 0;
}

.vcd-spec-val {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}

.vcd-spec-val.gold-spec {
  color: var(--gold-bright);
}

.vcd-spec-actors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vcd-actor-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(223, 196, 127, 0.10);
  border: 1px solid rgba(223, 196, 127, 0.25);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vcd-actor-pill:hover {
  background: rgba(223, 196, 127, 0.22);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Tags Block */
.vcd7-tags-block {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.vcd7-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.vcd7-tag-item:hover {
  color: var(--gold-bright);
  border-color: var(--gold-border);
  background: rgba(223, 196, 127, 0.08);
}

/* Episodes / Sources List */
.vcd-sources-section {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
}

.vcd-sources-head {
  margin-bottom: 12px;
}

.vcd-sources-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vcd-sources-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.vcd-sources-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.vcd-sources-title span {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.vcd-source-group {
  margin-bottom: 12px;
}

.vcd-source-line-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vcd-source-line-title span {
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(223, 196, 127, 0.12);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
}

.vcd-source-line-title b {
  font-weight: 500;
  color: var(--text-sub);
}

.vcd-episode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vcd-episode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(223, 196, 127, 0.22);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcd-episode-pill svg {
  fill: var(--gold);
}

.vcd-episode-pill:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--text-dark);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(223, 196, 127, 0.35);
}

.vcd-episode-pill:hover svg {
  fill: var(--text-dark);
}

/* ==========================================================================
   AI Insights Card (Integrated inside Right Column)
   ========================================================================== */
.vcd-ai-card {
  position: relative;
  border-radius: var(--radius-sm, 10px);
  background: linear-gradient(135deg, rgba(22, 24, 32, 0.75) 0%, rgba(13, 15, 20, 0.92) 100%);
  border: 1px solid rgba(223, 196, 127, 0.22);
  padding: 16px 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-top: 4px;
}

.vcd-ai-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  bottom: 0;
  background: linear-gradient(180deg, var(--gold-bright, #f5dc98) 0%, var(--gold, #dfc47f) 100%);
}

.vcd-ai-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(223, 196, 127, 0.12);
}

.vcd-ai-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vcd-ai-sparkle {
  color: var(--gold-bright, #f5dc98);
  font-size: 15px;
  text-shadow: 0 0 8px rgba(223, 196, 127, 0.6);
  line-height: 1;
}

.vcd-ai-card-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-bright, #f5dc98);
  letter-spacing: 0.04em;
}

.vcd-ai-card-title span {
  font-size: 10px;
  color: var(--text-muted, #8c8577);
  letter-spacing: 0.16em;
  font-weight: 500;
}

.vcd-ai-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill, 9999px);
  background: rgba(223, 196, 127, 0.10);
  border: 1px solid rgba(223, 196, 127, 0.28);
  color: var(--gold-bright, #f5dc98);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vcd-ai-card-body {
  position: relative;
}

.vcd-ai-card-text {
  color: #dcd7ce;
  font-size: 13.5px;
  line-height: 1.85;
  white-space: pre-line;
  margin: 0;
  word-break: break-word;
}

/* Fallback for Full-Width AI Box */
.vcd7-ai-synopsis-section {
  margin-bottom: 32px;
}

.vcd7-ai-synopsis-box {
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(22, 24, 32, 0.85) 0%, rgba(14, 15, 20, 0.95) 100%);
  border: 1px solid rgba(223, 196, 127, 0.25);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.vcd7-ai-synopsis-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  bottom: 0;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-warm));
}

.vcd7-ai-synopsis-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.vcd7-ai-title {
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vcd7-ai-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(223, 196, 127, 0.12);
  border: 1px solid rgba(223, 196, 127, 0.30);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
}

.vcd7-ai-synopsis-content {
  color: #dcd7ce;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-line;
}

/* General Synopsis (Hidden as superseded by integrated AI insights) */
.vcd-synopsis-section {
  display: none !important;
}

/* ==========================================================================
   Related Videos Shelf
   ========================================================================== */
.vcd-related-section {
  padding: 10px 0 30px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .vcd-detail-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .vcd-detail-poster-col {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .vcd-detail-stage {
    padding: 16px;
  }
  .vcd-detail-title {
    font-size: 20px;
  }
  .vcd-spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
