/* TAMILFLICKS-ACTOR-V2 (17 Nov 2026): modern actor page (Modules/Frontend/Resources/views/castCrewDetail.blade.php). Site colours: blue + gold. */
.tpa { --tpa-blue: #2e5eaa; --tpa-gold: #f5b942; --tpa-ink: #0f172a; --tpa-ink-2: #475569; --tpa-line: #e2e8f0;
  --tpa-display: "Plus Jakarta Sans", Roboto, system-ui, sans-serif; color: var(--tpa-ink); }
.tpa a { color: inherit; text-decoration: none; }
.tpa-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(36px, 4vw, 48px); background: #0f172a; }
.tpa-hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center 30%; background-size: cover; filter: blur(2px) saturate(1.1); transform: scale(1.04); }
.tpa-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 23, 42, .93) 0%, rgba(15, 23, 42, .8) 45%, rgba(15, 23, 42, .4) 100%); }
.tpa-hero-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: end; color: #fff; }
.tpa-face { width: clamp(130px, 17vw, 210px); aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; object-position: center 15%;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--tpa-gold), 0 18px 40px rgba(0, 0, 0, .4); background: #1e293b; }
.tpa-face-ph { display: grid; place-items: center; font: 800 clamp(40px, 5vw, 64px) var(--tpa-display); color: #fff; background: linear-gradient(140deg, #2e5eaa, #0f172a); }
.tpa-role { display: inline-block; font-size: 13px; font-weight: 600; color: var(--tpa-gold); margin-bottom: 6px; }
.tpa-who h1 { font-family: var(--tpa-display); font-size: clamp(38px, 6vw, 72px); line-height: 1.02; margin: 0 0 12px; letter-spacing: -.02em; color: #fff; }
.tpa-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; color: #cbd5e1; font-size: 14px; margin-bottom: 12px; }
.tpa-facts b { color: #fff; font-weight: 600; }
.tpa-bio { max-width: 640px; color: #e2e8f0; margin: 0 0 22px; font-size: 15px; line-height: 1.6; }
.tpa-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tpa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font: 700 14px var(--tpa-display); border: 0; cursor: pointer; }
.tpa-btn i { font-size: 17px; }
.tpa .tpa-btn-play { background: var(--tpa-blue); color: #fff; box-shadow: 0 10px 24px rgba(46, 94, 170, .45); }
.tpa .tpa-btn-play:hover { background: #244c8c; color: #fff; }
.tpa-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.tpa-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.tpa-btn:focus-visible, .tpa-chip:focus-visible, .tpa-card:focus-visible { outline: 3px solid var(--tpa-gold); outline-offset: 2px; }
@media (max-width: 700px) {
  .tpa-hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tpa-facts, .tpa-acts { justify-content: center; }
}
.tpa-strip { max-width: 1180px; margin: -18px auto 0; padding: 0 clamp(16px, 4vw, 48px); position: relative; }
.tpa-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid var(--tpa-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(15, 23, 42, .07); }
.tpa-stat { padding: 16px 20px; border-left: 1px solid var(--tpa-line); min-width: 0; }
.tpa-stat:first-child { border-left: 0; }
.tpa-stat b { display: block; font: 800 22px/1.15 var(--tpa-display); color: var(--tpa-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpa-stat a:hover b { color: var(--tpa-blue); }
.tpa-stat span { font-size: 13px; color: var(--tpa-ink-2); }
@media (max-width: 700px) {
  .tpa-stats { grid-template-columns: 1fr 1fr; }
  .tpa-stat:nth-child(odd) { border-left: 0; }
  .tpa-stat:nth-child(n+3) { border-top: 1px solid var(--tpa-line); }
}
.tpa-films { max-width: 1180px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 48px) 60px; }
.tpa-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tpa-head h2 { font: 800 22px var(--tpa-display); margin: 0; color: var(--tpa-ink); }
.tpa-head h2 small { font: 500 14px Roboto, sans-serif; color: var(--tpa-ink-2); margin-left: 6px; }
.tpa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpa-chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--tpa-line); background: #fff; font: 600 13px var(--tpa-display); color: var(--tpa-ink-2); cursor: pointer; }
.tpa-chip:hover { border-color: #94a3b8; color: var(--tpa-ink); }
.tpa-chip.on { background: var(--tpa-ink); border-color: var(--tpa-ink); color: #fff; }
@media (max-width: 575px) { .tpa-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .tpa-chip { flex: none; } }
.tpa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 16px; }
@media (max-width: 700px) { .tpa-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }
.tpa-decade { grid-column: 1 / -1; font: 800 13px var(--tpa-display); color: var(--tpa-ink-2); display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.tpa-decade::after { content: ""; flex: 1; height: 1px; background: var(--tpa-line); }
.tpa-card { display: block; min-width: 0; }
.tpa-card[hidden], .tpa-decade[hidden] { display: none; }
.tpa-pic { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: #1e293b; }
.tpa-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tpa-card:hover .tpa-pic img { transform: scale(1.04); }
.tpa-yr { position: absolute; left: 8px; top: 8px; background: rgba(15, 23, 42, .75); color: #fff; font: 700 11px var(--tpa-display); padding: 3px 8px; border-radius: 6px; }
.tpa-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; color: #fff; font: 800 18px/1.15 var(--tpa-display); background: linear-gradient(160deg, #2e5eaa, #0f172a); }
.tpa-play { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--tpa-gold); color: var(--tpa-ink);
  display: grid; place-items: center; font-size: 18px; opacity: 0; transform: translateY(6px); transition: .2s; }
.tpa-card:hover .tpa-play, .tpa-card:focus-visible .tpa-play { opacity: 1; transform: none; }
@media (hover: none) { .tpa-play { opacity: 1; transform: none; width: 34px; height: 34px; font-size: 15px; } }
.tpa-t { display: block; margin-top: 9px; font: 700 14px/1.3 var(--tpa-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tpa-ink); }
.tpa-g { display: block; font-size: 12.5px; color: var(--tpa-ink-2); }
.tpa-empty { color: var(--tpa-ink-2); padding: 30px 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .tpa-pic img, .tpa-play { transition: none; } }
