/* Dedicated Futures Hub — member-only workspace */

.futures-hub-page {
  background: #0a0a0a;
  min-height: 100vh;
}

.futures-hub-nav {
  border-bottom: 1px solid rgba(201, 162, 74, 0.2);
}

.futures-hub-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 40px 120px;
}

.hub-live-layout {
  display: grid;
  grid-template-columns: 1fr min(300px, 34vw);
  gap: 32px;
  align-items: start;
}

.hub-live-main {
  min-width: 0;
}

/* Right column stacks schedule + first-timers */
.hub-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* First Timers card */
.hub-first-timers {
  border: 1px solid rgba(245, 245, 244, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  padding: 22px 20px 24px;
}

.hub-first-timers-top {
  margin-bottom: 14px;
}

.hub-first-timers-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #e8c97a;
  border-radius: 999px;
  padding: 4px 10px;
}

.hub-first-timers-title {
  margin: 0 0 8px;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #f5f5f4;
  line-height: 1.25;
}

.hub-first-timers-lead {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(245, 245, 244, 0.5);
}

/* Video placeholder */
.hub-ft-video {
  border: 1px dashed rgba(245, 245, 244, 0.14);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 18px;
}

.hub-ft-video-inner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, 0.35);
  background: rgba(201, 162, 74, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.hub-ft-play {
  font-size: 13px;
  color: rgba(232, 201, 122, 0.7);
  padding-left: 2px;
}

.hub-ft-video-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 244, 0.3);
}

/* Numbered steps */
.hub-ft-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-ft-steps li {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 245, 244, 0.58);
}

.hub-ft-steps li span {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.1);
  border: 1px solid rgba(201, 162, 74, 0.28);
  color: #e8c97a;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.hub-ft-steps li strong {
  color: rgba(245, 245, 244, 0.78);
  font-weight: 600;
}

.hub-ft-steps li em {
  font-style: normal;
  color: rgba(232, 201, 122, 0.8);
}

@media (max-width: 820px) {
  .hub-live-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hub-right-col {
    order: -1;
  }
}

.futures-hub-hero {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 162, 74, 0.22);
}

.futures-hub-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8c97a;
  margin: 0 0 16px;
}

.futures-hub-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #f5f5f4;
}

.futures-hub-lead {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.62);
  max-width: 52ch;
  margin: 0;
}

.futures-hub-tabs {
  margin-bottom: 40px;
}

.futures-hub-panel .content-slot {
  margin-bottom: 48px;
}

.futures-hub-slot-desc {
  font-size: 15px;
  color: rgba(245, 245, 244, 0.55);
  margin: 0 0 24px;
}

.live-room-hero {
  margin-bottom: 32px;
  padding: 32px 28px;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(201, 162, 74, 0.12), transparent 55%),
    #101010;
}

/* —— Market package downloads (ES / NQ) —— */
.pkg-downloads-intro {
  margin-bottom: 32px;
}

.pkg-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pkg-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid rgba(245, 245, 244, 0.12);
  border-radius: 6px;
  background: #101010;
  min-height: 100%;
}

.pkg-card--es {
  border-color: rgba(201, 162, 74, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(201, 162, 74, 0.08), transparent 55%),
    #101010;
}

.pkg-card--nq {
  border-color: rgba(94, 228, 247, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(94, 228, 247, 0.06), transparent 55%),
    #101010;
}

.pkg-card-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, #e8c97a, #c9a24a);
  border-radius: 4px;
}

.pkg-card--nq .pkg-card-tag {
  background: linear-gradient(135deg, #7ee4f7, #5ee4f7);
}

.pkg-card-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #f5f5f4;
  margin: 0 0 6px;
}

.pkg-card-market {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.45);
  margin: 0 0 14px;
}

.pkg-card-desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.58);
  margin: 0 0 24px;
}

.pkg-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: auto;
}

.pkg-card-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-chart-required {
  padding: 14px 14px 12px;
  border: 1px solid rgba(201, 162, 74, 0.55);
  border-radius: 6px;
  background: rgba(201, 162, 74, 0.1);
}

.pkg-chart-required--nq {
  border-color: rgba(94, 228, 247, 0.45);
  background: rgba(94, 228, 247, 0.08);
}

.pkg-chart-required-badge {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8c97a;
}

