/* ══ ACTORS PAGE STYLES ══ */
.actors-page {
  background: #eef0f5;
  color: #1a1a2e;
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}
/* CSS vars already defined globally above */
.actors-page ::-webkit-scrollbar { width: 6px; }
.actors-page ::-webkit-scrollbar-track { background: var(--bg); }
.actors-page ::-webkit-scrollbar-thumb { background: rgba(91,63,160,0.3); border-radius: 3px; }

  .actors-page header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.45s cubic-bezier(0.23,1,0.32,1);
  }
  .actors-page header.scrolled {
    background: rgba(238,240,245,0.88);
border-bottom: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 40px rgba(80,80,120,0.15);
  }
.actors-page .header-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text);
  }
.actors-page .header-logo-mark {
    width: 44px; height: 44px; border-radius: 12px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(91,63,160,0.2), 0 0 0 1.5px rgba(91,63,160,0.12);
    overflow: hidden;
  }
.actors-page .header-logo-mark img { width: 88%; height: 88%; object-fit: contain; padding: 4px; }
.actors-page .header-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600; letter-spacing: 0.5px;
  }
.actors-page nav { display: flex; align-items: center; gap: 6px; }
.actors-page nav a {
    text-decoration: none; color: var(--text2);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 8px 16px; border-radius: 2px;
    transition: var(--transition);
  }
.actors-page nav a:hover, .actors-page nav a.active { color: var(--accent); background: transparent; }
.actors-page nav a.active { background: rgba(91,63,160,0.12); }
.actors-page .burger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border-radius: 10px;
    background: var(--glass2);
    border: 1px solid var(--glass-border);
  }
.actors-page .burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; display: block; transition: var(--transition); }
.actors-page .mobile-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(238,240,245,0.95);
border-bottom: 1px solid rgba(255,255,255,0.7);
    padding: 20px; flex-direction: column; gap: 8px;
    z-index: 999; box-shadow: 0 8px 30px rgba(80,80,120,0.12);
  }
.actors-page .mobile-nav.open { display: flex; }
.actors-page .mobile-nav a {
    text-decoration: none; color: var(--text2);
    font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 600; padding: 12px 18px;
    border-radius: var(--radius2);
    background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6);
    transition: var(--transition);
  }
.actors-page .mobile-nav a:hover { background: rgba(91,63,160,0.1); color: var(--accent); }

  .actors-page .hero {
    padding-top: 70px;
    min-height: 54vh;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    text-align: center;
  }
.actors-page .hero-aurora {
    position: absolute; inset: 0; z-index: 0;
    background: var(--bg); overflow: hidden;
  }
.actors-page .aurora-blob {
    position: absolute; border-radius: 50%;
    filter: blur(24px); opacity: 0.45;
    animation: auroraFloat 8s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
.actors-page .aurora-blob:nth-child(1) {
    width: 600px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.5) 0%, rgba(167,139,250,0.2) 60%, transparent 100%);
    top: -100px; left: -150px; animation-duration: 9s;
  }
.actors-page .aurora-blob:nth-child(2) {
    width: 500px; height: 450px;
    background: radial-gradient(circle, rgba(201,169,110,0.4) 0%, rgba(232,201,138,0.15) 60%, transparent 100%);
    top: 50px; right: -100px; animation-delay: -3s; animation-duration: 11s;
  }
.actors-page .aurora-blob:nth-child(3) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(91,63,160,0.35) 0%, rgba(139,92,246,0.1) 60%, transparent 100%);
    bottom: 0; left: 30%; animation-delay: -5s; animation-duration: 13s;
  }

  @keyframes auroraFloat {
    0%, 100% { transform: translate(0,0) scale(1); opacity: 0.45; }
    25% { transform: translate(30px,-20px) scale(1.08); opacity: 0.55; }
    50% { transform: translate(-20px,30px) scale(0.95); opacity: 0.4; }
    75% { transform: translate(20px,10px) scale(1.05); opacity: 0.5; }
  }
