/* ═══════════════════════════════════════════════════════════════════
   نقش‌نامه — DESIGN SYSTEM v16 «مخمل شبانه»
   پالت: مشکی مخملی + طلای مذاب آنتیک + بنفش ابریشم + رزگلد
   نوشته شده از صفر — معماری ماژولار و مقیاس‌پذیر
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* ══════════════════════════════════════════════════════
   §1  DESIGN TOKENS
   ══════════════════════════════════════════════════════ */
:root {
  /* ── رنگ‌های پایه ── */
  --ink-0:   #0c0a0e;
  --ink-1:   #110e15;
  --ink-2:   #18141f;
  --ink-3:   #211c2b;
  --ink-4:   #2c2638;

  /* ── طلای مذاب ── */
  --gold:      #c9a227;
  --gold-hi:   #e8bc3a;
  --gold-lo:   #8a6b10;
  --gold-soft: rgba(201,162,39,.13);
  --gold-glow: rgba(201,162,39,.28);

  /* ── بنفش ابریشم ── */
  --violet:      #8b5cf6;
  --violet-hi:   #a78bfa;
  --violet-lo:   #5b21b6;
  --violet-soft: rgba(139,92,246,.12);
  --violet-glow: rgba(139,92,246,.30);

  /* ── رزگلد ── */
  --rose:      #e879a0;
  --rose-hi:   #f9a8d4;
  --rose-lo:   #9d174d;
  --rose-soft: rgba(232,121,160,.11);
  --rose-glow: rgba(232,121,160,.25);

  /* ── متن ── */
  --text:       #f0ecff;
  --text-mid:   #b8b0d0;
  --text-dim:   #7a7294;
  --text-faint: #4a445c;

  /* ── خطوط ── */
  --line:     rgba(255,255,255,.06);
  --line-mid: rgba(255,255,255,.11);
  --line-hi:  rgba(255,255,255,.20);

  /* ── حالت‌های سیستم ── */
  --ok:      #34d399;
  --ok-soft: rgba(52,211,153,.12);
  --err:     #f87171;
  --err-soft:rgba(248,113,113,.12);
  --warn:    #fbbf24;

  /* ── alias های سازگاری (چند جای قدیمی کد از این اسم‌ها استفاده می‌کردن) ── */
  --bg:         var(--ink-1);
  --surface:    var(--ink-2);
  --surface-2:  var(--ink-3);
  --violet-bg:  var(--violet-soft);

  /* ── شعاع ── */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl:40px;

  /* ── سایه ── */
  --sh-xs: 0 2px 8px  rgba(0,0,0,.35);
  --sh-sm: 0 4px 18px rgba(0,0,0,.45);
  --sh:    0 10px 40px rgba(0,0,0,.55);
  --sh-lg: 0 20px 70px rgba(0,0,0,.65);
  --sh-gold:   0 0 36px rgba(201,162,39,.25);
  --sh-violet: 0 0 36px rgba(139,92,246,.28);
  --sh-rose:   0 0 30px rgba(232,121,160,.22);

  /* ── تایپوگرافی ── */
  --font: 'Vazirmatn', system-ui, sans-serif;
  --fs-xs:  11px;
  --fs-sm:  13px;
  --fs-md:  15px;
  --fs-lg:  18px;
  --fs-xl:  22px;
  --fs-2xl: 28px;
  --fs-3xl: clamp(1.8rem, 4vw, 2.8rem);
  --fs-hero:clamp(2.2rem, 6vw, 4.2rem);

  /* ── فاصله ── */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 28px;
  --sp-xl: 48px;
  --sp-2xl:72px;

  /* ── انیمیشن ── */
  --ease:     cubic-bezier(.22,.9,.32,1);
  --ease-in:  cubic-bezier(.55,0,1,.45);
  --ease-out: cubic-bezier(.0,0,.38,1);
  --dur-fast: 160ms;
  --dur:      280ms;
  --dur-slow: 480ms;

  /* ── لایه‌بندی ── */
  --header-h:    64px;
  --mob-nav-h:   60px;
  --sidebar-w:   248px;
  --container:   1300px;
}

/* Light Mode */
body.light-mode {
  --ink-0:    #f7f5ff;
  --ink-1:    #ffffff;
  --ink-2:    #eeebff;
  --ink-3:    #e4e0f5;
  --ink-4:    #d4cfed;
  --text:       #1a1525;
  --text-mid:   #3d3560;
  --text-dim:   #6b5e90;
  --text-faint: #a099b8;
  --line:       rgba(26,21,37,.07);
  --line-mid:   rgba(26,21,37,.13);
  --line-hi:    rgba(26,21,37,.22);
  --sh-sm: 0 4px 18px rgba(90,70,150,.12);
  --sh:    0 10px 40px rgba(90,70,150,.16);
}

/* ══════════════════════════════════════════════════════
   §2  RESET + BASE
   ══════════════════════════════════════════════════════ */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  direction: rtl;
  background: var(--ink-0);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  padding-top: var(--header-h);
  position: relative;
}

/* پس‌زمینه mesh gradient محیطی */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1100px 650px at 80% -8%,  rgba(139,92,246,.10), transparent 60%),
    radial-gradient(ellipse 800px  550px at 5%  90%,  rgba(201,162,39,.07), transparent 55%),
    radial-gradient(ellipse 600px  400px at 50% 55%,  rgba(232,121,160,.05), transparent 65%);
}

/* touch & scroll */
.mobile-carousel, .lf-tabs, .admin-table-wrap, .search-modal-results {
  touch-action: pan-x;
}
body { touch-action: pan-y; overscroll-behavior-x: none; }

/* پایه‌های تایپوگرافی */
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 800; }
button,input,textarea,select { font-family: inherit; }
input,textarea,select { width: 100%; }
table { width: 100%; border-collapse: collapse; }
ul,ol { list-style: none; }

::selection { background: var(--violet-soft); color: var(--violet-hi); }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* اسکرول‌بار */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--ink-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--violet), var(--gold));
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════
   §3  LAYOUT UTILITIES
   ══════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 52px);
}

.relative { position: relative; }
.z1 { z-index: 1; }

/* ══════════════════════════════════════════════════════
   §4  HEADER / NAVBAR
   ══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 300;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 56px);
  background: rgba(12,10,14,.7);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur), box-shadow var(--dur);
  will-change: transform;
}

.site-header.scrolled {
  background: rgba(12,10,14,.93);
  box-shadow: 0 1px 0 var(--line-mid), var(--sh-sm);
}

/* لوگو */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo1 { height: 32px; width: auto; max-width: 130px; }
.logo-text {
  font-weight: 900;
  font-size: 18px;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
  transition: filter var(--dur);
}
.logo-text:hover { filter: drop-shadow(0 0 14px var(--gold-glow)); }

/* ناوبری دسکتاپ */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
}

nav.desktop-nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-mid);
  padding: 5px 0;
  transition: color var(--dur-fast);
  white-space: nowrap;
}

nav.desktop-nav a::after {
  content: '';
  position: absolute;
  right: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  border-radius: 2px;
  transition: width var(--dur) var(--ease);
}

nav.desktop-nav a:hover { color: var(--text); }
nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after { width: 100%; }
nav.desktop-nav a.active { color: var(--text); }

/* دکمه‌های هدر */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-fast), transform var(--dur-slow) var(--ease), background var(--dur-fast);
}
.theme-toggle-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: rotate(30deg);
}

