:root {
  --bg-oled: #040509;
  --bg-card: #090d18;
  --glass: rgba(12, 16, 28, 0.78);
  --glass-hi: rgba(16, 22, 38, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --border-hi: rgba(56, 189, 248, 0.48);
  --icy: #38bdf8;
  --indigo: #6366f1;
  --gold-hi: #fde047;
  --gold: #f59e0b;
  --frost: #f8fafc;
  --muted: #94a3b8;
  --ok: #10b981;
  --danger: #fb7185;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background:
    radial-gradient(ellipse 85% 45% at 15% -8%, rgba(56, 189, 248, 0.13), transparent 62%),
    radial-gradient(ellipse 65% 40% at 88% -5%, rgba(245, 158, 11, 0.08), transparent 58%),
    var(--bg-oled);
  color: var(--frost);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hidden { display: none !important; }

/* ---------------- Luxury Flagship Header ---------------- */
.sf-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 5, 9, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
}

.sf-header-top {
  max-width: 1320px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--frost);
  flex-shrink: 0;
}
.sf-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(253, 224, 71, 0.35),
    0 6px 20px rgba(56, 189, 248, 0.28);
}
.sf-brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.sf-brand-text strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.35px;
  background: linear-gradient(95deg, #ffffff 0%, #e0f2fe 58%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sf-brand-text span {
  font-size: 9.5px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.sf-search-wrap {
  position: relative;
  margin-left: auto;
  width: 210px;
  min-width: 100px;
}
.sf-search-ic {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #64748b;
  pointer-events: none;
}
#search-input {
  width: 100%;
  height: 35px;
  padding: 0 26px 0 31px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--frost);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
#search-input:focus {
  border-color: var(--icy);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}
#search-input::placeholder { color: #64748b; }

.sf-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
}

/* Luxury Metallic Gold VIP CTA Pill */
.sf-vip-crown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(254, 240, 138, 0.72);
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 65%, #d97706 100%);
  color: #0b0f19;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 18px rgba(245, 158, 11, 0.34);
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.sf-crown-svg { width: 14px; height: 14px; flex-shrink: 0; }
.sf-vip-crown:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245, 158, 11, 0.48); }
.sf-vip-crown:active { transform: scale(0.96); }
.sf-vip-crown.active {
  border-color: rgba(52, 211, 153, 0.65);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #022c22;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.32);
}

/* Sleek Sculpted Category Strip */
.sf-cat-pills {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.sf-cat-pills::-webkit-scrollbar { display: none; }

.sf-pill {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12.2px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.sf-pill:hover { border-color: rgba(56, 189, 248, 0.45); color: #fff; background: rgba(255, 255, 255, 0.08); }
.sf-pill:active { transform: scale(0.96); }
.sf-pill.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 100%);
  border-color: rgba(186, 230, 253, 0.65);
  color: #ffffff;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(14, 165, 233, 0.35);
}

/* ---------------- 4K High-Contrast Poster Rails & Grid ---------------- */
.sf-main {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 14px 72px;
}

.sf-rail { margin-bottom: 24px; animation: sfFadeUp 0.25s ease both; }
@keyframes sfFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sf-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sf-sec-head h2 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.25px;
  color: #f8fafc;
}
.sf-see-all {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #bae6fd;
  border-radius: 999px;
  padding: 4px 11px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.sf-see-all:hover { background: rgba(56, 189, 248, 0.2); border-color: var(--icy); }

.sf-count-chip {
  font-size: 11px;
  font-weight: 700;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
}
.sf-muted { color: var(--muted); font-size: 12px; }
.sf-sort-bar { display: flex; align-items: center; gap: 8px; }
.sf-sort-bar select {
  background: rgba(255, 255, 255, 0.07);
  color: var(--frost);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  outline: none;
}
.sf-sort-bar select option { background: #090d18; color: #fff; }

.sf-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(126px, 152px);
  gap: 11px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sf-rail-track::-webkit-scrollbar { display: none; }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 11px;
}

.sf-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #070a12;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.2s;
}
.sf-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: var(--border-hi);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.24);
}
.sf-card:active { transform: scale(0.97); }

.sf-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #0a0f1d;
}
.sf-poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.sf-card:hover .sf-poster-box img { transform: scale(1.045); }

.sf-poster-scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 5, 9, 0.84) 60%, rgba(4, 5, 9, 0.99) 100%);
  pointer-events: none;
}

.sf-card-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: rgba(4, 5, 9, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: #bae6fd;
}

.sf-card-ep {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(4, 5, 9, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
}

.sf-card-float {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
}
.sf-card-title {
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.24;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}
.sf-card-sub {
  font-size: 10px;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  opacity: 0.92;
}

.sf-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.sf-page-btn {
  min-width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--frost);
  border-radius: 10px;
  padding: 0 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.sf-page-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #fff;
  border-color: rgba(186, 230, 253, 0.55);
}

/* ---------------- Immersive 4K 9:16 Theater Modal ---------------- */
.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.sf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 7, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sf-player-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  max-height: 94vh;
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(12, 17, 30, 0.98) 0%, rgba(5, 7, 13, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.92);
}

