/* ═══════════════════════════════════════════════════════════
   صوت الطالب — التجربة السينمائية (صفحة الدخول)
   هوية جامعة الملك سعود الزرقاء: كحلي عميق، أزرق ملكي، توهّج سماوي، زجاج.
   ═══════════════════════════════════════════════════════════ */

.cinema-page {
  --c-void: #020613;
  --c-navy: #061232;
  --c-royal: #1f56ff;
  --c-royal-2: #3b74ff;
  --c-ice: #9fdcff;
  --c-text: #eaf1ff;
  --c-muted: #9fb2d8;
  --c-faint: #6f84b3;
  --c-glass: rgb(14 32 82 / 0.38);
  --c-glass-strong: rgb(10 26 70 / 0.62);
  --c-edge: rgb(160 200 255 / 0.2);
  --c-edge-strong: rgb(170 210 255 / 0.38);
  --f-kufi: "Reem Kufi", "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;
  --f-latin: "Cormorant Garamond", Georgia, serif;
  --journey: 1150vh;
  --safe-top: env(safe-area-inset-top, 0px);
  background: var(--c-void);
  color-scheme: dark;
  scroll-behavior: auto;
}
.cinema-page body {
  background: var(--c-void);
  color: var(--c-text);
}
.cinema-page body::before {
  display: none;
}
.cinema-page ::selection {
  background: var(--c-royal);
  color: #fff;
}
.cinema-page :focus-visible {
  outline: 2px solid var(--c-ice);
  outline-offset: 4px;
}

/* ── الطبقات الثابتة ── */
.cinema-canvas,
.cinema-fallback,
.cinema-vignette,
.cinema-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cinema-canvas {
  z-index: 0;
  display: block;
}
.cinema-vignette {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgb(1 4 14 / 0.65) 100%),
    linear-gradient(to bottom, rgb(2 6 19 / 0.55), transparent 18%, transparent 82%, rgb(2 6 19 / 0.6));
}
.cinema-loader {
  z-index: 60;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: var(--c-void);
  transition: opacity 0.9s ease, visibility 0.9s;
}
.cinema-loader__name {
  font-family: var(--f-kufi);
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--c-muted);
}
.cinema-loader__wave {
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-ice), transparent);
  animation: loader-scan 1.4s ease-in-out infinite;
}
@keyframes loader-scan {
  0%, 100% { transform: scaleX(0.2); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}
.cinema-ready .cinema-loader,
[data-cinema="static"] .cinema-loader {
  opacity: 0;
  visibility: hidden;
}

/* ── الشريط العلوي ── */
.cinema-bar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(18px + var(--safe-top)) clamp(16px, 4vw, 48px) 18px;
  background: linear-gradient(to bottom, rgb(2 6 19 / 0.7), transparent);
}
.cinema-bar .brand,
.cinema-bar .brand:hover {
  color: var(--c-text);
}
.cinema-bar .brand__latin {
  color: var(--c-faint);
}
.cinema-bar .brand__name {
  font-family: var(--f-kufi);
  font-weight: 600;
}
.cinema-bar__actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}
.cinema-link {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}
.cinema-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cinema-link:hover {
  color: var(--c-text);
}
.cinema-link:hover::after {
  transform: scaleX(1);
}
.cinema-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--c-edge-strong);
  background: rgb(31 86 255 / 0.18);
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cinema-pill:hover {
  color: #fff;
  background: rgb(31 86 255 / 0.45);
  border-color: rgb(170 210 255 / 0.6);
  box-shadow: 0 0 32px -6px rgb(59 116 255 / 0.8);
}