.nav-search-btn, .nav-ai-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 7px 15px;
  color: var(--text-dim);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.nav-search-btn:hover, .nav-ai-btn:hover {
  border-color: var(--violet);
  color: var(--violet-hi);
  background: var(--violet-soft);
}

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  background: var(--ink-3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle .bar {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .nav-search-btn { display: none !important; }
  .nav-toggle { display: flex; }
}

/* ══════════════════════════════════════════════════════
   §5  MOBILE MENU + BOTTOM NAV
   ══════════════════════════════════════════════════════ */
.mobile-menu-panel {
  position: fixed;
  top: var(--header-h); right: 0; left: 0;
  z-index: 290;
  background: rgba(12,10,14,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-mid);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}
.mobile-menu-panel.open { max-height: 80vh; overflow-y: auto; }
.mobile-menu-panel a {
  display: block;
  padding: 15px 24px;
  color: var(--text-mid);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.mobile-menu-panel a:hover { color: var(--gold-hi); background: var(--gold-soft); }

.mobile-nav { display: none; }

@media (max-width: 760px) {
  .site-header { padding: 0 14px; }
  body { padding-bottom: var(--mob-nav-h); }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0; right: 0; left: 0;
    z-index: 300;
    height: var(--mob-nav-h);
    background: rgba(12,10,14,.97);
    backdrop-filter: blur(28px) saturate(1.5);
    border-top: 1px solid var(--line-mid);
    box-shadow: 0 -4px 28px rgba(0,0,0,.6);
    align-items: stretch;
    justify-content: space-around;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    padding: 6px 2px;
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color var(--dur-fast);
  }
  .mobile-nav-item svg {
    transition: transform var(--dur) var(--ease), stroke var(--dur-fast);
    flex-shrink: 0;
  }
  .mobile-nav-item:hover { color: var(--gold-hi); }
  .mobile-nav-item:hover svg { transform: translateY(-2px); stroke: var(--gold-hi); }
  .mobile-nav-item.active { color: var(--gold-hi); }
  .mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--gold));
    border-radius: 0 0 4px 4px;
  }
  .mobile-nav-item.active svg { stroke: var(--gold-hi); }
}

/* ══════════════════════════════════════════════════════
   §6  SEARCH MODAL
   ══════════════════════════════════════════════════════ */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
}
.search-modal.open { display: block; }

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,4,8,.78);
  backdrop-filter: blur(8px);
  animation: fadeIn var(--dur) var(--ease) both;
}

.search-modal-box {
  position: relative;
  max-width: 600px;
  margin: 90px auto 0;
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(139,92,246,.12);
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideDown var(--dur) var(--ease) both;
}

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

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  padding: 12px 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search-modal-input-wrap:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
}
.search-modal-input-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: var(--fs-md);
  flex: 1;
}
.search-modal-input-wrap input::placeholder { color: var(--text-faint); }

.search-modal-results {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-modal-results a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--text-mid);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.search-modal-results a:hover {
  background: var(--violet-soft);
  color: var(--violet-hi);
}

.modal-esc {
  align-self: flex-end;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-faint);
  border-radius: var(--r-xs);
  padding: 3px 10px;
  font-size: var(--fs-xs);
  cursor: pointer;
  font-family: monospace;
}

@media (max-width: 600px) {
  .search-modal-box { margin: 60px 12px 0; }
}

/* ══════════════════════════════════════════════════════
   §7  BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--violet), var(--violet-lo));
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}

/* لایه درخشش داخلی */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur);
}
/* موج کلیک */
.btn::after {
  content: '';
  position: absolute;
  inset: 50%;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
}
.btn:hover::before { opacity: 1; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh), var(--sh-violet);
}
.btn:active::after { inset: 0; transform: scale(4); opacity: 0; transition: 0s; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }
.btn:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }

/* واریانت‌ها */
.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-lo));
  box-shadow: var(--sh-sm);
}
.btn-gold:hover { box-shadow: var(--sh), var(--sh-gold); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--violet);
  color: var(--violet-hi);
  box-shadow: none;
}
.btn-outline:hover { background: var(--violet-soft); box-shadow: none; }

.btn-ghost {
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  color: var(--text-mid);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: var(--gold-soft); }

.btn-sm { padding: 7px 18px; font-size: var(--fs-xs); }
.btn-lg { padding: 14px 34px; font-size: var(--fs-md); border-radius: var(--r); }
.btn-icon {
  padding: 10px;
  border-radius: var(--r-sm);
  aspect-ratio: 1;
}
.btn-pill { border-radius: 999px; }

/* ══════════════════════════════════════════════════════
   §8  FORM ELEMENTS
   ══════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-mid);
}

.form-control,
input[type=text],
input[type=email],
input[type=password],
input[type=search],
input[type=number],
input[type=date],
input[type=url],
textarea,
select {
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.6;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast),
    background var(--dur-fast);
  appearance: none;
}

.form-control:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=date]:focus,
input[type=url]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
  background: var(--ink-3);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder { color: var(--text-faint); }

textarea { min-height: 120px; resize: vertical; }
select { cursor: pointer; }

/* پیام‌های فرم */
.form-error {
  background: var(--err-soft);
  color: var(--err);
  border: 1px solid rgba(248,113,113,.22);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: var(--fs-sm);
}
.form-success {
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid rgba(52,211,153,.22);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: var(--fs-sm);
}

/* honeypot */
.contact-honeypot { position: absolute !important; left: -9999px !important; opacity: 0; }

/* ستاره نظرات */
.star-rating { display: flex; gap: 4px; direction: ltr; margin: 6px 0; }
.star-rating input { display: none; }
.star-rating label {
  font-size: 26px;
  cursor: pointer;
  color: var(--text-faint);
  transition: color var(--dur-fast), transform var(--dur-fast);
  line-height: 1;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: var(--gold); }
.star-rating label:hover { transform: scale(1.22); }

/* ══════════════════════════════════════════════════════
   §9  HERO — صفحه اصلی
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,14,.1), rgba(12,10,14,.9) 85%),
    radial-gradient(ellipse 900px 500px at 50% 20%, rgba(139,92,246,.16), transparent 65%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 0 clamp(20px, 6%, 60px);
  animation: heroRise .9s var(--ease) both;
}

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

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: 20px;
  letter-spacing: -.015em;
}

.hero h1 .accent {
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi), var(--rose-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 6s ease infinite;
}

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

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-mid);
  margin-bottom: 38px;
  line-height: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 20px;
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.28);
  color: var(--violet-hi);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 22px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0   0 rgba(139,92,246,.0); }
  50%      { box-shadow: 0 0 22px 3px rgba(139,92,246,.28); }
}

.hero-typewriter { color: var(--gold-hi); font-weight: 700; }
.hero-typewriter .cursor {
  display: inline-block;
  width: 2px;
  margin-right: 2px;
  background: var(--gold-hi);
  animation: blinkCursor .75s step-end infinite;
}
@keyframes blinkCursor { 50% { opacity: 0; } }

/* ذرات محیطی */
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet-hi), transparent 70%);
  opacity: .08;
  animation: particleFloat var(--d, 10s) ease-in-out infinite alternate;
}
@keyframes particleFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(var(--tx, 20px), var(--ty, -20px)) scale(1.2); }
}

/* آمار هیرو */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.hero-stat .lbl {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: 3px;
}

/* اسلایدر */
.slider { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; }
.slide.active { opacity: 1; }

