.h-vh-100{height:100dvh;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}
#index-section{display:flex;flex-direction:column;justify-content:space-between;scrollbar-width:none;-ms-overflow-style:none}
#index-section::-webkit-scrollbar{display:none}
.header-wrapper{flex:1;overflow:hidden}
.friend-play-container {
    background-image: url('/images/giftcode/giftcode.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE và Edge */
}
.friend-play-container::-webkit-scrollbar {
    display: none;
}
.friend-play-info {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
}
.friend-play-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    width: 100%;
}

/* Mỗi mục bạn bè */
.friend-item {
    border-radius: 5px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    height: 80px;
    gap: 5px;
}

/* Avatar bạn bè */
.friend-item-avatar {
    width: 80px;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Khu vực thông tin bạn bè */
.friend-play {
    display: flex;
    align-items: center;
}

/* Div chứa tên và hoạt động */
.friend-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Tên người dùng */
.user-name {
    font-weight: 600;
    white-space: nowrap; /* Ngăn xuống dòng */
    overflow: hidden; /* Ẩn phần văn bản vượt quá */
    text-overflow: ellipsis; /* Thêm dấu ... */
}

/* Tên hoạt động */
.activity-name {
    font-size: 0.8rem;
}

/* Khu vực nút bấm */
.friend-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Nút nhắn tin */
.friend-button-mess {
    font-size: 25px;
}

/* Nút chơi */
.activity-icon {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

/* Đường kẻ phân cách */
.line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 15%, rgba(174, 144, 59, 0.8), rgba(0, 0, 0, 0) 85%) no-repeat;
    background-size: 100% 100%;
}
@media (max-width: 767px) {
    .friend-play-list {
        grid-template-columns: repeat(1, 1fr);
    }
}