CSS
.card-04__tag {
font-family: monospace;
font-size: 10px;
padding: 2px 8px;
border-radius: 20px;
background: rgba(124, 108, 255, 0.15);
color: #7c6cff;
border: 1px solid rgba(124, 108, 255, 0.3);
display: inline-block;
margin-bottom: 10px;
}
.card-04__title {
font-size: 17px;
font-weight: 700;
color: #f0eeff;
margin-bottom: 6px;
}
.card-04__body {
font-size: 13px;
color: #b8b6d4;
line-height: 1.6;
}
.card-04 {
width: 100%;
max-width: 280px;
position: relative;
overflow: hidden;
padding: 22px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.12);
cursor: pointer;
}
.card-04::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(124, 108, 255, 0.18), rgba(61, 232, 245, 0.12), rgba(255, 108, 138, 0.18), rgba(30, 217, 138, 0.12));
opacity: 0.75;
}
.card-04__shine {
position: absolute;
inset: 0;
background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
transform: translateX(-100%);
transition: transform 0.65s ease;
}
.card-04:hover .card-04__shine {
transform: translateX(100%);
}
.card-04__tag,
.card-04__title,
.card-04__body,
.card-04__bar {
position: relative;
z-index: 1;
}
.card-04__bar {
height: 3px;
border-radius: 2px;
margin-top: 14px;
background: linear-gradient(90deg, #7c6cff, #ff6c8a, #3de8f5);
}