.sf-player-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
}

.sf-stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.sf-stage-meta { min-width: 0; flex: 1; }
.sf-stage-meta h3 {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.2px;
  margin-bottom: 5px;
  color: #fff;
}
.sf-chips-inline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sf-chip-icy {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
}
.sf-chip-sub {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.sf-chip-gold { font-size: 11.5px; font-weight: 800; color: var(--gold-hi); }

.sf-icon-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.sf-icon-close svg { width: 16px; height: 16px; }
.sf-icon-close:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.06); }

/* True 9:16 Vertical Stage */
.sf-reels-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 550px;
  border-radius: 18px;
  overflow: hidden;
  background: #020306;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.72);
  margin-bottom: 10px;
}

.sf-stage-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) brightness(0.32);
  transform: scale(1.12);
  pointer-events: none;
}

#video-el {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sf-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 5, 9, 0.68);
  backdrop-filter: blur(12px);
}
.sf-lock-poster {
  width: 112px;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(253, 224, 71, 0.35);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.85);
  margin-bottom: 12px;
}
.sf-lock-glass {
  width: 100%;
  background: rgba(11, 16, 29, 0.92);
  border: 1px solid rgba(253, 224, 71, 0.35);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.sf-lock-crown-wrap {
  width: 34px;
  height: 34px;
  margin: 0 auto 7px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(253, 224, 71, 0.45);
  color: var(--gold-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-lock-crown-wrap svg { width: 17px; height: 17px; }
.sf-lock-glass h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.sf-lock-glass p { font-size: 12px; color: #cbd5e1; margin-bottom: 11px; line-height: 1.4; }

.sf-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(4, 5, 9, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 16px;
}
.sf-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(56, 189, 248, 0.22);
  border-top-color: var(--icy);
  border-radius: 50%;
  animation: sf-spin 0.72s linear infinite;
}
@keyframes sf-spin { to { transform: rotate(360deg); } }

/* Luxury Tactile HUD Dock */
.sf-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 6px 8px;
}
.sf-hud-nav, .sf-hud-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sf-hud-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.sf-hud-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.sf-hud-btn:hover:not(:disabled) { border-color: rgba(56, 189, 248, 0.55); background: rgba(255, 255, 255, 0.13); }
.sf-hud-btn:active:not(:disabled) { transform: scale(0.95); }
.sf-hud-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sf-hud-next {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  border-color: rgba(186, 230, 253, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 14px rgba(14, 165, 233, 0.28);
}
.sf-hud-share {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
}
.sf-hud-dl {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.5);
  color: #a7f3d0;
}
.sf-hud-count {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
  padding: 0 5px;
  white-space: nowrap;
}
.sf-hud-select {
  height: 34px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 17, 30, 0.96);
  color: var(--frost);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  outline: none;
}

.sf-share-menu-wrap { position: relative; }
.sf-share-popover {
  position: absolute;
  right: 0;
  bottom: 40px;
  z-index: 15;
  width: 174px;
  background: #0a1020;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sf-pop-btn {
  width: 100%;
  text-align: left;
  padding: 8px 11px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--frost);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.sf-pop-btn:hover { background: rgba(56, 189, 248, 0.22); }
.sf-pop-wa { color: #a7f3d0; }
.sf-pop-fb { color: #93c5fd; }
.sf-pop-tt { color: #f0abfc; }

/* Sculpted All-Episodes Drawer */
.sf-drawer-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px;
}
.sf-ep-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  font-size: 13.5px;
}
.sf-ep-hint { font-size: 11.5px; color: var(--icy); font-weight: 700; }

.sf-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 7px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.35) transparent;
}
.sf-ep-grid::-webkit-scrollbar { width: 5px; }
.sf-ep-grid::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.35); border-radius: 999px; }

.sf-ep-tile {
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--frost);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.14s ease;
}
.sf-ep-tile:hover { border-color: var(--icy); background: rgba(56, 189, 248, 0.14); }
.sf-ep-tile:active { transform: scale(0.95); }
.sf-ep-tile.active {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  border-color: #bae6fd;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(14, 165, 233, 0.42);
}
.sf-ep-tile.locked {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
}
.sf-lock-ic { width: 10.5px; height: 10.5px; color: var(--gold-hi); opacity: 0.85; }

.sf-synopsis {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

/* ---------------- Crystal-Clear Roman Urdu VIP Plan Modal ---------------- */
.sf-vip-card {
  position: relative;
  z-index: 2;
  width: min(94vw, 376px);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0c1324 0%, #060913 100%);
  border: 1px solid rgba(253, 224, 71, 0.34);
  border-radius: 22px;
  padding: 20px 18px 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.92);
}
.sf-vip-x { position: absolute; top: 12px; right: 12px; }

