* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Prompt", sans-serif;
}

body {
    background: #0e0c17;
    color: #fff;
}

/* HEADER */
.top-header {
    background: #141224;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    width: 35px;
    border-radius: 50%;
}

.brand {
    font-size: 18px;
    font-weight: 600;
}

.right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn img {
    width: 28px;
}

.fire {
    font-size: 22px;
}

.uid {
    opacity: 0.7;
    font-size: 13px;
}

/* TITLE */
.section-title {
    margin: 20px 15px 5px;
    font-size: 22px;
    font-weight: 700;
}

.sub-text {
    margin: 0 15px;
    opacity: 0.7;
    font-size: 13px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
}

/* CARD */
.card {
    background: #17172b;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.card img.thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.views {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    padding: 3px 7px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    gap: 5px;
}

/* CARD BODY */
.card-body {
    padding: 10px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
}

.card-cat {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 3px;
}

/* TAGS */
.tag {
    margin-top: 8px;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.tag.free {
    background: linear-gradient(90deg, #5b2cff, #8d53ff);
}

.tag.trending {
    background: linear-gradient(90deg, #ffc400, #ff9900);
    color: #000;
}

/* CARD BOTTOM GRADIENT */
.card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-radius: 0 0 20px 20px;
}

.card.free::after {
    background: #6b3bff;
}

.card.trending::after {
    background: #ffbb00;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page {
    width: 35px;
    height: 35px;
    background: #2b2b44;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page.active {
    background: #6137ff;
                                }