.actors-page .hero-aurora::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(91,63,160,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  }
.actors-page .hero-content {
    position: relative; z-index: 1;
    padding: 60px 40px 80px;
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
  }
.actors-page .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px; padding: 6px 18px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent);
    box-shadow: 0 2px 12px rgba(91,63,160,0.12);
    animation: fadeDown 0.7s cubic-bezier(0.23,1,0.32,1) both;
  }
.actors-page .hero-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent2);
    animation: dotPulse 2s ease-in-out infinite;
  }

  @keyframes dotPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
  }
.actors-page .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 600; line-height: 1.05; letter-spacing: -1px;
    color: var(--text);
    animation: fadeUp 0.8s 0.1s cubic-bezier(0.23,1,0.32,1) both;
  }
.actors-page .hero-title em { font-style: italic; color: var(--accent); }
.actors-page .hero-subtitle {
    font-size: 16px; color: var(--text3); font-weight: 500;
    max-width: 480px; line-height: 1.6;
    animation: fadeUp 0.8s 0.2s cubic-bezier(0.23,1,0.32,1) both;
  }

  .actors-page .particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.actors-page .particle {
    position: absolute; border-radius: 50%;
    background: var(--accent2); opacity: 0;
    animation: particleFloat linear infinite;
  }


  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }

  @keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    10%  { opacity: 0.6; transform: translateY(-20px) scale(1); }
    90%  { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
  }

  .actors-page .arc-section {
    position: relative;
    margin-top: -100px;
    z-index: 3;
  }
.actors-page .arc-svg {
    display: block; width: 100%; height: 120px; margin-bottom: -2px;
  }

  .actors-page .dark-section {
    background: #05030a;
    padding: 0 0 80px;
    position: relative;
  }

  .actors-page .section-block {
    padding: 60px 0 10px;
    position: relative;
    z-index: 5;
  }
.actors-page .section-header {
    padding: 0 60px 40px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 10px; text-align: center;
  }
.actors-page .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 600; color: #fff; letter-spacing: -0.5px;
  }
.actors-page .section-title em { font-style: italic; color: var(--gold2); }
.actors-page .section-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold2), transparent);
    border-radius: 2px;
  }
.actors-page .section-count {
    font-size: 12px; font-weight: 700;
    color: rgba(255,255,255,0.3); letter-spacing: 1.5px; text-transform: uppercase;
  }

  .actors-page .inner-arc-wrap {
    position: relative;
    padding-top: 30px;
    margin-top: 30px;
  }
.actors-page .inner-arc-wrap::before {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: transparent;
    position: relative;
    z-index: 1;
  }
.actors-page .inner-arc-svg {
    display: block; width: 100%; margin-bottom: -2px;
    position: relative; z-index: 1;
  }
.actors-page .inner-arc-bg {
    background: rgba(255,255,255,0.04);
    border-radius: 30px 30px 0 0;
    margin: 0 40px;
  }

  .actors-page .arc-divider {
    width: 100%;
    overflow: visible;
    margin: 20px 0 0;
    display: block;
  }

  .actors-page .actors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    gap: 28px;
    padding: 0 60px 20px;
    justify-content: center;
  }


  @media (max-width: 1024px) {
  .actors-page .actors-grid {
      grid-template-columns: repeat(3, minmax(0, 260px));
      gap: 20px;
      padding: 0 30px 20px;
    }

  }


  @media (max-width: 700px) {
  .actors-page .actors-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      padding: 0 16px 20px;
    }

  }


  @media (max-width: 440px) {
  .actors-page .actors-grid {
      grid-template-columns: 1fr;
      gap: 14px;
      padding: 0 16px 20px;
    }

  }

  .actors-page .actor-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 0;
    cursor: default;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.6s cubic-bezier(0.23,1,0.32,1),
                transform 0.6s cubic-bezier(0.23,1,0.32,1);
  }