.sf-vip-hero { text-align: center; margin-bottom: 13px; }
.sf-vip-brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 8px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
}
.sf-vip-hero h2 { font-size: 19px; font-weight: 900; letter-spacing: -0.25px; color: #fff; }
.sf-vip-hero p { font-size: 12.5px; color: #bae6fd; margin-top: 4px; line-height: 1.38; font-weight: 500; }

.sf-price-row-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(253, 224, 71, 0.36);
  border-radius: 14px;
  padding: 10px 13px;
  margin-bottom: 11px;
}
.sf-price-tag { display: flex; align-items: baseline; gap: 5px; }
.sf-price-tag strong { font-size: 22px; color: var(--gold-hi); font-weight: 900; }
.sf-price-tag span { font-size: 12px; color: #e2e8f0; font-weight: 600; }
.sf-perk-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
}

.sf-pay-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 11px 13px;
  margin-bottom: 12px;
}
.sf-pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 3px 0;
}
.sf-pay-row span { color: var(--muted); }
.sf-pay-guide {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sf-copy-inline { display: flex; align-items: center; gap: 7px; }
.sf-tiny-btn {
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.sf-tiny-btn:active { transform: scale(0.95); }

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 10px 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.14s ease, filter 0.15s ease;
}
.sf-btn:hover { filter: brightness(1.06); }
.sf-btn:active { transform: scale(0.97); }
.sf-btn-icy {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  border-color: rgba(186, 230, 253, 0.4);
  color: #fff;
}
.sf-btn-vip {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #0b0f19;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}
.sf-btn-ghost {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border);
  color: var(--frost);
}
.sf-btn-wa {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  margin-top: 9px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.28);
}

.sf-key-form label { display: block; font-size: 12px; font-weight: 700; color: #bae6fd; margin-bottom: 6px; }
.sf-key-row { display: flex; gap: 7px; }
.sf-key-row input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--frost);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}
.sf-key-row input:focus { border-color: var(--icy); }
.sf-form-msg { margin-top: 7px; font-size: 12px; font-weight: 600; }
.sf-form-msg.err { color: var(--danger); }
.sf-form-msg.ok { color: var(--ok); }

.sf-vip-status-panel {
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(52, 211, 153, 0.38);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin-bottom: 8px;
}
.sf-status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.24);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 6px;
}
.sf-dev-title { font-size: 14px; font-weight: 800; color: #fff; }
.sf-icy-txt { font-size: 13px; font-weight: 700; color: #bae6fd; margin: 5px 0; }
.sf-small-note { font-size: 12px; color: #cbd5e1; line-height: 1.45; margin-bottom: 10px; }

.sf-dev-foot {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.sf-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: rgba(8, 12, 24, 0.96);
  border: 1px solid var(--icy);
  color: var(--frost);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.72);
  max-width: 92vw;
  text-align: center;
}

/* ---------------- Full-Phone Immersive Mobile Theater (9:16 First) ---------------- */
@media (max-width: 760px) {
  .sf-header { padding: 8px 10px; }
  .sf-header-top { gap: 7px; margin-bottom: 8px; }
  .sf-logo-img { width: 34px; height: 34px; border-radius: 10px; }
  .sf-brand-text strong { font-size: 14px; }
  .sf-brand-text span { display: none; }
  .sf-search-wrap { width: auto; flex: 1; max-width: 155px; }
  #search-input { height: 33px; font-size: 12px; padding: 0 22px 0 29px; }
  .sf-vip-crown { height: 33px; padding: 0 11px; font-size: 11.5px; }

  .sf-pill { height: 30px; padding: 0 12px; font-size: 11.5px; }
  .sf-main { padding: 10px 10px 58px; }
  .sf-rail { margin-bottom: 18px; }
  .sf-rail-track { grid-auto-columns: minmax(108px, 118px); gap: 8px; }
  .sf-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sf-card-title { font-size: 11px; }

  /* Full Edge-to-Edge Phone Reels Player */
  #player-modal.sf-modal { padding: 0; align-items: stretch; }
  .sf-player-shell {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    padding: 0 0 18px;
    background: #030408;
  }
  .sf-player-grid { grid-template-columns: 1fr; gap: 0; }
  .sf-stage-top {
    padding: 10px 12px 8px;
    margin-bottom: 0;
    background: linear-gradient(180deg, rgba(4, 5, 9, 0.96), rgba(4, 5, 9, 0.72));
  }
  .sf-stage-meta h3 { font-size: 14.5px; }
  .sf-reels-stage {
    height: 62dvh;
    min-height: 390px;
    max-height: 68dvh;
    aspect-ratio: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 0;
  }
  .sf-hud-bar {
    margin: 9px 10px;
    padding: 6px 8px;
    border-radius: 14px;
  }
  .sf-hud-btn { height: 34px; padding: 0 10px; font-size: 11.5px; }
  .sf-drawer-col {
    margin: 0 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .sf-ep-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-height: 220px;
  }
  .sf-ep-tile { height: 35px; font-size: 12px; }

  /* Phone-Crisp VIP Popup */
  #vip-modal.sf-modal { padding: 10px; align-items: center; }
  .sf-vip-card { padding: 18px 15px 14px; border-radius: 20px; }
}