/* ═══ الرحلة ═══ */
.journey {
  position: relative;
  z-index: 2;
  height: var(--journey);
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* النصوص فوق المشاهد */
.scene {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.scene h2,
.scene__title {
  font-family: var(--f-kufi);
  color: var(--c-text);
  margin: 0;
}
.w {
  display: inline-block;
  overflow: hidden;
  padding-block: 0.12em 0.18em;
  margin-block: -0.12em -0.18em;
  vertical-align: top;
}
.w__i {
  display: inline-block;
  will-change: transform, opacity;
}

.scene--1 {
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 0 16px;
}
.scene__eyebrow {
  margin: 0 0 clamp(14px, 2vw, 24px);
  font-family: var(--f-latin);
  font-style: italic;
  font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem);
  letter-spacing: 0.08em;
  color: var(--c-muted);
}
.scene__title {
  font-weight: 700;
  font-size: clamp(4.2rem, 1.5rem + 11vw, 12rem);
  line-height: 1.05;
  color: #fff;
}
.scene__title .w__i {
  background: linear-gradient(180deg, #ffffff 15%, #cfe4ff 55%, #7fb2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scene__latin {
  margin: clamp(6px, 1.2vw, 14px) 0 0;
  font-family: var(--f-latin);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--c-ice);
}
.scene__meta {
  margin: clamp(18px, 3vw, 34px) 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--c-edge);
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1.05rem);
  color: var(--c-muted);
}

.scene--start,
.scene--end {
  top: 50%;
  translate: 0 -50%;
  width: min(40rem, calc(100vw - 32px));
}
.scene--start {
  inset-inline-start: clamp(16px, 7vw, 120px);
}
.scene--end {
  inset-inline-end: clamp(16px, 7vw, 120px);
}
.scene--bottom {
  bottom: calc(clamp(40px, 8vh, 90px) + env(safe-area-inset-bottom, 0px));
  inset-inline: 0;
  margin-inline: auto;
  width: min(48rem, calc(100vw - 32px));
  text-align: center;
}
.scene__index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--c-ice);
}
.scene--bottom .scene__index {
  justify-content: center;
}
.scene__index span {
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-muted);
}
.scene__index::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-ice));
}
.scene h2 {
  font-weight: 600;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.6rem);
  line-height: 1.18;
  text-shadow: 0 0 24px rgb(60 120 255 / 0.3);
}
.scene--bottom h2 {
  font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem);
}
.scene__sub {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  line-height: 1.9;
  color: var(--c-muted);
}
.scene--bottom .scene__sub {
  margin-inline: auto;
}
.scene__line {
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--c-royal-2), transparent);
}
.scene--bottom .scene__line {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--c-royal-2), transparent);
}

/* عناوين الأقسام فوق النُّصب */
.mono-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.mono-label {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 16px;
  border: 1px solid var(--c-edge);
  border-radius: 12px;
  background: rgb(6 18 50 / 0.72);
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}
.mono-label b {
  font-family: var(--f-kufi);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
}
.mono-label i {
  font-family: var(--f-latin);
  font-size: 0.85rem;
  color: var(--c-ice);
}

/* مؤشر السكرول */
.scroll-hint {
  position: absolute;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  inset-inline: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--c-muted);
  z-index: 2;
}
.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--c-ice), transparent);
  transform-origin: top;
  animation: hint 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* شريط المشاهد */
