.course-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    margin-bottom:32px;

    position:relative;

}

.course-image{

    width:100%;

    height:240px;

    object-fit:cover;

    display:block;

    background:#000;

}

.course-info{

    padding:22px;

}

.course-info h2{

    margin-bottom:10px;

    font-size:24px;

}

.course-info p{

    margin-bottom:22px;

    color:#666;

    line-height:1.6;

}

.popular-course{

    display:flex;

    align-items:center;

    gap:16px;

    background:#fff;

    border-radius:18px;

    padding:14px;

    box-shadow:0 8px 22px rgba(0,0,0,.06);

    transition:.25s;

}

.popular-course:hover{

    transform:translateY(-5px);

    box-shadow:0 16px 36px rgba(0,0,0,.10);

}

.popular-image{

    width:82px;

    height:82px;

    border-radius:18px;

    object-fit:cover;

    flex-shrink:0;

    transition:.3s;

}

.popular-course:hover .popular-image{

    transform:scale(1.05);

}

.popular-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

    gap:6px;

    flex:1;

}

.popular-info h3{

    font-size:18px;

    color:#222;

}

.popular-info span{

    font-size:15px;

    color:#E58AB3;

    font-weight:700;

}

.video-placeholder{

    width:100%;

    aspect-ratio:16/9;

    background:#EFEFEF;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    color:#666;

    font-weight:600;

}

.video-placeholder{

    width:100%;

    aspect-ratio:16/9;

    background:#EFEFEF;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    color:#666;

    font-weight:600;

}

.video-container{

    width:100%;

    aspect-ratio:16/9;

    overflow:hidden;

    border-radius:18px;

    background:#000;

}

.video-container iframe{

    width:100%;

    height:100%;

    border:none;

}

.progress-card{

    margin-top:20px;

    padding:18px;

    background:#F8F9FD;

    border-radius:18px;

}

.progress-header{

    display:flex;

    justify-content:space-between;

    font-weight:600;

    margin-bottom:12px;

}

.progress-bar{

    width:100%;

    height:10px;

    background:#E6E8EF;

    border-radius:999px;

    overflow:hidden;

    margin-bottom:12px;

}

.progress-fill{

    height:100%;

    background:linear-gradient(
        90deg,
        #E58AB3,
        #F3A6C8
    );

    border-radius:999px;

    transition:.3s;

}

.action-link{

    text-decoration:none;

    color:inherit;

    flex:1;

}

.action-link .action-card{

    height:100%;

}

.price-box{

    display:flex;

    flex-direction:column;

    gap:4px;

}

.old-price{

    color:#A5A5A5;

    text-decoration:line-through;

    font-size:14px;

}

.new-price{

    color:#E58AB3;

    font-size:20px;

    font-weight:700;

}

.popular-course:active{

    transform:scale(.98);

}

.course-item{

    display:grid;

    grid-template-columns:112px 1fr;

    gap:16px;

    align-items:start;
}

.course-item:hover{

    transform:translateY(-4px);

    box-shadow:
        0 22px 46px rgba(0,0,0,.10),
        0 8px 20px rgba(0,0,0,.05);

}

.course-item:active{

    transform:scale(.98);

}

.course-item-image{

    width:112px;

    height:112px;

    border-radius:18px;

    object-fit:cover;

    flex-shrink:0;

}

.course-item-body{

    min-width:0;

    display:flex;

    flex-direction:column;
}

.course-item-title{

    font-size:18px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

}

.course-item-percent{

    color:#E58AB3;

    font-size:14px;

    font-weight:700;

    margin-bottom:8px;

}

.course-progress{

    width:100%;

    height:8px;

    background:#ECECEC;

    border-radius:999px;

    overflow:hidden;

    margin-bottom:14px;

}

.course-progress-fill{

    height:100%;

    background:linear-gradient(
        90deg,
        #E58AB3,
        #F5B5D0
    );

    border-radius:999px;

}

.course-item-button{

    margin-top:auto;

}