/* ══════════════════════════════════════════════════════
   §10  PAGE HERO (صفحات داخلی)
   ══════════════════════════════════════════════════════ */
.page-hero {
  padding: 68px 0 44px;
  text-align: center;
  background: radial-gradient(ellipse 900px 380px at 50% 0%, rgba(139,92,246,.11), transparent 65%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero p { color: var(--text-mid); margin-top: 12px; font-size: var(--fs-md); }

/* ══════════════════════════════════════════════════════
   §11  SECTION HEADERS
   ══════════════════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 56px 0 28px;
  padding: 0 clamp(16px, 4vw, 52px);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  position: relative;
  padding-right: 16px;
}
.section-head h2::before {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--gold));
  border-radius: 3px;
}
.section-link {
  color: var(--violet-hi);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast);
}
.section-link:hover { color: var(--gold-hi); }

/* ══════════════════════════════════════════════════════
   §12  CARDS — فیلم / هنرمند / خبر
   ══════════════════════════════════════════════════════ */
.artists-grid, .news-grid, .works-grid, .filmography-grid {
  display: grid;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 52px);
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.news-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.works-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* کارت پایه */
.film-card, .artist-card, .work-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur);
  position: relative;
  isolation: isolate;
}

/* لایه هاله کارت */
.film-card::before, .artist-card::before, .work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% -5%, rgba(139,92,246,.18), transparent 65%);
  transition: opacity var(--dur) var(--ease);
}
.film-card:hover::before, .artist-card:hover::before, .work-card:hover::before { opacity: 1; }

.film-card:hover, .artist-card:hover, .work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh), 0 0 0 1px rgba(139,92,246,.22);
  border-color: rgba(139,92,246,.28);
}

/* پوستر */
.film-card-poster, .artist-card img, .film-no-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: var(--fs-sm);
  transition: transform .5s var(--ease);
}
.film-card:hover .film-card-poster img,
.film-card:hover .film-card-poster,
.artist-card:hover img { transform: scale(1.06); }

/* اطلاعات کارت */
.film-card-info, .artist-card .info {
  padding: 12px 14px;
  position: relative;
  z-index: 2;
}
.film-card-info h3, .artist-card h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 4px;
}
.film-year, .film-role, .film-count { color: var(--text-faint); font-size: var(--fs-xs); }

/* کارت خبر */
.news-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur);
  isolation: isolate;
}
.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% -5%, rgba(201,162,39,.15), transparent 65%);
  transition: opacity var(--dur);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: rgba(201,162,39,.22); }
.news-card:hover::before { opacity: 1; }
.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--ink-3);
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card-img { transform: scale(1.05); }
.news-card-body { padding: 16px; position: relative; z-index: 2; }
.news-date { color: var(--gold-hi); font-size: var(--fs-xs); font-weight: 700; }

/* برچسب ویژه */
.featured { position: relative; }
.featured::after {
  content: 'ویژه';
  position: absolute;
  top: 9px; left: 9px;
  z-index: 3;
  background: linear-gradient(115deg, var(--violet), var(--gold));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 12px rgba(139,92,246,.4);
}

/* حالت خالی */
.empty-state {
  text-align: center;
  padding: 72px 20px;
  color: var(--text-faint);
  grid-column: 1 / -1;
}
.empty-state h1 {
  font-size: 4rem;
  background: linear-gradient(110deg, var(--violet-hi), var(--gold-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* کاروسل موبایل */
@media (max-width: 768px) {
  .mobile-carousel {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px !important;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-carousel::-webkit-scrollbar { display: none; }
  .mobile-carousel .film-card,
  .mobile-carousel .artist-card { flex: 0 0 148px; scroll-snap-align: start; }
}

/* ══════════════════════════════════════════════════════
   §13  FLIP CARDS
   ══════════════════════════════════════════════════════ */
.flip-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  padding: 0 clamp(16px, 4vw, 52px);
}
.flip-card { perspective: 1200px; aspect-ratio: 3/4; }
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform .65s var(--ease);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.flip-card-back {
  transform: rotateY(180deg);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.flip-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.88));
}
.flip-card-tag {
  position: absolute;
  bottom: 12px; right: 12px; left: 12px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
}

/* ══════════════════════════════════════════════════════
   §14  DETAIL PAGES — فیلم / هنرمند / خبر
   ══════════════════════════════════════════════════════ */
.cinema-hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center top;
  filter: blur(52px) saturate(1.5) brightness(.18);
  transform: scale(1.12);
  pointer-events: none;
}
body.light-mode .cinema-hero-backdrop {
  filter: blur(52px) saturate(1.3) brightness(.5);
}
.cinema-hero-page { position: relative; z-index: 1; }

.cinema-hero-poster img {
  border-radius: var(--r);
  box-shadow: 0 18px 72px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  width: 100%;
}
.cinema-hero-poster img:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 26px 90px rgba(0,0,0,.8), 0 0 50px rgba(139,92,246,.2), 0 0 0 1px rgba(255,255,255,.1);
}

.artist-page, .movie-page, .news-page { padding-top: 44px; padding-bottom: 80px; }

.artist-details, .movie-details {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 52px);
}
.artist-image, .cinema-hero-poster { position: relative; }

/* تگ‌های متا */
.artist-jobs, .movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.artist-jobs span, .movie-meta-row span {
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: var(--fs-xs);
  color: var(--text-mid);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.artist-jobs span:hover, .movie-meta-row span:hover {
  border-color: var(--violet);
  color: var(--violet-hi);
}
.movie-meta-row a, .artist-jobs a { color: inherit; }

/* نام */
.artist-details h1, .movie-details h1 {
  font-size: var(--fs-3xl);
  background: linear-gradient(110deg, var(--text), var(--text-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

/* توضیحات */
.artist-details p, .movie-details p {
  color: var(--text-mid);
  font-size: var(--fs-md);
  line-height: 2;
  margin-top: 14px;
}

/* بازیگران/عوامل */
.movie-cast, .movie-crew {
  margin: 18px 0;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.movie-cast b, .movie-crew b {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.movie-cast a, .movie-crew a { color: var(--violet-hi); transition: color var(--dur-fast); }
.movie-cast a:hover, .movie-crew a:hover { color: var(--gold-hi); }
.movie-crew-list { display: flex; flex-wrap: wrap; gap: 8px; }
.movie-crew-list li {
  background: var(--ink-3);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: var(--fs-sm);
}

/* تریلر */
.movie-trailer {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--sh);
}
.movie-trailer iframe { width: 100%; height: 100%; border: none; }

/* اشتراک‌گذاری */
.share-buttons { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.share-btn:hover { border-color: var(--violet); color: var(--violet-hi); background: var(--violet-soft); }

/* بخش‌های پایین */
.filmography-section { margin-top: 52px; max-width: 1200px; margin-inline: auto; padding: 0 clamp(16px, 4vw, 52px); }

/* گالری */
.movie-gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 20px;
}
.gallery-item {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65));
  opacity: 0;
  transition: opacity var(--dur);
}
.gallery-item:hover::after { opacity: 1; }

/* اخبار */
.news-header { max-width: 800px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 52px) 30px; text-align: center; }
.news-image { max-width: 940px; margin: 0 auto 38px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.news-content { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 52px); font-size: var(--fs-md); line-height: 2.1; }
.news-content img { border-radius: var(--r-sm); margin: 22px 0; }
.news-meta { display: flex; gap: 14px; justify-content: center; color: var(--text-faint); font-size: var(--fs-sm); margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .artist-details, .movie-details { grid-template-columns: 1fr; gap: 24px; }
  .artist-image, .cinema-hero-poster { max-width: 210px; margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════
   §15  BREADCRUMB
   ══════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-faint);
  padding: 14px clamp(16px, 4vw, 52px);
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--text-faint); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--gold-hi); }
.breadcrumb span.sep { opacity: .4; }

