@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#f4f6f9;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.container{
    max-width:1200px;
    width:100%;
    padding:30px 15px;
}

.title{
    text-align:center;
    margin-bottom:25px;
    font-size:28px;
    font-weight:600;
    color:#222;
}

.card-wrapper{
    padding:10px 0 40px;
}

.swiper-slide{
    display:flex;
    justify-content:center;
}

.card-list .card-item{
    list-style:none;
}

.card-list .card-item .card-link{
    width:320px;
    display:block;
    background:#ffffff;
    padding:16px;
    border-radius:10px;
    text-decoration:none;
    border:1px solid #e5e7eb;
    box-shadow:0 5px 12px rgba(0,0,0,0.06);
    transition:0.25s;
}

.card-list .card-item .card-link:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 20px rgba(0,0,0,0.12);
}

.card-image{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:8px;
}

.badge{
    padding:5px 12px;
    font-size:12px;
    margin:12px 0;
    border-radius:20px;
    width:fit-content;
    font-weight:500;
}

.badge.developer{ background:#e0ecff; color:#1d4ed8; }
.badge.designer{ background:#ffe4f1; color:#be185d; }
.badge.editor{ background:#fff4d6; color:#92400e; }
.badge.gamer{ background:#dcfce7; color:#166534; }
.badge.marketer{ background:#ffe5d9; color:#9a3412; }

.card-title{
    font-size:16px;
    color:#111;
    font-weight:600;
}

.card-button{
    height:34px;
    width:34px;
    border-radius:50%;
    margin-top:15px;
    background:#111;
    color:#fff;
    border:none;
    cursor:pointer;
    transform:rotate(-45deg);
}

.swiper-pagination{
    margin-top:15px;
}

@media (max-width:768px){
    .title{
        font-size:22px;
    }

    .card-list .card-item .card-link{
        width:100%;
    }

    .container{
        padding:20px 12px;
    }
}