.pkg-chart-required--nq .pkg-chart-required-badge {
  color: #7ee4f7;
}

.pkg-chart-required-title {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(245, 245, 244, 0.88);
}

.pkg-chart-required-title strong {
  color: #f5f5f4;
}

.pkg-chart-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 10px;
}

.pkg-chart-setting {
  text-align: center;
  padding: 8px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(245, 245, 244, 0.1);
}

.pkg-chart-setting dt {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.5);
  line-height: 1.3;
}

.pkg-chart-setting dd {
  margin: 0;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: #f5f5f4;
}

.pkg-chart-required-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(245, 245, 244, 0.62);
}

.dl-step--required {
  border-color: rgba(201, 162, 74, 0.45);
  background: rgba(201, 162, 74, 0.06);
}

.pkg-download-btn {
  width: 100%;
}

.pkg-card-btns .btn-ghost {
  background: transparent;
  color: #e8c97a;
  border-color: rgba(201, 162, 74, 0.45);
}

.pkg-card-btns .btn-ghost:hover:not(:disabled) {
  border-color: #e8c97a;
  color: #f5f5f4;
  background: rgba(201, 162, 74, 0.08);
}

.pkg-card-btns .btn-ghost:disabled {
  background: transparent;
  color: rgba(245, 245, 244, 0.35);
  border-color: rgba(245, 245, 244, 0.15);
}

.pkg-download-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.pkg-card-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(245, 245, 244, 0.55);
}

.pkg-card-status.is-error {
  color: #e8a0a0;
}

.pkg-card-status.is-loading {
  color: #e8c97a;
}

.pkg-download-global-msg {
  margin: -24px 0 40px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 74, 0.35);
  background: rgba(201, 162, 74, 0.08);
  color: rgba(245, 245, 244, 0.78);
}

.pkg-download-global-msg.is-error {
  border-color: rgba(200, 80, 80, 0.45);
  background: rgba(120, 40, 40, 0.2);
  color: #f0b0b0;
}

.pkg-video-section {
  margin-bottom: 0;
}

.pkg-video-placeholder {
  margin-top: 8px;
  border: 1px dashed rgba(245, 245, 244, 0.18);
  border-radius: 6px;
  background: #0c0c0c;
  overflow: hidden;
}

.pkg-video-placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201, 162, 74, 0.1), transparent 70%),
    #080808;
}

.pkg-video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, 0.4);
  color: rgba(232, 201, 122, 0.85);
  font-size: 22px;
  padding-left: 4px;
  opacity: 0.7;
}

.pkg-video-placeholder-label {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 245, 244, 0.72);
}

.pkg-video-placeholder-note {
  margin: 0;
  padding: 8px 20px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.42);
}

.pkg-video-embed {
  aspect-ratio: 16 / 9;
  max-height: 480px;
}

.pkg-video-embed iframe,
.pkg-video-embed video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Install tutorial — YouTube embed (unlisted) */
.install-video-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 162, 74, 0.12);
}

.install-video-wrap--downloads {
  margin-top: 8px;
}

.install-video-wrap--ready .install-video-frame {
  display: block;
}

.install-video-frame {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  border: 0;
}

.install-video-wrap .hub-ft-video,
.install-video-wrap .pkg-video-placeholder {
  margin-bottom: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .pkg-download-grid {
    grid-template-columns: 1fr;
  }

  .pkg-card-actions {
    grid-template-columns: 1fr;
  }
}

.live-room-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #e8c97a;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.live-room-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 300;
  margin: 0 0 12px;
  color: #f5f5f4;
}

.live-room-lead {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.65);
  max-width: 52ch;
  margin: 0 0 24px;
}

.live-room-host-line {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c97a;
  margin-bottom: 20px;
}

.live-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.live-room-schedule {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(245, 245, 244, 0.12);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 245, 244, 0.55);
}

.live-room-schedule strong {
  color: #e8c97a;
  font-weight: 500;
}

.live-room-pending {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 4px;
  background: rgba(201, 162, 74, 0.06);
  font-size: 14px;
  color: rgba(245, 245, 244, 0.72);
}

.live-room-checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.live-room-checklist li {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(245, 245, 244, 0.55);
  padding-left: 22px;
  position: relative;
}

.live-room-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #a8d4a8;
  font-weight: 600;
}