/* ══════════════════════════════════════════════════════
   §16  CONTACT / STATIC PAGES
   ══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 52px);
}
.contact-info-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }

.static-page { max-width: 900px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 52px); }
.static-page h2 { margin: 28px 0 12px; }
.static-page p { color: var(--text-mid); line-height: 2; }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════
   §17  PRICING
   ══════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 40px 0;
}
.price-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
  position: relative;
  isolation: isolate;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,.3);
  box-shadow: var(--sh), var(--sh-violet);
}
.price-card.featured-plan {
  border-color: rgba(201,162,39,.35);
  background: linear-gradient(145deg, var(--ink-2), rgba(201,162,39,.06));
}
.price-card.featured-plan:hover { box-shadow: var(--sh), var(--sh-gold); }
.price-card h3 { font-size: var(--fs-xl); margin-bottom: 14px; }
.price-card .price { font-size: var(--fs-lg); font-weight: 800; color: var(--gold-hi); margin: 6px 0; }
.price-card ul { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; text-align: right; }
.price-card ul li {
  padding-right: 20px;
  position: relative;
  font-size: var(--fs-sm);
  color: var(--text-mid);
}
.price-card ul li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--violet);
  font-size: 10px;
  top: 4px;
}
.price-card a, .price-card button {
  display: block;
  margin-top: 22px;
  padding: 12px;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--violet), var(--violet-lo));
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.price-card a:hover, .price-card button:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-violet);
}

/* ══════════════════════════════════════════════════════
   §18  AI / CHATBOT / SECTIONS
   ══════════════════════════════════════════════════════ */
.ai-section, .live-feed-section, .promo-feed-section, .cta-section, .news-section {
  padding: 0 clamp(16px, 4vw, 52px);
  margin: 56px 0;
}

.ai-section-bg {
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 54px);
}

.ai-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.ai-badge {
  background: var(--violet-soft);
  color: var(--violet-hi);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.ai-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.8); }
}

/* چت‌بات */
.chatbot-wrap {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  background: var(--ink-2);
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
}
.chatbot-messages {
  max-height: 420px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg { display: flex; gap: 10px; max-width: 85%; }
.chat-bubble {
  background: var(--ink-3);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: var(--fs-sm);
  line-height: 1.75;
}
.bot-msg .chat-bubble {
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.2);
}
.bot-avatar, .chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chatbot-suggestions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 12px; }
.chatbot-input-wrap {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.chatbot-input { flex: 1; }
.chatbot-send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--violet), var(--violet-lo));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.chatbot-send:hover { transform: scale(1.1); box-shadow: var(--sh-violet); }

/* لایو فید */
.lf-inner {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 40px);
}
.lf-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.lf-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-tab {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  font-size: var(--fs-sm);
  cursor: pointer;
  color: var(--text-dim);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.lf-tab.active { background: var(--violet); color: #fff; border-color: var(--violet); }
.lf-tab:hover:not(.active) { border-color: var(--violet); color: var(--violet-hi); }
.lf-grid, .lf-grid--news {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 18px;
}
.lf-pane { display: none; }
.lf-pane.active { display: block; }
.lf-badge {
  background: var(--gold);
  color: #1a0d00;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.lf-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-hi);
  animation: pulseDot 1.6s infinite;
  display: inline-block;
}
.lf-skeleton { background: var(--ink-3); border-radius: var(--r-sm); height: 160px; }
.lf-see-all, .lf-footer-link {
  display: block;
  text-align: center;
  margin-top: 22px;
  color: var(--violet-hi);
  font-weight: 700;
  transition: color var(--dur-fast);
}
.lf-see-all:hover, .lf-footer-link:hover { color: var(--gold-hi); }

/* بنر تبلیغاتی */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(26px, 5vw, 54px);
  background: linear-gradient(120deg, var(--ink-3), var(--ink-4));
  border: 1px solid var(--line-mid);
}
.promo-banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,162,39,.2), transparent 65%);
  pointer-events: none;
}
.promo-banner-badge {
  display: inline-block;
  background: linear-gradient(115deg, var(--violet), var(--gold));
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 800;
  margin-bottom: 14px;
}
.promo-banner-text { position: relative; z-index: 1; max-width: 560px; }
.promo-banner-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; position: relative; z-index: 1; }

/* CTA */
.cta-section { text-align: center; }
.cta-inner {
  background: linear-gradient(135deg, var(--ink-2), rgba(139,92,246,.08));
  border-radius: var(--r-xl);
  padding: clamp(38px, 6vw, 70px);
  border: 1px solid var(--line-mid);
}
.cta-btns { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   §19  SKELETON LOADING
   ══════════════════════════════════════════════════════ */
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.035) 25%,
    rgba(255,255,255,.075) 50%,
    rgba(255,255,255,.035) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite;
  border-radius: var(--r-sm);
}
.skeleton-card { background: var(--ink-2); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.skeleton-poster { height: 260px; }
.skeleton-line { height: 13px; margin: 12px 12px 6px; }
.skeleton-line.short { width: 50%; height: 11px; margin: 4px 12px 12px; }

/* ══════════════════════════════════════════════════════
   §20  PROGRESS BAR
   ══════════════════════════════════════════════════════ */
#nprogress-bar {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 2px;
  z-index: 9999;
  background: linear-gradient(90deg, var(--violet), var(--gold), var(--rose));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
  pointer-events: none;
  border-radius: 0 0 2px 2px;
}

/* ══════════════════════════════════════════════════════
   §21  FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer-v2 {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 56px clamp(16px, 4vw, 52px) 32px;
}
.footer-v2-inner {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-v2-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-v2-name {
  font-weight: 900;
  font-size: var(--fs-lg);
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-v2-col h4 {
  font-size: var(--fs-xs);
  margin-bottom: 14px;
  color: var(--gold-hi);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 800;
}
.footer-v2-col a, .footer-v2-col li a {
  display: block;
  color: var(--text-dim);
  font-size: var(--fs-sm);
  padding: 5px 0;
  transition: color var(--dur-fast), padding-right var(--dur) var(--ease);
}
.footer-v2-col a:hover { color: var(--gold-hi); padding-right: 4px; }
.footer-socials { display: flex; gap: 10px; margin-top: 10px; }
.fsoc-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: border-color var(--dur-fast), transform var(--dur) var(--ease), background var(--dur-fast), color var(--dur-fast);
}
.fsoc-btn:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: var(--gold-soft);
  color: var(--gold-hi);
}
.footer-v2-bottom {
  max-width: var(--container);
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.footer-status { display: flex; align-items: center; gap: 6px; }
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulseDot 2.2s infinite;
}

/* خبرنامه */
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { border-radius: var(--r-sm); font-size: var(--fs-sm); }
.newsletter-form button {
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, var(--violet), var(--violet-lo));
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: var(--sh-violet); }
.newsletter-msg.ok  { color: var(--ok);  font-size: var(--fs-xs); margin-top: 7px; }
.newsletter-msg.err { color: var(--err); font-size: var(--fs-xs); margin-top: 7px; }

