/* ===============================
   BUXNESIA LATEST TRANSACTIONS
================================ */

.latest-transactions {
    margin-top: 80px;
}

.latest-transactions h3 {
    margin-bottom: 6px;

    color: #ffffff;

    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    letter-spacing: -.045em;
}

.latest-transactions .subtitle {
    color: #94a3b8;
    font-size: 14px;
}

/* WRAPPER */
.transaction-wrapper {
    position: relative;
    margin-top: 24px;
}

/* SLIDER */
.transaction-slider {
    display: flex;
    gap: 18px;

    padding: 10px 56px 16px;

    overflow-x: auto;
    scrollbar-width: none;
}

.transaction-slider::-webkit-scrollbar {
    display: none;
}

/* CARD */
.transaction-card {
    position: relative;
    overflow: hidden;

    min-width: 310px;
    height: 98px;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;

    box-shadow: 0 20px 55px rgba(0,0,0,.24);

    transition: .28s ease;
}

.transaction-card::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;

    width: 140px;
    height: 140px;

    border-radius: 50%;
    background: rgba(34,211,238,.10);
    filter: blur(22px);

    pointer-events: none;
}

.transaction-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34,211,238,.28);
    box-shadow:
        0 28px 70px rgba(0,0,0,.34),
        0 0 28px rgba(34,211,238,.10);
}

/* AVATAR */
.transaction-card .avatar {
    position: relative;
    z-index: 1;

    width: 56px;
    height: 56px;

    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);

    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

/* INFO */
.tx-info {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 6px;

    min-width: 0;
}

.username {
    color: #ffffff;

    font-size: 17px;
    font-weight: 900;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ROBUX */
.robux {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #94a3b8;

    font-size: 14px;
    font-weight: 800;
}

.robux img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* BUTTON */
.tx-btn {
    position: absolute;
    top: 50%;
    z-index: 5;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    color: #ffffff;
    background: rgba(15,23,42,.88);

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 16px 36px rgba(0,0,0,.30);

    transition: .25s ease;
}

.tx-btn.left {
    left: 10px;
}

.tx-btn.right {
    right: 10px;
}

.tx-btn:hover {
    color: #07111f;
    background: linear-gradient(135deg, #22d3ee, #facc15);
    border-color: transparent;

    transform: translateY(-50%) scale(1.08);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .latest-transactions {
        margin-top: 60px;
    }

    .transaction-slider {
        padding: 8px 0 14px;
    }

    .transaction-card {
        min-width: 270px;
        height: 92px;
        border-radius: 22px;
    }

    .tx-btn {
        display: none;
    }

    .username {
        font-size: 15px;
    }

    .robux {
        font-size: 13px;
    }
}