.stack-wrapper {

    display: flex;

    gap: 22px;

    flex-wrap: wrap;
}

/* ====================== */
/* STACK ITEM */
/* ====================== */

.stack-item {

    position: relative;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .08),
            rgba(255, 255, 255, .03));

    border:
        1px solid var(--border);

    backdrop-filter: blur(25px);

    padding: 22px 32px;

    border-radius: 24px;

    display: flex;

    gap: 14px;

    align-items: center;

    overflow: hidden;

    transition:
        transform .45s cubic-bezier(.19, 1, .22, 1),
        box-shadow .45s ease,
        border .45s ease,
        background .45s ease;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .08);
}

.stack-item::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .12),
            transparent);

    top: -90px;
    left: -90px;

    opacity: 0;

    transition: .45s ease;
}

.stack-item:hover::before {

    opacity: 1;
}

/* ====================== */
/* HOVER */
/* ====================== */

.stack-item:hover {

    transform:
        translateY(-10px) scale(1.03);

    border:
        1px solid rgba(255, 255, 255, .14);

    box-shadow:
        0 25px 50px rgba(108, 92, 231, .18);
}

/* ====================== */
/* ICON */
/* ====================== */

.stack-item i {

    font-size: 28px;

    color: var(--secondary);

    transition:
        transform .45s ease,
        color .45s ease;

    position: relative;

    z-index: 2;
}

.stack-item:hover i {

    transform:
        rotate(-8deg) scale(1.15);

    color: var(--primary);
}

/* ====================== */
/* TEXT */
/* ====================== */

.stack-item span {

    font-size: 15px;

    font-weight: 600;

    color: var(--text);

    letter-spacing: .3px;

    position: relative;

    z-index: 2;
}

/* ====================== */
/* LIGHT MODE */
/* ====================== */

[data-theme="light"] .stack-item {

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .82),
            rgba(255, 255, 255, .6));

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .05);
}

/* ====================== */
/* MOBILE */
/* ====================== */

@media(max-width:768px) {

    .stack-wrapper {

        gap: 16px;
    }

    .stack-item {

        width: 100%;

        padding: 20px 24px;

        border-radius: 22px;
    }

    .stack-item i {

        font-size: 25px;
    }

    .stack-item span {

        font-size: 14px;
    }
}