/*
 * =========================================================
 *              WEBSITE DEVELOPMENT CREDITS
 * =========================================================
 *
 * Co-Developer
 * AFM_1337_ — Md Arafat Hossen Mugdho
 * GitHub  : https://github.com/AFM-1337
 * Website : https://afm1337.shop
 * WhatsApp: https://wa.me/+8801310329198
 * Telegram: https://t.me/afm1337
 *
 * Co-Developer
 * DARK LMNx9 — Limon Hossain
 * GitHub  : https://github.com/LMNx9-JOHNY
 * Website : https://dark.lmnx9.workers.dev
 * WhatsApp: https://wa.me/+8801882168975
 * Telegram: https://t.me/x_LMNx9
 *
 * ---------------------------------------------------------
 *          Designed & Developed Together
 * =========================================================
 */

/* BeBrainer SSC — Live Class + Recorded Class module
   Homepage design theme (Blue/Pink/White) */

/* ═══════════ HUB OPTION CARDS ═══════════ */
.lc-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 8px;
}
@media (max-width: 720px) {
    .lc-hub-grid { grid-template-columns: 1fr; }
}
.lc-hub-card {
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lc-hub-card:hover {
    border-color: var(--bbx-blue, #1A56DB);
    box-shadow: 0 14px 36px rgba(26,86,219,.10);
    transform: translateY(-4px);
}
.lc-hub-card__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #1A56DB, #DB2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(26,86,219,.20);
}
.lc-hub-card__title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--bbx-ink, #111827);
}
.lc-hub-card__desc {
    font-size: 13.5px;
    color: var(--bbx-ink-3, #9CA3AF);
    line-height: 1.6;
}

/* ═══════════ LIVE STATUS SECTION ═══════════ */
.lc-live-section {
    margin-top: 36px;
}
.lc-live-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(219,39,119,.16);
}
.lc-live-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.lc-live-info {
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 22px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.lc-status-pill--live {
    background: #FEF2F2;
    color: #DC143C;
}
.lc-status-pill--live .lc-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #DC143C;
    animation: lcPulse 1.4s infinite;
}
@keyframes lcPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.lc-live-info h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; color: var(--bbx-ink, #111827); }
.lc-live-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13.5px;
    color: var(--bbx-ink-3, #9CA3AF);
    margin-bottom: 10px;
}
.lc-live-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lc-live-meta i { color: var(--bbx-pink, #DB2777); }
.lc-live-desc { color: var(--bbx-ink-2, #4B5563); font-size: 14px; line-height: 1.7; }

/* ═══════════ SEARCH BAR ═══════════ */
.lc-search {
    max-width: 380px;
    margin-bottom: 24px;
    position: relative;
}
.lc-search input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border-radius: 999px;
    border: 2px solid var(--bbx-line, #E5E7EB);
    background: #fff;
    font-family: var(--bbx-font, 'Hind Siliguri', sans-serif);
    font-size: 14px;
    color: var(--bbx-ink, #111827);
    transition: all 0.2s ease;
}
.lc-search input:focus {
    outline: none;
    border-color: var(--bbx-blue, #1A56DB);
    box-shadow: 0 0 0 4px rgba(26,86,219,.10);
}
.lc-search i {
    position: absolute;
    left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--bbx-ink-3, #9CA3AF);
    font-size: 13px;
}

/* ═══════════ RECORDED CLASS LIST ═══════════ */
.lc-class-list { display: flex; flex-direction: column; gap: 14px; }
.lc-class-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lc-class-item:hover {
    border-color: var(--bbx-blue, #1A56DB);
    box-shadow: 0 12px 32px rgba(26,86,219,.10);
    transform: translateY(-3px);
}
.lc-class-item__thumb {
    position: relative;
    flex-shrink: 0;
    width: 168px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #F9FAFB;
}
.lc-class-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lc-class-item__num {
    position: absolute; top: 6px; left: 6px;
    background: rgba(17,24,39,0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}
.lc-class-item__body { flex: 1; min-width: 0; }
.lc-class-item__title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--bbx-ink, #111827);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lc-class-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--bbx-ink-3, #9CA3AF);
}
.lc-class-item__meta span { display: inline-flex; align-items: center; gap: 4px; }
.lc-class-item__meta i { color: var(--bbx-pink, #DB2777); }
@media (max-width: 480px) {
    .lc-class-item { flex-direction: column; }
    .lc-class-item__thumb { width: 100%; }
}

/* ═══════════ WATCH PAGE ═══════════ */
.lc-watch-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) {
    .lc-watch-grid { grid-template-columns: 1fr; }
}
.lc-watch-title { font-size: 21px; font-weight: 800; margin: 16px 0 10px; color: var(--bbx-ink, #111827); }
.lc-watch-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: 13.5px; color: var(--bbx-ink-3, #9CA3AF);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bbx-line, #E5E7EB);
}
.lc-watch-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lc-watch-meta i { color: var(--bbx-pink, #DB2777); }
.lc-watch-desc { color: var(--bbx-ink-2, #4B5563); font-size: 14.5px; line-height: 1.8; margin-bottom: 20px; }
.lc-watch-block-title {
    font-weight: 700; font-size: 15.5px; margin-bottom: 10px;
    color: var(--bbx-ink, #111827);
    display: flex; align-items: center; gap: 8px;
}
.lc-topic-list { list-style: none; margin-bottom: 22px; }
.lc-topic-list li {
    padding: 9px 0 9px 24px;
    position: relative;
    font-size: 14px;
    color: var(--bbx-ink-2, #4B5563);
    border-bottom: 1px dashed var(--bbx-line, #E5E7EB);
}
.lc-topic-list li::before {
    content: '';
    position: absolute; left: 4px; top: 16px;
    width: 7px; height: 7px; border-radius: 50%;
    background: linear-gradient(135deg, #1A56DB, #DB2777);
}
.lc-topic-list li:last-child { border-bottom: none; }

.lc-nav-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}
.lc-nav-card {
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.lc-nav-card:hover { border-color: var(--bbx-blue, #1A56DB); box-shadow: 0 6px 20px rgba(26,86,219,.08); }
.lc-nav-card--next { text-align: right; }
.lc-nav-card__label {
    font-size: 11.5px; color: var(--bbx-ink-3, #9CA3AF);
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.lc-nav-card--next .lc-nav-card__label { justify-content: flex-end; }
.lc-nav-card__title {
    font-weight: 700; font-size: 13.5px; color: var(--bbx-ink, #111827);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 480px) { .lc-nav-row { grid-template-columns: 1fr; } }

/* ═══════════ SIDEBAR ═══════════ */
.lc-sidebar-card {
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lc-sidebar-card__title {
    font-weight: 700; font-size: 14.5px;
    margin-bottom: 14px;
    color: var(--bbx-ink, #111827);
    display: flex; align-items: center; gap: 8px;
}
.lc-sidebar-card__title i { color: var(--bbx-blue, #1A56DB); }
.lc-related-item {
    display: flex; gap: 10px;
    text-decoration: none; color: inherit;
    padding: 8px 0;
    border-bottom: 1px solid var(--bbx-line, #E5E7EB);
    transition: all 0.2s ease;
}
.lc-related-item:hover { transform: translateX(3px); }
.lc-related-item:last-child { border-bottom: none; }
.lc-related-item__thumb {
    width: 84px; flex-shrink: 0; aspect-ratio: 16/9;
    border-radius: 10px; overflow: hidden; background: #F9FAFB;
}
.lc-related-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lc-related-item__title {
    font-size: 12.5px; font-weight: 600; line-height: 1.5;
    color: var(--bbx-ink-2, #4B5563);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ═══════════ SUBJECT / CHAPTER GRID ═══════════ */
.lc-subject-grid, .lc-chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.lc-subject-card, .lc-chapter-card {
    background: #fff;
    border: 1px solid var(--bbx-line, #E5E7EB);
    border-radius: 16px;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.lc-subject-card:hover, .lc-chapter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(26,86,219,.10);
    border-color: var(--bbx-blue, #1A56DB);
}
.lc-subject-card__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1A56DB, #DB2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(26,86,219,.20);
}
.lc-subject-card__title { font-weight: 800; font-size: 16px; color: var(--bbx-ink, #111827); }
.lc-subject-card__desc { color: var(--bbx-ink-3, #9CA3AF); font-size: 12.5px; margin-top: 3px; line-height: 1.6; }

.lc-chapter-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #EBF0FA;
    color: #1A56DB;
    font-weight: 800;
    font-size: 14px;
    margin: 0 auto 12px;
}
.lc-chapter-card__title { font-weight: 700; font-size: 15.5px; color: var(--bbx-ink, #111827); }
.lc-chapter-card__desc { color: var(--bbx-ink-3, #9CA3AF); font-size: 12.5px; margin-top: 6px; line-height: 1.6; }