.actors-page .actor-card.visible {
    opacity: 1; transform: translateY(0) scale(1);
  }
.actors-page .actor-card:hover .card-inner {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      0 24px 60px rgba(0,0,0,0.5),
      0 0 0 1px rgba(255,255,255,0.2),
      0 1px 0 rgba(255,255,255,0.3) inset;
  }
.actors-page .actor-card:hover .photo-shimmer { opacity: 1; }
.actors-page .actor-card:hover .card-glow { opacity: 1; }
.actors-page .card-inner {
    width: 100%;
    background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255,255,255,0.22);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    transition:
      transform 0.4s cubic-bezier(0.23,1,0.32,1),
      box-shadow 0.4s cubic-bezier(0.23,1,0.32,1);
    box-shadow:
      0 8px 32px rgba(0,0,0,0.35),
      0 1px 0 rgba(255,255,255,0.12) inset;
  }
.actors-page .card-glow {
    position: absolute; inset: -1px; border-radius: 22px;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(139,92,246,0.1));
    opacity: 0; z-index: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }

  .actors-page .photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.85;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #2a1550 0%, #1a0a30 50%, #0f0720 100%);
  }
.actors-page .photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
  }
.actors-page .actor-card:hover .photo-wrap img { transform: scale(1.06); }
.actors-page .photo-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    background: linear-gradient(160deg, #2a1550 0%, #1a0a30 60%, #0f0720 100%);
  }
.actors-page .photo-placeholder-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(139,92,246,0.2);
    border: 1.5px solid rgba(139,92,246,0.3);
    display: flex; align-items: center; justify-content: center;
  }
.actors-page .photo-placeholder-initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600;
    color: rgba(201,169,110,0.8);
  }

  .actors-page .photo-shimmer {
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s, left 0.6s cubic-bezier(0.23,1,0.32,1);
    pointer-events: none; z-index: 2;
  }
.actors-page .actor-card:hover .photo-shimmer { opacity: 1; left: 140%; }

  .actors-page .photo-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15,7,32,0.85) 0%, transparent 100%);
    z-index: 1;
  }

  .actors-page .card-info {
    padding: 14px 14px 16px;
    text-align: center;
    position: relative; z-index: 1;
  }
.actors-page .card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px; font-weight: 600;
    color: rgba(255,255,255,0.95);
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .actors-page .card-title {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold2);
    background: linear-gradient(
      90deg,
      rgba(201,169,110,0.12) 0%,
      rgba(232,201,138,0.2) 40%,
      rgba(201,169,110,0.12) 100%
    );
    background-size: 200% 100%;
    border: 1px solid rgba(201,169,110,0.28);
    border-radius: 30px;
    padding: 4px 10px;
    animation: titleShimmer 3s ease-in-out infinite;
    line-height: 1.35;
  }

  @keyframes titleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .actors-page .block-arc {
    width: 100%; display: block;
    margin: 40px 0 0;
  }

  .actors-page .light-inner {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin: 0 40px;
    border-radius: 0;
  }

  .actors-page .section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 30px; padding: 5px 16px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
  }

  .actors-page footer {
    background: #0f0720;
    color: rgba(255,255,255,0.5);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
.actors-page .footer-brand .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 600; color: white; margin-bottom: 10px;
  }
.actors-page .footer-brand p { font-size: 13px; line-height: 1.6; max-width: 220px; }
.actors-page .footer-col h4 {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,0.35); margin-bottom: 16px;
  }
.actors-page .footer-col a {
    display: block; color: rgba(255,255,255,0.55);
    text-decoration: none; font-size: 14px;
    margin-bottom: 10px; transition: color 0.2s;
  }