@media (max-width: 900px) { .footer-v2-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-v2-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-socials { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   §22  BACK TO TOP + TOAST
   ══════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 200;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-lo));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh), var(--sh-violet);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur), transform var(--dur) var(--ease);
  border: none;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px) scale(1.06); }

.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--r);
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  box-shadow: var(--sh);
  font-size: var(--fs-sm);
  font-weight: 600;
  animation: toastIn .3s var(--ease) both;
  pointer-events: auto;
  min-width: 200px;
  max-width: 320px;
}
.toast.out { animation: toastOut .3s var(--ease-in) both; }
.toast-ok  { border-color: rgba(52,211,153,.3);  color: var(--ok); }
.toast-err { border-color: rgba(248,113,113,.3); color: var(--err); }
@keyframes toastIn  { from { opacity:0; transform: translateY(12px) scale(.95); } }
@keyframes toastOut { to   { opacity:0; transform: translateY(-8px) scale(.95); } }

@media (max-width: 560px) {
  .back-to-top { bottom: calc(var(--mob-nav-h) + 14px); left: 14px; width: 40px; height: 40px; }
  .toast-container { bottom: calc(var(--mob-nav-h) + 14px); right: 14px; left: 14px; }
}

/* ══════════════════════════════════════════════════════
   §23  PAGINATION + BADGES
   ══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 48px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}
.pagination a:hover {
  border-color: var(--violet);
  color: var(--violet-hi);
  background: var(--violet-soft);
  transform: translateY(-1px);
}
.pagination .active {
  background: linear-gradient(120deg, var(--violet), var(--violet-lo));
  border-color: var(--violet);
  color: #fff;
}

/* بج‌ها */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.badge-gold   { background: var(--gold-soft);   color: var(--gold-hi);   }
.badge-violet { background: var(--violet-soft); color: var(--violet-hi); }
.badge-rose   { background: var(--rose-soft);   color: var(--rose-hi);   }
.badge-ok     { background: var(--ok-soft);     color: var(--ok);        }
.badge-err    { background: var(--err-soft);    color: var(--err);       }

/* ══════════════════════════════════════════════════════
   §24  ADMIN PANEL
   ══════════════════════════════════════════════════════ */
body:has(.admin-layout) {
  padding-top: 0;
}

.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--ink-1);
  border-left: 1px solid var(--line-mid);
  padding: 28px 16px;
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* نام سایدبار ادمین */
.sidebar, .admin-sidebar {
  display: flex;
  flex-direction: column;
}
.sidebar-logo {
  font-size: var(--fs-lg);
  font-weight: 900;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 10px 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sidebar ul { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--dur-fast), color var(--dur-fast), padding-right var(--dur) var(--ease);
}
.sidebar ul li a:hover {
  background: var(--violet-soft);
  color: var(--violet-hi);
  padding-right: 18px;
}
.sidebar ul li a.active {
  background: var(--violet-soft);
  color: var(--violet-hi);
}

.admin-content {
  margin-right: var(--sidebar-w);
  padding: 36px clamp(20px, 3vw, 44px);
  width: 100%;
  min-height: 100vh;
}

.admin-content h1 {
  font-size: var(--fs-2xl);
  margin-bottom: 28px;
  background: linear-gradient(110deg, var(--text), var(--text-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* داشبورد */
.dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.dashboard-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color var(--dur-fast), box-shadow var(--dur), transform var(--dur) var(--ease);
}
.dashboard-card:hover {
  border-color: rgba(139,92,246,.3);
  box-shadow: var(--sh-sm), var(--sh-violet);
  transform: translateY(-3px);
}
.dashboard-card h2 { font-size: var(--fs-md); margin-bottom: 10px; }
.dashboard-card > span {
  font-size: var(--fs-2xl);
  font-weight: 900;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* جدول ادمین */
.admin-table-wrap { overflow-x: auto; border-radius: var(--r); }
table thead { background: var(--ink-3); }
table th, table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: var(--fs-sm);
  white-space: nowrap;
}
table th {
  color: var(--text-faint);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .07em;
}
table tbody tr {
  transition: background var(--dur-fast);
}
table tbody tr:hover { background: var(--violet-soft); }

/* صفحات لاگین ادمین */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.admin-login-box {
  width: 100%;
  max-width: 420px;
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--sh-lg);
}
.admin-login-box h1 {
  font-size: var(--fs-2xl);
  margin-bottom: 8px;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.admin-login-box p { color: var(--text-dim); margin-bottom: 28px; font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-left: none;
    border-bottom: 1px solid var(--line-mid);
    padding: 16px;
  }
  .admin-content { margin-right: 0; padding: 20px 16px; }
  .admin-layout { flex-direction: column; }
  body:has(.admin-layout) { padding-top: 0; }
}

/* ══════════════════════════════════════════════════════
   §25  SCROLL REVEAL ANIMATION
   ══════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   §26  TOOLTIP
   ══════════════════════════════════════════════════════ */
[data-tooltip] {
  position: relative;
  cursor: default;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 50%;
  transform: translateX(50%) scale(.9);
  background: var(--ink-4);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  border: 1px solid var(--line-mid);
  box-shadow: var(--sh-sm);
  z-index: 100;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(50%) scale(1);
}

/* ══════════════════════════════════════════════════════
   §27  DROPDOWN
   ══════════════════════════════════════════════════════ */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  box-shadow: var(--sh);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
  z-index: 200;
  overflow: hidden;
}
.dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.dropdown-menu a, .dropdown-menu button {
  display: block;
  padding: 10px 16px;
  color: var(--text-mid);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.dropdown-menu a:hover, .dropdown-menu button:hover {
  background: var(--violet-soft);
  color: var(--violet-hi);
}

/* ══════════════════════════════════════════════════════
   §28  MODAL
   ══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5,4,8,.80);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--sh-lg);
  transform: scale(.95);
  transition: transform var(--dur) var(--ease);
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.modal-close:hover { background: var(--err-soft); color: var(--err); }

/* ══════════════════════════════════════════════════════
   §29  RESPONSIVE FINAL
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .artists-grid, .news-grid, .works-grid, .filmography-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
  .flip-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 600px) {
  .container,
  .section-head,
  .artists-grid, .news-grid, .works-grid, .filmography-grid, .flip-grid,
  .ai-section, .live-feed-section, .promo-feed-section, .cta-section, .news-section,
  .artist-details, .movie-details, .filmography-section,
  .news-content, .news-header, .contact-grid {
    padding-left: 14px;
    padding-right: 14px;
  }
  .artists-grid, .works-grid, .filmography-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  .hero { min-height: 80vh; }
  .btn { padding: 10px 20px; font-size: var(--fs-sm); }
  .section-head { margin: 36px 0 18px; }
}

/* ══════════════════════════════════════════════════════
   §30  UTILITY CLASSES
   ══════════════════════════════════════════════════════ */
.text-gold    { color: var(--gold-hi); }
.text-violet  { color: var(--violet-hi); }
.text-rose    { color: var(--rose-hi); }
.text-dim     { color: var(--text-dim); }
.text-faint   { color: var(--text-faint); }
.text-center  { text-align: center; }
.text-sm      { font-size: var(--fs-sm); }
.text-xs      { font-size: var(--fs-xs); }
.fw-bold      { font-weight: 700; }
.fw-black     { font-weight: 900; }
.mt-sm        { margin-top: var(--sp-sm); }
.mt-md        { margin-top: var(--sp-md); }
.mt-lg        { margin-top: var(--sp-lg); }
.mt-xl        { margin-top: var(--sp-xl); }
.mb-sm        { margin-bottom: var(--sp-sm); }
.mb-md        { margin-bottom: var(--sp-md); }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-sm       { gap: var(--sp-sm); }
.gap-md       { gap: var(--sp-md); }
.flex-wrap    { flex-wrap: wrap; }
.w-full       { width: 100%; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ══════════════════════════════════════════════════════
   §31  STATIC PAGES — LIST ITEMS
   ══════════════════════════════════════════════════════ */
.static-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.static-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-mid);
  line-height: 1.8;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.static-list-item::before {
  content: "✦";
  color: var(--violet-hi);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}
.static-list-item:hover {
  border-color: var(--violet-soft);
  background: var(--violet-bg, rgba(139,92,246,.06));
}

/* ══════════════════════════════════════════════════════
   §32  CONTACT PAGE FORM INPUTS
   ══════════════════════════════════════════════════════ */
.contact-input,
.contact-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}
.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.contact-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.8;
}
.contact-submit-btn {
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: var(--r);
  padding: 12px 28px;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  letter-spacing: .3px;
}
.contact-submit-btn:hover {
  background: var(--violet-hi);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,92,246,.35);
}
.contact-submit-btn:active {
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   §33  PRICING — FEATURE LIST ITEMS
   ══════════════════════════════════════════════════════ */
.price-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.price-feature::before {
  content: "✓";
  color: var(--gold-hi);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   §34  SIDEBAR NAV
   ══════════════════════════════════════════════════════ */
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav-item {
  border-radius: var(--r-sm);
  overflow: hidden;
}
.sidebar-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.sidebar-nav-item a:hover {
  background: var(--violet-soft);
  color: var(--violet-hi);
}
.sidebar-nav-item a.active {
  background: var(--violet-bg, rgba(139,92,246,.15));
  color: var(--violet-hi);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   §35  MOVIE YEAR BADGE
   ══════════════════════════════════════════════════════ */
.movie-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-soft, rgba(245,158,11,.12));
  color: var(--gold-hi);
  border: 1px solid var(--gold-soft, rgba(245,158,11,.25));
  border-radius: 20px;
  padding: 3px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .3px;
}

/* ══════════════════════════════════════════════════════
   §36  SEARCH — SECTION TITLE
   ══════════════════════════════════════════════════════ */
.search-section-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.search-section-title::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--violet);
  border-radius: 3px;
  display: inline-block;
}