/* ── Options Hub — Alerts tab ── */
.opt-alert-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}

.opt-alert-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(201, 162, 74, 0.28);
  background: linear-gradient(160deg, #121212 0%, #0e0e0e 100%);
  padding: 28px 28px 32px;
  min-height: 240px;
}

.opt-alert-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.opt-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8c97a;
  flex-shrink: 0;
  animation: lr-dot-pulse 2s ease-in-out infinite;
}

.opt-alert-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.45);
}

.opt-alert-updated {
  margin-left: auto;
  font-size: 11px;
  color: rgba(245, 245, 244, 0.28);
  letter-spacing: 0.04em;
}

.opt-alert-empty {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 245, 244, 0.38);
  font-style: italic;
  padding: 16px 0;
}

.opt-alert-title {
  margin: 0 0 18px;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #f5f5f4;
}

.opt-alert-body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 245, 244, 0.72);
}

.opt-alert-body p {
  margin: 0 0 10px;
}

.opt-alert-body p:last-child {
  margin-bottom: 0;
}

.opt-alert-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: rgba(245, 245, 244, 0.28);
}

.opt-alert-disclaimer a {
  color: rgba(232, 201, 122, 0.6);
  text-decoration: underline;
}

/* Sidebar */
.opt-alert-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.opt-sidebar-card {
  border: 1px solid rgba(245, 245, 244, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 18px;
}

.opt-sidebar-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 244, 0.35);
  margin: 0 0 14px;
}

.opt-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt-sidebar-list li {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(245, 245, 244, 0.55);
  padding-left: 16px;
  position: relative;
}

.opt-sidebar-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: #e8c97a;
  font-weight: 700;
}

.opt-sidebar-list li strong {
  color: rgba(245, 245, 244, 0.78);
  font-weight: 600;
}

.opt-sidebar-card--upsell {
  border-color: rgba(201, 162, 74, 0.2);
  background: rgba(201, 162, 74, 0.04);
}

.opt-sidebar-upsell-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 245, 244, 0.58);
}

/* ── Settings tab ── */
.opt-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 245, 244, 0.08);
  border-bottom: 1px solid rgba(245, 245, 244, 0.08);
}

.opt-settings-label {
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f4;
  margin: 0 0 4px;
}

.opt-settings-sub {
  font-size: 12px;
  color: rgba(245, 245, 244, 0.45);
  margin: 0;
  line-height: 1.55;
}

.opt-settings-email-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(245, 245, 244, 0.35);
}

/* Toggle */
.opt-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(245, 245, 244, 0.12);
  border: 1px solid rgba(245, 245, 244, 0.16);
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.opt-toggle--on {
  background: rgba(201, 162, 74, 0.9);
  border-color: #c9a24a;
}

.opt-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.opt-toggle--on .opt-toggle-thumb {
  transform: translateX(20px);
}

.opt-settings-msg {
  margin: 10px 0 0;
  font-size: 13px;
}

.opt-settings-msg--ok  { color: #a8d4a8; }
.opt-settings-msg--err { color: #f0a0a0; }

@media (max-width: 820px) {
  .opt-alert-layout {
    grid-template-columns: 1fr;
  }

  .opt-alert-sidebar {
    order: -1;
  }
}

/* Downloads — step guide */
.dl-header {
  margin-bottom: 36px;
}

.dl-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
  color: #f5f5f4;
}

.dl-lead {
  font-size: 15px;
  color: rgba(245, 245, 244, 0.55);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}

.dl-steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(245, 245, 244, 0.09);
  border-radius: 6px;
  overflow: hidden;
}

.dl-step {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(245, 245, 244, 0.07);
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.2s ease;
}

.dl-step:last-child {
  border-bottom: none;
}

.dl-step:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dl-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.12);
  border: 1px solid rgba(201, 162, 74, 0.35);
  color: #e8c97a;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.dl-step-body {
  flex: 1;
}

.dl-step-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f4;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.dl-step-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 245, 244, 0.55);
}

.dl-step-body em {
  font-style: normal;
  color: rgba(232, 201, 122, 0.85);
}

.dl-step-body .futures-hub-tab-link {
  font-size: 13px;
}

@media (max-width: 640px) {
  .futures-hub-main {
    padding: 32px 20px 80px;
  }

  .dl-step {
    padding: 18px 16px;
  }
}