.actors-page .footer-col a:hover { color: var(--gold2); }
.actors-page .footer-bottom {
    background: #080415; padding: 20px 60px;
    display: flex; align-items: center; justify-content: space-between;
    color: rgba(255,255,255,0.25); font-size: 12px;
  }

  @media (max-width: 900px) {
    .actors-page header { padding: 0 20px; }
    .actors-page nav { display: none; }
    .actors-page .burger { display: flex; }
    .actors-page .hero-content { padding: 50px 20px 70px; }
    .actors-page .hero-title { font-size: clamp(34px, 8vw, 56px); }
    .actors-page .section-header { padding: 0 20px 30px; }
    .actors-page .actors-grid { padding: 0 20px 20px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
    .actors-page .light-inner { margin: 0 16px; }
    .actors-page footer { grid-template-columns: 1fr; padding: 40px 24px; gap: 24px; }
    .actors-page .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 6px; text-align: center; }
  }


  @media (max-width: 640px) {
  .actors-page .header-logo-text { display: none; }
.actors-page header { padding: 0 16px; }
.actors-page .hero-title { font-size: clamp(30px, 9vw, 44px); }
.actors-page .section-title { font-size: clamp(24px, 6vw, 36px); }
.actors-page .actors-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 16px; }
.actors-page .card-name { font-size: 12px; }
.actors-page .card-info { padding: 10px 8px 12px; }
.actors-page .card-title { font-size: 9px; padding: 3px 7px; }
.actors-page footer { padding: 32px 16px; }
.actors-page .footer-bottom { padding: 14px 16px; font-size: 11px; }

  }


  @media (max-width: 380px) {
  .actors-page .actors-grid { grid-template-columns: repeat(2, 1fr); }

  }

  .actors-page .fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1),
                transform 0.7s cubic-bezier(0.23,1,0.32,1);
  }
.actors-page .fade-in.visible { opacity: 1; transform: none; }

  .actors-page .stars {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  }
.actors-page .star {
    position: absolute; background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: starTwinkle ease-in-out infinite;
  }

  @keyframes starTwinkle {
    0%,100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.4); }
  }
.actors-page .ap-loading {
  text-align: center;
  padding: 40px 0;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.actors-page-enter {
  animation: actorsPageIn 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes actorsPageIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── Pinch-zoom crash protection ── */
/* Dark section stacking context — тільки на десктопі */
@media (min-width: 769px) {
  #actors-page-overlay .dark-section {
    contain: paint layout style;
    isolation: isolate;
  }
}
/* Actor card GPU promotion — тільки на десктопі */
@media (min-width: 769px) {
  #actors-page-overlay .actor-card {
    will-change: transform;
    transform: translateZ(0);
  }
}

/* ══ TROUPE PHOTO BLOCK ══ */
#actors-page-overlay .troupe-photo-block {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  /* Висота = висота фону під фото */
  padding-bottom: 0;
}

/* Розмитий фон — те саме фото */
#actors-page-overlay .troupe-photo-bg {
  position: absolute;
  inset: 0;
  background: url('https://pub-3ef8d276e7d245c09b78a513e60ee129.r2.dev/uploads/%D0%BE%D0%B1%D1%89_%D1%84%D0%BE%D1%82%D0%BE.jpg') center center / cover no-repeat;
  filter: blur(30px) brightness(0.18) saturate(0.5);
  transform: scale(1.08);
  z-index: 0;
}
#actors-page-overlay .troupe-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(91,63,160,0.2) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(5,3,10,0.05) 0%, rgba(5,3,10,0.55) 65%, #05030a 100%);
}

/* Grain */
#actors-page-overlay .troupe-photo-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
}

/* Внутрішній контейнер */
#actors-page-overlay .troupe-photo-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px 0;
}

/* ── ТЮГ логотип — ідентично splash ── */
#actors-page-overlay .troupe-tug-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
}
#actors-page-overlay .troupe-tug-stage.tug-animated {
  animation: troupeTugAppear 0.7s ease 0.1s forwards;
}
@keyframes troupeTugAppear {
  to { opacity: 1; }
}

#actors-page-overlay .troupe-tug-wrap {
  display: flex;
  align-items: stretch;
  height: clamp(40px, 5vw, 66px);
  width: clamp(160px, 20vw, 260px);
}
#actors-page-overlay .troupe-tug-wrap.tug-animated {
  animation: troupeTugStretch 2.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}
