/* ── PURPLE BURGER (bottom-right) ── */
#burger-purple {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  background: rgba(174,139,217,0.12);
  border: 1px solid rgba(174,139,217,0.35);
  border-radius: 10px;
  padding: 8px;
  transition: background 0.2s, border-color 0.2s;
}
#burger-purple:hover { background: rgba(174,139,217,0.22); border-color: rgba(174,139,217,0.6); }
#burger-purple span {
  display: block;
  width: 22px;
  height: 2px;
  background: #AE8BD9;
  border-radius: 2px;
  transition: all 0.3s;
}
#burger-purple.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger-purple.open span:nth-child(2) { opacity: 0; }
#burger-purple.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ── PURPLE SIDEBAR (bottom-right panel) ── */
#sidebar-purple {
  position: fixed;
  bottom: 84px;
  right: 16px;
  width: 240px;
  background: #0d0b12;
  border: 1px solid rgba(174,139,217,0.25);
  border-radius: 14px;
  padding: 0;
  z-index: 1099;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(174,139,217,0.08);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  overflow: hidden;
}
#sidebar-purple.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.psb-hd {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(174,139,217,0.12);
}
.psb-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #AE8BD9;
}
.psb-sub {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(174,139,217,0.45);
  margin-top: 2px;
}
.psb-nav { padding: 8px 0; }
.psb-item {
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.3px;
}
.psb-item:hover { background: rgba(174,139,217,0.08); color: #AE8BD9; }
.psb-item.parent { font-weight: 500; color: rgba(255,255,255,0.9); }
.psb-item.parent:hover { color: #AE8BD9; }
.psb-arr { font-size: 10px; color: rgba(174,139,217,0.5); transition: transform 0.2s; }
.psb-item.open .psb-arr { transform: rotate(180deg); }
.psb-dd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: rgba(174,139,217,0.03);
}
.psb-dd.open { max-height: 200px; }
.psb-sub-item {
  padding: 8px 18px 8px 30px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.psb-sub-item::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(174,139,217,0.4);
}
.psb-sub-item:hover { background: rgba(174,139,217,0.06); color: #AE8BD9; }

/* ── HOME PILL — center bottom ── */
#home-pill {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gld, #C9A84C);
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
#home-pill:hover {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.6);
}

/* ── CLASSROOM NAV SECTION ── */
.nav-sec {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a3a3a;
  padding: 0 20px;
  margin: 18px 0 6px;
}

/* ═══════════════════════════════════════════════ */
/* CLASSROOM STYLES                                */
/* ═══════════════════════════════════════════════ */

/* Course cards hover */
.cl-card { transition: transform 0.2s, box-shadow 0.2s; }
.cl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

/* Module layout */
.cl-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 20px; margin: 32px 0; }
.cl-mod { background: #0f0f0f; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; }
.cl-mod-hd { padding: 16px 20px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 0.3px; }
.cl-mod-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.cl-topic { font-size: 13px; color: rgba(255,255,255,0.55); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.cl-dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gld,#C9A84C); margin-top: 7px; }
.cl-topic strong { color: rgba(255,255,255,0.75); }

/* CTA bar on course pages */
.cl-cta-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }

/* Live sessions grid */
.cl-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 20px; margin: 32px 0; }
.cl-live-card { background: #0f0f0f; border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; overflow: hidden; }
.cl-live-badge { display: inline-block; padding: 4px 12px; background: rgba(255,0,0,0.12); border: 1px solid rgba(255,0,0,0.25); border-radius: 20px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #ff6b6b; margin: 16px 16px 0; }
.cl-live-badge.live-now { background: rgba(93,202,165,0.12); border-color: rgba(93,202,165,0.3); color: #5DCAA5; }
.cl-live-badge.social { background: rgba(174,139,217,0.12); border-color: rgba(174,139,217,0.3); color: #AE8BD9; }
.cl-live-title { padding: 12px 16px 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.4; }
.cl-live-embed { padding: 0 16px 12px; }
.cl-live-thumb { background: #1a1a1a; border-radius: 10px; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; gap: 8px; border: 1px solid rgba(255,255,255,0.06); transition: background 0.2s; }
.cl-live-thumb:hover { background: #222; }
.cl-live-play { width: 48px; height: 48px; background: rgba(255,0,0,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; padding-left: 4px; }
.cl-live-label { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.5px; }
.cl-live-meta { padding: 0 16px 16px; font-size: 11px; color: rgba(255,255,255,0.28); letter-spacing: 0.3px; }
.cl-live-social-links { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.cl-social-btn { display: block; padding: 10px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; text-align: center; transition: background 0.15s, color 0.15s; }
.cl-social-btn:hover { background: rgba(255,255,255,0.08); color: var(--gld,#C9A84C); }


/* ── HOME PILL — fixed center bottom ── */
#home-pill {
  position: fixed !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1100;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C9A84C;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
#home-pill:hover {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.6);
}

/* ── NAV SECTION LABEL ── */
.nav-sec {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a3a3a;
  padding: 0 20px;
  margin: 18px 0 6px;
}
