
.wrap {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0;
}
.detail-card {
  position: relative;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid var(--panel-border);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
  /* 锚点跳转 (#movie-1 等) 时不被 fixed header 遮住 */
  scroll-margin-top: 8rem;
}

.detail-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  max-width: 100vw;
  right: -140px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.34), transparent 65%);
  filter: blur(2px);
  pointer-events: none;
}

.detail-main {
  position: relative;
  /* z-index: 1; */
  display: grid;
  grid-template-columns:1fr;
  gap:1rem;
  align-items: center;
  margin-top: 120px;
}

.left-border {
  border-left: 5px solid var(--accent); 
  border-radius: 3px;
  padding-left: 0.5rem; 
}

/* eyebow /rating */
.main-eyeblow {
  display:flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.main-eyebow-mediatype{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600; 
  letter-spacing: 1.5px;
  text-transform: uppercase; 
  align-self: center;  
}

.imdb-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-4);
  border: 1px solid rgba(245, 184, 75, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  margin-left: auto;
  align-self: center;
}

.main-title {
  font-family: var(--font-title);      
  max-width: 760px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #bae6fd 42%, #ddd6fe 78%, #bbf7d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.suffix-title{
  color: var(--accent);
}
/* .suffix-title{
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 400;
  color: var(--accent);
  margin-left: 0.5rem;
  letter-spacing: 0.08em;
} */

.main-subtitle{
  font-size:clamp(1.15rem, 2.5vw, 1.6rem);
  letter-spacing: 3px;
  font-weight: 700; 
}

.ep-title, .original-title{
  font-size:1rem;
  color: var(--text-muted);
}

/* ---- 5. 预告片：16:9 自适应容器 ---- */
.section-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    margin: 0 0 1rem;
}

.video-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


.plot {
  margin: 0.5rem 0;
  color: var(--text-muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  max-width: 760px;
}

.meta-container{
    display:flex; 
    flex-wrap: wrap;
    gap:0.5rem;
}
.meta-item {
  display: inline-flex;
  font-family: var(--font-mono);
  padding: 8px 12px; 
  color: var(--accent);
  /* background: rgba(56, 189, 248, 0.05); */
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  min-width: 3rem;      
}

/* crew & Cast */
.mini-panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.34);
  padding: 24px;
  color: var(--text-muted); 
}

.feature {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: center;
}

.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature:last-child { padding-bottom: 0; }

.feature .icon {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.feature strong {
  display: inline block;
  margin-bottom: 4px;
  font-size: 15px;
}

.feature span {
  display:block;
  color: var(--text-sub);
  line-height: 1.45;
  font-size: 15px;
}

/* ---- 7. 外部链接：复用 .meta-item 的胶囊风格 ---- */
.ext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ext-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 16px;
  padding: 8px 14px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ext-links a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
}

.btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1rem 0;
}

.button-main, .button-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-main {
  display: none;
  color: var(--bg-color);
  background: #f8fafc;
  box-shadow: 0 14px 34px rgba(248, 250, 252, 0.16);
}

.button-alt {
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.button-main:hover {
  transform: translateY(-2px);
  color: var(--bg-color);
}

.button-alt:hover {
  transform: translateY(-2px);
}

@media (max-width: 500px) {
  .suffix-title{margin-left: 0;}
}