.rail {
  position: absolute;
  z-index: 3;
  inset-inline-end: clamp(14px, 2.6vw, 40px);
  top: 50%;
  translate: 0 -50%;
  display: flex;
  gap: 14px;
}
.rail__track {
  position: relative;
  width: 1px;
  background: var(--c-edge);
}
.rail__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--c-ice), var(--c-royal-2));
  transform-origin: top;
  transform: scaleY(0);
}
.rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.rail__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--c-faint);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.3s ease;
}
.rail__item span {
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 0.95rem;
}
.rail__item b {
  font-weight: 500;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rail:hover .rail__item b,
.rail__item:focus-visible b,
.rail__item[aria-current="step"] b {
  opacity: 1;
  transform: none;
}
.rail__item:hover,
.rail__item[aria-current="step"] {
  color: var(--c-text);
}

/* ═══ المشهد 6: بطاقة الدخول ═══ */
.cinema-login {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: calc(90px + var(--safe-top)) clamp(16px, 7vw, 120px) 40px;
}
.cinema-login__art {
  order: 2;
  align-self: stretch;
  min-height: 300px;
}
.cinema-login__panel {
  order: 1;
  max-width: 500px;
}
.cinema-login__eyebrow {
  margin: 0 0 12px;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--c-ice);
}
.cinema-login__title {
  margin: 0;
  font-family: var(--f-kufi);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem);
  line-height: 1.15;
  color: var(--c-text);
}
.cinema-login__lead {
  margin: 14px 0 0;
  color: var(--c-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}
.cinema .portal-card {
  position: relative;
  overflow: hidden;
  margin-top: clamp(22px, 3vw, 34px);
  max-width: none;
  background: linear-gradient(160deg, rgb(40 80 190 / 0.32), rgb(8 22 64 / 0.55) 55%, rgb(6 16 48 / 0.7));
  border: 1px solid var(--c-edge-strong);
  border-radius: 22px;
  box-shadow:
    0 40px 90px -30px rgb(0 8 40 / 0.95),
    0 0 0 1px rgb(255 255 255 / 0.03) inset,
    0 1px 0 rgb(255 255 255 / 0.14) inset;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--c-text);
}
.cinema .portal-card h2 {
  font-family: var(--f-kufi);
  font-weight: 600;
  color: var(--c-text);
}
.cinema .portal-card__text,
.cinema .portal-status {
  color: var(--c-muted);
}
.cinema .portal-note {
  border-top-color: var(--c-edge);
  color: var(--c-faint);
}
.cinema .portal-demo {
  color: var(--c-faint);
}
.cinema .demo-badge {
  background: rgb(31 86 255 / 0.16);
  border-color: var(--c-edge-strong);
  color: var(--c-muted);
}
.cinema .demo-badge::before {
  background: var(--c-ice);
  box-shadow: 0 0 10px var(--c-ice);
}
.cinema .portal-alert {
  background: rgb(31 86 255 / 0.16);
  border-color: var(--c-ice);
  color: var(--c-text);
}
.cinema .spinner {
  border-color: var(--c-edge-strong);
  border-top-color: var(--c-ice);
}
.cinema-login__sheen {
  position: absolute;
  inset: -40% -60%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgb(170 210 255 / 0.12) 50%, transparent 58%);
  transform: translateX(-30%);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cinema-login__card:hover .cinema-login__sheen {
  transform: translateX(30%);
}

/* زر الدخول الأساسي */
.cinema .btn--accent {
  --btn-bg: linear-gradient(135deg, #3b74ff, #1d4ee8 55%, #1638b8);
  border: 1px solid rgb(170 210 255 / 0.45);
  background: var(--btn-bg);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 34px -10px rgb(31 86 255 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: box-shadow 0.4s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.3s ease;
}
.cinema .btn--accent:hover {
  color: #fff;
  filter: brightness(1.12);
  box-shadow: 0 14px 50px -8px rgb(59 116 255 / 1), 0 0 0 4px rgb(59 116 255 / 0.18), inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.cinema .btn--ghost {
  --btn-fg: var(--c-text);
  --btn-bd: var(--c-edge-strong);
  border-radius: 14px;
}
.cinema .btn--ghost:hover {
  --btn-bg: rgb(31 86 255 / 0.25);
  --btn-fg: #fff;
}

/* ═══ المشهد 7: المنصة ═══ */
.platform {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 160px) clamp(16px, 7vw, 120px) clamp(60px, 9vw, 120px);
}
.platform__inner {
  max-width: 1200px;
  margin-inline: auto;
}
.platform__head {
  max-width: 44rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.platform__eyebrow {
  margin: 0 0 12px;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--c-ice);
}
.platform h2 {
  margin: 0 0 16px;
  font-family: var(--f-kufi);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.2rem);
  line-height: 1.2;
  color: var(--c-text);
}
.platform__head p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--c-muted);
}

