/* Lectures List Specific Styles */
:root {
    --primary: #D97706;
    --dark-card: #161616;
    --dark-bg: #0F0F0F;
}

.page-header-premium {
    padding: 100px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.page-header-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.03) 0%, transparent 70%);
    transform: translateX(-50%);
    z-index: 0;
}

.premium-page-title {
    font-size: 3.5rem;
    font-weight: 950;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.premium-page-title span {
    color: var(--primary);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.2);
}

.p-course-card {
    background: var(--dark-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.p-course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.p-course-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.p-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.p-course-card:hover .p-course-thumb img {
    transform: scale(1.1);
}

.badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.p-badge {
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
}

.p-course-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.instructor-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.instructor-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary);
}

.instructor-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.p-course-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
}

.p-course-stats {
    display: flex;
    gap: 15px;
    color: #A3A3A3;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.p-course-stats span i {
    color: var(--primary);
    margin-left: 5px;
}

.p-course-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.p-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-view-details {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: var(--primary);
    color: #000;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.page-link-custom {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.page-link-custom.active, .page-link-custom:hover {
    background: var(--primary);
    color: #000;
}

@media (max-width: 767px) {
    .premium-page-title {
        font-size: 2.5rem;
    }
}

/* ── SEARCH BAR ── */
.lectures-search-bar .form-control {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: #fff;
    padding: 14px 24px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    max-width: 500px;
    margin: 0 auto 30px;
    display: block;
    transition: 0.3s;
}
.lectures-search-bar .form-control:focus {
    border-color: var(--primary);
    background: rgba(217,119,6,0.05);
    box-shadow: 0 0 0 3px rgba(217,119,6,0.15);
    outline: none;
    color: #fff;
}
.lectures-search-bar .form-control::placeholder { color: rgba(255,255,255,0.35); }

/* ── DYNAMIC PREMIUM CARD HOVER ── */
.premium-card {
    background: #161616;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
}
.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(217,119,6,0.08);
}

