/* Hot Coin Sidebar 组件 - 币安风格 */

/* 热门币种列表特定样式 */
.coin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 币种列表项 */
.coin-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light, rgba(240, 185, 11, 0.05));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.coin-item:last-child {
    border-bottom: none;
}

/* 悬停扫描线效果 */
.coin-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

/* 悬停光效 */
.coin-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.05), transparent);
    transition: left 0.5s ease;
}

.coin-item:hover {
    background: rgba(240, 185, 11, 0.02);
    transform: translateX(4px);
}

.coin-item:hover::before {
    transform: scaleY(1);
}

.coin-item:hover::after {
    left: 100%;
}

/* 币种图标包装器 */
.coin-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.coin-icon {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* 币种信息 */
.coin-info {
    flex: 1;
    margin-left: 1rem;
}

.coin-name-cn {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.coin-name-en {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.3;
}

/* 币种趋势 */
.coin-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.coin-trend.up {
    color: var(--success);
}

.coin-trend.down {
    color: var(--error);
}

.coin-trend svg {
    width: 16px;
    height: 16px;
}