.glass-grid,
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.glass-card,
.step {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--c-edge);
  border-radius: 22px;
  background: linear-gradient(170deg, rgb(30 66 170 / 0.26), rgb(6 18 52 / 0.5));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px -40px rgb(0 10 50 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.glass-card:hover,
.step:hover {
  border-color: var(--c-edge-strong);
  box-shadow: 0 40px 90px -40px rgb(10 40 140 / 1), 0 0 60px -30px rgb(59 116 255 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.14);
}
.glass-card__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(120 175 255 / 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glass-card:hover .glass-card__light,
.step:hover .glass-card__light {
  opacity: 1;
}
.glass-card h3,
.step h3 {
  margin: 0 0 10px;
  font-family: var(--f-kufi);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem);
  color: var(--c-text);
}
.glass-card p,
.step p {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.85;
}
.glass-card__en {
  margin: 30px 0 6px !important;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-ice) !important;
}

/* أيقونات زجاجية للأقسام: مربع، دائرة، قوس */
.glass-icon {
  display: block;
  width: 76px;
  height: 76px;
  position: relative;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.glass-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(190 220 255 / 0.55);
  background: linear-gradient(145deg, rgb(160 205 255 / 0.55), rgb(40 90 230 / 0.35) 50%, rgb(20 50 160 / 0.6));
  box-shadow: inset 0 1px 6px rgb(255 255 255 / 0.4), 0 12px 30px -10px rgb(40 100 255 / 0.8);
}
.glass-icon--design::before {
  border-radius: 12px;
}
.glass-icon--visual_arts::before {
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(190 235 255 / 0.6), rgb(60 170 240 / 0.35) 50%, rgb(20 90 180 / 0.6));
}
.glass-icon--performing_arts::before {
  border-radius: 38px 38px 6px 6px;
  background: linear-gradient(145deg, rgb(200 195 255 / 0.6), rgb(110 90 240 / 0.35) 50%, rgb(60 40 170 / 0.6));
}
.glass-card:hover .glass-icon {
  transform: translateZ(30px) rotate(-6deg);
}

.steps {
  margin-top: clamp(70px, 10vw, 130px);
}
.steps h2 {
  margin-bottom: clamp(26px, 4vw, 44px);
}
.step__n {
  display: block;
  margin-bottom: 26px;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff, #6f9cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.closing {
  margin-top: clamp(80px, 12vw, 150px);
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid var(--c-edge);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgb(59 116 255 / 0.35), transparent 70%),
    linear-gradient(180deg, rgb(12 30 84 / 0.55), rgb(4 12 36 / 0.6));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.closing h2 {
  margin-bottom: 28px;
}
.closing__cta {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 1.05rem;
}

.cinema-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 28px clamp(16px, 7vw, 120px) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--c-edge);
  font-size: 0.9rem;
  color: var(--c-faint);
}
.cinema-foot p {
  margin: 0;
}
.cinema-foot [lang="en"] {
  font-style: italic;
}