@keyframes troupeTugStretch {
  from { width: clamp(160px, 20vw, 260px); }
  to   { width: clamp(300px, 55vw, 640px); }
}

#actors-page-overlay .troupe-tug-t {
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 176.22 / 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 176.22 100'%3E%3Cpolygon fill='white' points='31.14 0 0 0 0 21.91 31.14 21.91 31.14 100 53.05 100 53.05 21.91 84.19 21.91 84.19 0 53.05 0'/%3E%3Cpath fill='white' d='M176.22,21.91V0h-40.66V38.38h-14.93V0h-21.91V100h21.91V60.29h14.93v39.71h40.66v-21.91h-18.75V21.91h18.75Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
#actors-page-overlay .troupe-tug-u {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  background: linear-gradient(to bottom,
    white 0%, white 21.91%,
    transparent 21.91%, transparent 78.09%,
    white 78.09%, white 100%
  );
}
#actors-page-overlay .troupe-tug-g {
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 129.81 / 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 129.81 100'%3E%3Cpolygon fill='white' points='129.81 0 129.81 21.91 87.72 21.91 87.72 100 65.8 100 65.8 0 129.81 0'/%3E%3Cpolygon fill='white' points='51.62 0 51.62 100 0 100 0 78.09 29.71 78.09 29.71 21.91 0 21.91 0 0 51.62 0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

#actors-page-overlay .troupe-tug-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  margin: 14px auto 0;
}
#actors-page-overlay .troupe-tug-divider.tug-animated {
  animation: troupeDividerExpand 1s cubic-bezier(0.16,1,0.3,1) 1.8s forwards;
}
@keyframes troupeDividerExpand {
  to { width: clamp(80px, 18vw, 200px); }
}

#actors-page-overlay .troupe-tug-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(0.48rem, 1.1vw, 0.68rem);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0;
  margin-top: 10px;
}
#actors-page-overlay .troupe-tug-subtitle.tug-animated {
  animation: troupeSubtitleFade 1s ease 2.3s forwards;
}
@keyframes troupeSubtitleFade {
  to { opacity: 1; }
}

/* ── Фото ── */
#actors-page-overlay .troupe-photo-frame {
  width: 100%;
  max-width: 1040px;
  margin: 36px auto 0;
  position: relative;
  opacity: 0;
}
#actors-page-overlay .troupe-photo-frame.tug-animated {
  animation: troupePhotoReveal 1.1s cubic-bezier(0.16,1,0.3,1) 3.0s forwards;
}
@keyframes troupePhotoReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

#actors-page-overlay .troupe-photo-frame img {
  width: 100%;
  display: block;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 -16px 50px rgba(91,63,160,0.12);
}

/* Fade знизу — плавний перехід у темну секцію */
#actors-page-overlay .troupe-photo-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to bottom, transparent 0%, #05030a 100%);
  pointer-events: none;
}

/* Бейдж поверх фото */
#actors-page-overlay .troupe-count-badge {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(5,3,10,0.6);
border: 1px solid rgba(201,169,110,0.22);
  border-radius: 40px;
  padding: 9px 20px;
  opacity: 0;
  white-space: nowrap;
}
#actors-page-overlay .troupe-count-badge.tug-animated {
  animation: troupeSubtitleFade 0.8s ease 3.9s forwards;
}
#actors-page-overlay .troupe-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
#actors-page-overlay .troupe-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gold2);
  line-height: 1;
}
#actors-page-overlay .troupe-badge-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
  #actors-page-overlay .troupe-photo-inner { padding: 50px 16px 0; }
  #actors-page-overlay .troupe-count-badge { padding: 8px 14px; }
}
@media (max-width: 480px) {
  #actors-page-overlay .troupe-tug-subtitle { font-size: 0.44rem; letter-spacing: 0.28em; }
}