/* ══════════════════════════════════════════════════════
   §37  404 PAGE
   ══════════════════════════════════════════════════════ */
.empty-state--404 {
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.error-404-title {
  font-size: clamp(64px, 15vw, 120px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--violet-hi), var(--gold-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: none;
}

/* ══════════════════════════════════════════════════════
   §38  PAGINATION ENHANCED
   ══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 40px 0 20px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  color: var(--text-mid);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--dur-fast);
}
.page-link:hover {
  background: var(--violet-soft);
  border-color: var(--violet);
  color: var(--violet-hi);
  transform: translateY(-2px);
}
.page-link.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 4px 12px rgba(139,92,246,.4);
}
.page-link.prev,
.page-link.next {
  font-weight: 700;
  padding: 0 16px;
}

/* ══════════════════════════════════════════════════════
   §39  NEWS PAGE ENHANCEMENTS
   ══════════════════════════════════════════════════════ */
.news-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 52px) 80px;
}
.news-header h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.4;
}
.news-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
}
.news-content p {
  color: var(--text-mid);
  line-height: 2.1;
  font-size: var(--fs-md);
}

/* ══════════════════════════════════════════════════════
   §40  WORK-CARD HOVER GLOW
   ══════════════════════════════════════════════════════ */
.work-card img,
.artist-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.work-card:hover img,
.artist-card:hover img {
  transform: scale(1.06);
}
.work-card h3,
.artist-card h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin: 10px 10px 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-card p,
.artist-card p {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin: 0 10px 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════
   §41  STATIC PAGE INLINE LINKS
   ══════════════════════════════════════════════════════ */
.static-page a {
  color: var(--violet-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}
.static-page a:hover { color: var(--gold-hi); }

/* ══════════════════════════════════════════════════════
   §42  ARTIST ARCHIVE — LETTER HEADER
   ══════════════════════════════════════════════════════ */
.static-page h2 {
  position: relative;
  padding-right: 14px;
}
.static-page h2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  min-height: 16px;
  background: linear-gradient(to bottom, var(--violet), var(--gold-hi));
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════
   §43  ARTIST/MOVIE INDEX SECTION TITLE
   ══════════════════════════════════════════════════════ */
.artists-list {
  max-width: 1340px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 48px) 60px;
}

/* ══════════════════════════════════════════════════════
   §44  CONTACT INFO LIST ITEM
   ══════════════════════════════════════════════════════ */
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ci-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--violet-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-info-list a {
  color: var(--violet-hi);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast);
}
.contact-info-list a:hover { color: var(--gold-hi); }

/* ══════════════════════════════════════════════════════
   §45  MOVIE GALLERY ITEM HOVER
   ══════════════════════════════════════════════════════ */
.gallery-item {
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.gallery-item img {
  transition: filter .3s ease;
}
.gallery-item:hover img {
  filter: brightness(1.08);
}

/* ══════════════════════════════════════════════════════
   §46  MOVIE/ARTIST PAGE DESCRIPTION TEXT
   ══════════════════════════════════════════════════════ */
.artist-details p,
.artist-details > p {
  color: var(--text-mid);
  line-height: 2;
  font-size: var(--fs-md);
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════
   §47  SHARE BUTTONS (movie + news view)
   ══════════════════════════════════════════════════════ */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.share-buttons b {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}
.share-btn {
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  padding: 7px 16px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: all var(--dur-fast);
  letter-spacing: .3px;
}
.share-btn:hover {
  border-color: var(--violet);
  color: var(--violet-hi);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139,92,246,.2);
}

/* ══════════════════════════════════════════════════════
   §48  RESPONSIVE EXTRAS
   ══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .error-404-title { font-size: 80px; }
  .static-list-item { padding: 8px 12px; }
  .contact-submit-btn { width: 100%; }
  .pagination { gap: 4px; }
  .page-link { min-width: 36px; height: 36px; font-size: 12px; }
  .news-page { padding: 20px 16px 60px; }
  .artists-list { padding: 16px 12px 40px; }
}

/* ══════════════════════════════════════════════════════
   §49  TERMS & PRIVACY PAGE
   ══════════════════════════════════════════════════════ */
.static-page ul.static-list { padding-right: 0; }
.static-page p + h2 { margin-top: 36px; }
.static-page p { margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════
   §50  ANCHOR FIX — EMPTY STATE LINKS
   ══════════════════════════════════════════════════════ */
.empty-state a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet-hi);
  border: 1px solid var(--violet-soft);
  border-radius: var(--r-sm);
  padding: 8px 18px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  margin: 4px;
  transition: all var(--dur-fast);
}
.empty-state a:hover {
  background: var(--violet-soft);
  border-color: var(--violet);
  transform: translateY(-2px);
}
.empty-state--404 p {
  color: var(--text-mid);
  font-size: var(--fs-md);
  line-height: 1.8;
}
.empty-state--404 p:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}