/* ═══ الجوال ═══ */
@media (max-width: 860px) {
  .cinema-page {
    --journey: 980vh;
  }
  .cinema-login {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(150px, 30vh) auto;
    align-content: start;
    gap: 6px;
    padding-top: calc(76px + var(--safe-top));
    overflow-y: auto;
  }
  .cinema-login__art {
    order: 0;
    min-height: 0;
  }
  .cinema-login__panel {
    order: 1;
    max-width: none;
  }
  .cinema-login__lead {
    display: none;
  }
  .glass-grid,
  .steps__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail__item b {
    display: none;
  }
  .scene--start,
  .scene--end {
    top: auto;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    translate: none;
    inset-inline: 16px;
    width: auto;
  }
}
@media (max-width: 560px) {
  .cinema-bar .brand__marks,
  .cinema-bar .brand__latin {
    display: none;
  }
  .cinema-link {
    font-size: 0.85rem;
  }
  .cinema-pill {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.88rem;
  }
  .cinema-bar .brand__name {
    font-size: 1rem;
  }
  .rail {
    display: none;
  }
  .cinema-login__eyebrow {
    display: none;
  }
  .cinema-login__title {
    font-size: 2rem;
  }
  .cinema .portal-cta {
    gap: 8px;
    padding-inline: 12px;
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .cinema .portal-card {
    padding: 22px 20px;
  }
}

/* ═══ بلا حركة (تقليل الحركة) أو بلا WebGL ═══
   المحتوى يُعرض مرتبًا كصفحة عادية، والخلفية لقطة ثابتة أو تكوين زجاجي بـ CSS. */
[data-cinema="static"] .cinema-canvas {
  display: none;
}
.cinema-fallback {
  display: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 30% 35%, rgb(31 86 255 / 0.35), transparent 70%),
    radial-gradient(50% 40% at 75% 70%, rgb(95 208 255 / 0.18), transparent 70%),
    linear-gradient(180deg, #030a1f, #020613);
}
[data-cinema="static"] .cinema-fallback {
  display: block;
}
.cf {
  position: absolute;
  border: 1px solid rgb(190 220 255 / 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 20px rgb(255 255 255 / 0.18), 0 40px 80px -30px rgb(31 86 255 / 0.7);
}
.cf--arch {
  width: 22vmin;
  height: 30vmin;
  left: 16vw;
  top: 26vh;
  border-radius: 11vmin 11vmin 1vmin 1vmin;
  background: linear-gradient(150deg, rgb(160 150 255 / 0.4), rgb(70 50 200 / 0.25));
}
.cf--circle {
  width: 22vmin;
  height: 22vmin;
  left: 7vw;
  top: 18vh;
  border-radius: 50%;
  background: linear-gradient(150deg, rgb(170 230 255 / 0.45), rgb(40 140 230 / 0.25));
}
.cf--square {
  width: 15vmin;
  height: 15vmin;
  left: 9vw;
  top: 44vh;
  border-radius: 2vmin;
  background: linear-gradient(150deg, rgb(150 190 255 / 0.5), rgb(30 80 230 / 0.3));
}

[data-cinema="static"] .journey,
[data-cinema="still"] .journey {
  height: auto;
}
[data-cinema="static"] .stage,
[data-cinema="still"] .stage {
  position: relative;
  height: auto;
  overflow: visible;
  display: grid;
  gap: clamp(60px, 10vw, 120px);
  padding: calc(120px + var(--safe-top)) clamp(16px, 7vw, 120px) 40px;
}
[data-cinema="static"] .scene,
[data-cinema="still"] .scene {
  position: relative;
  inset: auto;
  translate: none;
  width: auto;
  max-width: 44rem;
}
[data-cinema="static"] .scene--1,
[data-cinema="still"] .scene--1 {
  min-height: 70vh;
  max-width: none;
}
[data-cinema="static"] .scene--bottom,
[data-cinema="still"] .scene--bottom {
  margin-inline: 0;
  text-align: start;
}
[data-cinema="static"] .scene--bottom .scene__index,
[data-cinema="still"] .scene--bottom .scene__index {
  justify-content: flex-start;
}
[data-cinema="static"] .scene--bottom :is(.scene__sub, .scene__line),
[data-cinema="still"] .scene--bottom :is(.scene__sub, .scene__line) {
  margin-inline: 0;
}
[data-cinema="static"] :is(.rail, .scroll-hint, .mono-labels),
[data-cinema="still"] :is(.rail, .scroll-hint, .mono-labels) {
  display: none;
}
[data-cinema="static"] .cinema-login,
[data-cinema="still"] .cinema-login {
  position: relative;
  inset: auto;
  padding: 0;
  min-height: 70vh;
}
[data-cinema="still"] .cinema-canvas {
  opacity: 0.5;
}

/* احترام تقليل الحركة في أي حال */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint i,
  .cinema-loader__wave {
    animation: none;
  }
}

/* الأسطر اللاتينية داخل التخطيط العربي تُحاذى إلى اليمين مثل النص المحيط */
.platform__eyebrow,
.cinema-login__eyebrow {
  text-align: right;
}
.cinema-link,
.cinema-pill,
.cinema-bar .brand__name {
  white-space: nowrap;
}
