/* ==========================================================================
   FRAMECAST · CINEMATIC STREAM (029) — 1:1 Fixed Blurred Portal & Liquid Glass
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: #000000; color: #FFFFFF; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #000000;
  color: #FFFFFF;
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
  letter-spacing: 0 !important;
}
h1, h2, h3, p, a, button, span { letter-spacing: 0; }
[dir="ltr"], [lang="en"] { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.liquid-glass {
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.liquid-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Fixed Full-Bleed Portal Backdrop + Soft Cinematic Blur Overlay */
.cs-fixed-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #3B2838 0%, #0A0C12 80%);
}
.cs-fixed-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: filter 0.6s ease, transform 0.8s ease;
}
.cs-blur-wash {
  position: fixed;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.55) 68%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

/* Top Nav */
.cs-header {
  position: relative;
  z-index: 40;
  padding: 20px clamp(18px, 4vw, 48px);
}
.cs-nav {
  max-width: 1380px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cs-logo {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.cs-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}
.cs-links a:hover { color: #FFB07A; }
.cs-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  cursor: pointer;
}
.cs-pill-white {
  background: #FFFFFF;
  color: #000000;
  border: 0;
  font-weight: 600;
}
.cs-avatar-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
@media (max-width: 900px) { .cs-links { display: none; } }
html.cfx-embed-preview .cs-dir-link { display: none !important; }

/* Bottom-Aligned Split Streaming Hero */
.cs-main { position: relative; z-index: 10; }

.cs-hero {
  min-height: calc(100vh - 84px);
  max-width: 1380px;
  margin-inline: auto;
  padding: 40px clamp(18px, 4vw, 48px) clamp(36px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
@media (max-width: 720px) {
  .cs-hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
}

.cs-hero-info { max-width: 680px; }
.cs-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}
.cs-star { color: #FBBF24; }
.cs-h1 {
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.cs-logline {
  color: #9CA3AF;
  font-size: 1.02rem;
  max-width: 54ch;
  margin-bottom: 24px;
}
.cs-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-Controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 142px;
}
@media (max-width: 720px) {
  .cs-Controls { flex-direction: row; width: 100%; }
  .cs-Controls button { flex: 1; }
}

/* Lower Content Bands */
.cs-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 13, 0.62);
  padding: clamp(64px, 7.5vw, 96px) clamp(18px, 4vw, 48px);
}
.cs-band-inner {
  max-width: 1240px;
  margin-inline: auto;
}
.cs-band h2 {
  font-family: 'Readex Pro', sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 10px;
}
.cs-band p {
  color: rgba(255, 255, 255, 0.58);
  max-width: 60ch;
}
.cs-row-cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .cs-row-cards { grid-template-columns: 1fr; } }
.cs-card {
  padding: 20px;
  border-radius: 18px;
}
.cs-card small { display: block; color: #FFB07A; font-size: 0.75rem; margin-bottom: 6px; }
.cs-card strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }

.cs-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 9, 0.85);
  padding: 32px clamp(18px, 4vw, 48px) 44px;
}
.cs-foot-row {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
}