/* ══════════════════════════════════════════════════════
   §51  ADMIN — LOGIN PAGE FULL REDESIGN
   ══════════════════════════════════════════════════════ */
.admin-login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.admin-login-wrap {
  width: 100%;
  max-width: 420px;
}
.admin-login-form {
  background: var(--ink-2);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-login-form h2 {
  font-size: var(--fs-2xl);
  font-weight: 900;
  background: linear-gradient(110deg, var(--gold-hi), var(--violet-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  text-align: center;
}
.admin-input {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}
.admin-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.admin-submit-btn {
  width: 100%;
  background: var(--violet);
  color: #fff;
  border: none;
  border-radius: var(--r);
  padding: 13px;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  margin-top: 4px;
  letter-spacing: .3px;
}
.admin-submit-btn:hover {
  background: var(--violet-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,.4);
}
.login-error {
  background: var(--err-soft, rgba(239,68,68,.1));
  border: 1px solid var(--err, #ef4444);
  color: var(--err, #ef4444);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: var(--fs-sm);
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   §52  ADMIN — DASHBOARD GRAPH CARD
   ══════════════════════════════════════════════════════ */
.dashboard-card--graph {
  background: linear-gradient(135deg, rgba(139,92,246,.10), rgba(251,146,60,.07)) !important;
  border-color: rgba(139,92,246,.28) !important;
}
.dashboard-card-desc {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}
.dashboard-card-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dashboard-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--dur-fast);
}
.dashboard-card-btn--violet {
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.38);
  color: var(--violet-hi);
}
.dashboard-card-btn--violet:hover {
  background: rgba(139,92,246,.3);
  transform: translateY(-1px);
}
.dashboard-card-btn--gold {
  background: rgba(251,146,60,.12);
  border-color: rgba(251,146,60,.28);
  color: var(--gold-hi);
}
.dashboard-card-btn--gold:hover {
  background: rgba(251,146,60,.22);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   §53  ADMIN — TABLE UTILITIES
   ══════════════════════════════════════════════════════ */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--r-sm);
  display: block;
}
.admin-img-preview {
  width: 120px;
  border-radius: var(--r);
  margin-top: 8px;
  display: block;
}
.admin-gallery-link a {
  color: var(--violet-hi);
  font-size: var(--fs-sm);
  text-decoration: none;
}
.admin-gallery-link a:hover { text-decoration: underline; }
.row--pending { font-weight: 700; }
.row--done { opacity: .65; }
.inline-form { display: inline; }
.btn-icon-danger {
  background: none;
  border: none;
  color: var(--err, #ef4444);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.btn-icon-danger:hover { background: var(--err-soft, rgba(239,68,68,.1)); }
.td-truncate {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.td-muted { color: var(--text-faint); }
.td-xs { font-size: 12px; color: var(--text-faint); }
.td-card-id {
  direction: ltr;
  font-family: monospace;
  font-weight: 700;
  color: var(--violet-hi);
}
.msg-cell { max-width: 320px; white-space: pre-wrap; }
.link-toggle {
  background: none;
  border: none;
  color: var(--violet-hi);
  cursor: pointer;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.link-toggle:hover { background: var(--violet-soft); }

/* ══════════════════════════════════════════════════════
   §54  ADMIN — ALERTS & MESSAGES
   ══════════════════════════════════════════════════════ */
.admin-alert {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.admin-alert--error {
  background: var(--err-soft, rgba(239,68,68,.1));
  border: 1px solid var(--err, #ef4444);
  color: var(--err, #ef4444);
}
.admin-alert--success {
  background: rgba(16,185,129,.1);
  border: 1px solid var(--ok, #10b981);
  color: var(--ok, #10b981);
}
.admin-subtitle {
  opacity: .7;
  margin-top: -8px;
  margin-bottom: 20px;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.admin-section-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 14px;
  margin-top: 0;
}
.admin-empty-msg {
  color: var(--text-faint);
  font-size: var(--fs-sm);
  padding: 12px 0;
}
.admin-hint {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.admin-warn-sm {
  font-size: 12px;
  color: var(--err, #ef4444);
  font-weight: 600;
}
.field-hint {
  opacity: .6;
  display: block;
  margin: 4px 0 16px;
  font-size: var(--fs-xs);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   §55  ADMIN — CHATBOT STATS CARDS
   ══════════════════════════════════════════════════════ */
.chatbot-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.chatbot-stat-card {
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.chatbot-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}
.chatbot-stat-num {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.chatbot-stat-num--violet { color: var(--violet-hi); }
.chatbot-stat-num--green  { color: var(--ok, #10b981); }
.chatbot-stat-num--coral  { color: var(--coral-hi, #fb923c); }
.chatbot-stat-label {
  color: var(--text-faint);
  font-size: var(--fs-xs);
  margin-top: 4px;
}
.admin-wrap {
  padding: 90px clamp(16px, 5vw, 60px) 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.admin-search-form {
  margin-bottom: 18px;
  max-width: 380px;
}
.admin-search-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-mid);
  background: var(--surface);
  color: inherit;
  font-family: inherit;
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--dur-fast);
}
.admin-search-input:focus { border-color: var(--violet); }

/* ══════════════════════════════════════════════════════
   §56  ADMIN — CARDS PAGE UTILITIES
   ══════════════════════════════════════════════════════ */
.cstat-violet { color: var(--violet-hi); }
.cstat-coral  { color: var(--coral-hi, #fb923c); }
.cstat-green  { color: var(--ok, #4ade80); }
.cv--warn     { color: var(--coral-hi, #fb923c); }
.cv--sm       { font-size: 11px; }
.card-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.highlight-violet {
  color: var(--violet-hi);
  direction: ltr;
  display: inline-block;
  font-weight: 700;
}
.highlight-coral {
  color: var(--coral-hi, #fb923c);
  direction: ltr;
  display: inline-block;
}

/* ══════════════════════════════════════════════════════
   §57  ADMIN — GALLERY GRID
   ══════════════════════════════════════════════════════ */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.admin-gallery-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-mid);
  transition: border-color var(--dur-fast);
}
.admin-gallery-item:hover { border-color: var(--violet); }
.admin-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-delete-form { margin-top: 6px; }
.gallery-delete-btn {
  width: 100%;
  background: rgba(160,40,40,.85);
  color: #fff;
  border: none;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  padding: 7px;
  cursor: pointer;
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: background var(--dur-fast);
}
.gallery-delete-btn:hover { background: #c53030; }

/* ══════════════════════════════════════════════════════
   §58  ADMIN — GRAPH PAGE
   ══════════════════════════════════════════════════════ */
.fg--full { grid-column: 1 / -1; }
.graph-subtitle {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   §59  ADMIN — BUTTON VARIANTS
   ══════════════════════════════════════════════════════ */
.btn--sm {
  font-size: var(--fs-xs) !important;
  padding: 7px 14px !important;
}
.btn--outline {
  background: transparent !important;
  border: 1px solid var(--line-mid) !important;
  color: var(--text-mid) !important;
}
.btn--outline:hover {
  border-color: var(--violet) !important;
  color: var(--violet-hi) !important;
  background: var(--violet-soft) !important;
}

/* ══════════════════════════════════════════════════════
   §60  ADMIN — SIDEBAR ACTIVE STATE FIX
   ══════════════════════════════════════════════════════ */
.sidebar-nav-item a,
.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast), padding-right var(--dur) var(--ease);
}
.sidebar-nav-item a:hover,
.sidebar ul li a:hover {
  background: var(--violet-soft);
  color: var(--violet-hi);
  padding-right: 18px;
}

/* ══════════════════════════════════════════════════════
   §61  ADMIN FORM — LABEL & INPUT SPACING FIX
   ══════════════════════════════════════════════════════ */
.admin-form label,
.admin-form small {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  font-weight: 600;
}
.admin-form small {
  opacity: .7;
  margin: 4px 0 14px;
  line-height: 1.5;
}
.admin-form small a { color: var(--violet-hi); }

/* film-poster-wrap (edit page) */
.film-poster-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══════════════════════════════════════════════════════
   §62  RESPONSIVE ADMIN
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .chatbot-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .admin-wrap { padding: 24px 16px 40px; }
}
@media (max-width: 600px) {
  .admin-login-form { padding: 28px 20px; }
  .dashboard-card-actions { flex-direction: column; }
  .chatbot-stats-grid { grid-template-columns: 1fr; }
  .td-truncate { max-width: 140px; }
}


/* ══════════════════════════════════════════════════════
   §63  REMAINING UTILITY CLASSES
   ══════════════════════════════════════════════════════ */

/* Empty states */
.empty-state--padded { padding: 40px; text-align: center; }
.empty-state--inline { padding: 20px; }

/* Archive pages */
.static-page--wide { max-width: 1100px; }
.works-grid--grouped { padding: 0 0 30px; }
.artists-grid--archive {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0 30px;
}
@media (max-width: 760px) {
  .artists-grid--archive { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .artists-grid--archive { grid-template-columns: 1fr; }
}

/* Navbar actions wrapper */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Admin form wide variant */
.admin-form--wide { max-width: 680px; }

/* Sitemap grid spacing */
.sitemap-grid { margin-bottom: 24px; }

/* Code preview (robots.txt) */
.code-preview {
  background: var(--surface);
  border: 1px solid var(--line-mid);
  border-radius: var(--r-sm);
  padding: 18px;
  color: var(--text);
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  font-size: 14px;
  font-family: monospace;
  overflow-x: auto;
}

/* Admin text emphasis */
.text-em { color: var(--text); font-weight: 700; }

/* Admin empty table cell */
.td-empty-msg {
  text-align: center;
  color: var(--text-faint);
  padding: 24px;
}

/* Contact page social icons spacing */
.contact-socials { margin-top: 18px; }

/* Pricing period label */
.price-period {
  font-size: 14px;
  font-weight: 400;
  opacity: .75;
}

/* Admin SEO subtitle */
.admin-subtitle {
  color: var(--text-dim);
  line-height: 2;
  margin-bottom: 14px;
  font-size: var(--fs-sm);
}


/* ══════════════════════════════════════════════════════
   §LEGACY-EXT  کلاس‌های تکمیلی برای فیلدهای جدید (سریال/اخبار)
   با همون توکن‌های قدیمی هماهنگ شدن
   ══════════════════════════════════════════════════════ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .3px;
  background: var(--violet-soft);
  color: var(--violet-hi);
  border: 1px solid var(--violet-soft);
}
.status-badge--ongoing { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-soft); }
.status-badge--ended   { background: var(--err-soft); color: var(--err); border-color: var(--err-soft); }
.status-badge--upcoming{ background: var(--gold-soft); color: var(--gold-hi); border-color: var(--gold-soft); }

.movie-trailer-box {
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.movie-trailer-box b {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.movie-trailer-box a { color: var(--violet-hi); font-weight: 600; transition: color var(--dur-fast); }
.movie-trailer-box a:hover { color: var(--gold-hi); }

.hashtag-badge {
  background: var(--gold-soft);
  color: var(--gold-hi);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.movie-hashtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.coming-soon-text { color: var(--text-faint); font-size: var(--fs-sm); }

/* ══════════════════════════════════════════════════════
   §64  پروفایل مدرن (هنرمند/فیلم/سریال) — هیرو + فیلد‌های اضافی
   ══════════════════════════════════════════════════════ */

/* هیرو به‌صورت کارت شیشه‌ای، ریسپانسیوتر با clamp و auto-fit */
.profile-hero-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 52px);
}
.profile-hero-inner {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(24px, 4vw, 44px);
  background: linear-gradient(160deg, var(--glass-bg-md), var(--glass-bg));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 32px);
  backdrop-filter: blur(var(--glass-blur)) var(--glass-sat);
  -webkit-backdrop-filter: blur(var(--glass-blur)) var(--glass-sat);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.profile-hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--violet-soft), transparent 55%);
  pointer-events: none;
  opacity: .7;
}
.profile-poster-col { position: relative; z-index: 1; }
.profile-poster-col .cinema-hero-poster { position: sticky; top: calc(var(--header-h, 64px) + 16px); }
.profile-body-col { position: relative; z-index: 1; min-width: 0; }

/* نشان امتیاز IMDB روی گوشه‌ی پوستر */
.imdb-corner-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(10,8,14,.78);
  border: 1px solid var(--gold-soft);
  color: var(--gold-hi);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.imdb-corner-badge b { color: var(--text); font-weight: 800; }

/* گرید فیلدهای تکمیلی (اطلاعات شناسنامه‌ای) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.info-item {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
  min-width: 0;
}
.info-item:hover {
  border-color: var(--violet-soft);
  background: var(--ink-3);
  transform: translateY(-2px);
}
.info-item__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 5px;
}
.info-item__value {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: break-word;
}
.info-item__value a { color: var(--violet-hi); }
.info-item__value a:hover { color: var(--gold-hi); }
.info-item--deceased .info-item__label { color: var(--rose); }

/* جوایز */
.awards-box {
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-glow);
  border-radius: var(--r);
  color: var(--text-mid);
  font-size: var(--fs-sm);
  line-height: 1.9;
}
.awards-box b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-hi);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

/* لینک‌های اجتماعی/بیرونی (اینستاگرام، وب‌سایت، IMDB) */
.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line-mid);
  font-size: var(--fs-sm);
  color: var(--text-mid);
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.social-link-pill:hover { border-color: var(--violet); color: var(--violet-hi); transform: translateY(-2px); }
.social-link-pill--imdb:hover { border-color: var(--gold); color: var(--gold-hi); }

/* لینک‌های پخش آنلاین */
.streaming-links-box {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.streaming-links-box a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--violet-hi);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  overflow-wrap: anywhere;
}
.streaming-links-box a:hover { border-color: var(--violet); background: var(--violet-soft); }

/* ── ریسپانسیو ── */
@media (max-width: 760px) {
  .profile-hero-inner { grid-template-columns: 1fr; padding: 16px; border-radius: var(--r); }
  .profile-poster-col .cinema-hero-poster { position: static; max-width: 190px; margin: 0 auto; }
  .info-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .info-item { padding: 10px 12px; }
}
@media (max-width: 420px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════
   §65  آپلود پوستر از کامپیوتر (فیلموگرافی هنرمند در ادمین)
   ══════════════════════════════════════════════════════ */
.film-poster-wrap { display: flex; flex-direction: column; gap: 6px; }
.film-poster-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.film-poster-thumb {
  width: 40px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line-mid);
  flex-shrink: 0;
}
.film-poster-wrap input[type="file"] {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  max-width: 100%;
}
.film-poster-hint {
  color: var(--text-faint);
  font-size: var(--fs-xs);
}
